SpatiaLite 🗃

SpatiaLite (SQLite + spatial)

Open Beta
.sqlite · application/x-sqlite3

SpatiaLite je prostorno proširenje za SQLite. Kompaktan format baze podataka u jednoj datoteci s potpunom podrškom za prostorne upite, indekse i OGC standarde.

Izvezi SpatiaLite sada ✨ Otvorena beta — besplatno, bez ograničenja

Ključne značajke

Jedna datoteka — potpuna baza podataka
Prostorni SQL upiti
Prostorni indeksi
Kompatibilno sa SQLiteom
Example SpatiaLite export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

O formatu 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.

Koji program otvara datoteke SpatiaLite

Sljedeći programi i aplikacije mogu otvoriti, uređivati i raditi s datotekama SpatiaLite (SQLite + spatial) (.sqlite) izvezenima iz OSM2CDR-a:

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

Format specifications

Tko koristi karte SpatiaLite

🏗
Lokalna GIS analiza
Spatial SQL queries straight against the file, with no database server to deploy.
💻
Mobilne aplikacije
A compact database for Android or iOS: SQLite is already in the system, and the map travels with the app.
📊
Lagane baze podataka
One file instead of a schema in PostGIS where there is not much data and simplicity matters more.
🎨
Izrada prototipa
A quick test of a hypothesis on real data before building a full pipeline.
🗺
Izvanmrežni rad
Data at hand without a network — the database sits on disk and does not depend on a connection.

Kako izvesti SpatiaLite

1
Odaberite područje
Nacrtajte pravokutnik ili poligon na interaktivnoj karti na osm2cdr.ru
2
Odaberite SpatiaLite
Odaberite SpatiaLite (SQLite + spatial) s popisa od 127 dostupnih formata izvoza
3
Izvoz
Kliknite Izvoz i primite svoju .sqlite datoteku za 1 – 5 minuta
4
Preuzimanje
Preuzmite gotovu datoteku SpatiaLite i otvorite je u QGIS

Kako otvoriti nakon izvoza

Popularne karte u formatu SpatiaLite

Besplatno

Nabavite izvoze karata u formatu SpatiaLite (SQLite + spatial)

Preuzmite profesionalne karte u formatu SpatiaLite iz OpenStreetMapa. Trenutno generiranje, bilo koje područje.

Besplatno / izvoz
Izvezi SpatiaLite sada →

Često postavljana pitanja

Po čemu se SpatiaLite razlikuje od GeoPackagea?
Mogu li otvoriti SpatiaLite u QGIS-u?
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?

Povezani formati

Često se izvoze zajedno

Related Articles