maps.utils module

Common utilities across project.

maps.utils.yield_subcommands(obj)[source]

Show list of all available sub commands.

Parameters

objClick command object.

maps.utils.get_feature_from_lat_lon(lat: float, lon: float)[source]

Returns GeoJSON Point Feature for a given latitude and longitude.

Parameters
  • lat – latitude of Point.

  • lon – longitude of Point.

Returns

An object of goejson.Feature