[Tile-serving] [openstreetmap/osm2pgsql] Flex backend: getting an "attempt to index global 'osm2pgsql'" error (#1183)

mboeringa notifications at github.com
Fri May 22 12:17:17 UTC 2020


>     * Change `-o flex` to `-O flex`   with an uppercase letter "O" instead of a lowercase one.

Ah, stupid, missed that mistake! Thanks @mmd-osm!

>     * Replace `--style 'src/openstreetmap-carto/openstreetmap-carto.style' --tag-transform-script 'src/openstreetmap-carto/openstreetmap-carto.lua'` by `-S src/openstreetmap-carto/openstreetmap-carto.lua`. There's no need to provide a .style file, all the information is inside the lua script.

Yes, I was still figuring out how to specify the command line correctly and use flex backend. Thanks for the guidance. Will try it out and let you know if it works.


-- 
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/1183#issuecomment-632662611
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200522/fc218172/attachment.htm>


More information about the Tile-serving mailing list