SpatiaLite 🗃

SpatiaLite (SQLite + spatial)

Open Beta
.sqlite · application/x-sqlite3

Το SpatiaLite είναι μια χωρική επέκταση για το SQLite. Μια συμπαγής μορφή βάσης δεδομένων ενός αρχείου με πλήρη υποστήριξη χωρικών ερωτημάτων, ευρετηρίων και προτύπων OGC.

Εξαγωγή SpatiaLite τώρα ✨ Open Beta — δωρεάν, χωρίς όρια

Βασικά χαρακτηριστικά

Ένα αρχείο — πλήρης βάση δεδομένων
Χωρικά ερωτήματα SQL
Χωρικά ευρετήρια
Συμβατό με SQLite
Example SpatiaLite export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Σχετικά με τη μορφή 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.

Ποιο πρόγραμμα ανοίγει αρχεία SpatiaLite

Τα ακόλουθα προγράμματα και εφαρμογές μπορούν να ανοίξουν, να επεξεργαστούν και να εργαστούν με αρχεία SpatiaLite (SQLite + spatial) (.sqlite) που έχουν εξαχθεί από το OSM2CDR:

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

Format specifications

Ποιοι χρησιμοποιούν χάρτες SpatiaLite

🏗
Τοπική ανάλυση GIS
Spatial SQL queries straight against the file, with no database server to deploy.
💻
Εφαρμογές για κινητά
A compact database for Android or iOS: SQLite is already in the system, and the map travels with the app.
📊
Ελαφριές βάσεις δεδομένων
One file instead of a schema in PostGIS where there is not much data and simplicity matters more.
🎨
Δημιουργία πρωτοτύπων
A quick test of a hypothesis on real data before building a full pipeline.
🗺
Εργασία εκτός σύνδεσης
Data at hand without a network — the database sits on disk and does not depend on a connection.

Πώς να εξαγάγετε SpatiaLite

1
Επιλογή περιοχής
Σχεδιάστε ένα ορθογώνιο ή πολύγωνο στον διαδραστικό χάρτη στο osm2cdr.ru
2
Επιλέξτε SpatiaLite
Επιλέξτε SpatiaLite (SQLite + spatial) από τη λίστα με τις 127 διαθέσιμες μορφές εξαγωγής
3
Εξαγωγή
Κάντε κλικ στο «Εξαγωγή» και λάβετε το αρχείο σας .sqlite σε 1-5 λεπτά
4
Λήψη
Κατεβάστε το έτοιμο αρχείο SpatiaLite και ανοίξτε το στο QGIS

Πώς να το ανοίξετε μετά την εξαγωγή

Δημοφιλείς χάρτες σε SpatiaLite

Δωρεάν

Αποκτήστε εξαγωγές χαρτών SpatiaLite (SQLite + spatial)

Κατεβάστε επαγγελματικούς χάρτες SpatiaLite από το OpenStreetMap. Άμεση δημιουργία, για οποιαδήποτε περιοχή.

Δωρεάν / εξαγωγή
Εξαγωγή SpatiaLite τώρα →

Συχνές ερωτήσεις

Σε τι διαφέρει το SpatiaLite από το GeoPackage;
Μπορώ να ανοίξω 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?

Σχετικές μορφές

Συχνά εξάγονται μαζί

Related Articles