Hi list (sorry Jan for sending to you),
I want to parse GML served by a UMN MapServer WFS containing Polygon and
MultiPolygon geometries using the StreamingParser.
I tried an example just like your GML3Parsing test case. It is working
fine with a Geoserver WFS but not with the MapServer.
When I am using the gml2.GMLConfiguration, I get a
java.lang.RuntimeException: binding declares null type:
{http://www.opengis.net/gml}GeometryPropertyType
When I am using the wfs.WFSConfiguration I can parse attributes but no
geometries and get the following info message:
INFO: Could not find declaration for: {http://www.opengis.net/gml}Box.
Creating a mock element declaration and parsing anyways...
xsi:schemaLocation attribute seems to be looking correct.
Could you please help me?
Thanks,
Christoph
Geotools version is 2.5.4
MapServer is 5.2
> Hi Justin,
>
> by the chance I was also just experimenting with GeoTools GML parser these
> days and I found that GML exported by ogr2ogr is not parsed by GeoTools. The
> reason is in small bug in ogr2ogr xsi:schemaLocation attribute that GeoTools
> parsers doesn't forgive (but also doest invoking meaningful exception).
>
> The ogr2ogr ticket is here:
> http://trac.osgeo.org/gdal/ticket/2938
>
> I wanted just to report this as it might be relevant for GeoTools.
>
> Regards,
> Jan.
>
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users