[Tile-serving] [openstreetmap/osm2pgsql] Make it easier to reproduce --hstore behavior with flex backend (#1123)

Paul Norman notifications at github.com
Sat Apr 18 20:08:37 UTC 2020


> The `compatible.lua` was written to be compatible with the C transform, which doesn't have hstore in it if I remember correctly.

The C transform supports --hstore, --hstore-all, and --hstore-column

> There is one useful function `grab_tag` which pulls one tag out of the tags table which simplifies the content of your for-loop. See the `data-types.lua` example on how to use this.

How can this be worked into the unit tests for a flex config? Without it I'd call `osm2pgsql.process_node({tags = {"foo" = "bar"}})`, but that generates an object that doesn't define `grab_tag(self, k)`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1123#issuecomment-615937355
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200418/38ca53df/attachment.htm>


More information about the Tile-serving mailing list