SpatiaLite 🗃

SpatiaLite (SQLite + spatial)

Open Beta
.sqlite · application/x-sqlite3

SpatiaLite është një zgjerim hapësinor për SQLite. Një format kompakt baze të dhënash me një skedar të vetëm, me mbështetje të plotë për pyetje hapësinore, indekse dhe standarde OGC.

Eksporto SpatiaLite tani ✨ Open Beta — falas, pa kufizime

Veçoritë kryesore

Një skedar — bazë e dhënash e plotë
Pyetje hapësinore SQL
Indekse hapësinore
I pajtueshëm me SQLite
Example SpatiaLite export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Rreth formatit 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.

Çfarë programi hap skedarët SpatiaLite

Programet dhe aplikacionet e mëposhtme mund të hapin, redaktojnë dhe punojnë me skedarë SpatiaLite (SQLite + spatial) (.sqlite) të eksportuar nga OSM2CDR:

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

Format specifications

Kush përdor harta SpatiaLite

🏗
Analizë lokale GIS
Spatial SQL queries straight against the file, with no database server to deploy.
💻
Aplikacione celulare
A compact database for Android or iOS: SQLite is already in the system, and the map travels with the app.
📊
Baza të dhënash të lehta
One file instead of a schema in PostGIS where there is not much data and simplicity matters more.
🎨
Prototipim
A quick test of a hypothesis on real data before building a full pipeline.
🗺
Punë jashtë linje
Data at hand without a network — the database sits on disk and does not depend on a connection.

Si të eksportoni SpatiaLite

1
Zgjidhni zonën
Vizatoni një drejtkëndësh ose poligon në hartën interaktive te osm2cdr.ru
2
Zgjidhni SpatiaLite
Zgjidhni SpatiaLite (SQLite + spatial) nga lista e 127 formateve të disponueshme të eksportit
3
Eksporto
Klikoni Eksporto dhe merrni skedarin tuaj .sqlite brenda 1-5 minutave
4
Shkarko
Shkarkoni skedarin e gatshëm SpatiaLite dhe hapeni në QGIS

Si ta hapni pas eksportit

Harta popullore në SpatiaLite

Falas

Merrni eksporte hartash SpatiaLite (SQLite + spatial)

Shkarkoni harta profesionale SpatiaLite nga OpenStreetMap. Gjenerim i menjëhershëm, çdo zonë.

Falas / eksport
Eksporto SpatiaLite tani →

Pyetjet më të shpeshta

Si ndryshon SpatiaLite nga GeoPackage?
A mund ta hap 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 të ngjashme

Eksportohen shpesh së bashku

Related Articles