[OSM-talk] National borders - mapnik
Ian Dees
ian.dees at gmail.com
Wed May 28 21:00:10 BST 2008
I imported the US county borders a couple weeks ago and did not use
left/right tagging. Instead, I let the borders overlap. The county borders
are also overlapping with the state and country borders, too, I imagine.
In most cases, the data sources for county, state, and country borders don't
even come close to overlapping:
http://openstreetmap.org/?lat=44.1793&lon=-76.27&zoom=13&layers=B00FF
I kept it as it is because at the time I didn't think it was worth the
effort of writing a much more complicated import tool to make the data
harder to use (but make it easier to look at).
On Wed, May 28, 2008 at 2:42 PM, Beau Gunderson <beau at beaugunderson.com>
wrote:
> The US national border with Canada is all tagged with admin_level=4,
> border_type=state, border=administrative... It also has the left/right
> countries (at least the bit I looked at in WA did).
>
> How should state borders that are also national borders be tagged?
>
> Does setting admin_level=2 fix the whole problem?
>
> As you can see, they're not currently visible at low zooms:
>
> http://www.openstreetmap.org/?lat=48.83&lon=-118.46&zoom=7&layers=B00FF
>
>
> Beau
>
> On Wed, May 28, 2008 at 1:21 PM, Steve Chilton <S.L.Chilton at mdx.ac.uk>
> wrote:
>
>> The latest mapnik stylesheet has the National borders moved from coming in
>> at z10 to coming in at z7. Now zooms to z6 show the borders as thin blue
>> lines taken from the shape files, and then switch to OSM data at z7 using a
>> slightly thicker purple line.
>> Not all borders show, for one of two reasons - either they are not
>> digitised or are not tagged appropriately.
>> So, it would be useful if folk have a look at their own country/area at
>> z7.
>> Does in show correctly?
>> If not:
>> 1 - check whether it has been digitised. If not - is there a valid,
>> non-copyrighted source for putting in the border alignment.
>> 2 - check whether it is tagged boundary=administrative, admin_level=2. If
>> not - change the tagging to that so that it may show.
>>
>> As a reminder, admin boundaries should be tagged for the admin_level that
>> they are (at the highest level). Country/national borders are always
>> admin_level=2. Internal borders should be tagged according to the suggested
>> schema for that particular country. Details are on the wiki at:
>> http://wiki.openstreetmap.org/index.php/Key:boundary
>> which also explains the accepted way to tag for the countries on either
>> side of the border.
>>
>> Cheers
>> STEVE
>>
>> _______________________________________________
>> 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/20080528/78530930/attachment.html>
More information about the talk
mailing list