Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

queryTask = new esri.arcgis.gmaps.QueryTask("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3");

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.