Thank you for the help Matthijs.
Can I filter only points, then lines and so on?

Valerio

Il 29/07/2011 15:05, Matthijs Laan ha scritto:
On 2011-07-29 14:38, Valerio Di Gregorio wrote:
Where Geometry is an abstract class! For that I'm wondering why I have the fault (shapefiles don't generate it). It seems I have a not recognized GeometryDescriptor created by the DXF Plugin.
What do you think about?

The reason for a generic Geometry attribute is that a dxf file does not contain a single geomtry type such as lines or polygons.

So when you read features from the dxf datastore you can get all of points, lines and polygons mixed together, unlike shapefiles which are only of a single geometry type. Apparently the code you are using always assumes a single geometry type.

Matthijs


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey


_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


--

Valerio Di Gregorio
Automotive and Telecommunication Division
Information Engineer

INTECS Informatica e Tecnologia del Software S.p.A.
Via Egidio Giannessi, 5
56121 - Ospedaletto, Pisa
Italy

Voice: +39 050 9657 411 (operator)
Voice: +39 050 9657 455 (direct)
Fax:   +39 050 9657 400
Skype: valeriodigregorio.intecs.it
Email: [email protected]
Web:   http://www.intecs.it



LEGAL DISCLAIMER:
The contents of this email and any transmitted files are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. We hereby exclude any warranty and any liability as to the quality 
or accuracy of the contents of this email and any attached transmitted files. 
If you are not the intended recipient, be advised that you have received this 
email in error and that any use, dissemination, forwarding, printing or copying 
of this email is strictly prohibited. If you have received this email in error 
please contact the sender and delete the material from any computer.
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to