Hi,
I have a TinyOWS server configured to have feature types in two namespaces tows: and lv:
I can get the tows: feature types on uDig map but not the lv: feature types. The error uDig version 1.2 gives is as follows:
Caused by: java.io.IOException: org.xml.sax.SAXException: cannot merge two target namespaces.
http://www.tinyows.org/
http://latuviitta.fi/
at org.geotools.xml.gml.FCBuffer.hasNext(FCBuffer.java:326)
at org.geotools.data.wfs.v1_0_0.WFSFeatureReader.loadElement(WFSFeatureReader.java:189)
at org.geotools.data.wfs.v1_0_0.WFSFeatureReader.hasNext(WFSFeatureReader.java:178)
at org.geotools.data.ReTypeFeatureReader.hasNext(ReTypeFeatureReader.java:192)
at org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.createFeatureReaderGET(NonStrictWFSStrategy.java:134)
at org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.createFeatureReader(NonStrictWFSStrategy.java:101)
at org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.getFeatureReader(NonStrictWFSStrategy.java:72)
at org.geotools.data.wfs.v1_0_0.WFS_1_0_0_DataStore.getFeatureReader(WFS_1_0_0_DataStore.java:747)
at org.geotools.data.DefaultFeatureResults.reader(DefaultFeatureResults.java:210)
at org.geotools.data.store.DataFeatureCollection.openIterator(DataFeatureCollection.java:224)
at org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:194)
at org.geotools.renderer.lite.StreamingRenderer.drawOptimized(StreamingRenderer.java:1931)
... 8 more
Caused by: org.xml.sax.SAXException: cannot merge two target namespaces.
http://www.tinyows.org/
http://latuviitta.fi/
at org.geotools.xml.SchemaFactory$MergedSchema.<init>(SchemaFactory.java:492)
at org.geotools.xml.SchemaFactory.merge(SchemaFactory.java:386)
at org.geotools.xml.SchemaFactory.getRealInstance(SchemaFactory.java:322)
at org.geotools.xml.SchemaFactory.getInstance(SchemaFactory.java:277)
at org.geotools.xml.handlers.ElementHandlerFactory.startPrefixMapping(ElementHandlerFactory.java:86)
at org.geotools.xml.XMLSAXHandler.startElement(XMLSAXHandler.java:373)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
My server is open at
http://188.64.1.61/cgi-bin/tinyows. I can use all my WFS feature types with the following WFS clients: ArcGIS, MapInfo, Kosmo GIS, QGis, gvSIG, Cadcorp SIS Map Browser and Gaia.
Regards,
-Jukka Rahkonen-
_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxxhttp://lists.refractions.net/mailman/listinfo/udig-users