Re: [josm-dev] JOSM adds double ways to relations?
Am 24.07.2009 um 18:34 schrieb Maarten Deen: > I admit I haven't used relations in a while, so I'm quite surprised > to see that > JOSM now adds a way to a relation again if it was already in the > relation. > Previously, ways that were already in a relation did not get added > again. > I this an intentional change? > > So now I've ended up with a relation with almost all ways double. Is > there a > quick and easy way to get all double ways removed from this relation? It's rather annoying, I find as well. With the old relation editor, you could select all (suspect) ways (which also selects them in the main window, remove them, and then add the selection again. When re- adding the selection, each way is only added once. Of course, you lose the role for each way, so it's not perfect. I just looked at the new relation editor, and I can't say whether that method still works. HTH, Stefan -- Stefan BethkeFon +49 151 14070811 ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] Problem with WMS plugin
Am 06.07.2009 um 23:01 schrieb Stefan Bethke: > Is the webkit-image binary required, i. e. do I have to recompile it > or get an updated binary? > > My old Yahoo/webkit-image entry still works, btw. > > josm 1738, wmsplugin 15961 Updating plugin would have been a good idea. After updating wmsplugin to 16363, Yahoo Sat works as expected. Stefan -- Stefan BethkeFon +49 151 14070811 ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] Problem with WMS plugin
Am 06.07.2009 um 17:51 schrieb Dirk Stöcker: > On Mon, 6 Jul 2009, Stefan Bethke wrote: > >> I'm getting this exception when trying to use the Landsat server: >> >>> java.lang.Exception: >> standalone="no" ?> >>> >> "http://wms.jpl.nasa.gov/exception_1_1_1.dtd >>> "> >>> >>> >>>Required key 'bbox' is missing. >>> >>> >>> >>> Image couldn't be fetched: >>> http://onearth.jpl.nasa.gov/wms.cgi?request=GetMap&layers=global_mosaic&styles=&format=image/jpeg&&bbox=13.4051573,52.5245312,13.4092133,52.5269989&srs=EPSG:4326&width=500&height=500 >>> at wmsplugin.WMSGrabber.fetch(WMSGrabber.java:70) >>> at wmsplugin.Grabber.attempt(Grabber.java:68) >>> at wmsplugin.WMSGrabber.run(WMSGrabber.java:49) >>> at java.util.concurrent.Executors >>> $RunnableAdapter.call(Executors.java:441) >>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java: >>> 303) >>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >>> at java.util.concurrent.ThreadPoolExecutor >>> $Worker.runTask(ThreadPoolExecutor.java:886) >>> at java.util.concurrent.ThreadPoolExecutor >>> $Worker.run(ThreadPoolExecutor.java:908) >>> at java.lang.Thread.run(Thread.java:637) >> >> Trying to use "Yahoo Sat" gives a long string of "im == null!" lines. >> >> A cursory glance at the wiki still shows information about building >> your own webkit-image. Is there a new version? > > Should be fixed now. I forgot to remove some obsolete lines. Thanks, Landsat now works. Yahoo Sat now gives me this exception: java.lang.Exception: unknown protocol: html Image couldn't be fetched: at wmsplugin.WMSGrabber.fetch(WMSGrabber.java:66) at wmsplugin.Grabber.attempt(Grabber.java:86) at wmsplugin.WMSGrabber.run(WMSGrabber.java:45) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java: 417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor $Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:613) Is the webkit-image binary required, i. e. do I have to recompile it or get an updated binary? My old Yahoo/webkit-image entry still works, btw. josm 1738, wmsplugin 15961 Stefan -- Stefan BethkeFon +49 151 14070811 ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] Problem with WMS plugin
I'm getting this exception when trying to use the Landsat server: > java.lang.Exception: standalone="no" ?> > "http://wms.jpl.nasa.gov/exception_1_1_1.dtd > "> > > > Required key 'bbox' is missing. > > > > Image couldn't be fetched: > http://onearth.jpl.nasa.gov/wms.cgi?request=GetMap&layers=global_mosaic&styles=&format=image/jpeg&&bbox=13.4051573,52.5245312,13.4092133,52.5269989&srs=EPSG:4326&width=500&height=500 > at wmsplugin.WMSGrabber.fetch(WMSGrabber.java:70) > at wmsplugin.Grabber.attempt(Grabber.java:68) > at wmsplugin.WMSGrabber.run(WMSGrabber.java:49) > at java.util.concurrent.Executors > $RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at java.util.concurrent.ThreadPoolExecutor > $Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor > $Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:637) > Trying to use "Yahoo Sat" gives a long string of "im == null!" lines. A cursory glance at the wiki still shows information about building your own webkit-image. Is there a new version? Stefan -- Stefan BethkeFon +49 151 14070811 ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
[josm-dev] Downloaded tracks are reversed
I've recently enabled diplaying arrows between downloaded tracks, and the arrows point the wrong way. (Obvious when I open the uploaded track directly). Is this reversed in the database, or does JOSM load them in reverse? Stefan -- Stefan BethkeFon +49 151 14070811 ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] webkit-image on Mac OS X
I've updated the Wiki with my installation/build instructions; this requires users to install the Qt SDK. I'll try producing a static binary (including all Qt libraries) later this week. Stefan -- Stefan BethkeFon +49 151 14070811 ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] webkit-image on Mac OS X
Am 19.04.2009 um 22:25 schrieb Stefan Bethke: > Hi, > > I'm currently trying to get webkit-image to work on 10.5.6. > > I've googled around, but can't really find any info on how to make it > work, and the one pre-compiled binary requires an installed Qt. > > I've downloaded and installed Qt, and then compiled webkit-image.cpp. > However, trying to get ymap.html rendered only produces white images > with the Yahoo logo. > > At first I thought that the loadFinished signal might be firing too > early, but it now looks like JPEG support is missing, since other web > pages are missing their JPGs (but not PNGs and GIFs). > > Here's what I've done so far: > > $ ftp http://get.qtsoftware.com/qt/source/qt-mac-opensource-src-4.5.0.tar.gz > $ tar xzf qt-mac-opensource-src-4.5.0.tar.gz > $ cd qt-mac-opensource-src-4.5.0 > $ ./configure -static -qt-libtiff -qt-libmng -qt-libjpeg -no-framework > -arch x86 > $ gmake > $ sudo gmake install > > Then in wmsplugin: > $ export PKG_CONFIG_PATH=/usr/local/Trolltech/Qt-4.5.0/lib/pkgconfig > $ make > > When I run webkit-image with a ymap.html (copied from josm's output), > I get a PNG file: > $ ./webkit-image > 'file:Users/stb/.josm/plugins/wmsplugin/ymap.html?bbox=10.0198859,53.5736738,10.0211370,53.5749249&srs=EPSG:4326&width=499&height=499' >> a > oc:~/Downloads/josm$ file a > a: PNG image data, 116 x 196, 8-bit/color RGBA, non-interlaced > > Looking at the code, the image should be saved as a JPEG. Any hints on > what I'm doing wrong? Turns out that Qt doesn't support loading plugins from a statically linked qt, so the webkit-image binary doesn't find the qjpeg plugin, even if you link it in. I'm currently trying the work-around noted here, Qt ist still compiling. http://brainrack.wordpress.com/2008/03/19/qt-plugins-and-static-builds/ Stefan -- Stefan BethkeFon +49 151 14070811 ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
[josm-dev] webkit-image on Mac OS X
Hi, I'm currently trying to get webkit-image to work on 10.5.6. I've googled around, but can't really find any info on how to make it work, and the one pre-compiled binary requires an installed Qt. I've downloaded and installed Qt, and then compiled webkit-image.cpp. However, trying to get ymap.html rendered only produces white images with the Yahoo logo. At first I thought that the loadFinished signal might be firing too early, but it now looks like JPEG support is missing, since other web pages are missing their JPGs (but not PNGs and GIFs). Here's what I've done so far: $ ftp http://get.qtsoftware.com/qt/source/qt-mac-opensource-src-4.5.0.tar.gz $ tar xzf qt-mac-opensource-src-4.5.0.tar.gz $ cd qt-mac-opensource-src-4.5.0 $ ./configure -static -qt-libtiff -qt-libmng -qt-libjpeg -no-framework -arch x86 $ gmake $ sudo gmake install Then in wmsplugin: $ export PKG_CONFIG_PATH=/usr/local/Trolltech/Qt-4.5.0/lib/pkgconfig $ make When I run webkit-image with a ymap.html (copied from josm's output), I get a PNG file: $ ./webkit-image 'file:Users/stb/.josm/plugins/wmsplugin/ymap.html?bbox=10.0198859,53.5736738,10.0211370,53.5749249&srs=EPSG:4326&width=499&height=499' >a oc:~/Downloads/josm$ file a a: PNG image data, 116 x 196, 8-bit/color RGBA, non-interlaced Looking at the code, the image should be saved as a JPEG. Any hints on what I'm doing wrong? Thanks, Stefan -- Stefan BethkeFon +49 151 14070811 ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev