v1

latestOpenAPI 3.0.22026-07-1741871.9 KB

Get Current Snapshot As Plain Geojson

Simple API to get osm features as geojson for small region. This is designed only for querying small data for large data follow /snapshot/

Params ::

bbox: Optional List = takes xmin, ymin, xmax, ymax uses srid=4326
select: List = this is select query  you can pass [*] to select all attribute
where: List[WhereCondition] = [{'key': 'building', 'value': ['*']},{'key':'amenity','value':['school','college']}]
join_by: Optional[JoinFilterType] = or/ and
look_in: Optional[List[OsmFeatureType]] = ["nodes", "ways_poly","ways_line","relations"] : tables name
post/snapshot/plain/

Request body

selectstring[]
joinBy'OR' | 'AND'

An enumeration.

lookInOsmFeatureType[]
geometryType'point' | 'line' | 'polygon' | 'all_geometry'

An enumeration.

Response

Successful Response

object required