Select to view content in your preferred language

Query Shape.STLength/ Shape.STArea not working for the map/feature service

3084
2
04-29-2014 06:40 AM
by Anonymous User
Not applicable
Original User: dailixian

Hi,
Anyone knows why we cannot query the Shape.STLength()/ Shape.STArea()  field in the map services. The data was stored in the ArcSDE. But we are able to select features by the query like Shape.STLength() < 10000 in the ArcMap with the sde data loaded. More details in the attachments. Thank you very much.
0 Kudos
2 Replies
by Anonymous User
Not applicable
Original User: mahoque

dailixian,
you are using 10.2 or later version. if so, this is a current limitation we have when StandardizedQueries is enabled (which is the default setting though).

you may want to disable that if you have to use to those fields.
0 Kudos
LixianDai1
Deactivated User
dailixian,
you are using 10.2 or later version. if so, this is a current limitation we have when StandardizedQueries is enabled (which is the default setting though).

you may want to disable that if you have to use to those fields.


Thanks for your answer. So if we do not want to turn off the standardizedQueries for our server, we cannot use the query task or find task to query by where clause like Shape.STLength/ Shape.STArea < 10000? Except this solution, do we have any alternative way to make the query go through?

Thank you very much.
0 Kudos