[Tile-serving] [osm2pgsql] Remove phstore flag from style and replace ist by a generic hstore flag (#164)

Sven Geggus notifications at github.com
Mon Dec 22 09:55:09 UTC 2014


> @@ -33,7 +33,8 @@ static const flagsname tagflags[] = {
>      flagsname("linear",  FLAG_LINEAR),
>      flagsname("nocache", FLAG_NOCACHE),
>      flagsname("delete",  FLAG_DELETE),
> -    flagsname("phstore", FLAG_PHSTORE)
> +    flagsname("phstore", FLAG_PHSTORE),

No! The test for FLAG_HSTORE is sufficient (FLAG_HSTORE is 16 FLAG_PHSTORE is 17) as we do bitwise and in comparison. I left the old flag-name for compatibility reasons only. FLAG_PHSTORE is the same as FLAG_HSTORE and FLAG_POLYGON

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


More information about the Tile-serving mailing list