[OSM-talk] tagging and rendering highways in the USA and elsewhere

Matt Williams lists at milliams.com
Fri Apr 18 19:45:08 BST 2008


On Friday 18 April 2008 19:14:22 Tom Hughes wrote:
> In message <8298be230804181044u1e83ea15vb879cee623f02a6a at mail.gmail.com>
>
>           "Adam Schreiber" <sadam at clemson.edu> wrote:
> > On Fri, Apr 18, 2008 at 12:33 PM, Tom Hughes <tom at compton.nu> wrote:
> > >  The problem is that we do not have the technology to render different
> > >  countries in different ways. I don't believe we even know of an
> > > efficient way to do it, so we don't even know what the technology would
> > > look like should somebody want to write it.
> >
> > Shouldn't this be as easy as adding a tag indicating country and
> > altering the stylesheet to say highway=motorway country=us =>
> > color=yellow, highway=motorway country=uk => color=blue?
>
> Yes, obviously we could make everybody go round and tag the umpty
> million objects in the database with a country code. That is a pretty
> daft solution though when it should be possible to automate it.
>
> Of course as soon as we'd done that people would start asking for
> the shield shapes to change by state so we'd have to go round and
> add state tags and so on...

Well in that case it wouldn't be unfeasible to add is_in=Texas to the highways 
and in fact, "is_in=" is clearly better than "country=" anyway. But you're 
right, for country-wide location ionformation, it _should_ be possible to 
automate.

Regards,
Mat Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080418/bd0a0c0a/attachment.pgp>


More information about the talk mailing list