-
First, let me say thank you for all the great work. I have been looking at Now for my quest: Is there a way to retrieve any aerodrome node within a given distance of a node such as a runway or taxiway? One fallback idea, would be to create a GeoJson or shape file with a square around every center of each airport with an IATA code (I have the latitude, longitude of pretty much every IATA airport in a separate file). With such a file, I could use similar enquiries to the ones in the examples to filter by country. PS: I was reading the docs again and found something that might help: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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/)
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.
Yes
Yes, you'll get corrupt output unless you take precautions. You can use
Yes, but there are a couple tricks needed. If you want to write JSON, you'll need a JSON library. json.lua is a pure Lua JSON library that I've used successfully. If you want tilemaker to output GeoJSON geometries, you'll need to patch it. This patch adds a But for your specific problem it sounds like you might be able to get by without full geometries? e.g. you could use the
Yup, that'd work. If your list of data is large, the overhead of reading it in once per thread and once per phase might be annoying. Probably that's not an issue for something like a list of airports, but if it is, you might consider storing it in a sqlite DB. |
Beta Was this translation helpful? Give feedback.
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/)
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.
Yes
Yes, you'll get corrupt ou…