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 карте

🏗
Локална GIS анализа
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

Бесплатно

Преузмите извозе карата у формату 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