Thanks Andrea.

Units of measure (uom) and PolygonSymbolizer/ExternalGraphic(.SVG) works
fine in OpenGeo GeoServer 2.1-SNAPSHOT 15317 Build Date 27-Jan-2011 21:53. 

I had to save my Inkscape .svg file in meters instead of pixels (of course!)
Thanks again :)  Anders Söderman Stockholm Sweden

-----Original Message-----
From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of
Andrea Aime
Sent: den 15 maj 2011 09:46
To: Anders Söderman
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] SLD examples of: Units of measure (uom) and
PolygonSymbolizer/ ExternalGraphic(.SVG)

2011/5/15 Anders Söderman <anders.soder...@gisassistans.se>:
> Hello list – has anybody tried Units of measure(uom) when rendering
polygons
> with .svg symbols?

Never tried that particular combination, normally use uom only for point
sizes and line widths.

However, in theory you should use a graphic fill like in this example:

http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/polygons.html#
graphic-fill

but point to a svg (with proper mime type) and specify uom in the polygon
symbolizer.

If that does not work show us a reproducable test case with the behavior
you're getting, and the one you were expecting instead.

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to