[mapguide-users] mapguide-rest 1.0 RC6 released

2023-12-04 Thread Jackie Ng via mapguide-users
Hi All, After 6 years since the last release (!!!), I've put out the 6th release candidate of mapguide-rest 1.0. https://github.com/jumpinjackie/mapguide-rest/releases/tag/1.0rc6 The main feature of this release is: - Compatibility with MapGuide Open Source 3.1.2 (PHP 5.6) and MapGuide

Re: [mapguide-users] Mapguide-Rest with Beta 4.0

2023-09-21 Thread Jackie Ng
Making mapguide-rest compatible with MGOS 4.0 / PHP 8.1 is my current active priority. - Jackie You wrote: I saw that Jackie had work with Mapguide-Rest on his todo list. Has any one tried Mapguide-Rest with Beta 4.0? Does it work? I have a customer has has flagged the old PHP versions as a

Re: [mapguide-users] Mapguide-Rest with Beta 4.0

2023-09-20 Thread Gordon Luckett
Just run php composer listed on the mapguide rest site.. On Thu, 21 Sep 2023, 03:19 Sympatico, wrote: > Hi Gordon, > > What do you mean by you had to recompile the Rest first ? Mapguide-rest is > developped with PHP and JS. > > Regards > > Pierre >

Re: [mapguide-users] Mapguide-Rest with Beta 4.0

2023-09-20 Thread Sympatico
Hi Gordon,What do you mean by you had to recompile the Rest first ? Mapguide-rest is developped with PHP and JS.RegardsPierre ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide-Rest with Beta 4.0

2023-09-20 Thread Gordon Luckett
I had the Rest working with MGOS 4 Beta, but I had to recompile the Rest first - not just download the files... On Wed, Sep 20, 2023 at 6:24 PM Scott Hameister wrote: > I saw that Jackie had work with Mapguide-Rest on his todo list. > Has any one tried Mapguide-Rest with Beta 4.0? > Does it

[mapguide-users] Mapguide-Rest with Beta 4.0

2023-09-20 Thread Scott Hameister
I saw that Jackie had work with Mapguide-Rest on his todo list. Has any one tried Mapguide-Rest with Beta 4.0? Does it work? I have a customer has has flagged the old PHP versions as a problem , however I need mapguide Rest to work if I upgrade them to Beta 4.0. I just use rest for Getting

Re: [mapguide-users] MapGuide-Rest GeoJSON Adaptor in RC 5

2021-05-24 Thread Gordon Luckett
Thanks Jackie, I installed mapguide-rest from source and it works great with MapGuide 4.0 R2 On Mon, May 24, 2021 at 10:00 AM Jackie Ng wrote: > This is due to the PHP MgGeoJsonWriter class in mapguide-rest now > colliding with the C++ class of the same name introduced in the MapGuide > 4.0

Re: [mapguide-users] MapGuide-Rest GeoJSON Adaptor in RC 5

2021-05-24 Thread Jackie Ng
This is due to the PHP MgGeoJsonWriter class in mapguide-rest now colliding with the C++ class of the same name introduced in the MapGuide 4.0 API (I am assuming you are using MGOS 4.0). There is already a fix for this, but it is not in the rc5 package, which pre-dates a lot of the 4.0 development

[mapguide-users] MapGuide-Rest GeoJSON Adaptor in RC 5

2021-05-22 Thread Gordon Luckett
I am getting the following error for the GeoJSON Adaptor in mapguide-rest PHP Fatal error: Cannot redeclare class MgGeoJsonWriter in C:\Program Files\OSGeo\MapGuide\Web\www\rest\app\util\geojsonwriter.php on line 21 The registration.php is using require_once, so I don't know why the error is

Re: [mapguide-users] mapguide-rest and React Viewer

2017-12-11 Thread GordonL
On step 5 of this page: https://github.com/jumpinjackie/mapguide-rest It recommends to use the Application Request Routing module for IIS https://www.iis.net/downloads/microsoft/application-request-routing but I have found that sometimes you need the IIS URL Rewrite module too:

Re: [mapguide-users] mapguide-rest and React Viewer

2017-12-11 Thread BMason
Rest is installed with Mapguide 3.0 but when calling up a record from a tooltip I am getting an error: HTTP Error 500.19 -Internal Server Error.. the related configuration data for the page is invalid. Error code 0x8007000d which could be because the ApplicationHost.config file contains a

