Malm Paul ha scritto:
> Hi,
> I've imported a S57 chart into PostgreSQL with FWTools
> one table includes both Points and Polygons
>  
> Later on I'm trying to read the geometries but I can only get the Points 
> and it is the Polygons I want .
> Whar have I missed?

You're trying to access the "default geometry" only. The default
one is the first geometric attribute in the feature type.
Just access the polygon as a normal attribute, by name, and you'll
get it

Cheers
Andrea


-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to