Repository navigation
|
Hi All, I'm trying to get relation tags into a table of osm highways using the Lua flex import. I mainly relied on this example: https://www.grulic.org.ar/~mdione/glob/posts/bus-routes-with-osm2pgsql-flex-backend/ However the script fails when calling osm2pgsql.mark_way I get the error message: attempt to call a nil value (field 'mark_way') I have the suspicion it has something to do with my osm2pgsql setup. Any ideas on this? Thanks! |
Answered by
joto
Sep 20, 2021
Replies: 1 comment
|
That script is using an old version of osm2pgsql. |
0 replies
Answer selected by
Weltstaat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That script is using an old version of osm2pgsql.
mark_wayis not available any more. See https://github.com/openstreetmap/osm2pgsql/blob/master/flex-config/route-relations.lua for a working example how this is done these days.