[OSM-talk] Getting highway refs onto the mapnik slippy map layer

Andy Allan gravitystorm at gmail.com
Fri Oct 5 10:07:02 BST 2007


On 10/5/07, Tom Hughes <tom at compton.nu> wrote:
> In message <c4193f8c0710041624s6cca4700h871cb616fa0bf294 at mail.gmail.com>
>           "Andy Allan" <gravitystorm at gmail.com> wrote:
>
> > On 10/4/07, Tom Hughes <tom at compton.nu> wrote:
> >
> > > I was going to fix this the other day, but I couldn't find the source
> > > for the shield images to produce new ones in different colours.
> >
> > I just took the existing motorway shield and filled with different
> > colours for the cycle shields. Works well enough for me.
> >
> > http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/motorway_shield.png
>
> Is it a solid fill that can be easily replaced like that? I thought it
> was a graduated fill...

Well yes, but bodgybodgybodgebodge works for me, and that's why all
the shields on the cycle map have the motorway blue border, and only
the solid white fill replaced. You can barely spot the 1px blue-white
blending on the inside of the border.

(If you do find an svg source or similar, let me know!)

Andy




More information about the talk mailing list