[mapguide-internals] RFC 25 - JSON format support - Readyforreview
Rex Szeto (Intern)
Rex.Szeto at autodesk.com
Fri Aug 17 12:43:43 EDT 2007
Hi Paul,
Here's an example of the XML/JSON output :)
GetSpatialContext - XML
<?xml version="1.0" encoding="UTF-8"?>
<FdoSpatialContextList>
<ProviderName>OSGeo.SDF.3.2</ProviderName>
<SpatialContext IsActive="true">
<Name>WGS84 Lat/Long's, Degre</Name>
<Description></Description>
<CoordinateSystemName>GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==>
+180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",637813
7,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199
43295]]</CoordinateSystemName>
<CoordinateSystemWkt>GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==>
+180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",637813
7,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199
43295]]</CoordinateSystemWkt>
<ExtentType>Dynamic</ExtentType>
<Extent>
<LowerLeftCoordinate>
<X>-87.770541015612835</X>
<Y>43.687096696184277</Y>
</LowerLeftCoordinate>
<UpperRightCoordinate>
<X>-87.696361154567441</X>
<Y>43.80536224700559</Y>
</UpperRightCoordinate>
</Extent>
<XYTolerance>0.000000</XYTolerance>
<ZTolerance>0.000000</ZTolerance>
</SpatialContext>
</FdoSpatialContextList>
GetSpatialContext - JSON
{
"FdoSpatialContextList" : {
"ProviderName" : "OSGeo.SDF.3.2",
"SpatialContext" : [
{
"@IsActive" : true,
"CoordinateSystemName" : "GEOGCS[\"WGS84 Lat/Long's,
Degrees, -180 ==>
+180\",DATUM[\"D_WGS_1984\",SPHEROID[\"World_Geodetic_System_of_1984\",6
378137,298.257222932867]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.0174
53292519943295]]",
"CoordinateSystemWkt" : "GEOGCS[\"WGS84 Lat/Long's, Degrees,
-180 ==>
+180\",DATUM[\"D_WGS_1984\",SPHEROID[\"World_Geodetic_System_of_1984\",6
378137,298.257222932867]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.0174
53292519943295]]",
"Description" : "",
"Extent" : {
"LowerLeftCoordinate" : {
"X" : "-87.770541015612835",
"Y" : "43.687096696184277"
},
"UpperRightCoordinate" : {
"X" : "-87.696361154567441",
"Y" : "43.80536224700559"
}
},
"ExtentType" : "Dynamic",
"Name" : "WGS84 Lat/Long's, Degre",
"XYTolerance" : "0.000000",
"ZTolerance" : "0.000000"
}
]
}
}
Rex
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Chris
Claydon
Sent: Friday, August 17, 2007 9:52 AM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] RFC 25 - JSON format support -
Readyforreview
Hi Paul,
Rex Szeto is working to get the prototype JSON implementation (developed
by Jason Chen) functioning correctly. As soon as he gets it working,
we'll run through some sample requests and generate some XML vs. JSON
comparison data.
Chris.
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Paul
Spencer (External)
Sent: August 16, 2007 9:19 AM
To: MapGuide Internals Mail List
Subject: Re: [mapguide-internals] RFC 25 - JSON format support - Ready
forreview
Chris, can we see some examples of XML and corresponding JSON output?
Cheers
Paul
On 14-Aug-07, at 2:53 PM, Chris Claydon wrote:
> MapGuide Open Source RFC 25 is now ready for review. It can be
> found at
> the following location:
>
>
>
> http://trac.osgeo.org/mapguide/wiki/MapGuideRfc25
>
>
>
> Please post any comments by replying to this mailing list.
>
>
>
> Chris.
>
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Chief Technology Officer |
|DM Solutions Group Inc http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
More information about the mapguide-internals
mailing list