SpatiaLite 🗃

SpatiaLite (SQLite + spatial)

Open Beta
.sqlite · application/x-sqlite3

SpatiaLite er en romlig utvidelse for SQLite. Et kompakt databaseformat på én fil med full støtte for romlige spørringer, indekser og OGC-standarder.

Eksporter SpatiaLite nå ✨ Åpen beta — gratis, ingen begrensninger

Hovedfunksjoner

Én fil – fullstendig database
Romlige SQL-spørringer
Romlige indekser
Kompatibel med SQLite
Example SpatiaLite export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Om SpatiaLite-formatet

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.

Hvilket program åpner SpatiaLite-filer

Følgende programmer og applikasjoner kan åpne, redigere og arbeide med SpatiaLite (SQLite + spatial) (.sqlite)-filer eksportert fra OSM2CDR:

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

Format specifications

Hvem bruker SpatiaLite-kart

🏗
Lokal GIS-analyse
Spatial SQL queries straight against the file, with no database server to deploy.
💻
Mobilapplikasjoner
A compact database for Android or iOS: SQLite is already in the system, and the map travels with the app.
📊
Lette databaser
One file instead of a schema in PostGIS where there is not much data and simplicity matters more.
🎨
Prototyping
A quick test of a hypothesis on real data before building a full pipeline.
🗺
Offline arbeid
Data at hand without a network — the database sits on disk and does not depend on a connection.

Slik eksporterer du SpatiaLite

1
Velg område
Tegn et rektangel eller polygon på det interaktive kartet på osm2cdr.ru
2
Velg SpatiaLite
Velg SpatiaLite (SQLite + spatial) fra listen over 127 tilgjengelige eksportformater
3
Eksporter
Klikk Eksporter og motta .sqlite-filen din på 1–5 minutter
4
Last ned
Last ned den ferdige SpatiaLite-filen og åpne den i QGIS

Slik åpner du filen etter eksporten

Populære kart i SpatiaLite

Free

Få karteksporter i SpatiaLite (SQLite + spatial)

Last ned profesjonelle SpatiaLite-kart fra OpenStreetMap. Umiddelbar generering, uansett område.

Gratis / eksport
Eksporter SpatiaLite nå →

Ofte stilte spørsmål

Hva er forskjellen på SpatiaLite og GeoPackage?
Kan jeg åpne SpatiaLite i 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?

Relaterte formater

Ofte eksportert sammen

Related Articles