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 <[email protected]>: > 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: [email protected] < > [email protected]> on behalf of Phil Scadden < > [email protected]> > Sent: Tuesday, 28 April 2015 3:42 p.m. > To: [email protected]; [email protected] > 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
