SpatiaLite 🗃

SpatiaLite (SQLite + spatial)

Open Beta
.sqlite · application/x-sqlite3

SpatiaLite er rúmviðbót fyrir SQLite. Samþjappað eins-skráar gagnagrunnssnið með fullum stuðningi við rúmfyrirspurnir, vísitölur og OGC-staðla.

Flytja út SpatiaLite núna ✨ Opin beta-prófun — ókeypis, engar takmarkanir

Helstu eiginleikar

Ein skrá — fullbúinn gagnagrunnur
Rúmlegar SQL-fyrirspurnir
Rúmvísitölur
Samhæft við SQLite
Example SpatiaLite export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Um SpatiaLite-sniðið

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.

Hvaða forrit opnar SpatiaLite-skrár

Eftirfarandi forrit geta opnað, breytt og unnið með SpatiaLite (SQLite + spatial) (.sqlite) skrár sem fluttar eru út úr OSM2CDR:

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

Format specifications

Hverjir nota SpatiaLite-kort

🏗
Staðbundin GIS-greining
Spatial SQL queries straight against the file, with no database server to deploy.
💻
Farsímaforrit
A compact database for Android or iOS: SQLite is already in the system, and the map travels with the app.
📊
Léttir gagnagrunnar
One file instead of a schema in PostGIS where there is not much data and simplicity matters more.
🎨
Frumgerðasmíði
A quick test of a hypothesis on real data before building a full pipeline.
🗺
Ótengd vinna
Data at hand without a network — the database sits on disk and does not depend on a connection.

Hvernig á að flytja út SpatiaLite

1
Veldu svæði
Teiknaðu rétthyrning eða marghyrning á gagnvirka kortinu á osm2cdr.ru
2
Veldu SpatiaLite
Veldu SpatiaLite (SQLite + spatial) úr listanum yfir 127 fáanleg útflutningssnið
3
Flytja út
Smelltu á Flytja út og fáðu .sqlite-skrána þína eftir 1-5 mínútur
4
Sækja
Sæktu tilbúnu SpatiaLite-skrána og opnaðu hana í QGIS

Hvernig á að opna eftir útflutning

Vinsæl kort í SpatiaLite

Free

Fáðu kortaútflutning í SpatiaLite (SQLite + spatial)

Sæktu fagleg SpatiaLite-kort úr OpenStreetMap. Tafarlaus kortagerð, hvaða svæði sem er.

Ókeypis / útflutningur
Flytja út SpatiaLite núna →

Algengar spurningar

Hvernig er SpatiaLite frábrugðið GeoPackage?
Get ég opnað SpatiaLite í 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?

Tengd snið

Oft flutt út saman

Related Articles