Measurement Issues with Buffering Polygons
Has anyone experienced measurement issues when buffering lines and polygons in Essentials Viewer. For example, when doing a buffered identity with a line or polygon, my distance options are degrees or radians.
(/customer/servlet/servlet.FileDownload?file=00P6000000e88WAEAY) /customer/servlet/servlet.FileDownload?file=00P6000000e88WAEAY
However, when doing a buffered identity with a point, my distance options are feet, yards, metres, kilometres, miles, natautical miles.
/customer/servlet/servlet.FileDownload?file=00P6000000em1eGEAQ
I would prefer my distance units for line and polygon buffers to be the same as that for points (feet, yards, metres, kilometres, miles, nautical miles)
I am using WKID 2193 (NZTM2000) and have set the measurement units to be metres for distance, hectares for area, WKID 2193 and projection units as metres.
/customer/servlet/servlet.FileDownload?file=00P6000000e88WFEAY
And I have set up a geometry server as well.
/customer/servlet/servlet.FileDownload?file=00P6000000em1j6EAA
What else can I do?
Your help would be appreicated.
Thank you
Regards
Dianne
-
Hello Dianne,
You ever found a solution for this issue?
Greetings, Nico
0 -
Hi Nico,
No, I haven't found a solution for this issue. The issue is still present in version 4.1.
Regards
Dianne
0 -
Hi All,
I just had the same problem and after talking to Ralph found that the following fixed pretty much all of my problems, some of which I already had either in place or documented.
I believe the bit that ultimately fixed it was the WKT section but the rest gives some other niceties.Set the GIS Services -> Geometry Service URL to:
http:// <ArcGIS Server Name>/arcgis/rest/services/Utilities/Geometry/GeometryServerSet the WKID in Tool Behavior section of the viewer to:
2193Set the WKT in Tool Behaviour section of the viewer to:
PROJCS["NZGD2000 / New Zealand Transverse Mercator 2000",GEOGCS["NZGD2000",DATUM["D_NZGD_2000",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",173],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1600000],PARAMETER["false_northing",10000000],UNIT["Meter",1]]Edit C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\ <Site Name>\Viewers\ <Viewer Name>\VirtualDirectory\Config\Viewer.xml and put in the following somewhere inside the <Modules> section - in my case I put it after </Toolbar>:
<Measurement>
<Views>
<View Region="MeasurementToolsRegion" />
</Views>
<Configuration GeometryServiceUri="{GeometryServiceUri}">
<MeasurementOptions DefaultUnit="meters" OverrideUnits="{MeasurementOverrideUnits}" PredictionEnabled="{MeasurementPredictionEnabled}" />
<Projection Wkid="2193" ProjectionUnits="meters" />
</Configuration>
</Measurement>
<CoordinateTool>
<Views>
<View Region="CoordinateToolsRegion" Type="Geocortex.EssentialsSilverlightViewer.CoreModules.CoordinateTool.CoordinateToolView" />
<View Id="CustomCoordinateView" Region="ModalWindowRegion" Type="Geocortex.EssentialsSilverlightViewer.CoreModules.CoordinateTool.CustomCoordinateView" Visible="false" />
<View Id="MouseCoordinatesView" Region="CoordinatesRegion" Type="Geocortex.EssentialsSilverlightViewer.CoreModules.CoordinateTool.CoordinatesView" Visible="{MouseCoordinatesShow}" />
</Views>
<Configuration ShowCoordinatesEnabledbyDefault="True" GeometryServiceUri="{GeometryServiceUri}">
<CoordinateSystems>
<CoordinateSystem DisplayName="NZTM" WKID="2193" NumDigits="3" DisplayAsDMS="false" DisplayAsLatLon="false" />
<CoordinateSystem DisplayName="NZMG" WKID="27200" NumDigits="3" DisplayAsDMS="false" DisplayAsLatLon="false" />
<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" />
<CoordinateSystem DisplayName="Lat/Lon (DMS)" WKID="4326" NumDigits="4" DisplayAsDMS="true" DisplayAsLatLon="false" />
</CoordinateSystems>
</Configuration>
</CoordinateTool>Cheers, Brett
0
Please sign in to leave a comment.
Comments
3 comments