#9201 closed defect (fixed)
remote control issues
Reported by: | jphilipz | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 13.11 |
Component: | Core remotecontrol | Version: | latest |
Keywords: | Cc: |
Description
- when visiting < http://127.0.0.1:8111/ > the example for load_and_zoom has the wrong query.
- when executing < http://127.0.0.1:8111/load_and_zoom?left=55.44465291996005&top=25.407636340517755&right=55.448247080040005&bottom=25.410543642328545 > after only opening josm, i get the error dialog entitled 'bad request' with the text
"The OSM server 'http://api.openstreetmap.org/api/0.6/' 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.". I get an 'OK' message in my browser for this request, while if i did the same with the example for add_node, i get a 'There is no layer opened to add node'. Looking through the examples at < http://127.0.0.1:8111/ > i noticed the 'new_layer=true' query entry for 'load_object', which worked even though i didnt have a layer active, which attaching it to the 'load_and_zoom' request didnt solve the issue, but noticed that if the 'new_layer=true' was in the query after the layer was active, i got the same 'bad request' dialog.
Attachments (0)
Change History (8)
comment:1 by , 12 years ago
Component: | Core → Core remotecontrol |
---|
follow-up: 4 comment:2 by , 12 years ago
comment:4 by , 12 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Replying to Don-vip:
Point 2 is not an error from JOSM, you have inverted
top
andbottom
parameters.
It seems you didnt read the full explanation, as you are mistaken about the top and bottom parameters, and would appreciate if you would read it again. But to summarize it, if JOSM is only opened without a data layer, this error occurs, but if the data layer is available it jumps to that location without the error.
comment:5 by , 12 years ago
It seems i was mistaken about the top and bottom parameters part of the issue, but it seems that if a data layer is open, the code fixes the issue even if they were switched.
comment:7 by , 11 years ago
Milestone: | → 13.11 (6383) |
---|
Point 1 is a bug.
Point 2 is not an error from JOSM, you have inverted
top
andbottom
parameters.