I’m trying to import all timezone objects as “polygons” into database.
I added
node,way timezone text polygon
into /usr/share/osm2pgsql/default.style
file (I know I can pass a custom file as parameter, but this is not the case here) but still not all timezones are added into *_polygon
table but goes into *_line
table instead.
I figured out that this is probably caused by non-closed ways like in the example here:
and maybe because of the mixed non-closed / closed (“holes”) polygons here:
While I do understand that this is probably an “issues” with the osm object itself - is there a way I can force osm2pgsql still import these as polygons
instead of lines
into DB?