[Mapcss] problems to define my own style

Jan Tappenbeck osm at tappenbeck.net
Sat Oct 6 18:30:55 BST 2012


Am 06.10.2012 19:03, schrieb Paul Hartmann:
> Hi,
>
> > line[highway=motorway] {
>   ^^^^
> The "line" type is not supported in JOSM, you can use "way" instead.
>
> (Also you should have skipped the big comment /* ... */ in your email, 
> the style you sent is most definitely not the Potlatch 2 core 
> stylesheet.)
>
> Paul
>
>
> On 10/05/2012 10:33 AM, Jan Tappenbeck wrote:
>> hi !
>>
>> i try to create a own style and use following example:
>>
>> /* THIS FILE IS AUTO-GENERATED (SEE styles_nodist/potlatch2/README) */
>> /*
>>
>>      Potlatch 2 core stylesheet
>>
>>      This stylesheet should contain commonly used features and only the
>> most essential extra attributes
>>      (e.g. oneway). It needs to remain simple (not too many nested
>> styles or dash-type decorations) in
>>      order not to kill performance on slower systems and those with a
>> less effective Flash Player (i.e.
>>      Linux).
>>
>>      It is expected that experienced mappers will switch between this
>> and other stylesheets as required.
>>
>> */
>>
>> meta {
>>      title: "Lanes";
>>      icon: "dialogs/mappaint/xxx.png";
>> }
>>
>> line[highway=motorway] {
>> width: 50;
>> color: #E77817;
>> casing-width: 50;
>> casing-color: #E77817;
>> text: lanes;
>> font-size: 12;
>> text-position: line;
>> }
>>
>>
>> when i add to josm (first or last postion in order) there only the
>> standard style will show.
>>
>> i define another style-file and this will show soon.
>>
>> can someone help me ?
>>
>> reagards Jan :-)
>>
>> _______________________________________________
>> Mapcss mailing list
>> Mapcss at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/mapcss
>>
>
>
> _______________________________________________
> Mapcss mailing list
> Mapcss at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/mapcss
>
>
thanks - now i try again !

regards Jan :-)



More information about the Mapcss mailing list