[Geotools-gt2-users] Probem getting features from a MapServer WFS

2016-08-30 Thread Hanane Eljabiri
Hi everyone, I am using the wfs-ng plugin to ceate a wfs client. Until now, the library works pretty fine when it comes to establish a connection with a Geoserver WFS. When it comes to a Mapserver WFS, my program fails to get features. In fact, the feature collection I get from the source seems to

Re: [Geotools-gt2-users] Problem with null geometries on GML encoding (WFS Plugin)

2016-08-30 Thread Andrea Aime
On Tue, Aug 30, 2016 at 5:38 PM, Andreas Watermeyer < andreas.waterme...@its-telco.de> wrote: > > From org.geotools.xml.gml.GMLComplexTypes$MultiPolygonPropertyType: > > public void encode(Element element, Object value, PrintHandler output, > Map hints) throws IOException, OperationNot

[Geotools-gt2-users] Problem with null geometries on GML encoding (WFS Plugin)

2016-08-30 Thread Andreas Watermeyer
Hi all, I am writing a client application using the WFS-Plugin to send WFS-T requests. The features I am sending have multiple geometry attributes, some might be null. On null geometries the GML encoding fails with the following stacktrace: Exception in thread "main" java.lang.NullPointerExcept