Thanks, that's exactly what I was looking for. Only one thing left... since I can't seem to get the static map services to do it.<div><br></div><div>I'm sure this is a fairly standard comp-sci type algorithm and solved years and years ago. It probably has a nice name for it and sample code.<br>
</div><div>What's the algorithm to determine a comfortable bounding box for an arbitrary set of points?</div><div><br></div><div>Basically defining a bounds that holds all the points then expanding it a certain percentage or so, accounting for the GPS coordinate system. </div>
<div><br></div><div>Unless I missed a really obvious way to do it with the static map services.</div><div><br></div><div>-Don.<br><br><div class="gmail_quote">On Tue, Sep 7, 2010 at 4:45 PM, andrzej zaborowski <span dir="ltr"><<a href="mailto:balrogg@gmail.com">balrogg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 7 September 2010 21:42, Donald Campbell II <<a href="mailto:donaciano2000@gmail.com">donaciano2000@gmail.com</a>> wrote:<br>
> 2) Find some sort of online API or website that will let me give it a set of<br>
> points by encoding them into a URL and then download an image.<br>
> I tried playing around with GPSvisualizer since waypoints can be put into<br>
> the URL but the result is a full webpage with layers and javascript, not a<br>
> simple image. I tried the JPEG export options but that doesn't allow an OSM<br>
> background for whatever reason.<br>
<br>
</div>This site lets you do some of these things:<br>
<a href="http://ojw.dev.openstreetmap.org/StaticMap/" target="_blank">http://ojw.dev.openstreetmap.org/StaticMap/</a> , it's not perfect but it<br>
works for me.<br>
<br>
Any website based on C. Dauth's javascript classes also let you add<br>
markers visually or encoded in the URL, <a href="http://osm.cdauth.eu/map/" target="_blank">http://osm.cdauth.eu/map/</a> is<br>
an example. But then you need to make screenshots.<br>
<br>
Cheers<br>
</blockquote></div><br></div>