Dear all,
I’ll try to use gml files as Datastores but it’s not working…
A simple file (see below) failed with a TimeOut…
<gml:Null xmlns:gml=“http://www.opengis.net/gml” xmlns:sch=“http://www.ascc.net/xml/schematron” xmlns:xlink=“http://www.w3.org/1999/xlink” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation="http://www.opengis.net/gml
http://localhost:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd"/>
With a more complex file (see below), geoserver throw an null pointer exception for the method getTypeNames(FileGMLDataStore.java:104)
<?xml version="1.0" encoding="UTF-8"?><gml:FeatureCollection xmlns:gml=“http://www.opengis.net/gml” xmlns:sch=“http://www.ascc.net/xml/schematron” xmlns:xlink=“http://www.w3.org/1999/xlink” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation="http://www.opengis.net/gml
http://localhost:8080/geoserver/schemas/gml/3.1.1/base/gml.xsd">
gml:boundedBy
gml:Envelope
gml:lowerCorner0 0</gml:lowerCorner>
gml:upperCorner500 500</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
gml:featureMember
gml:Observation
gml:validTime/
gml:target
gml:Polygon
gml:outerBoundaryIs
gml:LinearRing
gml:coordinates0,0 100,0 100,100 0,100 0,0</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</gml:target>
gml:resultOf/
</gml:Observation>
</gml:featureMember>
</gml:FeatureCollection>
I know that GML isn’t the best chooise with regards to the speed but I only have this kind of file as input…
What’s wrong with the GML datastore??? or with MY GML files???
WKR
Simon