OpenStreetMap District of Columbia in PostGIS. Data © OpenStreetMap contributors, ODbL.
104
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 District of Columbia: a 434 MB PostgreSQL database in a 350 MB download. Skip the import: pull it, start it, and query.
docker run -d -p 127.0.0.1:5432:5432 baseshift/db-osm-us-dc:pg17-dc1
psql -h localhost -U postgres -d osm_us_dc_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;
district-of-columbia-261113.osm.pbf, replication timestamp 2026-11-13T21:22:20Z (sequence 4971).
f5d528c726a496bf1cf60ee2d61412fb63fbe18b5e9c679563bca97c6d08564f--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/db-osm-us: OpenStreetMap United StatesBaseshift 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:795786dc5…
Size
333.7 MB
Last updated
6 days ago
docker pull baseshift/db-osm-us-dc