Select to view content in your preferred language

Identify widget projection issue

1220
9
Jump to solution
04-12-2011 12:44 PM
MarkSmith1
Deactivated User
Robert,

For a few weeks now I've been seeing some odd behavior when I mouse over the results in the Identify widget. 75% of the time the blue shading and pop-up are bang-on over the feature but from time to time (and with no discernable pattern) the hover effects and pop-up don't show up and when I click to zoom I get sent to the Atlantic Ocean off the coast of Africa!

With the help of Fiddler today I finally see what is happening. My operational data is mostly in GCS_North_American_1983_CSRS (4617), with one layer in GCS_WGS_1984 (4326). I'm using Bing maps as my base map. Using Fiddler I took a look at the JSON response I was getting back when the hover-effects worked - geometry is getting returned in 102100 Web Mercator. When the hover-effects "fail" the geometry is getting returned in it's native coordinate system (4326 or 4617). I've attached the two replies if it helps.

Do you know why this would happen... and why it doesn't happen with any kind of regularity? Is there a setting somewhere that I'm missing?

Any help you could provide would be greatly appreciated - this problem has been driving me out of my mind :confused:

Mark
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Mark,

   This has actually been submitted to the API team as a bug, as it it reproducible using just the API.

View solution in original post

0 Kudos
9 Replies
RobertScheitlin__GISP
MVP Emeritus
Mark,

   This has actually been submitted to the API team as a bug, as it it reproducible using just the API.
0 Kudos
by Anonymous User
Not applicable
Original User: masmith

Thanks for letting me know. I had a sinking feeling that that was the case. Has the API team given any indication about when a fix will be available?

Thanks again.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Mark,

   No, I just submitted it a this week and got an initial response that they could not reproduce it using the identify sample so I reworked the sample code to demonstrate the issue and have submitted that code for their review.
0 Kudos
by Anonymous User
Not applicable
Original User: masmith

It certainly is an odd problem. As I mentioned in my original post, I can't predict when it's going to happen. It will work for long stretches and then suddenly rear its head. Thanks for efforts to submit the bug.
How are you dealing with it in your sites? Do you re-project your operational data to Web Mercator?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Mark,

   The possible solution for this error and best performance on your site, is to have all the data in your map the same spatial reference.
0 Kudos
by Anonymous User
Not applicable
Original User: masmith

We've contemplated going that route, and we may still, but right now we're not in a position to do that just yet. Is it possible to re-project on the fly the geometry returned by the identify tool as a band-aid solution until the API team issues a fix?
0 Kudos
AdrianaCalleja
Emerging Contributor
Hi,

I had the same issue and I was trying to change the identifyResult's spatialReference, finally I found that is better to not try that. I mean just use the widget and the bugs are least than before.

Regards
0 Kudos
by Anonymous User
Not applicable
Original User: rzufelt

Mark,

Are you using your own Geometry server in the Identify widget?

The reason I ask is that for some reason, we get random sandbox security errors when pulling in ESRI services and get denied access.

Was wondering if this might be why it appears to be random on you.  Perhaps it failed to load the geometry server on the times that it doesn't work????  Though, if you have the debugger version of Flash player, you should see an error message as such when the sandbox gets in the way.

R_
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
All,

   An updated version is now available:

* 3.3.2 - Fixed issue where user was presented with login dialog even though token was provided in main config.xml
    - Added circle and ellipse tools
    - Applied workaround for ArcGIS Server 10 services sometimes not returning identify results in requested map projection.
0 Kudos