[Tile-serving] [osm2pgsql] avoid double-filtering tags on ways in pgsql output (#516)

Sarah Hoffmann notifications at github.com
Mon Dec 14 08:45:07 UTC 2015


> @@ -83,29 +83,12 @@ E4C1421D5BF24D06053E7DF4940
>  212696  Oswald Road     \N      \N      \N      \N      \N      \N      minor   \N      \N      \N      \N      \N      \N      \N    0102000020E610000004000000467D923B6C22D5BFA359D93EE4DF4940B3976DA7AD11D5BF84BBB376DBDF4940997FF44D9A06D5BF4223D8B8FEDF49404D158C4AEA04D
>  5BF5BB39597FCDF4940
>  */
> -int output_pgsql_t::pgsql_out_way(osmid_t id, const taglist_t &tags, const nodelist_t &nodes, int exists)
> +int output_pgsql_t::pgsql_out_way(osmid_t id, taglist_t &outtags,

It is not an issue at the two places where the function is currently used.

Th whole area hack is a bit dirty anyway. In the long run I would prefer to move the special-casing of the area tag into table_t::write_wkt() to avoid tag modification and remove all that code duplication. It would also make the area available for output-multi.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/516/files#r47471996
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151214/0b60426b/attachment.html>


More information about the Tile-serving mailing list