[OSM-talk] OSM into OOo document
Donald Campbell II
donaciano2000 at gmail.com
Wed Sep 8 02:13:05 BST 2010
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.
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.
What's the algorithm to determine a comfortable bounding box for an
arbitrary set of points?
Basically defining a bounds that holds all the points then expanding it a
certain percentage or so, accounting for the GPS coordinate system.
Unless I missed a really obvious way to do it with the static map services.
-Don.
On Tue, Sep 7, 2010 at 4:45 PM, andrzej zaborowski <balrogg at gmail.com>wrote:
> On 7 September 2010 21:42, Donald Campbell II <donaciano2000 at gmail.com>
> wrote:
> > 2) Find some sort of online API or website that will let me give it a set
> of
> > points by encoding them into a URL and then download an image.
> > I tried playing around with GPSvisualizer since waypoints can be put into
> > the URL but the result is a full webpage with layers and javascript, not
> a
> > simple image. I tried the JPEG export options but that doesn't allow an
> OSM
> > background for whatever reason.
>
> This site lets you do some of these things:
> http://ojw.dev.openstreetmap.org/StaticMap/ , it's not perfect but it
> works for me.
>
> Any website based on C. Dauth's javascript classes also let you add
> markers visually or encoded in the URL, http://osm.cdauth.eu/map/ is
> an example. But then you need to make screenshots.
>
> Cheers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20100907/a470f852/attachment-0001.html>
More information about the talk
mailing list