Opened 7 years ago
Last modified 7 years ago
#16736 new defect
screen and slippy map downloading not in sync when below or above 85 degr latitude
Reported by: | dieterdreist | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description (last modified by )
screen and slippy map downloading are not in sync when below or above 85 degr latitute:
if you move the editor window close to the poles and then do a "download", having the slippy map tab (in the download window) open will silently clamp you to 85 degrees, regardless of the map projection you have set in the preferences for the map.
Also, the bounding box tab requests invalid coordinates (lat -90.7362453), which in turn are rejected by the download API.
Attachments (5)
Change History (10)
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
Description: | modified (diff) |
---|
comment:3 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:4 by , 7 years ago
out of bounds problem for downloads222
Steps to reproduce:
- switch map settings / map Projection to WGS84 Geographic
- open osm file from attachment here
- zoom to the only node it contains (e.g. zoom to layer = 2), can be zoomed a lot (like 0.01 m in the scale indicator)
- go to Download / Download from OSM / Slippy Maps, a download area is already preselected
results in an error message: "The OSM server 'api.openstreetmap.org' reported a bad request. Error message(untranslated): The latitudes must be between -90 and 90, longitudes between -180 and 180 and the minima must be less than the maxima".
You can see this also in the "bounding box" download tab (screenshot1)
Possible Solution
do not request areas that are visible on the screen but off the current map projection bounds (needs clamping)
working variant
now, repeat step 3
then do this:
3.2a slightly move the map down (move the world border off the screen, see screenshot2)
then repeat 4
the correct bounding box is downloaded. (OK)
Slippy map downloading problems
now, repeat step 3
then do this:
3.2b slightly move the map down (move the border off the screen, see screenshot2)
3.3 select a tiny rectangle at the bottom of the slippy map from the download tab, even extending the download rectangle beyond the visible border of the slippy map (screenshot3)
then repeat 4
although you are still zoomed in completely, the area that was downloaded was shifted 5 degrees to the north, sth. like 85.05154.... lat (screenshot4), note the displayed latitude in the screenshots.
Possible Solution
slippy map should display in the current map projection or should at least show a warning that the current map view is not displayable on the slippy map.
by , 7 years ago
Attachment: | screenshot1.png added |
---|
by , 7 years ago
Attachment: | screenshot2.png added |
---|
by , 7 years ago
Attachment: | screenshot3.png added |
---|
by , 7 years ago
Attachment: | screenshot4.png added |
---|
Please attach an .osm file with screenshots, I don't understand how to reproduce your problem.