Hi together,
before I start to waste time feeding GGeoXML with probably garbage - is 
one of you able to comment on this?

This is the output of a SQL Server 2008 based

"SELECT TOP 1 geo_column.AsGml() FROM table"

on a geometry type column, containing a MULTIPOLYGON near Dresden, Germany:

<MultiSurface xmlns="http://www.opengis.net/gml";>
  <surfaceMembers>
    <Polygon>
      <exterior>
        <LinearRing>
          <posList>51.07600017 13.7189358 51.07649616 13.716117 
51.0761871 13.71315852 51.07570263 13.70990268 51.0742836 13.70634264 
51.0714378 13.70382516 51.06938175 13.70330424 51.06680676 13.70181096 
51.06504438 13.6991664 51.06465531 13.69720476 51.06446073 13.69621764 
51.06051252 13.69715976 51.0579567 13.695984 51.05778885 13.6967706 
51.05745693 13.69833084 51.0561333 13.70457252 51.05348208 13.71706884 
51.05284497 13.71866148 51.05215458 13.72060692 51.05113218 13.72145472 
51.05075076 13.72213944 51.04877472 13.72205052 51.04804608 13.72220604 
51.04622646 13.72249044 51.04584504 13.72291452 51.04571535 13.72306356 
51.04520037 13.7236212 51.04403685 13.72481424 51.04329678 13.72675608 
51.04431531 13.7287674 51.0457878 13.7320452 51.04652022 13.73446188 
51.04700847 13.73614596 51.04737477 13.73867604 51.04750059 13.74040116 
51.04733274 13.74138936 51.04713825 13.74180228 51.04710774 13.74415668 
51.04711917 13.74523056 51.04925919 13.74727536 51.05128095 13.749156 
51.05278782 13.74999336 51.05443194 13.74983892 51.05418399 13.7485332 
51.0541992 13.74720372 51.05422593 13.7458782 51.05455776 13.74254496 
51.05562588 13.74013044 51.05793384 13.73702796 51.06047436 13.735017 
51.06212235 13.734207 51.06452562 13.73232744 51.06772611 13.72943988 
51.06833649 13.72820184 51.06863403 13.727583 51.06893157 13.72696308 
51.07141494 13.7243034 51.07323078 13.72244724 51.07498173 13.72121532 
51.07600017 13.7189358</posList>
        </LinearRing>
      </exterior>
    </Polygon>
  </surfaceMembers>
</MultiSurface>

Here is another representation of the same data:

MULTIPOLYGON (((13.7189358 51.07600017, 13.716117 51.07649616, 
13.71315852 51.0761871, 13.70990268 51.07570263, 13.70634264 51.0742836, 
13.70382516 51.0714378, 13.70330424 51.06938175, 13.70181096 
51.06680676, 13.6991664 51.06504438, 13.69720476 51.06465531, 
13.69621764 51.06446073, 13.69715976 51.06051252, 13.695984 51.0579567, 
13.6967706 51.05778885, 13.69833084 51.05745693, 13.70457252 51.0561333, 
13.71706884 51.05348208, 13.71866148 51.05284497, 13.72060692 
51.05215458, 13.72145472 51.05113218, 13.72213944 51.05075076, 
13.72205052 51.04877472, 13.72220604 51.04804608, 13.72249044 
51.04622646, 13.72291452 51.04584504, 13.72306356 51.04571535, 
13.7236212 51.04520037, 13.72481424 51.04403685, 13.72675608 
51.04329678, 13.7287674 51.04431531, 13.7320452 51.0457878, 13.73446188 
51.04652022, 13.73614596 51.04700847, 13.73867604 51.04737477, 
13.74040116 51.04750059, 13.74138936 51.04733274, 13.74180228 
51.04713825, 13.74415668 51.04710774, 13.74523056 51.04711917, 
13.74727536 51.04925919, 13.749156 51.05128095, 13.74999336 51.05278782, 
13.74983892 51.05443194, 13.7485332 51.05418399, 13.74720372 51.0541992, 
13.7458782 51.05422593, 13.74254496 51.05455776, 13.74013044 
51.05562588, 13.73702796 51.05793384, 13.735017 51.06047436, 13.734207 
51.06212235, 13.73232744 51.06452562, 13.72943988 51.06772611, 
13.72820184 51.06833649, 13.727583 51.06863403, 13.72696308 51.06893157, 
13.7243034 51.07141494, 13.72244724 51.07323078, 13.72121532 
51.07498173, 13.7189358 51.07600017)))  


Now I'm wondering about the reverse order of lat/lng (I guess the 
MULTIPOLYGON string is in conformance to the adopted standards). Does 
anybody know, whether GM will accept this? At least GE doesn't.

Furthermore: I find GML as too bloated and would like to use JSON 
instead. Do I have to roll my own conversion or does anybody know about 
a C# conversion routine (e.g. using the JSON things in 
System.Runtime.Serialization)?

Regards

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to