formats module

class geourban.formats.OutFormat(value)

Represents the supported output formats.

Example:

from geourban.formats import OutFormat

# Returns the geospatial features as GeoJSON
out_format = OutFormat.GEOJSON

# Returns the geospatial features as Esri FeatureSet
out_format = OutFormat.ESRI

# Returns the result as JSON dict
# This is only for results not representing geospatial features
out_format = OutFormat.JSON