SpatiaLite 🗃

SpatiaLite (SQLite + spatial)

Open Beta
.sqlite · application/x-sqlite3

SpatiaLite on SQLiten paikkatietolaajennus. Tiivis yhden tiedoston tietokantamuoto, joka tukee täysin paikkakyselyitä, indeksejä ja OGC-standardeja.

Vie SpatiaLite nyt ✨ Avoin beta — ilmainen, ei rajoituksia

Keskeiset ominaisuudet

Yksi tiedosto – täysi tietokanta
Paikkatietoiset SQL-kyselyt
Tilaindeksit
Yhteensopiva SQLiten kanssa
Example SpatiaLite export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Tietoa SpatiaLite-muodosta

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.

Mikä ohjelma avaa SpatiaLite-tiedostot

Seuraavat ohjelmat ja sovellukset voivat avata ja muokata OSM2CDR:stä vietyjä SpatiaLite (SQLite + spatial) (.sqlite) -tiedostoja sekä työskennellä niiden parissa:

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

Format specifications

Ketkä käyttävät SpatiaLite-karttoja

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

Näin viet kartan muotoon SpatiaLite

1
Valitse alue
Piirrä suorakulmio tai monikulmio interaktiiviselle kartalle osoitteessa osm2cdr.ru
2
Valitse SpatiaLite
Valitse SpatiaLite (SQLite + spatial) 127 saatavilla olevan vientimuodon luettelosta
3
Vie
Napsauta Vie ja saat .sqlite-tiedostosi 1–5 minuutissa
4
Lataa
Lataa valmis SpatiaLite-tiedosto ja avaa se ohjelmassa QGIS

Kuinka avata viennin jälkeen

Suositut SpatiaLite-kartat

Ilmainen

Hanki SpatiaLite (SQLite + spatial) -karttavientejä

Lataa ammattilaistason SpatiaLite-karttoja OpenStreetMapista. Luodaan välittömästi mistä tahansa alueesta.

Ilmainen / vienti
Vie SpatiaLite nyt →

Usein kysytyt kysymykset

Miten SpatiaLite eroaa GeoPackagesta?
Voinko avata SpatiaLiten QGIS:ssä?
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?

Liittyvät muodot

Usein viedään yhdessä

Related Articles