OpenStreetMap Lithuania in PostGIS, ready to query. Data © OpenStreetMap contributors, ODbL.
101
Map data © OpenStreetMap contributors, available under the Open Database License (ODbL) 1.0. The OpenStreetMap data in this image belongs to its contributors. This image is a derivative database offered under the ODbL. Baseshift is not affiliated with or endorsed by the OpenStreetMap Foundation.
Packaged by Baseshift: database clones for developers that start in seconds.
The full osm2pgsql import of Lithuania: a 4.5 GB PostgreSQL database in an 846 MB download. Skip the import: pull it, start it, and query.
docker run -d -p 127.0.0.1:5432:5432 baseshift/db-osm-lt:pg17-dc1
psql -h localhost -U postgres -d osm_lt_261113
127.0.0.1 keeps the database reachable only from your own machine.Example: the most common kinds of amenity.
SELECT amenity, count(*) AS n
FROM planet_osm_point
WHERE amenity IS NOT NULL
GROUP BY amenity ORDER BY n DESC LIMIT 10;
lithuania-261113.osm.pbf, replication timestamp 2026-11-13T21:22:20Z (sequence 4967).
a4db138f48683fc93e2843308386036b932f7d16463ba4ed5e672ff825765f8e--create --slim --hstore, default style. Geometries are in EPSG:3857.
planet_osm_point, planet_osm_line, planet_osm_polygon, planet_osm_roads, plus the slim planet_osm_nodes, planet_osm_ways and planet_osm_rels.osm2pgsql_properties records the replication URL and updatable=true. osm2pgsql-replication update is untested.postgres:17.11 image. Both linux/amd64 and linux/arm64 (Apple Silicon) are supported.CREATE EXTENSION baseshift_storage; shows raw and compressed sizes per table and index.| Tag | Meaning |
|---|---|
pg17-dc1-20261113 | PostgreSQL 17, dc1 compression, data as of 2026-11-13 (pinned) |
pg17-dc1 | latest data vintage on PostgreSQL 17 with dc1 |
pg17, latest | latest overall |
Baseshift builds database clones for development and testing. These images run on our clone engine with dc1, a new compression mode we're developing: every 8 KB block is compressed on its own and decompressed as PostgreSQL reads it.
Content type
Image
Digest
sha256:a8baf42a6…
Size
807 MB
Last updated
6 days ago
docker pull baseshift/db-osm-lt