Bug with points symbols in SVG
------------------------------
Key: GEOS-457
URL: http://jira.codehaus.org/browse/GEOS-457
Project: GeoServer
Type: Bug
Components: WMS
Versions: 1.3.0 RC6
Environment: Windows XP SP2
j2sdk1.4.2_08
Adobe SVG Viewer 3.03
Reporter: Pierre-Emmanuel Balageas
Assigned to: Gabriel Roldán
Priority: Trivial
I get geoserver in the .exe version and I add a shape datastore for a shapefile which contains points, and a style to represent this datastore. I don't configure WMS in Geoserver so default options are activated (so SVG is in simple mode and not in batik mode).
Here is the bug :
--------------------------------------------------------------------
When you generate an SVG document with points symbols in your datastore, you get in the xml:
<g id="CIRCLES" class="Circles">
<defs>
<circle id='point' cx='0' cy='0' r='0.2%' fill='blue'/>
</defs>
<use x="109238.9" y="732477.4"/>
</g>
And it does not work with Adobe SVG Viewer 3.03.
After reading http://www.w3.org/TR/SVG/struct.html#UseElement, I think you forgot xlink:href="#point" at the end of the use elements.
It should be like this I think:
<g id="CIRCLES" class="Circles">
<defs>
<circle id='point' cx='0' cy='0' r='0.2%' fill='blue'/>
</defs>
<use x="109238.9" y="732477.4" xlink:href="#point"/>
</g>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira