[Geoserver-devel] [jira] (GEOS-5920) Mark size does not seem to be unit aware

Andrea Aime created BugGEOS-5920
Mark size does not seem to be unit aware

Issue Type:

BugBug

Assignee:

David Winslow

Components:

CSS

Created:

23/Jul/13 7:54 AM

Description:

The following css:

* {
  mark: symbol(circle);
  mark-size: 8m;
}

:mark {
  fill: #0033CC;
}

translates to the following SLD:

<?xml version="1.0" encoding="UTF-8"?>
<sld:UserStyle xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml">
  <sld:Name>Default Styler</sld:Name>
  <sld:FeatureTypeStyle>
    <sld:Name>name</sld:Name>
    <sld:Rule>
      <sld:PointSymbolizer>
        <sld:Graphic>
          <sld:Mark>
            <sld:WellKnownName>circle</sld:WellKnownName>
            <sld:Fill>
              <sld:CssParameter name="fill">#0033CC</sld:CssParameter>
            </sld:Fill>
          </sld:Mark>
          <sld:Size>8m</sld:Size>
        </sld:Graphic>
      </sld:PointSymbolizer>
    </sld:Rule>
  </sld:FeatureTypeStyle>
</sld:UserStyle>

The size should have been 8, with a uom in meters instead.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Andrea Aime

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)