Modify

Opened 16 years ago

Closed 16 years ago

#567 closed defect (fixed)

draw boundaries around downloaded data

Reported by: fatbozz Owned by: framm
Priority: trivial Milestone:
Component: Core Version: latest
Keywords: josm gui boundaries yellow point dot Cc:

Description

When JOSM has checked "draw boundaries of downloaded data" and nothing is downloaded, then yellow dot is appeared.

Attachments (0)

Change History (4)

comment:1 by Gabriel Ebner <ge@…>, 16 years ago

What JOSM version are you using? I can't reproduce this. I don't get a yellow dot if I don't download anything, i.e. just press Ctrl-N; and I don't get a yellow dot if I download an area without data.

comment:2 by fatbozz, 16 years ago

Resolution: fixed
Status: newclosed

Now its seems to be ok. DOT is rectangle corresponding to downloaded area box

comment:3 by fatbozz, 16 years ago

Resolution: fixed
Status: closedreopened

Ha, yellow dot strikes back!
Steps to reproduce

Start JOSM (of course)
Click on Download data
Dont select nothing on Bookmark page
Click OK
Then popup "No Data Imported" Yellow dot appear in centre of screen
Dot has position Lat 0 Lon 0

There is some debug

G:\GPSaWardriving>java -Xmx512M -jar josm-latest.jar
mappaint: Using jar's elemstyles.xml: "jar:file:/G:/GPSaWardriving/josm-latest.jar!/styles/standard/
elemstyles.xml"
loading utilsplugin
loading wmsplugin
loading openvisible
loading measurement
loading nearclick
loading validator
loading usertools
loading namefinder
download: http://www.openstreetmap.org/api/0.5/map?bbox=0.0,0.0,0.0,0.0
got return: 200
download: http://www.openstreetmap.org/api/0.5/map?bbox=-184.22535211267606,-86.06160180701607,184.2
2535211267606,86.06160180701607
got return: 400
org.openstreetmap.josm.io.ProgressInputStream$OsmServerException: The maximum bbox size is 0.25, and
 your request was too large. Either request a smaller area, or use planet.osm
        at org.openstreetmap.josm.io.ProgressInputStream.<init>(ProgressInputStream.java:35)
        at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:52)
        at org.openstreetmap.josm.io.BoundingBoxDownloader.parseOsm(BoundingBoxDownloader.java:95)
        at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$Task.realRun(DownloadOsmTask.java:37)
        at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:84)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)}}}

I think its good idea dont draw boundaries around downloaded data if area size=0 m2

comment:4 by Gabriel Ebner <ge@…>, 16 years ago

Resolution: fixed
Status: reopenedclosed

Just for the record: When you don't select anything in the download box (and there is no other layer yet), then JOSM will try to download data from the bounding box (0,0),(0,0), which in this case just contains the point 0,0, so the it was actually correct, just not very useful, to draw a rectangle there.

Fixed in r620.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.