How do you display XY as lat and long
Hello
Does anyone know how to setup the XY tool in the bottom left of the viewer to display xy as lat or long or any other projection one may want.
-
Hi
I used to be able to do this with silverlight 1.9, but now I have updated to 1.10 the option has gone and I can't add cvs files with lat/long. Has this feature been removed or do I have to re configure it somewhere?
0 -
I found I had to go to the Viewers config viewer.xml file and in there is the tag <MouseCoordReprojectionEnabled>. This was set to false so I changed to true and then I could view the coordinates in Lat/Long or others. Seems that at 1.9 it was true by default but not at 1.10.
I also had to put the differenet coordinate systems i wanted available into the Viewer.xml file too.
regards
Neil
0 -
can you post the xml tags you used to do this? I am trying to show projection in UTM83-17 (UTM with NAD83 datum, Zone 17, Meter; Central Meridian 81d W), but i can;t find the <MouseCoordReprojectionEnabled> tag in the viewer xml found in the sites config folder. any help would be greatly appreciated.
0 -
I have the same question as Sean. How do I format a tag to add another projection (state plane) to this list? Thanks.
0 -
Hi Steve,
If your Viewer.xml file doesn't contain the tags below, you can copy them from the Viewer.Defaults.xml file and add them to your Viewer.xml manually. They should both be placed as child tags of the <Globals> section:
-Victoria
<MouseCoordReprojectionEnabled Value="true" />
<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="true" />
<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>0 -
Hi,
After adding the section to change the name of the default coordinate system that the user sees, I still have the "Default ({the default's WKID})" in the list.
/customer/servlet/servlet.FileDownload?file=00P6000000em1AQEAY
How do I get rid of it?
Thanks
HW
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare