Build real apps with the MapLark API
Practical Python recipes showing how to query OpenStreetMap data and build map-powered features - from simple point lookups to Dijkstra routing on a pedestrian network.
All example source code is also available in the MapLark/osmfeatures-python repository .
Park Bench Finder
Fetch all benches in a park as GeoJSON points and place them as map markers. A simple, minimal example of the API in action.
Restaurant Guide
Build a restaurant discovery app with names, cuisine types, and map pins - handling both point and polygon restaurant geometries.
Cycling Trail Finder
Discover bike-permitted paths and forestry tracks using OR-combined tag filters - the same query surface as Overpass.
Walking Route Planner
Build walking directions by fetching the footway network, constructing a weighted graph, and running Dijkstra's algorithm to find the shortest path between any two points.
API Playground
Explore the OSM dataset with preset tag filters for buildings, roads, and shops and play around with all API parameters.