Download Leju map in GeoJSON format

A map built from OpenStreetMap data, ready to download

Customize the map

Open this place's area in the constructor and adjust everything to your needs

Open in constructor →

Map passport

Area2.0 km²
Buildings540
Roads27 km

What this map contains by default

This is how the map is built as-is — every setting can be changed in the constructor.

FormatGeoJSON .geojson
LayersRoads, Buildings change
Stylestandard change
Detailauto change
House numbersall change
Points of interestall but cafés, shops and services — the editor adds those change
Coordinate systemWGS 84 (auto) change
Sheet sizeauto change
Relief & gridoff change

About GeoJSON

Map of Leju in GeoJSON: 540 buildings, 27 km of roads — in the WGS 84 coordinate system, units are meters.

Which layers are in the file

This file for the selected area contains:

Geometry by layer

What the file carries

The GeoJSON file for Leju: the whole map comes as a single file, the file is plain text and opens in any editor, all features lie in one collection, and the source layer name stays in the _layer field, OpenStreetMap tags are kept as feature attributes.

File size

The expected size of the GeoJSON file for Leju is about 1.1 MB; the exact size depends on the chosen layers and area.

Coordinate systems

WGS 84 (EPSG:4326), selectable in the wizard

Units

Meters (projected in the chosen coordinate system)

CategoryGIS
File extension.geojson
TierOpen Beta

How to use GeoJSON for Leju

  1. geojson.io — drag the file into a browser window and see the features on the map right away, clicking to inspect properties.
  2. QGIS (free) — Layer → Add Vector Layer, choose the .geojson.
  3. Leaflet / Mapbox GL JS / OpenLayers — put the file next to your project and hook it up: in Leaflet that is L.geoJSON(data).addTo(map), in Mapbox GL a source of type geojson.

Programs that open GeoJSON

LeafletMapboxQGISD3.jsKepler.glGeoPandas

FAQ: GeoJSON for Leju

Can I open GeoJSON in a browser?

Yes, on geojson.io or any web app with Leaflet/Mapbox.

Is GeoJSON a free format?

Yes — the format itself is open (RFC 7946), and exporting to it on OSM2CDR is free. There is only one limitation, a technical one: the larger the area, the coarser the detail, so that the file stays a workable size.

Can I load GeoJSON into PostGIS?

Yes, via ogr2ogr or directly with SQL functions like ST_GeomFromGeoJSON.

How do I split the export back into layers?

All the layers arrive in one FeatureCollection, but every feature has a service property _layer — roads, buildings, water, green_areas and so on. Filtering on that field in QGIS, Leaflet or GeoPandas splits the file into separate layers in a single line.

Which projection do the coordinates arrive in?

WGS84 (EPSG:4326) — plain latitude and longitude, as the GeoJSON specification requires. Nothing needs reprojecting for the web or for GIS; if your project is run in a metric system, the conversion is done on the QGIS or PostGIS side.

Other formats for Leju

All 128 formats for Leju →

GeoJSON for nearby places

Maps other customers made in this format (GeoJSON)

Kigali

1 149 km² · 2 layers

Shibam

50.4 km² · 55 layers

Barcelona

247 km² · 26 layers

All formats for Leju