PostGIS SQL is a text SQL script that creates a table with a geometry column and fills it with data, ready to load into any PostgreSQL database with the PostGIS extension. It is a convenient way to hand an OSM selection to a team already on the PostgreSQL stack: apply the script and you immediately have a geometry table for queries through ST_* functions. Our exporter generates a self-contained .sql: CREATE TABLE with a geom column and attributes, then one INSERT per feature where geometry is given via ST_GeomFromText(WKT, SRID) (SRID 4326 by default). Multiple layers become separate tables, and values are escaped (SQL-injection safe). Honestly: this is a simple human-readable dump via ST_GeomFromText, not a binary pg_dump archive and not the full osm2pgsql schema with planet_osm tables and spatial indexes.
Viktiga funktioner
Vilket program öppnar PostGIS SQL-filer
Följande program och applikationer kan öppna, redigera och arbeta med PostGIS SQL Dump-filer (.sql) som exporterats från OSM2CDR:
Format specifications
- Open standard
- 2D only
- Lossless (no quality loss)
- Stores feature attributes
- Output: 1 file
- A self-contained .sql script (CREATE TABLE + INSERT via ST_GeomFromText, SRID 4326) with escaped values; a human-readable dump, not a binary pg_dump or osm2pgsql schema.
Vem använder PostGIS SQL-kartor
Så exporterar du PostGIS SQL
Populära kartor i PostGIS SQL
Hämta kartexporter i PostGIS SQL Dump
Ladda ner professionella PostGIS SQL-kartor från OpenStreetMap. Direktgenerering, valfritt område.