Who rated this article

Showing results for 
Search instead for 
Do you mean 

How do you correctly display or serve shapefile data into GeoMedia?

by Moderator ‎02-15-2016 07:49 AM - edited ‎04-07-2016 05:46 AM (2,682 Views)

Question

You have some shapefile data that you need to view in GeoMedia. What is the correct procedure?

Answer

Since GeoMedia version 2013, GeoMedia has logic to automatically use .prj projection files which most often accompany shapefile data.  In most cases, GeoMedia understands the projection defined by these well-known text files and can successfully transform the data from its source projection (as defined by the .prj) into the GeoWorkSpace coordinate system.  This essentially means that if you are using version 2013 or higher, you need only use the Manage Data tab, Warehouse, New Warehouse Connection command to identify the folder containing the shapefiles.  You can then use the Home tab, Legends, Add Legend Entries to display features from the connection onto your map.

 

Note:  ALWAYS confirm the data is geospatially correct after making the connection. This can be done by comparing the data to other vector or image data which are known to be correct.

 

If you do not have .prj files with your shapefile data OR if you are using an older GeoMedia version (pre 2013), then you must declare the shapefile coordinate system using the Define Warehouse Configuration Utility.  The utility can be found from the Start menu, All Programs, GeoMedia, Utilities.   This workflow requires that you know the correct coordinate system and its associated parameters so a proper GeoMedia Coordinate System (.csf) file can be created.  Often this requires contacting the source of the data and/or carefully reviewing associated metadata.  The correct units (survey feet, meter, feet, etc) can be defined using the Storage Space tab in the Define Coordinate System command which can be accessed in the utility.

 

The utility creates a ascii .ini file which has a variable called COORDINATE SYSTEM, which basically identifies the coordinate system by pointing to the GeoMedia Coordinate System (.csf) file.

 

Typical Contents of the .ini file:

 

COORDINATE SYSTEM:

FOLDER_X=C:\FOLDER_X\COORDINATE_SYSTEM_Y.csf

 

The key point when using the format above is that ALL shapefiles in the folder will reference the .csf defined thus you must organize shapefiles into different folders based on their coordinate system.

 

An alternative would be to edit the .ini file so each shape file is listed (instead of the folder name) and associated to its correct GeoMedia coordinate system (.csf) file.

 

All shapefiles in the folder have the same coordinate system.

 

Example:

COORDINATE SYSTEM:

BUILDINGS=C:\FOLDER_NAME\X.csf

LAKES=C:\FOLDER_NAME\ Y.csf

RIVERS=C:\FOLDER_NAME\COORDINATE_SYSTEM_Y.csf

RAILS=C:\FOLDER_NAME\COORDINATE_SYSTEM_Z.csf

Who rated this article