Where are all the relations? How to extract connection between ways and nodes? #2189
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Relations with (multi)polygon geometry will be in planet_osm_polygon.
That rather depends on what you are trying to do. osm2pgsql supports more than one output type, and another might be more appropriate, depending on what you are trying to do. What columns you get, and whether something in the input is treated as an area or a closed line, is also under your control. See e.g. here. |
Beta Was this translation helpful? Give feedback.
Relations with (multi)polygon geometry will be in planet_osm_polygon.
That rather depends on what you are trying to do. osm2pgsql supports more than one output type, and another might be more appropriate, depending on what you are trying to do. What columns you get, and whether something in the input is treated as an area or a closed line, is also under your control. See e.g. here.