[geotk] Problems with JAXPStreamFeatureReader (side-effects from recent changes?)
emmanuel.blondel1 at gmail.com
Fri Feb 6 07:54:29 PST 2015
Thanks Guilhem and Johann,
Indeed, the changes performed in Geotk modified a bit the behavior of
our functions, about feature types. However, we could manage it by
controling better the feature type of interest we needed for reading the
The exception report indeed was due to wrong properties were passed to
the GetFeature request.
Last but not least:
- If i have a GML-WFS local file (taken from downloaded), and i don't
have the equivalent featureType xml: Is it possible with Geotk to read
the file to get a list of Features (according to GeoAPI) ?
- do you know when is planned a release (or milestone pre-release) of Geotk?
Le 05/02/2015 17:52, johann sorel a écrit :
> You are right I made several updates on the GML XSD reader, inherited
> types and properties from different namespaces where missing.
> As a result the xsd contains a lot more informations (if you are using
> sub-type of gml : citygml, observations, ...)
> I will work some more on GML/WFS 2.0 in the coming weeks.
> Could you provide a small test case for your issue ? I'll have a look
> Johann Sorel
> On 05/02/2015 16:43, Emmanuel Blondel wrote:
>> I come back to you on the JAXP StreamFeatureReader.
>> So far we used it successfully in one of our project, for getting
>> data from WFS 1.0 and 1.1 (i've reported on this list the kind of
>> issue we had with WFS 2.0). Due to some recent bug fixing, we were
>> still relying on the 4.x-SNAPSHOT version.
>> Unfortunately, this is not working anymore, and i get some error like
>> this one (subset for what concerns geotk):
>> /java.lang.IllegalArgumentException: The xml does not describe the
>> same type of feature: //
>> // Expected: _FeatureCollection//
>> //But was: ExceptionReport//
>> // at
>> // at
>> /Since we didn't change anything on our side, we suspect it could be
>> a side-effect of recent changes?
>> Many thanks in advance if you could have a look into this
>> Geotoolkit mailing list
>> Geotoolkit at lists.osgeo.org
> Geotoolkit mailing list
> Geotoolkit at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Geotoolkit