[fdo-users] RE: srsName conversion in FDO 3.6 GML latest versoin

Arunkumar arunkumar.palaniappan at kcubeconsulting.com
Thu Jan 20 10:45:15 EST 2011


Hi,

 

Is there a way to reproject to WGS84 while generating GML file?

My source layer in "WGS84/UTM 44N" coordinate system.

 

Regards,

P.Arunkumar

 

From: Brent Robinson [via OSGeo.org]
[mailto:ml-node+5941300-17990057-311009 at n2.nabble.com] 
Sent: Thursday, January 20, 2011 2:13 AM
To: Arunkumar
Subject: RE: srsName conversion in FDO 3.6 GML latest versoin

 

Hi Ela, 

Yes. It would be a search and replace. 

Brent. 

-----Original Message----- 
From: [hidden email] [mailto:[hidden email]] On Behalf Of Elavazhagan. M 
Sent: Wednesday, January 19, 2011 10:07 AM 
To: 'FDO Users Mail List' 
Cc: 'Arunkumar Palaniappan' 
Subject: RE: [fdo-users] RE: srsName conversion in FDO 3.6 GML latest
versoin 

Hi, 

Does "post processing" mean we need to do a "Search & Replace" on srsName 
after generating the GML? 

Thanks, 
Ela. 


> -----Original Message----- 
> From: [hidden email] [mailto:fdo-users- 
> [hidden email]] On Behalf Of Brent Robinson 
> Sent: Tuesday, January 18, 2011 7:40 PM 
> To: FDO Users Mail List 
> Subject: RE: [fdo-users] RE: srsName conversion in FDO 3.6 GML latest 
> versoin 
> 
> Hi, 
> 
> I've posted a couple of workarounds to the  "Which GML version is 
> supported by FDO 3.5.0" thread today. Although the source is SHP, it's 
> probably the same issue as for ArcSDE and WFS. 
> 
> Adding the xmlFeatureFlags settings would be the easier option but, 
> although postprocessing the XML would be more work, it would be safer 
> since the xmlFeatureFlags option relies on another bug. 
> 
> Brent. 
> 
> -----Original Message----- 
> From: [hidden email] [mailto:fdo-users- 
> [hidden email]] On Behalf Of Arunkumar 
> Sent: Tuesday, January 18, 2011 2:08 AM 
> To: [hidden email] 
> Subject: [fdo-users] RE: srsName conversion in FDO 3.6 GML latest 
> versoin 
> 
> 
> 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. 
> _______________________________________________ 
> fdo-users mailing list 
> [hidden email] 
> http://lists.osgeo.org/mailman/listinfo/fdo-users
> _______________________________________________ 
> fdo-users mailing list 
> [hidden email] 
> http://lists.osgeo.org/mailman/listinfo/fdo-users


_______________________________________________ 
fdo-users mailing list 
[hidden email] 
http://lists.osgeo.org/mailman/listinfo/fdo-users
_______________________________________________ 
fdo-users mailing list 
[hidden email] 
http://lists.osgeo.org/mailman/listinfo/fdo-users



  _____  

If you reply to this email, your message will be added to the discussion
below:

http://osgeo-org.1803224.n2.nabble.com/srsName-conversion-in-FDO-3-6-GML-lat
est-versoin-tp5917749p5941300.html 

To unsubscribe from srsName conversion in FDO 3.6 GML latest versoin, click
here
<http://osgeo-org.1803224.n2.nabble.com/template/NamlServlet.jtp?macro=unsub
scribe_by_code&node=5917749&code=YXJ1bmt1bWFyLnBhbGFuaWFwcGFuQGtjdWJlY29uc3V
sdGluZy5jb218NTkxNzc0OXwtMTM5NzMxOTA5NA==> . 


-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/srsName-conversion-in-FDO-3-6-GML-latest-versoin-tp5917749p5944237.html
Sent from the FDO Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-users/attachments/20110120/55460fa0/attachment.html


More information about the fdo-users mailing list