Thursday, May 7, 2009

Connecting and display a text file in GeoMedia

It is easy for GeoMedia to connect and display the contents of text files. The hard part is defining the format of the text file and I have covered that in my previous post. To connect to a CSV text file as shown in the screen shot below, simply do the following steps:
  1. In GeoMedia, select Warehouse > New Connection.

    The New Connection dialog box appears.


  2. Under Connection type, choose Text File.

  3. In the Connection name field, type in a connection name (optional) or use the default. 

  4. In the Input text file field, click Browse. 

    The Select an Input Text file dialog box appears.

  5. In the File name field, select or key in the text file name. Click Open.

  6. In the Text format definition field, click Browse.

    The Select a Text format definition file dialog box appears.


  7. Select or key in the name of the text file server format definition file you have defined earlier ( as created in my previous post). Click Open.

    The New Connection dialog box should look similar to this.


  8. Click OK.

    The text file connection is created and opened.
To display the text file contents, you can use the standard GeoMedia commands such as New Data Window as shown below.
  1. Select Window > New Data Window.



  2. Expand the text file connection and select a text feature. Click OK.

    The text file contents is displayed in the Data Window.

No comments: