SpatiaLite 🗃

SpatiaLite (SQLite + spatial)

Open Beta
.sqlite · application/x-sqlite3

SpatiaLite ialah sambungan spatial untuk SQLite. Format pangkalan data fail tunggal yang padat dengan sokongan penuh untuk pertanyaan spatial, indeks, dan standard OGC.

Eksport SpatiaLite sekarang ✨ Beta Terbuka — percuma, tanpa had

Ciri Utama

Satu fail — pangkalan data penuh
Pertanyaan SQL spatial
Indeks spatial
Serasi SQLite
Example SpatiaLite export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Mengenai Format 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.

Program yang Membuka Fail SpatiaLite

Program dan aplikasi berikut boleh membuka, menyunting, dan bekerja dengan fail SpatiaLite (SQLite + spatial) (.sqlite) yang dieksport daripada OSM2CDR:

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

Format specifications

Siapa yang Menggunakan Peta SpatiaLite

🏗
Analisis GIS setempat
Spatial SQL queries straight against the file, with no database server to deploy.
💻
Aplikasi mudah alih
A compact database for Android or iOS: SQLite is already in the system, and the map travels with the app.
📊
Pangkalan data ringan
One file instead of a schema in PostGIS where there is not much data and simplicity matters more.
🎨
Pembuatan prototaip
A quick test of a hypothesis on real data before building a full pipeline.
🗺
Kerja luar talian
Data at hand without a network — the database sits on disk and does not depend on a connection.

Cara Mengeksport SpatiaLite

1
Pilih kawasan
Lukis segi empat atau poligon pada peta interaktif di osm2cdr.ru
2
Pilih SpatiaLite
Pilih SpatiaLite (SQLite + spatial) daripada senarai 127 format eksport yang tersedia
3
Eksport
Klik Eksport dan terima fail .sqlite anda dalam 1-5 minit
4
Muat turun
Muat turun fail SpatiaLite yang siap dan buka dalam QGIS

Cara Membuka Selepas Eksport

Peta popular dalam SpatiaLite

Percuma

Dapatkan eksport peta SpatiaLite (SQLite + spatial)

Muat turun peta SpatiaLite profesional daripada OpenStreetMap. Penjanaan serta-merta, sebarang kawasan.

Percuma / eksport
Eksport SpatiaLite sekarang →

Soalan Lazim

Apakah perbezaan SpatiaLite dengan GeoPackage?
Bolehkah saya membuka SpatiaLite dalam 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?

Format Berkaitan

Kerap Dieksport Bersama

Related Articles