[Mapcss] how to create a style for cutting / embankment

Aun Yngve Johnsen lists at gimnechiske.org
Tue Aug 28 19:37:39 BST 2012


Hi

Maybe You can fiddle with a few other features I see missing? I would like to see more options on single node rendering, such as shape, size, color and casing of a single node, and symbols along ways, maybe even symbols as value in dashing ( dashes: 8,1,"+",1; should alternate 8 pixle lines with + symbols with 1 pixle spacing)

BTW is OpenStreetMap available in iTunes app store?

Aun Y. Johnsen
Sent from my iPad
+55 (27) 9736-3919 (vivo)

On 28. aug. 2012, at 14:51, Thomas Davie <tom.davie at gmail.com> wrote:

> 
> On 28 Aug 2012, at 18:34, Jan Tappenbeck <osm at tappenbeck.net> wrote:
> 
>> hi !
>> 
>> i want to create a mapcss-style to show cutting [1]  or embankment [2] to show in JSOM.
>> 
>> in the web i did not found any basic-example-style.
>> 
>> can anyone help me ?
>> 
>> regards Jan :-)
> 
> Unfortunately, MapCSS does not currently support any way of showing a repeating symbol along a way, this is especially unfortunate for one way streets.  I might start experimenting with an extension to support this in OpenStreetPad.  I think what I'd go for as a first try would be something along the lines of these properties:
> --osp-repeated-image: url();
> --osp-repeat-image-spacing: gaps between images go here;
> --osp-repeat-image-width: width;
> --osp-repeat-image-height: height;
> --osp-repeat-image-offset: offset from way;
> 
> The expectation would be that the image's top would point from start to end of the way.
> 
> If anyone sees anything obviously wrong with that before I try it, please point it out!
> 
> 
> _______________________________________________
> Mapcss mailing list
> Mapcss at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/mapcss



More information about the Mapcss mailing list