Hi, With the layer class "ArcGISREST93" mentioned, it seems you are at the wrong place for asking. It seems you are using OpenLayers 2 whereas this list is for OpenLayers 3 dev questions.
You should ask on the OpenLayers 2 users list at https://lists.osgeo.org/mailman/listinfo/openlayers-users/ instead. Cheers Thomas Gratier 2015-04-28 6:35 GMT+02:00 Robert Sanson <robert.san...@asurequality.com>: > Hi Phil > > I have done this. What I do is prepare the ArcGIS REST query URL eg: > > var qryurl = " > http://myserver/ArcGIS/rest/services/mapservice_cadastre_prod/MapServer/7/query?text=&geometry= > "+easting+","+northing+"&geometryType=esriGeometryPoint&inSR=&spatialRel=esriSpatialRelWithin&where=&returnGeometry=false&outSR=&outFields=par_id&f=pjson"; > > Then submitted this via OpenLayers.Request.Get call: > > OpenLayers.Request.GET({ > url: qryurl, > callback: setHTML1 > }); > > These code fragments are inside a : > > map.events.register('click', map, function (e) { > ... > } > > function. Then I have written the setHTML1 callback to parse the returned > JSON. > > Cheers, > > Robert Sanson > ________________________________________ > From: openlayers-users-boun...@lists.osgeo.org < > openlayers-users-boun...@lists.osgeo.org> on behalf of Phil Scadden < > p.scad...@gns.cri.nz> > Sent: Tuesday, 28 April 2015 3:42 p.m. > To: openlayers-users@lists.osgeo.org; ol3-...@googlegroups.com > Subject: [OpenLayers-Users] Openlayers and ArcGIS Server REST query > functions. > > I have an arcGIS server that I want to use that is not publishing WMS or > WFS, just REST supporting Identify and Find. I can draw it with the > ArcGISREST93 layer tool but I also want to query it. I found patches > from 5 years ago with some work on this but no updates. Has anyone > played with openlayers and arcGIS REST-only servers? Any code updates? > > Notice: This email and any attachments are confidential. > If received in error please destroy and immediately notify us. > Do not copy or disclose the contents. > > _______________________________________________ > Users mailing list > us...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-users > _______________________________________________ > Users mailing list > us...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-users >
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users