Re: [Geotools-gt2-users] Parse feature collection

2008-06-06 Thread Matthias Drews
I'm currently using geotools version 2.4.4, and I want to parse a WFSFeatureCollection. But I found something interesting now: it is possible to parse a feature collection from an input stream, when a xsi:schemaLocation for the wfs namespace is provided! If this schemaLocation is not provided

[Geotools-gt2-users] How does Geometry.getArea() works?

2008-06-06 Thread Gloria Muñoz
Hi! I have a question that maybe is a little silly but, does anyone know how the method getArea() http://www.jump-project.org/docs/jts/1.6/api/com/vividsolutions/jts/geom/Geometry.html#getArea%28%29of com.vividsolutions.jts.geom.Geometry woks? Does it make any calculations or just check any field

[Geotools-gt2-users] [Geotools-2.5-users] IllegalStateException

2008-06-06 Thread Anaxa Gore
Hi, I often get this exception when running my application, but can't from where it comes from... Does ayone gets an idea about this ? java.lang.IllegalStateException: You are trying to access file: log4j.properties from the default package. Please see

Re: [Geotools-gt2-users] Parse feature collection

2008-06-06 Thread Justin Deoliveira
Hi Matthias, Yes, the schemaLocation is pretty critical to have the parsing work correctly on the 2.4.x branch. On 2.5 (aka trunk) the parser is more lax and should handle cases where the schemaLocation is not provided. Glad you got it to work :). -Justin Matthias Drews wrote: I'm

Re: [Geotools-gt2-users] How does Geometry.getArea() works?

2008-06-06 Thread Jody Garnett
Gloria Muñoz wrote: Hi! I have a question that maybe is a little silly but, does anyone know how the method getArea() http://www.jump-project.org/docs/jts/1.6/api/com/vividsolutions/jts/geom/Geometry.html#getArea%28%29of com.vividsolutions.jts.geom.Geometry woks? Lots of hard math :-) I