PostGIS SQL 💾

PostGIS SQL Dump

Open Beta
.sql · application/sql

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.

지금 PostGIS SQL 내보내기 ✨ 오픈 베타 — 무료, 제한 없음

주요 기능

Self-contained .sql: CREATE TABLE + INSERT, applied via psql -f
Geometry via ST_GeomFromText(WKT, SRID), SRID 4326 by default
Attribute types mapped to PostgreSQL types (TEXT, DOUBLE PRECISION, INTEGER)
Multiple layers — separate tables in one script
Values are escaped — SQL-injection safe

PostGIS SQL 파일을 여는 프로그램

다음 프로그램과 애플리케이션으로 OSM2CDR에서 내보낸 PostGIS SQL Dump(.sql) 파일을 열고 편집하고 작업할 수 있습니다:

💻PostgreSQL + PostGIS 💻psql 🌎QGIS 💻GeoServer 💻DBeaver

Format specifications

PostGIS SQL 지도 사용자

🏗
Loading an OSM selection into your PostgreSQL/PostGIS database with one script
💻
Handing data to a GIS team already on the PostgreSQL stack
📊
Preparing a layer for GeoServer or QGIS via a PostGIS connection
🎨
Embedding geodata into a SQL pipeline or CI/CD through psql -f

PostGIS SQL 내보내기 방법

1
영역 선택
osm2cdr.ru의 인터랙티브 지도에서 사각형 또는 폴리곤을 그리세요
2
PostGIS SQL 선택
사용 가능한 127가지 내보내기 형식 목록에서 PostGIS SQL Dump을(를) 선택하세요
3
내보내기
내보내기를 클릭하면 1~5분 안에 .sql 파일을 받습니다
4
다운로드
완성된 PostGIS SQL 파일을 다운로드하여 PostgreSQL + PostGIS에서 여세요

PostGIS SQL 형식의 인기 지도

Free

PostGIS SQL Dump 지도 내보내기 받기

OpenStreetMap에서 전문가용 PostGIS SQL 지도를 다운로드하세요. 즉시 생성, 모든 영역 지원.

무료 / 내보내기
지금 PostGIS SQL 내보내기 →

자주 묻는 질문

Is this a pg_dump dump?
Will this be the osm2pgsql schema with planet_osm tables?
How do I apply the script?
Which coordinate system is the geometry in?

관련 형식

Related Articles