You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: milo[at]opengeo.nl [Submitted to the original trac issue database at 10.49pm, Tuesday, 6th October 2009]
I have been investigating osm2pgsql and discovered that not all xml way elements are parsed into the planet_osm_ways table.
As with planet_osm_nodes that does contain all the raw nodes, I would like planet_osm_ways to reflect the content of the osm-xml it originated from too, despite unknown tags and without ignoring the coastline.
The text was updated successfully, but these errors were encountered:
Author: milo[at]opengeo.nl [Added to the original trac issue at 9.49am, Wednesday, 7th October 2009]
I ran a first test. For the test I altered
static int pgsql_add_way(int id, int *nds, int nd_count, struct keyval *tags)
(see output-pgsql.patch)
to NOT test for polygon or filter. It partially does what I want, I now have coastlines and ways with "unknown" tags in my planet_osm_ways table.
I noticed one thing, the coastlines are now also being written to planet_osm_line, but natural is set to NULL instead of to coastline. I would prefer a method where the planet_osm_line ignores the coastlines and other unknown tags completely not parsing anything at all.
Author: amm [Added to the original trac issue at 5.51pm, Monday, 16th September 2013]
I haven't verified this, but briefly looking at the code, it seems all ways should be written to planet_osm_ways table. So I am closing this as out of date.
Reporter: milo[at]opengeo.nl
[Submitted to the original trac issue database at 10.49pm, Tuesday, 6th October 2009]
I have been investigating osm2pgsql and discovered that not all xml way elements are parsed into the planet_osm_ways table.
As with planet_osm_nodes that does contain all the raw nodes, I would like planet_osm_ways to reflect the content of the osm-xml it originated from too, despite unknown tags and without ignoring the coastline.
The text was updated successfully, but these errors were encountered: