SpatiaLite 🗃

SpatiaLite (SQLite + spatial)

Open Beta
.sqlite · application/x-sqlite3

SpatiaLite е пространствено разширение за SQLite. Компактен формат за база данни в един файл с пълна поддръжка на пространствени заявки, индекси и стандарти на OGC.

Експортирайте SpatiaLite сега ✨ Отворена бета версия — безплатно, без ограничения

Основни характеристики

Един файл — пълна база данни
Пространствени SQL заявки
Пространствени индекси
Съвместим със SQLite
Example SpatiaLite export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

За формата SpatiaLite

SpatiaLite is SQLite with a spatial extension: a single file database, no server, yet real SQL with geometry, spatial functions and indexes. The file is simply copied, put into a repository or onto a flash drive and works anywhere.

The format is taken when the data has to be computed with rather than admired: select buildings within a radius, sum up street length by type, join layers with a query, filter by an attribute. All of that is done with a query straight against the file, without deploying PostGIS.

What is inside: one database file where each OSM layer is a separate table with geometry and attributes; the service tables are filled in and spatial indexes are built at write time. The coordinates are WGS84 (EPSG:4326). QGIS opens the file by drag and drop, GDAL/OGR and Python read it directly.

About the neighbouring format: GeoPackage is also SQLite and also a single file, but it is an OGC standard and other people's software understands it better. SpatiaLite wins where you write the queries yourself and need its full set of spatial functions.

Коя програма отваря файлове SpatiaLite

Следните програми и приложения могат да отварят, редактират и работят с файлове SpatiaLite (SQLite + spatial) (.sqlite), експортирани от OSM2CDR:

🌎QGIS 💻SpatiaLite GUI 💻DB Browser for SQLite 💻Python (sqlite3) 💻GDAL/OGR

Format specifications

Кой използва карти в SpatiaLite

🏗
Локален ГИС анализ
Spatial SQL queries straight against the file, with no database server to deploy.
💻
Мобилни приложения
A compact database for Android or iOS: SQLite is already in the system, and the map travels with the app.
📊
Леки бази данни
One file instead of a schema in PostGIS where there is not much data and simplicity matters more.
🎨
Прототипиране
A quick test of a hypothesis on real data before building a full pipeline.
🗺
Офлайн работа
Data at hand without a network — the database sits on disk and does not depend on a connection.

Как да експортирате SpatiaLite

1
Изберете област
Начертайте правоъгълник или полигон на интерактивната карта на osm2cdr.ru
2
Изберете SpatiaLite
Изберете SpatiaLite (SQLite + spatial) от списъка с 127 налични формата за експорт
3
Експорт
Щракнете върху „Експорт“ и получете файла си .sqlite за 1-5 минути
4
Изтегляне
Изтеглете готовия файл SpatiaLite и го отворете в QGIS

Как да отворите след експорта

Популярни карти в SpatiaLite

Free

Получете експорти на карти в SpatiaLite (SQLite + spatial)

Изтеглете професионални карти в SpatiaLite от OpenStreetMap. Незабавно генериране, всяка област.

Безплатно / експорт
Експортирайте SpatiaLite сега →

Често задавани въпроси

По какво се различава SpatiaLite от GeoPackage?
Мога ли да отворя SpatiaLite в QGIS?
Which tables will be in the database?
Which coordinate system is the geometry stored in?
Do I need to install anything to open the file?

Свързани формати

Често експортирани заедно

Related Articles