----- Original Message ----- From: "Paul Fox" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, December 31, 2007 5:38 PM Subject: Re: [OSM-talk] extracting world political boundaries
> thanks dodi -- as you can probably guess, i'm interested in creating a > large scale basemap for RoadMap. > > dodi wrote: > > based on http://wiki.openstreetmap.org/index.php/Key:boundary and > > http://wiki.openstreetmap.org/index.php/Osmxapi > > from the first link you referenced, it looks like i'd also want to > add "admin_level=2" to get just national boundaries. > > > > > it should by something like > > http://www.informationfreeway.org/api/0.5/way[boundary=administrative][bbox=...] > > can i add two filters to a url like that? or do i need to do the > rest of the filtering with post-processing? http://wiki.openstreetmap.org/index.php/Osmxapi#Limitations -> Currently each request is limited to one tag predicate and one bbox predicate. In the future it is hoped that more sophisticated conditions will be implemented. ..so you need some post-processing but can try http://www.informationfreeway.org/api/0.5/way[admin_level=2][bbox=...] as I assume, admin_level tag is used exclusively with boundary=administrative and a quick look into rendering rules for osmarender layer I see that boundary=administrative and border_type=state is rendered as "state boundary" boundary=administrative and not (admin_level=10 or admin_level=8) also rendered as "state boundary" (rendering rules for osmarender is a not written reference for widely used tags :P, but sometimes legacy also ) > > paul > > > ----- Original Message ----- > > From: "Paul Fox" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Monday, December 31, 2007 2:57 PM > > Subject: [OSM-talk] extracting world political boundaries > > > > > > > can someone offer tips on how i might query osm or osmxapi for > > > country and continental boundaries, only? i still want the data > > > to be limited by bounding box, but all i want to get within that > > > box are the ways that represent political borders, and, if > > > possible, ocean shorelines. > > > > > =--------------------- > paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 29.5 > degrees) > > _______________________________________________ > talk mailing list > [email protected] > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk > _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

