[Tile-serving] [osm2pgsql-dev/osm2pgsql] Off by 1 minzoom? (Discussion #2281)

Seth Miller notifications at github.com
Wed Dec 18 22:57:05 UTC 2024


When constructing a themepark theme, I have the following conditional for my way:
```lua
if a.minzoom < 10 then -- XXX TODO some kind of off-by-one error here?
    themepark:insert('railways_low', a, t)
end
```
I see a bunch of ways in my railways_low table that are of minzoom 10... There are no other references to this in my theme. I'm very curious about that "some kind of off-by-one error" here line? This seems impossible and I'm just as confused as that comment.

Thanks for the excellent project.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2281
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2281 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20241218/17be790a/attachment.htm>


More information about the Tile-serving mailing list