Select to view content in your preferred language

Data misalignment in web application

3760
16
Jump to solution
11-14-2013 06:59 AM
SachinChand
Regular Contributor
We're having an issue where the data on a web application is not aligning correctly (see attached screenshot).  We are using ArcGIS 10.2.  When pulled up in the web application, however, the alignment is a bit off as seen in the screenshot.  The web application uses two services, one cached and one dynamic.  The misalignment is coming from the dynamic service.  Any ideas on what the cause could be?  I'm not a javascript/web developer so I may need a layman response 🙂

The things I've tried so far is republishing the services after upgrade to 10.2, trying several browsers and clearing browser caches.  I've also verified the the issue is not with the data or the map service as the data is correct and the map service also displays with correct alignment.  The projection of the map services and the web app also match.

Thank you
0 Kudos
16 Replies
SachinChand
Regular Contributor
The apps and services are not public.  They are misaligned by about five feet.  Both services are in web mercator.  The dynamic service only becomes misaligned in this app but its not used in any other apps to verify that.  The service is perfectly aligned in the JS viewer.  I have tried defining the datum transformation in the map document and republishing but that did not help.  I have not found any discrepancies between the JS viewer and the campus app.  Really bizarre!
0 Kudos
JohnGravois
Deactivated User
very strange.  what happens when you add the layer to the map viewer in ArcGIS online?
0 Kudos
SachinChand
Regular Contributor
It looks good on ArcGIS Online!  I've been trying several other little things and nothing has worked.  I'm going to see if I can get a developer to look at the application itself.
0 Kudos
SachinChand
Regular Contributor
John, your hunch of the datum transformation not being applied to the map document was correct.  When I applied it after your suggestion, I applied it incorrectly (leaving out the "using" parameter).  I spoke to ESRI CS and after the transformation was performed correctly, the map data aligned perfectly!  Thank you for your help on this.
0 Kudos
JohnGravois
Deactivated User
Sachin,
thanks for taking the time to confirm the resolution.  im glad to hear the mystery is solved!
0 Kudos
RickeyFight
MVP Regular Contributor

I am having the same issue. Can you remember what you did to fix the error?

Thank you

0 Kudos
JohnGravois
Deactivated User

As he stated, sachin was able to resolve his problem by defining an appropriate datum transformation for layers in his map document prior to publishing his map service.

ArcGIS Help (10.2, 10.2.1, and 10.2.2)

GIS Manual: Why Don;t My GIS Layers Line Up?

0 Kudos