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