[OSM-talk] Country borders at zoom levels 7, 8, and 9 (Mapnik)
Steve Chilton
S.L.Chilton at mdx.ac.uk
Mon May 26 18:17:24 BST 2008
You might want to look at that particular one.
The change will bring boundaries tagged as admin_level=2 (national boundaries) in earlier.
The tagging for national borders should be as per wiki:
boundary=administrative <http://wiki.openstreetmap.org/index.php?title=Tag:boundary%3Dadministrative&action=edit> , admin_level <http://wiki.openstreetmap.org/index.php/Key:admin_level> =2 <http://wiki.openstreetmap.org/index.php?title=Tag:admin_level%3D2&action=edit> marks country borders, such as the border between Austria and Germany. The names of the countries is specified through the tags "left:country", "right:country", if used on a linear way rather than an enclosed/area way.
This appears to be tagged as admin_level=4 - at least on the section I looked at just now.
Cheers
STEVE
-----Original Message-----
From: talk-bounces at openstreetmap.org on behalf of Beau Gunderson
Sent: Mon 5/26/2008 5:49 PM
To: Jon Burgess
Cc: Talk Openstreetmap
Subject: Re: [OSM-talk] Country borders at zoom levels 7, 8, and 9 (Mapnik)
Here's an example:
http://www.openstreetmap.org/?lat=48.24&lon=-119.01&zoom=7&layers=B00FF
Glad to see this will be fixed by Wednesday! :)
I'll double-check that everything works then too.
Beau
On Mon, May 26, 2008 at 4:39 AM, Jon Burgess <jburgess777 at googlemail.com> wrote:
On Mon, 2008-05-26 at 01:49 -0600, Beau Gunderson wrote:
> I'm looking at the top of Washington state and its border with Canada
> in Mapnik--it seems that in zoom levels 7-9 the country borders aren't
> rendered. In Osma they're rendered but there are strange gaps and some
> weirdness when you zoom in closer at the gap areas.
Could you give a link to a suitable position to see this on the map?
> Anyone know what's going on? Is it just a matter of including the
> country borders in those zoom levels for Mapnik? (Is a Trac ticket a
> better place for this?)
One possibility is that this way is the border of multiple regions and
has a tag like:
admin_level="7;8"
If so, this causes problems for the older osm2pgsql/mapnik code which
running on the tile server at the moment. I plan to update to the trunk
osm2pgsql code which should handle this better.
A trac ticket does make it easier to keep a record of known issues.
>
> Thanks,
>
> Beau
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
More information about the talk
mailing list