thanks for the replies ..
I tried to create a style with three rules but there were problems with the
getfeatureinfo did not recognize correctly the difference between lines and
polygons .. I finally decided to use tables with single geometry type.
P.s. Of course I had read the documentation before write in the forum;
but my goal was to maintain the structure of the table and also not to
create static view 

Thank you very much,
Paolo

Andrea Aime-5 wrote:
> 
> On Mon, Dec 6, 2010 at 8:41 AM, paolotome <[email protected]> wrote:
>>
>> Hello everyone,
>> I need help to solve my problem. I have a table (mysql) with a geometry
>> field  in which are recorded mixed geometries (points, polygons, lines).
>> I
>> would like to represent these geometries in a single layer but can not
>> find
>> a suitable style sld; from web research results that you can not solve
>> the
>> problem without changing the table :-(
> 
> If you google for "geosever mixed geometry" the first result is the
> GeoServer
> user guide:
> 
> http://docs.geoserver.org/stable/en/user/styling/sld-tipstricks/mixed-geometries.html
> 
> Cheers
> Andrea
> 
> -----------------------------------------------------
> Ing. Andrea Aime
> Senior Software Engineer
> 
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> 
> phone: +39 0584962313
> fax:     +39 0584962313
> 
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
> 
> -----------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/mixed-geometry-tp30366690p30479697.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to