Jackie when trying to get a schema to get an idea of the json http://localhost/mapguide/rest/session/326a83b2-827d-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA/Parcel.FeatureSource/schemas
I get this error <?xml version="1.0"?> <Error> <Type>MgResourceNotFoundException</Type> <Message>Resource was not found: Session:d4ef39e8-8278-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA//Parcel.FeatureSource</Message> <Details>Resource was not found: Session:d4ef39e8-8278-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA//Parcel.FeatureSource - MgFeatureServiceHandler.ProcessOperation() line 83 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\feature\FeatureServiceHandler.cpp - MgOpGetSchemas.Execute() line 99 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\feature\OpGetSchemas.cpp - MgServerDescribeSchema.GetSchemas() line 907 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\feature\ServerDescribeSchema.cpp - MgFdoConnectionManager.Open() line 333 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\common\manager\FdoConnectionManager.cpp - MgCacheManager.GetFeatureSourceCacheItem() line 264 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\common\manager\CacheManager.cpp - MgServerResourceService.GetResourceContent() line 1167 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\resource\ServerResourceService.cpp - MgApplicationRepositoryManager.GetResourceContent() line 377 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\resource\ApplicationRepositoryManager.cpp - MgResourceDefinitionManager.GetResource (d4ef39e8-8278-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA.dbxml)() line 320 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp - MgResourceContentManager.GetDocument() line 585 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\resource\ResourceContentManager.cpp - MgResourceDefinitionManager.GetDocument (d4ef39e8-8278-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA.dbxml)() line 476 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp - MgResourceDefinitionManager.GetDocument() line 467 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp </Details> </Error> However I see it exists { "RuntimeMap": { "@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance", "@xsi:noNamespaceSchemaLocation": "RuntimeMap-3.0.0.xsd", "@version": "3.0.0", "SiteVersion": "3.0.0.8701", "SessionId": "326a83b2-827d-11e5-8000-34e6d7096bee_en_MTI3LjAuMC4x0AFC0AFB0AFA", "Name": "TEST", "MapDefinition": "Library://TESTSDF/TEST.MapDefinition", "BackgroundColor": "ffffffff", "DisplayDpi": 96, "CoordinateSystem": { "Wkt": "PROJCS[\"MI83-NIF\",GEOGCS[\"LL83\",DATUM[\"NAD83\",SPHEROID[\"GRS1980\",6378137.000,298.25722210]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Lambert_Conformal_Conic_2SP\"],PARAMETER[\"false_easting\",26246719.160],PARAMETER[\"false_northing\",0.000],PARAMETER[\"central_meridian\",-87.00000000000000],PARAMETER[\"latitude_of_origin\",44.78333333333333],PARAMETER[\"standard_parallel_1\",47.08333333333333],PARAMETER[\"standard_parallel_2\",45.48333333333333],UNIT[\"Foot_Intnl\",0.30480000000000]]", "MentorCode": "MI83-NIF", "EpsgCode": "2251", "MetersPerUnit": 0.3048 }, "Extents": { "LowerLeftCoordinate": { "X": 26207853.0143274, "Y": 335647.14243238047 }, "UpperRightCoordinate": { "X": 26237199.55, "Y": 366422.18867883866 } }, "Layer": [ { "Name": "Parcel", "Type": 1, "LegendLabel": "Parcel", "ObjectId": "32722950-827d-11e5-8001-34e6d7096bee", "Selectable": true, "DisplayInLegend": true, "ExpandInLegend": true, "Visible": true, "ActuallyVisible": true, "LayerDefinition": "Library://TESTSDF/Layers/Parcel.LayerDefinition", "FeatureSource": { "ResourceId": "Library://TESTSDF/Data/Parcel.FeatureSource", "ClassName": "Schema:Parcel", "Geometry": "Geom" }, "ScaleRange": [ null ] } ] } } -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-Rest-be-used-to-Change-a-Session-Map-Coord-System-or-Make-a-new-Buffer-layer-tp5233400p5234317.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users