R
R
remo0012020-10-12 02:16:20
PostgreSQL
remo001, 2020-10-12 02:16:20

Openstreetmap how to get a list of countries, regions, localities?

There is a database in postgresql, which is formed using osm2pgsql. It is necessary to get a list of countries, a list of regions of a particular country, and a list of settlements in this region. How can this be done with SQL queries?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-10-12
@freeExec

https://postgis.net/docs/ST_Within.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question