On 1/13/07, <b class="gmail_sendername">Chris Fleming</b> <<a href="mailto:me@chrisfleming.org">me@chrisfleming.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Frederik Ramm wrote:<br>> Hi Mikel & all,<br>><br>>> That kind of ntegration in JOSM, through the Yahoo API, sounds fine.<br>>> And yes, it's only the aerial imagery we have permission to use.<br>
>><br>><br>> Well then here we go.<br>><br>> This is a very early development release and not for the faint at<br>> heart (probably never will be) but I've gone to some lengths to<br>> document the process in the accompanying HOWTO and source code.
<br>><br>> At<br>><br>> <a href="http://www.remote.org/frederik/projects/software/osm/ywms-0.1.tgz">http://www.remote.org/frederik/projects/software/osm/ywms-0.1.tgz</a><br>><br>I got this working late last night. A few notes in case anyone else
<br>run's into the same problems that I did.<br><br>The first one is that my version of Xvfb didn't seem to support the<br>fbdir option. So I ran Xvfb without it.<br><br>This meant that rather than using xwdtopnm < /tmp/Xvfb_screen0 to
<br>capture the screen image. I used the xwd command to grab the screen<br>image. So in my case<br>xwd -display :1 -root > image.xwd<br><br>The final change that I had was that I didn't have the cjpeg untility so<br>
I substituted in pnmtojpg to get the final output.<br><br>Finally for users of Firefox 2, I found that having killed the firefox<br>process later restarts would show a dialog box asking if you wanted to<br>restore the old session. In order to disable this I set
<br>browser.sessionstore.resume_from_crash  to FALSE in the about:config<br>settings in Firefox.<br><br>My changed YWMS.pm file can be grabbed from:<br><a href="http://www.chrisfleming.org/YWMS.pm">http://www.chrisfleming.org/YWMS.pm
</a><br><br>Cheers<br>Chris<br><br><br>_______________________________________________<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev">
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br></blockquote></div><br>I got it working too, but with some different problems:<br>
<br>
* The X server didn't allow me to connect, even with xhost +, so I had
to start it with the option -ac to disable host-based access control
mechanisms.<br>
* I had nor cjpeg or pnmtojpg, but pnmtojpeg<br>
<br>
But finally, I have JOSM with Y! imagery. Fascinating!<br><br>Regards,<br>Quico