[fdo-users] RE: Which GML version is supported by FDO 3.5.0

Brent Robinson brent.robinson at autodesk.com
Wed Jan 12 08:30:53 EST 2011


Hi,

Do you pass in the xmlFeatureFlags to the xmlFeatureWriter when it is created? I tried a quick test at the unmanaged level and if I passed the flags to the xmlFeatureSerializer then the output was always GML 2.1.2.
If I also passed the flags to the xmlFeatureWriter then the output was affected by xmlFeatureFlags.GmlVersion. Could you log a Trac ticket for this one? There is probably some streamline that can be done to ensure that the flags take full effect when only passed to the top level (xmlFeatureSerializer)  object.

Brent.


-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Crispin_at_1Spatial
Sent: Wednesday, January 12, 2011 5:13 AM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] RE: Which GML version is supported by FDO 3.5.0


I have to agree... despite setting the flag I see no difference between the
2.1.2 and 3.1.1 output.
This is from .net where the debug watch does not even show the property so
is it exposed to .net properly in the API?

I do notice the following...

  * The srsName has changes from ESPG code to "Default" between FDO 3.5 to
3.6 with the GML 2.1.2 output:

FDO 3.5
<gml:Polygon srsName="EPSG:4326">

FDO 3.6
<gml:Polygon srsName="Default">


  * In FDO 3.5 where a property existed in one record and in the next record
that property was NULL, the previous property was erroneously re-used.  That
has been fixed in 3.6.


  * NULL values are not listed in the XML/GML - is this correct?  Should
they be completely absent or output as
 <SomeValue />   or   <SomeValue></SomeValue>  ?


Example watch in .net application
 
http://osgeo-org.1803224.n2.nabble.com/file/n5913964/xmlflags_gmlversion.jpg 
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Which-GML-version-is-supported-by-FDO-3-5-0-tp5906711p5913964.html
Sent from the FDO Users mailing list archive at Nabble.com.
_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users


More information about the fdo-users mailing list