SpatiaLite 🗃

SpatiaLite (SQLite + spatial)

Open Beta
.sqlite · application/x-sqlite3

SpatiaLite is 'n ruimtelike uitbreiding vir SQLite. 'n Kompakte enkellêer-databasisformaat met volledige ondersteuning vir ruimtelike navrae, indekse en OGC-standaarde.

Voer SpatiaLite nou uit ✨ Oop beta — gratis, geen beperkings nie

Sleutelkenmerke

Een lêer — volledige databasis
Ruimtelike SQL-navrae
Ruimtelike indekse
SQLite-versoenbaar
Example SpatiaLite export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Oor die SpatiaLite-formaat

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.

Watter program open SpatiaLite-lêers

Die volgende programme en toepassings kan SpatiaLite (SQLite + spatial) (.sqlite)-lêers wat uit OSM2CDR uitgevoer is, open, redigeer en daarmee werk:

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

Format specifications

Wie gebruik SpatiaLite-kaarte

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

Hoe om SpatiaLite uit te voer

1
Kies gebied
Teken 'n reghoek of veelhoek op die interaktiewe kaart by osm2cdr.ru
2
Kies SpatiaLite
Kies SpatiaLite (SQLite + spatial) uit die lys van 127 beskikbare uitvoerformate
3
Uitvoer
Klik op Uitvoer en ontvang jou .sqlite-lêer binne 1-5 minute
4
Aflaai
Laai die gereede SpatiaLite-lêer af en open dit in QGIS

Hoe om dit ná uitvoer te open

Gewilde kaarte in SpatiaLite

Gratis

Kry SpatiaLite (SQLite + spatial)-kaartuitvoere

Laai professionele SpatiaLite-kaarte van OpenStreetMap af. Onmiddellike generering, enige gebied.

Gratis / uitvoer
Voer SpatiaLite nou uit →

Gereelde vrae

Hoe verskil SpatiaLite van GeoPackage?
Kan ek SpatiaLite in QGIS oopmaak?
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?

Verwante formate

Dikwels saam uitgevoer

Related Articles