On Thu, Jun 16, 2011 at 11:23 AM, <[email protected]> wrote:

> Dear list,
>
> I run into problems (see this Screenshot
> http://www.filedropper.com/strangerenderinggeoserver ) while trying to
> display Oracle data with mixed geometry with following SLD. This SLD ( see
> at bottom ) is based upon documentation at
> http://docs.geoserver.org/stable/en/user/styling/sld-tipstricks/mixed-geometries.html.
>
> The geometries are bound with Oracle NG to Geoserver and are defined in
> Oracle DB as:
>
> Polygon:
>
> MDSYS.SDO_GEOMETRY(2003,25833,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1),MDSYS.SDO_ORDINATE_ARRAY(398402.88570754,5821424.7206982,397309.27518698,5820578.0544888,398297.05243136,5820119.4436253,399531.77398683,5820754.4432824,398402.88570754,5821424.7206982))
>
> Linestring:
>
> MDSYS.SDO_GEOMETRY(2002,25833,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,2,1),MDSYS.SDO_ORDINATE_ARRAY(393569.83276183,5822871.1088061,394575.248885575,5823153.33087592,395086.776387131,5821848.05380299,393710.94379674,5821459.998457))
>
> point (i.e.):
>
> MDSYS.SDO_GEOMETRY(2001,25833,MDSYS.SDO_POINT_TYPE(396603.72001242,5821742.2205268,NULL),NULL,NULL)
>
> As you can see at the screenshot it seems that i.e. a polygon geometry is
> rendered as a point, linestring AND polygon?
>
> Does someone know about some problems here? Is something wrong with my SLD
> or my definition of geometries?
>
> Any help, idea or mental support would be appreciated :-)
>

Look no further than the documentation, this case is explained there:
http://docs.geoserver.org/stable/en/user/styling/sld-tipstricks/mixed-geometries.html

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

-------------------------------------------------------
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to