Hi All,
I'm trying to display GML 3.2.1 in a GeoExt application. I've found out how to
enable GML 4.2.1 support in OpenLayers and I've written an override function
which works with pure OpenLayers (see
http://osgeo-org.1803224.n2.nabble.com/GML-3-2-1-td5212173.html ). However when
I use the same function with GeoExt, it doesn't work.
OpenLayers.Util.extend(OpenLayers.Format.WFST.v1.prototype.namespaces, {gml32:
'http://www.opengis.net/gml/3.2'});
OpenLayers.Util.extend(OpenLayers.Format.WFST.v1_1_0.prototype.readers,
{"gml32": OpenLayers.Format.GML.v3.prototype.readers["gml"]});
There are two overrides involved in this particular fix; one is to add another
namespace to the WFST Format and one to add an other reader for that namespace
in the WFST format. Adding a reader does work, however adding a namespace
doesn't. I tried to add the namespace to the different versions of Format.WFST,
but to no effect.
Is there a similar function in GeoExt which takes precedent over the OpenLayers
one, or is there another reason why I cannot add the namespace?
regards,
Steven
_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev