GeoPackage 📦

GeoPackage (GPKG)

Open Beta
.gpkg · application/geopackage+sqlite3

GeoPackage 是一种现代 OGC 格式,将地理数据存储在单个基于 SQLite 的文件中。它取代了传统的 Shapefile,可在一个容器中同时支持矢量和栅格图层。

立即导出 GeoPackage ✨ Open Beta — 免费无限制

主要特点

单一文件——全部图层
SQLite 格式
OGC 标准
矢量与栅格图层
GeoPackage 格式导出示例(莫斯科中心,1x0.5 公里)
示例:莫斯科中心区,约 1x0.5 公里,中等详细度

关于 GeoPackage 格式

GeoPackage is an OGC standard adopted in 2014. Under the hood it is an ordinary SQLite database in which layers, geometry and metadata are laid out by the standard's rules. A single .gpkg file can hold any number of vector layers, rasters, styles and tables without geometry.

It was devised as the replacement for the shapefile, and it cured all of its ailments: field names of any length, UTF-8 with no tricks, no set of companion files that must never be separated, and no two-gigabyte limit. Today GeoPackage is the default format in QGIS and the standard exchange unit in many organizations.

Each map layer becomes a separate table with its own OpenStreetMap attributes and a spatial index that is built automatically. Coordinates are WGS84 (EPSG:4326). All of it in one file: convenient to send, to put in the cloud or to take with you into the field.

You can also work with it as a database: a .gpkg opens in any SQLite client, and ordinary SQL queries apply to the layers.

打开 GeoPackage 文件的程序

以下程序可以打开、编辑和处理从 OSM2CDR 导出的 GeoPackage (GPKG)(.gpkg)文件:

🌎QGIS 🌎ArcGIS 💻GeoServer 💻MapServer 💻SpatiaLite GUI 💻GDAL/OGR

格式规格

谁在使用 GeoPackage 地图

🏗
现代 GIS 分析
All the layers of the area in one file, ready for analysis in QGIS or ArcGIS.
💻
离线地图
The whole map sits in a single file and works with no internet.
📊
移动 GIS
QField, Mergin Maps and other field apps take a .gpkg as their main source.
🎨
替代 Shapefile
No limits on field names, no companion files, no encoding trouble.
🗺
数据交换
One file instead of an archive — easy to send to a colleague or a contractor.

如何导出 GeoPackage

1
选择区域
在 osm2cdr 的交互式地图上绘制矩形或多边形
2
选择 GeoPackage
从 127 种可用导出格式中选择 GeoPackage (GPKG)
3
导出
点击导出,1–5 分钟内收到您的 .gpkg 文件
4
下载
下载完成的 GeoPackage 文件并在 QGIS 中打开

导出后如何打开

GeoPackage 格式的热门地图

Free

导出 GeoPackage (GPKG) 地图

从 OpenStreetMap 下载专业的 GeoPackage 地图。即时生成,任意区域。

免费 / 导出
立即导出 GeoPackage →

常见问题

GeoPackage 为何比 Shapefile 更好?
我能在 QGIS 中打开 GeoPackage 吗?
How do I find out which layers are inside the file?
Which coordinate system do the layers arrive in?
Can I edit the file and add my own layers?

与其他格式比较

GeoPackage 格式互转

GeoPackage 指南

相关格式

经常一起导出

Related Articles