tah.openstreetmap.org handles empty parts wrong #828
Comments
Author: tom[at]compton.nu It would be a lot easier to investigate if you had given links to the slippy map instead of the MapOf service where I can't poke at the tile URLs with FireBug... For the record the corresponding location on the slippymap is: http://www.openstreetmap.org/?lat=51.0858&lon=14.1401&zoom=14&layers=0BFT and the problem tile appears to be: http://tah.openstreetmap.org/Tiles/tile.php/14/8835/5478.png the only problem is that it seems to be fine for me - the server is returning a grey tile that matches the adjacent tiles. |
Author: stoecker Your right. The problem does not appear in http://www.openstreetmap.org/?lat=51.0858&lon=14.1401&zoom=14&layers=0BFT But it appears in http://tah.openstreetmap.org/MapOf/ Seems you searched at the wrong place. Maybe it's a bug in MapOf scripting. Don't know. But I know there are white patches in the maps, which you can verify yourself, when loading the links I gave. |
Author: tom[at]compton.nu I just find it very hard to believe that this is MapOf specific - all that does is fetch the tiles and stitch them together, and there doesn't seem to be anything special about that tile. |
Author: stoecker Looking at the mapof script:
Probably the problem here is, that in case file does not exists, the area must be cleared. Or in line 46
set the correct background color and save the work for non-existing tiles. osmarender for sure is the wrong component, but I do not know better, that's why I choose admin. |
Author: stoecker Line 45 I meant
When you change that to 248,248,248 the problem should be solved. BTW: Could the width/height limit be increased from 2000 to 3500? That would be 300dpi for A4 paper. |
Author: tom[at]compton.nu The point is that the file does exist - I posted the URL for it! |
Author: stoecker You're really sure? As I see the scripts run on the same server and mapof directly accesses the files. Are empty tiles really stored, or is there a list containing empty tiles and send default tile for these? In the second case they are not physical reachable and the mapof test will fail, whereas the server delivers a default tile. Thought this is only speculation, as I had no deep look into the server working mechanisms. But it is the way I would design it :-) |
Author: tomhughes (In [7351]) Change background colour to match T@H tiles. Closes #828. |
Reporter: stoecker
[Submitted to the original trac issue database at 9.42am, Thursday, 10th April 2008]
E.g. when you look at
http://tah.openstreetmap.org/MapOf/index.php?lat=51.1264&long=14.1847&z=14&h=1994&w=1389&format=png
there is an empty square part left of "Grodrebnitz".
This is an area, which is totally empty and drawn totally white, but the normal background is a light grey.
Same for
http://tah.openstreetmap.org/MapOf/index.php?lat=52.345&long=13.60&z=15&h=1994&w=1389&format=png
left beside Schulzendorf.
Solution: For empty tiles use the same light grey color.
The text was updated successfully, but these errors were encountered: