Thanks guys, this is good to know...

I don't have  experience with shape files but this explanation makes
everything clear.


Thanks, 
Jose Lopes
-----Original Message-----
From: Andrea Aime [mailto:[email protected]] 
Sent: June 25, 2010 2:25 AM
To: Jody Garnett
Cc: Lopes, Jose (AAFC-AAC); [email protected]
Subject: Re: [Geotools-gt2-users] Bug in IndexedShapefileDataStore

Jody Garnett ha scritto:
> That is actually what the shapefile format does; it only supports
"multi".

I can confirm that, there is no concept of simple polygon and simple
line in shapefiles. If you really want to export as simple polygons
you first need to do a full scan, assess it's really only made
of multipolygons with one members, and then do a second scan
transforming one feature at at time and writing it out

Cheers
Andrea


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

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to