Zum Hauptinhalt gehen

Measurement Issues with Buffering Polygons

Kommentare

3 Kommentare

  • Nico Burgerhart

    Hello Dianne,

    You ever found a solution for this issue?

    Greetings, Nico

     

     

    0
  • Permanently deleted user

    Hi Nico,

    No, I haven't found a solution for this issue.  The issue is still present in version 4.1.

     

    Regards

    Dianne

    0
  • Permanently deleted user

    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/GeometryServer

     

    Set the WKID in Tool Behavior section of the viewer to:

     

    2193

     

    Set 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

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.