Reset newly added projection for the "Coordinate" Tool
Hi,
Have anyone encountered this issue where the newly added projection for the "coordinate" tool got reset?
Our data is in State Plane NAD 83, but since we are using ESRI world imeragy. We are forced to be using Web Mercator projection.
so I added State plane NAD83 to the "Coordinate" tool for the users to add X,Y using State Plane NAD83.
/customer/servlet/servlet.FileDownload?file=00P6000000elzvSEAQ
fro m the View er.Defaults.xml, I edited
<CoordinateSystems>
<CoordinateSystem DisplayName="State Plane NAD83 (FT)" WKID="102646" NumDigits="4" DisplayAsDMS="false" DisplayAsLatLon="false" Default="true" />
<!--CoordinateSystem DisplayName="Web Mercator" WKID="102100" NumDigits="6" DisplayAsDMS="false" DisplayAsLatLon="false" -->
<CoordinateSystem DisplayName="Lat/Lon (DD)" WKID="4326" NumDigits="4" DisplayAsDMS="false" DisplayAsLatLon="true" Default="false" />
<CoordinateSystem DisplayName="Lat/Lon (DMS)" WKID="4326" NumDigits="4" DisplayAsDMS="true" DisplayAsLatLon="false" />
<CoordinateSystem DisplayName="Lat/Lon (DDM)" WKID="4326" NumDigits="4" DisplayAsDMS="false" DisplayAsDDM="true" DisplayAsLatLon="false" />
</CoordinateSystems>
It works time to time, but then often it gets to reset back to orginial, like
<CoordinateSystems>
<CoordinateSystem DisplayName="Web Mercator" WKID="102100" NumDigits="6" DisplayAsDMS="false" DisplayAsLatLon="false" >
<CoordinateSystem DisplayName="Lat/Lon (DD)" WKID="4326" NumDigits="4" DisplayAsDMS="false" DisplayAsLatLon="true" Default="false" />
<CoordinateSystem DisplayName="Lat/Lon (DMS)" WKID="4326" NumDigits="4" DisplayAsDMS="true" DisplayAsLatLon="true" />
<CoordinateSystem DisplayName="Lat/Lon (DDM)" WKID="4326" NumDigits="4" DisplayAsDMS="false" DisplayAsDDM="true" DisplayAsLatLon="false" />
</CoordinateSystems>
Do anyone know why? Or should I edit other xml? Is this a bug?
Thanks,
Linda
-
When does the reversion happen? Is it random, or does the Viewer.xml update when you make other changes to the Viewer in GE Manager?
I've seen the same behavior on the layout order settings in my Site.xml when using site inheritance. I've gotten into the habit of saving the layout settings to a text file in the site's virtual directory so I can update it quickly. Bad workaround, but at least I don't have to retype things all the time.
0 -
Hi John,
I am working on GE again after my other project. Same problem again, I updated the coordinate text from the Viewer.Defaults.xml.
I updated the xml to add NAD83 as one of the choices on the drop-down list yesterday. It worked yesterday, but the xml got updated this mroning.
I don't know if it is random. It is very frustrating if I have to it everyday. Do you or anyone have a permanent solution?
Thanks,
Linda
0 -
I don't have a permanent solution, no. What version of GE are you at?
0 -
We are on GE 4.2.
Are you using Siverlight or HTML5?
0 -
We're on GE 4.2 as well and have been using SL. I'm doing all of my new development in HTML5.
0 -
John,
I finally got in touch w/ the tech support. The coordinate system script works,but what I did was editing to the wrong viewer.xml file.
According to the tech support, I was not suppose to edit the Viewer.Default.xml (I guess it makes sense).
The Viewer file that I should edit is
C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\YOUR NAME \Viewers\YOUR NAME\VirtualDirectory\Config\Viewer.xml
Of course you will have to change to your company's directory name.
Thanks,
Linda
0
Please sign in to leave a comment.
Comments
6 comments