Ambiguous Data in XML
Posted by auzigog on 2008-10-13 15:07
Daniel found some interesting stuff on the "ambiguous" data we thought
we found earlier. It turns out that data was described earlier in the
file by a <field> tag.
---------- Forwarded message ----------
From: Daniel Mundra <danielmundra@gmail.com>
Date: 2008/10/13
Subject:
To: Jeremy Blanchard <auzigog@gmail.com>
Look at all the names from the below data and compare it to the bottom
<Field xsi:type="esri:Field">
<Name>SURFACE_TY</Name>
<Type>esriFieldTypeString</Type>
<IsNullable>true</IsNullable>
<Length>50</Length>
<Precision>0</Precision>
<Scale>0</Scale>
</Field>
−
<Field xsi:type="esri:Field">
<Name>NAME</Name>
<Type>esriFieldTypeString</Type>
<IsNullable>true</IsNullable>
<Length>50</Length>
<Precision>0</Precision>
<Scale>0</Scale>
</Field>
−
<Field xsi:type="esri:Field">
<Name>Shape_Length</Name>
<Type>esriFieldTypeDouble</Type>
<IsNullable>true</IsNullable>
<Length>8</Length>
<Precision>0</Precision>
<Scale>0</Scale>
<Required>true</Required>
<Editable>false</Editable>
<AliasName>Shape_Length</AliasName>
<ModelName>Shape_Length</ModelName>
</Field>
−
<Field xsi:type="esri:Field">
<Name>Shape_Area</Name>
<Type>esriFieldTypeDouble</Type>
<IsNullable>true</IsNullable>
<Length>8</Length>
<Precision>0</Precision>
<Scale>0</Scale>
<Required>true</Required>
<Editable>false</Editable>
<AliasName>Shape_Area</AliasName>
<ModelName>Shape_Area</ModelName>
</Field>
<Value xsi:type="xs:string">rubber</Value>
<Value xsi:type="xs:string">Pole Vault Runway W</Value>
<Value xsi:type="xs:double">714.804031822428</Value>
<Value xsi:type="xs:double">2221.19655708904</Value>
Home / Developer API / Tour / Get a Project - Solutions for Bug & Issue Tracking, Collaboration Tools, Subversion Hosting, Git Hosting
Ramani map is powered by Assembla.
1 Comments
By mdalby on 2008-10-14 00:08
OBJECTID: Distinguishes objects of the same type (one parking lot from another). q
SHAPE: We've seen mostly PolygonN
SHAPE_Length: Name seems self explanatory, but not sure what use it is.
SHAPE_Area: Again, self explanitory.
Unfortunately, the information it gives for things like SURFACE_TYPE don't seem to be enough to let us do anything useful with it. It only lets us know to look out for it while parsing. To actually use the fact that "High Jump Apron" is made out of rubber I believe we would still need a config file (Or adapt the style sheet).
Does this make sense / seem correct?