[OpenLayers-Users] Openlayers and ArcGIS Server REST query functions.

Thomas Gratier osgeo.mailinglist at gmail.com
Thu Apr 30 05:07:39 PDT 2015


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.Sanson at 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-bounces at lists.osgeo.org <
> openlayers-users-bounces at lists.osgeo.org> on behalf of Phil Scadden <
> p.scadden at gns.cri.nz>
> Sent: Tuesday, 28 April 2015 3:42 p.m.
> To: openlayers-users at lists.osgeo.org; ol3-dev at 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
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20150430/273e5295/attachment.html>


More information about the Users mailing list