Shared Samples

GeoMedia, a comprehensive and dynamic GIS, extracts compelling intelligence from geospatial data and integrates it to present actionable information. Please note a HGDN subscription is required to download code samples
Showing results for 
Search instead for 
Do you mean 

Alternate Coordinate System Input

by on ‎03-16-2016 09:41 AM (403 Views)

Description

This command displays a dialog that allows the user to enter geographic coordinates for a point where the coordinates are expressed in a previously-defined alternate coordinate system.  When the point is accepted the command then centers the map view at the given point.  The user must have installed and run the alternate coordinate system definition command described in the article Alternate Coordinate System for Precision Coordinates.

 

Instructions

  1. If not already done, follow instructions in the Alternate Coordinate System for Precision Coordinates article to define the alternate coordinate system.
  2. Download and build the solution for this command.
  3. Install this command into GeoMedia using InstallAppCmd (see example in .\bin\Register.bat)
  4. When the command is selected a simple dialog displays with the title "Alternate CS Input".  Enter longitude and latitude values that reference the alternate coordinate system.  The geographic units and formatting should be as defined elsewhere for the GeoWorkspace coordinate system.
  5. When the dialog is dismissed with "OK" the geographic coordinates are transformed from the alternate coordinate system into the GeoWorkspace coordinate system and used to center the Map View.

 

Download links

C# for GeoMedia 2016:  HGDN_GEOMEDIA / Cmd_AlternateCSInput_2016CS

VB.NET for GeoMedia 2016:  HGDN_GEOMEDIA / Cmd_AlternateCSInput_2016VB

Overview
Contributors