Re: [mapguide-users] mapguide-rest and React Viewer

2017-12-10 Thread BMason
I am looking for procedures to install and configure REST with mapguide. thanks -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html ___ mapguide-users mailing list mapguide-users@lists.osgeo.org

Re: [mapguide-users] mapguide-rest and React Viewer

2017-11-22 Thread GordonL
Found it: taskPaneFrame concat('Parcel\nName: ', RNAME, '\nAddress: ', RBILAD, ' Edit Property ') Now I can edit and draw new Parcels using mapguide-rest and React Viewer... -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html

[mapguide-users] mapguide-rest and React Viewer

2017-11-22 Thread GordonL
Hi All, just trying out mixing mapguide-rest with React Viewer today. I love how seamless they work together. My only trouble right now is how to target the URL in the tooltip to the React's Task Pane. Any ideas?

Re: [mapguide-users] mapguide-rest samples

2017-02-27 Thread Jackie Ng
Everything after /mapguide/rest/... is a virtual path that's URL rewritten so that index.php knows what to do with that URL route. You will find a route handler that handles /services/createmap.{format} under app/routes To further assist debugging, you can turn on stack traces in app/config.php

[mapguide-users] mapguide-rest 1.0 RC5

2017-01-02 Thread Jackie Ng
Hi All, I've released the 5th release candidate of mapguide-rest 1.0 https://github.com/jumpinjackie/mapguide-rest/releases/tag/1.0-rc5 A summary of this release can be found on my blog post http://themapguyde.blogspot.com/2017/01/announcing-mapguide-rest-10-rc5.html Please report any

Re: [mapguide-users] mapguide-rest

2016-12-06 Thread Jackie Ng
First: Syntax error on my end. It's most likely fixed since the most recent release. Second: Certain APIs allow for anonymous access, certain APIs require authentication and some require authentication from certain classes of users (Author, Administrator). I should probably document the required

Re: [mapguide-users] mapguide-rest

2016-12-05 Thread Rémy Gourrat
.osgeo.org] De la part de Jackie Ng Envoyé : vendredi 18 novembre 2016 14:14 À : mapguide-users@lists.osgeo.org Objet : Re: [mapguide-users] mapguide-rest The general URL pattern is: GET http://localhost/mapguide/rest/library/.FeatureSource/data/ On a side-note, I would recommend you to h

Re: [mapguide-users] mapguide-rest

2016-11-18 Thread Jackie Ng
The general URL pattern is: GET http://localhost/mapguide/rest/library/.FeatureSource/data/ On a side-note, I would recommend you to have a look at the repository through its HTML representation: http://localhost/mapguide/rest/library/list.html The HTML representation of the repository really

[mapguide-users] mapguide-rest

2016-11-18 Thread Rémy Gourrat
Hi, Is there a MapGuide rest api to download a shape file from a layer definition ? I can see it in the "kitchen" Scenario will be in 3 steps (with rest api) : - map layers list - user choose and Click on a layer item - Download the shape file Thanks for your

Re: [mapguide-users] mapguide-rest setup issue with Mpaguide 2.5.2

2016-11-04 Thread Rémy Gourrat
Thanks a lot Jackie, it was the right way ! After few hours to understand and resolve ERROR 500 (add privileges Write/Edit on the rest cache directory to the IIS_USERS group), I had success to print my first Map Image with filter on my own map, and just after i have inserted this rest link in

Re: [mapguide-users] mapguide-rest setup issue with Mpaguide 2.5.2

