I joined openstreetmaps last week and made a few edits using potlatch2. I worked well and I want to make a few more edits on bike trials in my area. For the last few days however I have been unable to do anything, i get this error when it try to load a map in edit mode. "There was a problem loading the map data. Please check your internet connection, or try zooming in." It happens on every zoom level and I have also tried a few different computers and browsers. any ideas what the issue may be? asked 21 Jan '13, 17:53 choyado aseerel4c26 ♦
showing 5 of 6
show 1 more comments
|
Can you paste the URL where you're having problems?
Sure, this is the url that loads when i try to edit the map in a given area. I realized by looking at the longitude in the url that it is erroneous. If I fix the longitude in the url it works and I can pan around and edit the map. Weird....
http://www.openstreetmap.org/edit?editor=potlatch2&lat=33.83378&lon=-477.55268&zoom=15
@choyado: It indeed should be lon=-117.5532 (360 degrees less). I confirm the error. The error arises from an API0.6 error (URL shown in error by potlatch: http://www.openstreetmap.org/api/0.6/map?bbox=-477.5672669255066,33.8187604481031,-477.5380930744934,33.848797371129365). If called directly this error text is shown: "The latitudes must be between -90 and 90, longitudes between -180 and 180 and the minima must be less than the maxima." If the API does not accept higher-than-needed coordinates so I think Potlatch also should not. The only question is: how/where did you get this wrong URL.
Ha! Good one. To reproduce, click the map on osm.org. Zoom out. Using the mouse, pan right a few times (going "around the world"). Click "permalink" and you get e.g.:
http://www.openstreetmap.org/?lat=28&lon=963&zoom=2&layers=M
I've logged it as ticket 4752. Arguably it may need to be logged against something "higher up" (e.g. Leaflet) but at least it's now reported.
@SomeoneElse: ah, nice. I spun the world and got lat=53&lon=1172 as permalink. :) Thanks for reporting. I think this question can be closed then (will do so).