Repository for handling OpenStreetMap data in PostGIS for super busy people.
If you are looking at this repository, you are probably a very busy person, so immediately execute the following command to get the job done.
(If you are super busy, of course you have already prepared commands such as docker
, make
and curl
.)
git clone https://github.com/yuiseki/busy-osm-postgis.git
cd busy-osm-postgis
docker compose up -d
make
make import-imposm
- Open http://localhost:5050/
- Login
- email:
[email protected]
- pass:
admin
- email:
- Login
- Click
Server Group 1
- Click
postgis
- Click
Databases
- Click
imposm
- Click
Schemas
- Click
public
- Click
Tables
- Click
osm_buildings
- Click
View Data
(orAlt + Shift + V
)- Scroll horizontally and find column named
way
- Click
View all geometries in this column
button
- Scroll horizontally and find column named
- Click
- Click
- Click
- Click
- Click
- Click
- Click
- Click
This repos depends on the following softwares:
- PostGIS on PostgreSQL
- https://postgis.net/
- Most important software
- Store OpenStreetMap data as SQL DB
- pgAdmin
- https://github.com/pgadmin-org/pgadmin4
- Very useful software
- Preview the data in PostgreSQL
- osm2pgsql
- https://github.com/openstreetmap/osm2pgsql
- Also important software
- Import OpenStreetMap data into DB