Modify

Opened 7 months ago

Last modified 7 months 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 dieterdreist)

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)

amundsen-scott.osm (555 bytes) - added by dieterdreist 7 months ago.
antarctica research station
screenshot1.png (19.5 KB) - added by dieterdreist 7 months ago.
screenshot2.png (76.3 KB) - added by dieterdreist 7 months ago.
screenshot3.png (54.3 KB) - added by dieterdreist 7 months ago.
screenshot4.png (117.6 KB) - added by dieterdreist 7 months ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 7 months ago by dieterdreist

Description: modified (diff)

comment:2 Changed 7 months ago by dieterdreist

Description: modified (diff)

comment:3 Changed 7 months ago by Don-vip

Owner: changed from team to dieterdreist
Status: newneedinfo

Please attach an .osm file with screenshots, I don't understand how to reproduce your problem.

comment:4 Changed 7 months ago by dieterdreist

out of bounds problem for downloads222

Steps to reproduce:

  1. switch map settings / map Projection to WGS84 Geographic
  2. open osm file from attachment here
  3. 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)
  4. 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.

Last edited 7 months ago by dieterdreist (previous) (diff)

Changed 7 months ago by dieterdreist

Attachment: amundsen-scott.osm added

antarctica research station

Changed 7 months ago by dieterdreist

Attachment: screenshot1.png added

Changed 7 months ago by dieterdreist

Attachment: screenshot2.png added

Changed 7 months ago by dieterdreist

Attachment: screenshot3.png added

Changed 7 months ago by dieterdreist

Attachment: screenshot4.png added

comment:5 Changed 7 months ago by Don-vip

Owner: changed from dieterdreist to team
Status: needinfonew

Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to dieterdreist
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.