[OSM-newbies] Administrative boundaries

John Deters jadeters at comcast.net
Mon Nov 10 13:39:41 GMT 2008


Well, I see the first problem.  Someone undid/removed my change -- the New
York point no longer has a population tag.

Here's what it currently looks like:
  <node id="61785451" lat="40.7305986" lon="-73.9865801"
user="MichaelCollinson" visible="true"
timestamp="2008-11-05T17:21:43+00:00">
    <tag k="is_in:continent" v="North America"/>
    <tag k="name" v="New York"/>
    <tag k="is_in:country" v="USA"/>
    <tag k="place" v="city"/>
  </node>
I'm not sure how gets it rendered at zoom levels 4 and 5.  Perhaps there is
a second tag I haven't found.  But Yonkers (!) then steps up and becomes the
largest thing rendered because it does have a population tag.  What I've
consistently read has been that city tags are rendered by population.

I've had better luck getting the Minneapolis tag to render properly.  It
renders from zoom levels 6 through 13, at which point the city pretty much
fills the screen, so it's not as big a hardship.  I've read that other
people have problems with tag placement collisions when the city point is
located near a light rail stop (and in Minneapolis there is a light rail
stop in front of city hall where the city point is located.)  Here's the
current Minneapolis tag:
  <node id="151538698" lat="44.9772995" lon="-93.2654691"
user="MichaelCollinson" visible="true"
timestamp="2008-11-05T17:20:56+00:00">
    <tag k="is_in:state_code" v="MN"/>
    <tag k="import_uuid" v="bb7269ee-502a-5391-8056-e3ce0e66489c"/>
    <tag k="is_in:country" v="USA"/>
    <tag k="gnis:County" v="Hennepin"/>
    <tag k="gnis:Class" v="Populated Place"/>
    <tag k="is_in:continent" v="North America"/>
    <tag k="gnis:ST_alpha" v="MN"/>
    <tag k="name" v="Minneapolis"/>
    <tag k="gnis:ST_num" v="27"/>
    <tag k="gnis:County_num" v="053"/>
    <tag k="place" v="city"/>
    <tag k="census:population" v="372833\s2006"/>
    <tag k="population" v="372833"/>
    <tag k="gnis:id" v="655030"/>
    <tag k="ele" v="253"/>
  </node>
Note that the"census:population" tag was inserted (probably from a Tiger
import.)  I entered the plain vanilla "population" tag, at which point the
name rendering behavior became more "sane".

Speaking of which, what is the proper tagging for a light rail stop?
"railway" "station" is ridiculous in Minneapolis, but that's what many of
the tags have.  I'm not sure if "railway" "tram_stop" would be more correct.

-----Original Message-----
From: James Ewen [mailto:jewen at shaw.ca] 
Sent: Monday, November 10, 2008 1:28 AM
To: newbies at openstreetmap.org
Subject: Re: [OSM-newbies] Administrative boundaries

On Sun, Nov 9, 2008 at 11:55 PM, John Deters <jadeters at comcast.net> wrote:

> Don't move the tags to try to make them display.  It's easier to fix once
> you find out that display is based on population.  I've fixed some city
> names that weren't rendering properly by setting their population tag to
the
> latest values from Wikipedia.  (It bugged me that New York didn't appear
at
> zoom level 4.)

Any hints on how to set a population level? I see New York hanging out
there at a large area zoom, but it runs away into the noise. I found
it when zoomed way in, but it just has a couple is_in tags. Must not
be the same node you're talking about.

Edmonton has a population tag, with a value of 720,000 or so. Still
gets overwritten by Spruce Grove with a population tag of 18,405.

James







More information about the newbies mailing list