SpatiaLite 🗃

SpatiaLite (SQLite + spatial)

Open Beta
.sqlite · application/x-sqlite3

SpatiaLite je prostorové rozšíření pro SQLite. Kompaktní jednosouborový databázový formát s plnou podporou prostorových dotazů, indexů a standardů OGC.

Exportovat SpatiaLite hned ✨ Otevřená beta — zdarma, bez omezení

Klíčové vlastnosti

Jeden soubor – celá databáze
Prostorové dotazy SQL
Prostorové indexy
Kompatibilní se SQLite
Example SpatiaLite export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

O formátu 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.

Jaký program otevírá soubory SpatiaLite

Následující programy a aplikace dokážou otevřít, upravit a zpracovat soubory SpatiaLite (SQLite + spatial) (.sqlite) exportované z OSM2CDR:

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

Format specifications

Kdo používá mapy SpatiaLite

🏗
Lokální analýza GIS
Spatial SQL queries straight against the file, with no database server to deploy.
💻
Mobilní aplikace
A compact database for Android or iOS: SQLite is already in the system, and the map travels with the app.
📊
Odlehčené databáze
One file instead of a schema in PostGIS where there is not much data and simplicity matters more.
🎨
Prototypování
A quick test of a hypothesis on real data before building a full pipeline.
🗺
Offline práce
Data at hand without a network — the database sits on disk and does not depend on a connection.

Jak exportovat SpatiaLite

1
Vyberte oblast
Nakreslete obdélník nebo polygon na interaktivní mapě na osm2cdr.ru
2
Zvolte SpatiaLite
Vyberte SpatiaLite (SQLite + spatial) ze seznamu 127 dostupných exportních formátů
3
Export
Klikněte na Exportovat a obdržíte soubor .sqlite během 1–5 minut
4
Stáhnout
Stáhněte si hotový soubor SpatiaLite a otevřete jej v QGIS

Jak soubor otevřít po exportu

Oblíbené mapy ve formátu SpatiaLite

Zdarma

Získejte mapové exporty ve formátu SpatiaLite (SQLite + spatial)

Stáhněte si profesionální mapy SpatiaLite z OpenStreetMap. Okamžité generování, libovolná oblast.

Zdarma / export
Exportovat SpatiaLite hned →

Časté dotazy

Čím se SpatiaLite liší od GeoPackage?
Mohu otevřít SpatiaLite v 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?

Související formáty

Často exportováno společně

Related Articles