Skip to content

Filtering aeroway for airports with IATA code. #784

Answered by cldellow
FunMiles asked this question in Q&A
Discussion options

You must be logged in to vote

Can tilemaker be used to output such a file automatically, such as using Lua code

I'm excited to see more people treating tilemaker like a general-purpose OSM processing tool. :) I do something similar for my hobby project (https://www.hikeratlas.com/blog/)

Does the Lua code run on a single thread or is there one Lua instance per thread?

One instance per thread. The instance is created at the start of each phase (read nodes, read ways, read relations) and destroyed at the end.

does FindIntersecting work on a layer of any type, including those from a GeoJson file?

Yes

[if there are multiple Lua instances] writing such a file would be a lot more difficult.

Yes, you'll get corrupt ou…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FunMiles
Comment options

Answer selected by FunMiles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants