Class/subclass issue when adding GeoJSON to tilemaker. #646
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You probably want to tweak your The openmaptiles profile defaults to tilemaker/resources/process-openmaptiles.lua Lines 654 to 665 in 172d133 |
Beta Was this translation helpful? Give feedback.
-
I've tweaked this in c490b5c so that you can just add GeoJSON files to the default config, and it won't assume they're the ocean. |
Beta Was this translation helpful? Give feedback.
You probably want to tweak your
attribute_function
. It gets called when processing GeoJSON/shapefiles - you receive the layer name and the attributes, and decide which attributes you want to write out.The openmaptiles profile defaults to
ocean
, so I'm guessing you've maybe started from that file:tilemaker/resources/process-openmaptiles.lua
Lines 654 to 665 in 172d133