Foursquare Studio Data Reader Parameters

About Web Connections

Connections store authentication information.

For general information about web connections, please see Using Web Connections.

For information about managing web services (including authorization credentials such as Client Id and Client Secret), please see Managing Web Services.

Connection

From the Connection parameter in a web service format, you can do one of the following:

  • Select an existing previously defined connection. For information, see the section Reusing a Web Connection in Using Web Connections.
  • Select Add Web Connection to define a new connection. The new connection can be made visible only to the current user, or can be shared among multiple users.

Connection

Select an existing Foursquare Studio connection, or Add Web Connection...

Add Foursquare Studio Web Connection

To define a new connection from the Connection parameter, see the topic Foursquare Studio Data: Add Web Connection.

Service Connection

Constraints

Each reader can only read from a single dataset.

Dataset

The ID of the Foursquare Studio dataset(s). After a valid connection has been established, click the browse [...] button to list the Foursquare Studio datasets owned by the user.

Note  Since dataset names are not unique in Foursquare Studio, the dataset ID must be provided. The ID of a Foursquare Studio dataset is a UUID which is part of a dataset URL in Foursquare Studio:

To locate the dataset URL in Foursquare Studio

Click on the dataset in https://studio.foursquare.com/workspace/datasets/user.

To locate the dataset UUID

Example

If the dataset URL is:

https://studio.foursquare.com/workspace/datasets/abcd1234-1234-1234-1234-abcd1234abcd

Then the dataset’s UUID is:

abcd1234-1234-1234-1234-abcd1234abcd

Geometry Column Name

Note  This parameter populates the feature type parameter, so it appears only when you are first adding the reader. After workspace generation, you can change the value as a feature type parameter. See Geometry Column Name.

The name of the column from which to generate FME geometry on output features. The column should correspond to a column whose type is identified in Foursquare Studio as geo.

Parameter Value

Description

geometry (default)

If the geometry column in the dataset exists, the reader will attempt to create geometry on output features from these values.

geom

If the geom column in the dataset exists, the reader will attempt to create geometry on output features from these values.

_geojson

If the _geojson column in the dataset exists, the reader will attempt to create geometry on output features from these values. If the original dataset was uploaded as a GeoJSON file, this column corresponds to the geometry value for each feature.

custom value

You can enter a custom value if the dataset contains geometry information in a column with a different name.

For example, if there is a dataset column named location), the reader will create geometry from values in the location column. Any custom value entered here should match one of the user attribute names in the schema.

This column will still be output as an exposed user attribute.

Schema Attributes

Spatial