[OSM-talk] osmxapi/bbox question

80n 80n80n at gmail.com
Fri Apr 18 16:33:22 BST 2008


On Fri, Apr 18, 2008 at 3:14 PM, Johan Huysmans <johan.huysmans at inuits.be>
wrote:

> That's exactly what i mean/want :D
>
> That way you can call the osmxapi url with [polygon=belgium] or
> [polygon:country=belgium]
>
> What do the osmxapi developers think about it?
>

It's a nice idea.  I just need to implement the algorithm described earlier
in this thread :)

80n


>
> Greetings Johan
>
> Rob wrote:
> > i would be cool if the osmxapi could accept a href to a polygon xml
> > file reference instead of a bbox. We can put a list of
> > country/province/city/... polygons somewhere on a site
> >
> > 2008/4/18, Johan Huysmans <johan.huysmans at inuits.be>:
> >
> >> And a combination of both? Does that exists.
> >>
> >>  Now my php script just eats all memory when parsing the osm file :(
> >>
> >>
> >>  Johan
> >>
> >>
> >>  Skywave wrote:
> >>  > Download from here, it uses a polygon instead of a bbox.
> >>  > http://download.geofabrik.de/osm/europe/
> >>  >
> >>  > On Fri, Apr 18, 2008 at 10:04 AM, Johan Huysmans
> >>  > <johan.huysmans at inuits.be> wrote:
> >>  >
> >>  >> Hi,
> >>  >>
> >>  >>  Currently i'm working with the bbox of Belgium, but this bbox
> includes
> >>  >>  parts of the Netherlands, France,..
> >>  >>
> >>  >>  And this gives me some problems... it appears that some places in
> >>  >>  Belgium also exists in the Netherlands or France.
> >>  >>
> >>  >>  Apparently it is only possible to use bbox-es to limit the size.
> >>  >>  Are there any ideas or plans to implement some way you can limit
> the
> >>  >>  size for eg. a country?
> >>  >>
> >>  >>  Johan
> >>  >>
> >>  >>
> >>  >>  80n wrote:
> >>  >>  > You can have any shaped bbox you like as long as it is a
> rectangle ;)
> >>  >>  >
> >>  >>  > Can anyone point me to a good algorithm for selecting points
> within an
> >>  >>  > arbitrary polygon?
> >>  >>  >
> >>  >>  > 80n
> >>  >>  >
> >>  >>  > On Fri, Apr 11, 2008 at 1:01 PM, Johan Huysmans
> >>  >>
> >>  >>
> >>  >>> <johan.huysmans at inuits.be <mailto:johan.huysmans at inuits.be>>
> wrote:
> >>  >>>
> >>  >>  >
> >>  >>  >     Hi All,
> >>  >>  >
> >>  >>  >     I' experimenting with osmxapi to get a list of all places in
> Belgium.
> >>  >>  >     Getting a list of all places is no problem, but the list is
> a bit too
> >>  >>  >     large ;)
> >>  >>  >
> >>  >>  >     Can I specify that I only want the places in Belgium? Can
> this be done
> >>  >>  >     with bbox?
> >>  >>  >
> >>  >>  >     Is there a known mapping that give you the exact bbox for
> each
> >>  >>  >     country?
> >>  >>  >
> >>  >>  >     Thx, Johan Huysmans
> >>  >>  >
> >>  >>  >     _______________________________________________
> >>  >>  >     talk mailing list
> >>  >>  >     talk at openstreetmap.org <mailto:talk at openstreetmap.org>
> >>  >>
> >>  >>
> >>  >>
> >>  >>>     http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> >>  >>>
> >>  >>  >
> >>  >>  >
> >>  >>
> >>  >>  _______________________________________________
> >>  >>  talk mailing list
> >>  >>  talk at openstreetmap.org
> >>  >>  http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> >>  >>
> >>  >>
> >>  >
> >>  > _______________________________________________
> >>  > talk mailing list
> >>  > talk at openstreetmap.org
> >>  > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> >>  >
> >>
> >>  _______________________________________________
> >>  talk mailing list
> >>  talk at openstreetmap.org
> >>  http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> >>
> >>
> >
> > _______________________________________________
> > talk mailing list
> > talk at openstreetmap.org
> > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> >
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080418/b269cc7b/attachment.html>


More information about the talk mailing list