[mapguide-users] Can Rest be used to Change a Session Map Coord System or Make a new Buffer layer?

Scott Hameister scotth at mpowerinnovations.com
Thu Oct 29 18:04:51 PDT 2015


Once again, Thanks Jackie!
Thought I had read the schema changed the coordsys and wrote the schema
back to the runtime map once in my old java coldfusion app. I might be
confusing changing buffer layer coordsys
On Oct 29, 2015 7:27 PM, "Jackie Ng" <jumpinjackie at gmail.com> wrote:

> The coordinate system of a map is always immutable. Nothing can be done
> about
> this.
>
> To create a feature source, do a POST to
>
> /rest/library/:resourcePath.FeatureSource/json
>
> OR
>
> /rest/session/:sessionId/:resName.FeatureSource/json
>
> And provide the JSON payload describing the feature source to create. As to
> the structure of the JSON payload, I don't have a documented reference on
> hand.
>
> You could have a look at this method
>
>
> https://github.com/jumpinjackie/mapguide-rest/blob/7fb3021b05afa0a0cf6cd4a108d469f56feb44bb/app/controller/featureservicecontroller.php#L348
>
> And see what properties are being read from $json and infer the structure
> from there.
>
> - Jackie
>
>
>
> --
> 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-tp5233400p5233446.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20151029/9b27f1dd/attachment.html>


More information about the mapguide-users mailing list