Select to view content in your preferred language

I cannot get polygon value from SDS for "colorado" COUNTYFIPS = 08031

614
1
11-20-2011 11:20 PM
VaradharajA
New Contributor
Hi

I am using "ESRI - MapIT" tool evolution version.

I am using "Spacial Data Service" to verify the polygon value before rendering map.
for example,
STATE_NAME = 'Arizona'
GEOM = '0xE6100000010401020000C580F57CCD4F5BC0B8B1D991EA7F4240ACEABB61DB505B........'

I tried SDS query with COUNTYFIPS = 04001, Geometry Type=Polygon and Spacial Relationship = "contains".

I get result from SDS as follows
geometry Polygon:
Ring0:[-109.246916999578,36.999346],[-109.263390000832,36.9992629995715],[-109.268213000703,36.9992419997178]...510 more...
Spatial Reference: 4326

I can get geometry polygon information for many counties.

But, when I try to get for "COUNTYFIPS = 08031" it shows as "Unable to perform query. Please check your parameters.".

State name for this CountyFips is "Colorado".

I can get polygon value for other countyfips of "Colorado".

Could you please help me out why I can not get the polygon value for this countyfips = 08031.

Is there any limitation in Evaluation version of this ESRI-MapIT tool. If any, please let me know which are they...


Thanks
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
Have you looked at this SDK sample? http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SDSMap

You can run Fiddler to monitor the web requests. You can access the REST endpoint from your web browser and do the same query. For example: http://serverapps.esri.com/SDS/databases/Demo/dbo.USStates_Mercator/query?geometry=&geometryType=esr... This is the result when FeatureLayer or Query OutFields is "*" and Where is "STATE_NAME = 'California'. Check the FieldType and expected value, you can do Where = "1=1" to return all features.
0 Kudos