Open kylebarron opened 4 years ago
Helped with https://github.com/kylebarron/usgs-topo-tiler/commit/8cc581d854de81a6c78b4fac429a9998e5f877dd, which removed the rounding. But there's still some artifacts. I'm not sure I want to round up, since that could add white borders where the tile junction is even. For now this is fine.
You could try
math.ceil
andmath.floor
instead ofround
here: https://github.com/kylebarron/usgs-topo-tiler/blob/b41a4f0134d3b1af2ae341481ef674e2932d4781/usgs_topo_tiler/usgs_topo.py#L49-L52That would slightly overcompensate, but then the gaps would be white, instead of whatever the background color is.