-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Description
I have been using tilemaker v3 on a Mac Mini since February without any issues. Recently, I set up the same version on a new machine running Ubuntu 24.04 LTS, using identical Lua and configuration files. However, I'm encountering discrepancies in the attribute behavior of features within the vector tiles.
The intended functionality, verified on my Mac, is for the following code snippet to add attributes only if they exist:
-- Roads ('transportation')
if highway ~= "" then
-- Write to layer
Layer("transportation", false)
Attribute("tag:highway", highway)
Attribute("tag:oneway", Find("oneway"))
Attribute("tag:surface", Find("surface"))
Attribute("tag:access", Find("access"))
Attribute("tag:bicycle", Find("bicycle"))
Attribute("tag:foot", Find("foot"))
Attribute("tag:mtb_scale", Find("mtb:scale"))
SetBrunnelAttributes()
SetNameAttributes()
endOn the Ubuntu system, an example feature looks like this:
1251211961 {tag:bicycle=, tag:mtb_scale=, tag:oneway=, tag:surface=, tag:foot=, name=, tag:access=, tag:highway=residential}
Whereas on my Mac, the output for the same feature is more succinct and as expected:
1251211961 {tag:highway=residential}
Any suggestions or corrections are highly appreciated, especially if I have misunderstood something.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels