Select to view content in your preferred language

Selection widget - Select by Location - fails for SOME layers

2339
2
02-17-2012 08:28 AM
MattGiles
Deactivated User
Hello,
I am having problems with the selection widgets 'Select by Location' functionality:

When used with esri's sample layers : quakes and demographics it works fine:
<layer label="quakes" type="feature" visible="false" alpha="1.0"
             url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/Since_1970/MapServer/0"/>
             
           <layer label="Demographics" type="feature" visible="false"
                     url="http://server.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Diversity_Index/MapServer/4"/>




but when used with my layers it doesnt work:

<layer label="Eco-Zones" type="feature" visible="false" alpha="1.0"
                  popupconfig="popups/PopUp_EcoFrame0.xml"
                  url="http://xxxxx/ArcGIS/rest/services/ecological_framework/ecological_framework/MapServer/0"/>
                
                <layer label="Research & Monitoring Locations" type="feature" visible="false" alpha="1.0"
                  popupconfig="popups/PopUp_ECCat0.xml"
                  url="http://xxxxx/ArcGIS/rest/services/ec_catalogue/ec_catalogue/MapServer/0"/>


The funny thing is that when i select features from Eco-Zones that contain features from esri's quakes layer it works, and when i select quakes that are contained in Eco-Zones it works. However, when I select Research Stations within Demographics it fails, but when i select demographics that contain research stations it works...

Since it works with esri's layers in all cases, I am led to believe that there is nothing wrong with the widget itself. Could this problem be due to the way that my layers are served, or the location they are served from?

Research stations are inside of an SDE while Eco-Zones are not...
Tags (2)
0 Kudos
2 Replies
MattGiles
Deactivated User
Ive done more testing and have found the following related to the errors I am encountering:

I have two errors that occur depending on how I run the select by location.

1. When selecting monitoring locations (points) that are contained in eco-zones (polys), i get the following error :
[RPC Fault faultString="Unable to complete  operation." faultCode="400" faultDetail="Unable to complete Query operation."]



When i check the server log is displays the following error:
ERROR INFO = Linestring or poly boundary is self-intersecting.</Msg>



2. When selecting monitoring locations that are contained in All eco-zones (no eco-zones previouslt selected), i get the following error:
[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: http://geoserver/ArcGIS/rest/services/ec_catalogue/ec_catalogue/MapServer/0/query"]


When i check the server log no errors are logged. However when i run fiddler, i get an HTML 500 error.

Does anybody know of any potential causes for these errors..
Thanks in advance.
0 Kudos
HaroldBostic
Frequent Contributor
Did you ever find a resolution to this issue?
0 Kudos