2016-11-03 Thread Jackie Ng
PHP 5.3 is long unsupported and full of security vulnerabilities. MapGuide 2.5.x is sadly tied to this version of PHP (because newer PHP versions are built with an incompatible MSVC compiler) so you cannot just swap it out that for a newer once. All I can suggest (if you *really* have to stay on

[mapguide-users] mapguide-rest setup issue with Mpaguide 2.5.2

2016-11-03 Thread Rémy Gourrat
Hi, I try to setup mapguide-rest with MapGuide 2.5.2 which use PHP 3.3.8, I read that theorically mapguide-rest is running with a mapguide supporting PHP 3.3 and upper Jackie said that : "mapguide-rest has been tested on MapGuide Open Source 2.6. It should theoretically work on any

Re: [mapguide-users] MapGuide rest - 404 Page Not Found

2016-10-04 Thread GordonL
Rest is a tool for Programming (i.e. JQUERY) so you can get things like geojson and CZML and dynamically query mapguide and your data. What are you doing with mapguide-rest? To check if mapguide-rest is installed try: http://localhost/mapguide/rest/sampleapps/index.php If this still isn't

[mapguide-users] MapGuide rest - 404 Page Not Found

2016-10-04 Thread Draugnim
Hi everyone, I'm new to MapGuide but I'm geting into it. I installed MapGuideOpenSource-3.1.0.9043-RC1-x64 on Windows Server 2012 R2. I followed the instructions and installed MapGuide rest. I downloaded the repository to the www folder. Changed the name to 'rest'. I installed the PHP Composer

Re: [mapguide-users] MapGuide Rest Permission Deny

2016-03-07 Thread GeorgesK
Thanks Jackie, I created another directory for the cache and updated the files accordingly, and it works now. Thanks again. Georges -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MapGuide-Rest-Permission-Deny-tp5249179p5254854.html Sent from the MapGuide Users mailing

Re: [mapguide-users] MapGuide Rest Permission Deny

2016-03-06 Thread Jackie Ng
Nothing says that all your cached files/configs/logs/etc must reside inside the mapguide-rest installation directory If all else fails, you can set the "Cache.RootDir" property in config.php and "log.writer" property in log_config.php to point to a directory *outside* of "C:\Program Files\...".

Re: [mapguide-users] MapGuide Rest Permission Deny

2016-03-02 Thread GeorgesK
Hello all, I've tried without success to make mapguide-rest work. I even grant full rights to the rest directory (not only cache directory), but I keep on having the same error message : Using : IIS 7 (Windows 7) MapGuide Open Source 3.0 final Does anybony know how to solve this ? Thanks in

Re: [mapguide-users] MapGuide Rest Permission Deny

2016-02-16 Thread GordonL
Yes, after you copy the files, you have to grant the IIS User rights to the cache folder in mapguide-rest.. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MapGuide-Rest-Permission-Deny-tp5249179p5250858.html Sent from the MapGuide Users mailing list archive at

[mapguide-users] MapGuide Rest Permission Deny

2016-02-05 Thread swimming123
Hi All, I just started to play with MapGuide Rest and I got permission denied error, how to fix this: PHP Warning: fopen(C:\Program Files\OSGeo\MapGuide\Web\www\rest\app/../cache/debug.log): failed to open stream: Permission denied in C:\Program

Re: [mapguide-users] MapGuide Rest Permission Deny

2016-02-05 Thread swimming123
Fixed, it's user permission setting. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MapGuide-Rest-Permission-Deny-tp5249179p5249186.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing

[mapguide-users] mapguide-rest 1.0 RC4

2016-01-29 Thread Jackie Ng
Hi All, I've released the 4th release candidate of mapguide-rest 1.0 https://github.com/jumpinjackie/mapguide-rest/releases/tag/1.0-rc4 A summary of this release can be found on my blog post http://themapguyde.blogspot.com.au/2016/01/announcing-mapguide-rest-10-rc4.html Please report any

[mapguide-users] mapguide-rest 1.0 RC4 heads up

2015-12-11 Thread Jackie Ng
Hi All, This is a heads up for the next RC (yes, it's another RC release) of mapguide-rest. To simplify and streamline the API surface of mapguide-rest before we lock it down for the final 1.0 release, I've removed all routes where XML is the implicit response format. For example, suppose we

Re: [mapguide-users] mapguide-rest 1.0 RC3

2015-12-02 Thread Flipper
Jackie, Should a call to http://localhost/mapguide/rest/services/createmap.json Be able to create a Runtimemap and a new session without any SessionID sent or Credentials sent? I thought Whitelisting is for published data like your http://localhost/mapguide/rest/data/property/.png example.

Re: [mapguide-users] mapguide-rest 1.0 RC3

2015-12-02 Thread Scott Hameister
Will do. Could find the gap but PHP is new On Dec 2, 2015 10:37 PM, "Jackie Ng" wrote: > The whitelisting feature is so that Mr. Anonymous MapGuide user account > doesn't have unfettered feature/resource service API access to *all* > resources in your site repository. > >

Re: [mapguide-users] mapguide-rest 1.0 RC3

2015-12-02 Thread Jackie Ng
The whitelisting feature is so that Mr. Anonymous MapGuide user account doesn't have unfettered feature/resource service API access to *all* resources in your site repository. Runtime map creation does not fall under the feature service or resource service classification of APIs, so whitelisting

[mapguide-users] mapguide-rest 1.0 RC3

2015-12-02 Thread Jackie Ng
Hi All, I've released the 3rd release candidate of mapguide-rest 1.0 https://github.com/jumpinjackie/mapguide-rest/releases/tag/1.0-rc3 A summary of this release can be found on my blog post http://themapguyde.blogspot.com.au/2015/12/announcing-mapguide-rest-10-rc3.html - Jackie -- View

Re: [mapguide-users] mapguide-rest feature requests

2015-09-25 Thread GordonL
Great Request Reno. This would be a great feature. I ran into this myself. (I have to use the PROJ4 javascript library to do the bbox conversion before sending to the AJAX request). -- View this message in context:

Re: [mapguide-users] mapguide-rest feature requests

2015-09-25 Thread RenoSun
Hi Gordon, Thank you for your response, and Jackie actually added this feature into mapguide-rest RC2. Please have a look, and I am using it now. https://github.com/jumpinjackie/mapguide-rest/releases Thanks -- View this message in

Re: [mapguide-users] mapguide-rest 1.0 RC2

2015-06-16 Thread RenoSun
Yeah! Thanks Jackie! It make Mapguide/AIMS be more powerful, and more potential. Mapguide users now can use mapguide-rest to complete various web-based mapping/GIS projects so easily. -- View this message in context:

Re: [mapguide-users] mapguide-rest 1.0 RC2

2015-06-15 Thread GordonL
Thanks for keeping up the mapguide-rest project. For anyone who uses jQuery, I swear mapguide-rest is a god-send! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-1-0-RC2-tp5210209p5211108.html Sent from the MapGuide Users mailing list archive at

[mapguide-users] mapguide-rest 1.0 RC2

2015-06-10 Thread Jackie Ng
Hi All, I've released the 2nd release candidate of mapguide-rest 1.0. https://github.com/jumpinjackie/mapguide-rest/releases/tag/1.0-rc2 A summary of this release can be found on my blog post http://themapguyde.blogspot.com.au/2015/06/announcing-mapguide-rest-10-rc2.html - Jackie -- View

[mapguide-users] mapguide-rest feature requests

2015-06-02 Thread RenoSun
1.mapguide-rest search results For the GeoRest, if only one result is found, it will display page with single templates. If there is no result will use None template. However, mapguide-rest only uses the many templates to display the result to me when there is only one/no records being found.

Re: [mapguide-users] Mapguide-rest query restriction, and runtime map questions

2015-03-15 Thread RenoSun
Thank you for the answers Jackie Re: Item 1 I think that will be a great idea to have the whitelist to define which feature sources are allowed to be accessed by mapguide-rest, and a list of allowed formats in config.php. Also, if we can also have a list of the active fields of the feature

Re: [mapguide-users] Mapguide-rest query restriction, and runtime map questions

2015-03-14 Thread Jackie Ng
Re: Item 1 Although mapguide-rest is now RC, this is actually a good feature enhancement to add in. Suppose we define a new Feature Source query whitelist property in config.php, which can have security and a list of allowed formats defined. If the property is present in config.php, the

[mapguide-users] Mapguide-rest:

2015-03-13 Thread RenoSun
Environment AIMS2014 IIS 7.5 Windows Server 2008 R2 1. Is there a configure file allowing users to decide which feature sources, and the fields of the features can be queried? For example: I don't need a permission to access this feature source

Re: [mapguide-users] mapguide-rest 1.0 RC1

2015-03-05 Thread Jackie Ng
Blog post is up: http://themapguyde.blogspot.com/2015/03/announcing-mapguide-rest-10-rc1.html - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-1-0-RC1-tp5190811p5191707.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] mapguide-rest 1.0 RC1

2015-03-01 Thread Jackie Ng
Hi All, I've released the first release candidate of mapguide-rest 1.0. https://github.com/jumpinjackie/mapguide-rest/releases/tag/1.0-rc1 I'm feature-freezing mapguide-rest now. Only bug fixes and (really) minor enhancements from now to 1.0 final. A more detailed write-up of what's new and

Re: [mapguide-users] mapguide-rest with multiple Base Layer Groups

2015-02-27 Thread Jackie Ng
Is this only happening for XYZ tiles, or it is happening for normal tiled maps as well? - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-with-multiple-Base-Layer-Groups-tp5190432p5190475.html Sent from the MapGuide Users mailing list archive at

Re: [mapguide-users] mapguide-rest with multiple Base Layer Groups

2015-02-27 Thread Gunter Becker
happens only for XYZ tiles! Normal tiled maps wor as expected. Gunter -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-with-multiple-Base-Layer-Groups-tp5190432p5190480.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] mapguide-rest with multiple Base Layer Groups

2015-02-27 Thread Jackie Ng
Ok, it's been sorted. https://github.com/jumpinjackie/mapguide-rest/issues/96 - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-with-multiple-Base-Layer-Groups-tp5190432p5190488.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] mapguide-rest with multiple Base Layer Groups

2015-02-27 Thread Gunter Becker
Hi, while testing the mapguid-rest Extension, I realized that only MapDefinitions work which have just one Base Layer Group defined. When adding another Base Layer Group I got an error while requesting the xyz-Tiles. Is this per design or is this just a shortcoming? I personally would like to

Re: [mapguide-users] mapguide rest - bbox parameter with map?

2015-02-18 Thread Fritz Robert
. Februar 2015 04:05 An: mapguide-users@lists.osgeo.org Betreff: Re: [mapguide-users] mapguide rest - bbox parameter with map? I think you might be misunderstanding the purpose of the image representation in restcfg.json Features will *always* be selected in the image representation

Re: [mapguide-users] mapguide rest - bbox parameter with map?

2015-02-17 Thread Jackie Ng
I think you might be misunderstanding the purpose of the image representation in restcfg.json Features will *always* be selected in the image representation. This is by design. The intention behind the image representation is to show where your feature(s) are in relation to the map specified in

Re: [mapguide-users] mapguide rest - bbox parameter with map?

2015-02-16 Thread Fritz Robert
: [mapguide-users] mapguide rest - bbox parameter with map? Assuming you are talking about any URL under /mapguide/rest/data ... Any data URL shows the current page of features in the given representation - .xml returns a page of features and their attributes as XML - .geojson returns a page

Re: [mapguide-users] mapguide rest - bbox parameter with map?

2015-02-16 Thread Jackie Ng
Assuming you are talking about any URL under /mapguide/rest/data ... Any data URL shows the current page of features in the given representation - .xml returns a page of features and their attributes as XML - .geojson returns a page of features and their attributes as GeoJSON - .html displays

Re: [mapguide-users] mapguide-rest feedback

2015-01-25 Thread GordonL
I found a jQuery work-around for sorting the json... $(#address).autocomplete({ delay: 0, source: function( request, response ) { $.ajax({ url: /mapserver2015/rest/library/Samples/Sheboygan/Layers/Parcels.LayerDefinition/features.geojson, dataType:

Re: [mapguide-users] mapguide-rest feedback

2015-01-21 Thread Jackie Ng
Ordering is not implemented yet. Ordering support is provider-specific, so I wasn't sure of the best approach about wrapping functionality that is provider-specific. Now that I think about it more, I'll probably just let it crash and burn for those that try to order results where the underlying

Re: [mapguide-users] mapguide-rest feedback

2015-01-21 Thread Jackie Ng
However, even if I add ordering support to mapguide-rest, the providers of interest that you want to have ordered results (SDF/SHP) do not support ordering. We can have a limited form of ordering support at the MapGuide level for these providers if we implement this:

Re: [mapguide-users] mapguide-rest feedback

2015-01-20 Thread GordonL
Another question, the AutoComplete from jQuery UI, is cool and I managed to test is with the JSON from the parcels in Sheboygan using rest: /$(#address).autocomplete({ delay: 0, source: function( request, response ) { $.ajax({ url:

Re: [mapguide-users] mapguide-rest : set marker in a map?

2015-01-20 Thread GordonL
Since mapguide-rest can stream geoJSON, you can use that to show a feature in OpenLayers or Leaflet. If your request returns json, you can draw it on the map. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-set-marker-in-a-map-tp5182295p5182737.html Sent

Re: [mapguide-users] mapguide-rest feedback

2015-01-20 Thread GordonL
Thanks Mark, I didn't see those parameters here: https://github.com/jumpinjackie/mapguide-rest/wiki/Adapter-Documentation -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-feedback-tp5168657p5182743.html Sent from the MapGuide Users mailing list archive at

Re: [mapguide-users] mapguide-rest feedback

2015-01-20 Thread Mark Volz (LeapCAD)
Hi Gordon, Yes, JQuery + Mapguide = very cool functionality. To order your results use the following parameters orderBy=column name orderOption=ascending or descending so in your example try this; $.ajax({ url:

[mapguide-users] mapguide-rest : set marker in a map?

2015-01-19 Thread Fritz Robert
Hi, with mapguide-rest - can you add a marker to a map? I didn't find anything - but maybe I overlooked it? When you query a map MapGuide highlights selected features. Sometimes I do not want the feature to be highlighted as the the symbol then becomes difficult to recognize. Instead I would

Re: [mapguide-users] mapguide-rest feedback

2015-01-12 Thread GordonL
This is the full restcfg.json - anything missing? { Source: { Type: MapGuide, FeatureSource: Library://Samples/Sheboygan/Data/Parcels_Writeable.FeatureSource, FeatureClass: Parcels }, Representations: { xml: { Adapter: FeatureSetXml,

Re: [mapguide-users] mapguide-rest feedback

2015-01-12 Thread Jackie Ng
In the FeatureClass property, replace the Parcels' with the fully qualified name of the FDO feature class (i think it is SHP_Schema;Parcels) - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-feedback-tp5168657p5181168.html Sent from the MapGuide Users

Re: [mapguide-users] mapguide-rest feedback

2015-01-09 Thread Jackie Ng
Use a qualified class name in your restcfg.json Or wait for the next release that fixes this (we weren't checking and forcing qualified class names if encountering a non-qualified one). - Jackie -- View this message in context:

Re: [mapguide-users] mapguide-rest feedback

2015-01-08 Thread GordonL
Hi Jackie, moved on to the editing with mapguide-rest - (Release 0.11.2) Trying out http://localhost/mapguide/mapviewerajax/?WEBLAYOUT=Library://Samples/Sheboygan/Layouts/SheboyganREST.WebLayout Very cool. Had to tweak the xml representation to: POST: { AllowGroups:

Re: [mapguide-users] Mapguide-rest QueryMapFeatures parameters LAYERATTRIBUTEFILTER and FEATUREFILTER

2014-11-14 Thread Jackie Ng
Specifying FEATUREFILTER does not work in releases of MapGuide older than 2.6 http://trac.osgeo.org/mapguide/ticket/2464 - Jackie -- View this message in context:

[mapguide-users] Mapguide-rest QueryMapFeatures parameters LAYERATTRIBUTEFILTER and FEATUREFILTER

2014-11-10 Thread Alen
When I add LAYERATTRIBUTEFILTER and FEATUREFILTER parametersin rest/sampleapps/selection sample, they do not have any effect on query result. Otherwise the sample works OK. I suppose those values can be set as so: LAYERATTRIBUTEFILTER: 4, FEATUREFILTER: ?xml version='1.0'

Re: [mapguide-users] mapguide-rest feedback

2014-10-29 Thread Jackie Ng
Hi Mark, Responses inline: Issues/tweaks I've had to make to the responses (pretty much all are just string operations in php code) Calls to get the current list layers for the map; 1) would be nice if it include the link to generate the legend icon 2) would be nice if it also returned

Re: [mapguide-users] mapguide-rest feedback

2014-10-28 Thread Johan Van de Wauw
Jackie, In fact one of my colleagues created a similar which do this (in .net). We have a function setlayervisibilityfilter to which you can pass a list of features: groupon: group1, group2 groupoff: group3 layeron: layer1 filteron: layer1:id4 apart from that the mapid of course. I think we

Re: [mapguide-users] mapguide-rest feedback

2014-10-28 Thread Jackie Ng
Let me clarify this. You can do layer/group toggling via the overlayimage URL route. If you look at the bundled OpenLayers examples, you can see the requests that are made when you toggle a layer or group on/off in the legend. If you want to do this silently without requesting a new map image,

Re: [mapguide-users] mapguide-rest feedback

2014-10-27 Thread U. Schlachter
Hi Jackie, that would be nice, I have a lot of trouble with this. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-feedback-tp5168657p5169653.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] mapguide-rest feedback

2014-10-24 Thread Jackie Ng
The benefit of mapguide-rest over the official MapGuide API is that the REST API has a much simplified programming model and greater flexibility over the official MapGuide API. You have to know .net, PHP or Java to use the official MapGuide API. With the REST API, you only need to know how to

Re: [mapguide-users] mapguide-rest feedback

2014-10-24 Thread U. Schlachter
Is it possible to switch Layers on/off in an Fusion-Map with REST? I didn't find anything in the Rsst-Api. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-feedback-tp5168657p5169389.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] mapguide-rest feedback

2014-10-24 Thread Berg, James
Fusion doesn't render its layers with REST, so I can't image it would. The way I see it, REST has nothing to do with the existing viewers or their functionality. It's a new method of sending and receiving map information. Fusion and AJAX already have their ways of sending and getting data. A

Re: [mapguide-users] mapguide-rest feedback

2014-10-24 Thread Jackie Ng
I don't believe such functionality is available. It's definitely something to consider, but I'd have to think how to best do layer/group toggling in a REST-ful manner. - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-feedback-tp5168657p5169414.html

Re: [mapguide-users] mapguide-rest feedback

2014-10-23 Thread Berg, James
Just noticed this. When I create a DWF using REST and I have labeled features, the labels don't show up. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-rest feedback

2014-10-23 Thread Berg, James
Scratch that. The labeling is behaving strange depending on the sizing settings I have. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-rest feedback

2014-10-23 Thread Jackie Ng
There's a whole suite of sample apps bundled with mapguide-rest demonstrating various bits of the mapguide-rest API under rest/sampleapps/index.php Or you can view a live version on my demo server: http://119.9.23.42:8008/mapguide/rest/sampleapps/index.php - Jackie -- View this message in

Re: [mapguide-users] mapguide-rest feedback

2014-10-23 Thread BMason
Jackie, we currently use SQL server with php runner to make data entry forms and database query capabilities and data editing. Do you think that mapguide-rest can be used for this purpose? What are the benefits? thanks -- View this message in context:

Re: [mapguide-users] mapguide-rest feedback

2014-10-23 Thread Mark Volz (LeapCAD)
Jackie, Firstly I would just like to say it's a very powerful tool kit. I've implemented on a number of my clients sites. I've used it in a couple of different ways; Option 1 I have a containing page using jquery/dojo objects reading mapguide rest url's for dynamic content and an iframe for the

Re: [mapguide-users] mapguide-rest feedback

2014-10-22 Thread Berg, James
I've been using MapGuide REST to develop some custom printing functionality. In particular I've I'm interested in the PDF and DWF output. The layered PDF functionality I couldn't use because it doesn't work with maps with base map groups yet. The DWF output has been really helpful because you

Re: [mapguide-users] mapguide-rest feedback

2014-10-22 Thread GordonL
HI Jackie, I absolutely love the TransformTo parameter. I have been playing with Cesium and MapGuide-Rest and love it. I love that I can reach a lot of the standard layers/feature sources with a path rather than having to configure the restcfg.json. It would be cool to have a generic HTML

Re: [mapguide-users] mapguide-rest feedback

2014-10-22 Thread Jackie Ng
Ah, forgot about KML representations. This should be somewhat easy to implement, though it probably doesn't make much sense to support TransformTo in this case as the MgKmlService APIs already auto-transform any features to LL84 when outputting KML, and keeping in mind that the majority of the

[mapguide-users] mapguide-rest feedback

2014-10-21 Thread Jackie Ng
Hi All, I'd like some general feedback about mapguide-rest. It's been 8 months since I first introduced mapguide-rest to the world. How has mapguide-rest been working for your MapGuide/AIMS installation? Any issues that I should be aware of? Any features you'd like to see in mapguide-rest? Other

Re: [mapguide-users] MapGuide REST units for DWF scale using printLayout

2014-10-07 Thread Berg, James
I figured it out. Posting my problems here tends to help me organize my thoughts and solve problems. Hope you don't mind. The solution was from an old mapguide user post: http://osgeo-org.1560.x6.nabble.com/scale-bar-always-says-Meters-td4203151.html I edited

[mapguide-users] MapGuide REST units for DWF scale using printLayout

2014-10-03 Thread Berg, James
Windows Server 2008 64-bit MapGuide Open Source 2.5.2 MapGuide REST 0.10 Maestro 5.1 Hi, I'm using the following REST GET request: localhost/mapguide/rest/session/[SessionId]/[MapName].Map/plot.dwf?papersize=A3printlayout=Library://Shared/Layouts/Print.PrintLayout

[mapguide-users] MapGuide REST plot.pdf?layeredpdf=1 doesn't work for maps with base layer groups

2014-10-02 Thread Berg, James
Windows Server 2008 64-bit MapGuide Opensource 2.5.2 MapGuide REST 0.10 MapGuide REST is a very nice thing with many valued features. Here's an error I found while exploiting its functionality: Creating a layered PDF using MapGuide REST doesn't seem to work for maps that have base layer

Re: [mapguide-users] MapGuide REST plot.pdf?layeredpdf=1 doesn't work for maps with base layer groups

2014-10-02 Thread Jackie Ng
Issue logged: https://github.com/jumpinjackie/mapguide-rest/issues/73 - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MapGuide-REST-plot-pdf-layeredpdf-1-doesn-t-work-for-maps-with-base-layer-groups-tp5165523p5165552.html Sent from the MapGuide Users mailing list

Re: [mapguide-users] mapguide-rest security

2014-04-04 Thread Roberto Quintela Modia
I’m trying to unsubscribeme but nothing… ¿¿¿??? Thanks Kintela @esekintela El 04/04/2014, a las 00:05, GordonL gordon.luck...@arrowgeomatics.com escribió: Ok the restcfg.json was relocated between versions: I was adding the: Representations: { xml: { Adapter:

[mapguide-users] mapguide-rest security

2014-04-03 Thread GordonL
Hi Jackie, kudos for mapguide-rest I would like to say first! Some questions: 1. Does version 0.5 support XML post/put/delete? 2. In version 0.6, I am struggling just getting authenticated (tried Anonymous and Administrator/admin) but get the http://localhost/mapguide/rest/data/property/1.xml or

Re: [mapguide-users] mapguide-rest security

2014-04-03 Thread Jackie Ng
1. 0.5 was just a test of the github release system and not actually for consumption, but nevertheless XML post/put/delete should've already been implemented at that point. 2. Are you sure you're actually using 0.6 and not the git master? I'm currently working on ACLs for published data sources.

Re: [mapguide-users] mapguide-rest security

2014-04-03 Thread Roberto Quintela
How could i unsuscibme kintela El 03/04/2014 15:40, GordonL gordon.luck...@arrowgeomatics.com escribió: Hi Jackie, kudos for mapguide-rest I would like to say first! Some questions: 1. Does version 0.5 support XML post/put/delete? 2. In version 0.6, I am struggling just getting

Re: [mapguide-users] mapguide-rest security

2014-04-03 Thread GordonL
Thanks Jackie, I think the Master not 0.6 was the issue with Security... My XML POST Error: Slim Application Error The application could not run because of the following error: Details Type: Exception Message: The configured representation 'xml' is not configured to handle POST requests File:

Re: [mapguide-users] mapguide-rest security

2014-04-03 Thread GordonL
Ok the restcfg.json was relocated between versions: I was adding the: Representations: { xml: { Adapter: FeatureSetXml, Methods: { GET: { MaxCount: 500 }, POST: {}, PUT: {},

Re: [mapguide-users] MapGuide REST Extension Documentations

2010-03-30 Thread Simon Pelicon
Hi! You can get some information on www.georest.com and from sample which comes with georest download. There will be some documentation/wiki soon, but for now I can give you some explanation on how to work with georest. simon On Sun, Mar 28, 2010 at 8:42 PM, Nimrod Cnaan nimcn...@hotmail.com

[mapguide-users] MapGuide REST Extension Documentations

2010-03-28 Thread Nimrod Cnaan
Is there any Documentations on how to work with Jason's RESTful technology ? -- View this message in context: http://n2.nabble.com/MapGuide-REST-Extension-Documentations-tp4814222p4814222.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] MapGuide REST Extension

2009-02-04 Thread GordonL
Hi Jason, the REST extension looks really promising. I particularly like the code-free aspect to extract attributes and coordinates of the features. Have you found it limiting due to the GET limitations. For example, I often have features with thousands of vertices, and it would be difficult

  1   2   >