I am very new osm2pqsgl
. I have downloaded a osm.pbf
file for all of Europe and I want to add this data to my Postgres
database. However, I am only interested in points
, no linestrings
nor polygon
, and within the points
I am only interested in these tags and its information (like denomination
, or name
)
- Natural https://wiki.openstreetmap.org/wiki/Key:natural
- Historic https://wiki.openstreetmap.org/wiki/Key:historic
- Heritage https://wiki.openstreetmap.org/wiki/Key:heritage
- Religion https://wiki.openstreetmap.org/wiki/Key:religion
- Tourism https://wiki.openstreetmap.org/wiki/Key:tourism
I have edited the style
file from osm2pgsql
down to this
node,way historic text polygon
node,way natural text polygon
node,way religion text linear
node,way tourism text polygon
- How to import only
Point
features from aosm.pbf
file withosm2pgsql
? - How to import only
Point
features with a specifictag
, liketourism
from aosm.pbf
file withosm2pgsql
?