[fdo-users] RE: srsName conversion in FDO 3.6 GML latest versoin
Arunkumar
arunkumar.palaniappan at kcubeconsulting.com
Tue Jan 18 02:08:20 EST 2011
Hi,
I am using the following code to generate latest GML version file.
String xsdFilePath = outputGMLFilePath+ ".xsd";
XmlWriter xsdXmlWriter = new XmlWriter(xsdFilePath);
XmlSpatialContextWriter spatialContextWriter = new
XmlSpatialContextWriter(xsdXmlWriter);
XmlSpatialContextSerializer.XmlSerialize(connection,
spatialContextWriter);
featureClass.FeatureSchema.WriteXml(xsdXmlWriter);
spatialContextWriter.Dispose();
xsdXmlWriter.Close();
xsdXmlWriter.Dispose();
XmlFeatureFlags xmlFeatureFlags = new
XmlFeatureFlags(xsdFilePath);
xmlFeatureFlags.GmlVersion = GmlVersion.GmlVersion_311;
XmlWriter gmlXmlWriter = new XmlWriter(outputGMLFilePath);
XmlFeatureWriter xmlFeatureWriter = new
XmlFeatureWriter(gmlXmlWriter, xmlFeatureFlags);
IFeatureReader featureReader = null;
XmlFeatureSerializer.XmlSerialize(featureReader,
xmlFeatureWriter);
I am generating this GML file for "ArcSDE" and "WFS" providers.
now i need convert the srsName from Defalut or existing coordinate system to
EPSG:4326.
Thanks,
P.Arunkumar
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/srsName-conversion-in-FDO-3-6-GML-latest-versoin-tp5917749p5934679.html
Sent from the FDO Users mailing list archive at Nabble.com.
More information about the fdo-users
mailing list