Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

By using the code below, we can query featureSet to ArcGIS Sample Server.

queryTask = new esri.arcgis.gmaps.QueryTask("");

I have published data on Geoserver by REST service.
1. Can I make this type of query (QueryTask) to Geoserver ?
2. What URL string should I use?

As I understood, the URL should be ("http://localhost:8080/geoserver/rest/"), but I don't know the complete URL. I mean what should I append with the URL after /rest/..... Can anybody explain the complete format of the URL?

share|improve this question
"services/Demographics/ESRI_Census_USA/MapServer/3" – Mapperz Feb 14 '11 at 16:42

No - GeoServer's REST interface is not the same as ESRI's REST interface. If you want to use standards based services such as GeoServer's WSM/WFS I recommend you switch to an opensource project like OpenLayers which cares about standards rather than re-inventing the wheel and hoping that your gorilla is big enough to drag the rest of us along.

share|improve this answer
Thanks for guidance!. Can i benefit same type of features like querytask and many other functions that Esri provides if i use Openlayers ?. My requirement is to query the features and attribute data and i also want to update features and attribute data by using feature and attribute update method while working on web. Esri provide all this functionality. Is all that functionality provided by OpenLayers ?. If Openlayers does nto support Quarytask, then its useless for me. please guide further. – user1899 Feb 16 '11 at 8:24
what does querytask do? – iant Feb 16 '11 at 15:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.