SpatiaLite 🗃

SpatiaLite (SQLite + spatial)

Open Beta
.sqlite · application/x-sqlite3

SpatiaLite este o extensie spațială pentru SQLite. Un format compact de bază de date într-un singur fișier, cu suport complet pentru interogări spațiale, indecși și standardele OGC.

Exportă SpatiaLite acum ✨ Open Beta — gratuit, fără limite

Caracteristici principale

Un singur fișier — bază de date completă
Interogări SQL spațiale
Indecși spațiali
Compatibil cu SQLite
Example SpatiaLite export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Despre formatul 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.

Ce program deschide fișierele SpatiaLite

Următoarele programe și aplicații pot deschide, edita și prelucra fișiere SpatiaLite (SQLite + spatial) (.sqlite) exportate din OSM2CDR:

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

Format specifications

Cine folosește hărțile SpatiaLite

🏗
Analiză GIS locală
Spatial SQL queries straight against the file, with no database server to deploy.
💻
Aplicații mobile
A compact database for Android or iOS: SQLite is already in the system, and the map travels with the app.
📊
Baze de date ușoare
One file instead of a schema in PostGIS where there is not much data and simplicity matters more.
🎨
Prototipare
A quick test of a hypothesis on real data before building a full pipeline.
🗺
Lucru offline
Data at hand without a network — the database sits on disk and does not depend on a connection.

Cum se exportă SpatiaLite

1
Selectează zona
Desenează un dreptunghi sau un poligon pe harta interactivă de pe osm2cdr.ru
2
Alege SpatiaLite
Selectează SpatiaLite (SQLite + spatial) din lista celor 127 de formate de export disponibile
3
Exportă
Apasă Export și primește fișierul .sqlite în 1-5 minute
4
Descarcă
Descarcă fișierul SpatiaLite finalizat și deschide-l în QGIS

Cum se deschide fișierul după export

Hărți populare în SpatiaLite

Free

Obține exporturi de hărți SpatiaLite (SQLite + spatial)

Descarcă hărți SpatiaLite profesionale din OpenStreetMap. Generare instantanee, orice zonă.

Gratuit / export
Exportă SpatiaLite acum →

Întrebări frecvente

Prin ce diferă SpatiaLite de GeoPackage?
Pot deschide SpatiaLite în 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?

Formate înrudite

Exportate frecvent împreună

Related Articles