A friend and I are currently creating a pretty straight forward LINQ to ESRI library that sends HTTP queries to an ArcGIS MapServer and then parses the JSON response appropriately.
Everything is currently working beautifully except one thing; multiple Where statements. This seems like a simple syntax issue, but I can't seem to get it working, or find out if it's supported. I'm trying to do something like this.
Doesn't Work:
MapServer/22/query?where=MY_FIELD='Whatever'&where=MY_OTHER_FIELD='Whatever'&f=json
Does Work:
MapServer/22/query?where=MY_FIELD='Whatever'&f=json
Also Works:
MapServer/22/query?where=MY_OTHER_FIELD='Whatever'&f=json
I have tried several different syntax versions, but can't seem to get a multiple Where statement to work. This is my primary source for breaking down these queries. If anyone knows the syntax to do this, or knows the source that says it's not possible.