Skip to content
Discussion options

You must be logged in to vote

E.g. there is a column "horse". What is it good for? Or, how can I search for rivers?

The columns that are created when you load data are determined by a ".style" file that tells osm2pgsql what columns to create. An example of one of those is here. Depending on what instructions you were following to get to wherever you have got to, you might have different data columns.

What goes in those columns comes essentially from OpenStreetMap, so if I do a "select osm_id from planet_osm_polygon where horse = 'yes';" among the data returned is for osm_id 23496240.

Taking a step back, and considering that osm2pgsql might be only part of what you want to use to do whatever you want t do, it might b…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by joto
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants