Opened 11 years ago

Closed 6 years ago

#862 closed defect (wontfix)

http://tah.openstreetmap.org/Browse needs better error handling

Reported by: Dirk Stoecker Owned by: spaetz
Priority: minor Milestone:
Component: tilesathome Version:
Keywords: Cc:

Description

In http://tah.openstreetmap.org/Browse/?x=35240&y=21543&z=16&layer=cycle the cycle layer does not work for zoom levels > 16. Instead of silently failing, an error message tile should be delivered for each field.

The same is true, when wrong layer names are given. Here also an error tile should be delivered instead of empty tiles.

Change History (5)

comment:1 Changed 11 years ago by Tom Hughes

Owner: changed from Tom Hughes to streetmap@…

comment:2 Changed 11 years ago by Tom Hughes

Component: adminosmarender

comment:3 Changed 10 years ago by osm@…

Component: osmarendertilesathome

comment:4 Changed 9 years ago by spaetz

Owner: changed from streetmap@… to spaetz
Status: newassigned

Mmmh, this is a difficult one. The tile serving is done by an apache extension written in C that has no access to the data base in which the available layers and zoom levels are stored.

In case there is no tile file we deliver whatever blank tile we need to deliver (all empty sea and empty land tiles are just "missing files" on the server. I don't really want to hardcode layers in that C app, nor do I want to add too many performance critical sanity checks.

It would be nice, of course. What we could do is to disable the zoom buttons from the browse GUI or deliver an error message if a wrong layer has been selected in the browse UI. Thinking of it, it should be possible and I'll add it on my TODO list. Thanks for the sensible suggestions.

comment:5 Changed 6 years ago by iandees

Resolution: wontfix
Status: assignedclosed

Cleaning aging tickets.

Note: See TracTickets for help on using tickets.