Select to view content in your preferred language

ArcGIS Server 10.2 MapService Query with returnDistinctValues returns 0 Records

2917
0
02-10-2015 06:21 AM
jamesmuir
Deactivated User

Hello, I have a map service that I am trying to return distinct values on using a query that utilizes greater than / less than operators. My first query appears as follows, and when executed, returns records.

 

ags_query2.png

 

Executing the same query with returnDistinctValues set to true returns 0 records.

ags_query1.png

 

Replacing the second part of the query with "1=1" also returns records

ags_query3.png

 

So the question is, what is it about the second part of my query that would cause the map service to return no records? It seems to be a problem with less than symbol but I have no way to confirm that.

 

-James

0 Kudos
0 Replies