geodesic.account.tokens.Token.get_feature_layer_url#

Token.get_feature_layer_url(layer_id=0, service_name=None)[source]#

Gets a url to an GeoServices Feature Layer.

Returns a URL pointing to a layer that can directly be used in ArcGIS.

Parameters:
  • layer_id (int) – the layer ID to expose

  • service_name (str | None) – an optional service name to use in place of the dataset name

Returns:

a URL to to layer

Return type:

str