Download Bara map in WKT 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
What this map contains by default
This is how the map is built as-is — every setting can be changed in the constructor.
About WKT
Map of Bara in WKT — an export of real OpenStreetMap data for the selected area.
WKT is a text representation format for geometries, used in databases (PostGIS, SpatiaLite) and GIS applications. Simple and easy to integrate.
Which layers are in the file
The set of layers depends on the selected area.
File size
The expected size of the WKT file for Bara is about 227 KB; 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)
| Category | GIS |
| File extension | .wkt |
| Tier | Open Beta |
How to use WKT for Bara
- PostGIS — paste the lines as they are: INSERT ...
- Python — from shapely import wkt, then wkt.loads(line) line by line, skipping the lines that begin with two hyphens.
- QGIS — the QuickWKT plugin pastes geometry from the clipboard onto a temporary layer; for a full-fledged layer it is easier to download GeoJSON right away.
Programs that open WKT
FAQ: WKT for Bara
What is WKT?
WKT (Well-Known Text) is a text representation of geometric objects per the OGC standard.
Can I import WKT into PostGIS?
Yes, via ST_GeomFromText() or ogr2ogr.
Are names and tags preserved?
No, geometry only: one shape per line. Take attributes in GeoJSON, GeoPackage or CSV, where the fields lie next to the WKT.
How do I tell which layer is which?
Layers are separated by comment lines like "-- layer: buildings": everything up to the next such comment belongs to the current layer. At the start of the file there are also comments with the bounding box of the area and the coordinate system.
Which coordinate system and what precision?
WGS84 (EPSG:4326), six decimal places — about ten centimeters on the ground. When loading into PostGIS, specify SRID 4326.
