Mohid ShapeFiler Help File
 
   
     
  An easy way to convert your Mohid output data to shapefiles

wwww.mohid.com

 

-What is

        -Mohid ShapeFiler
        -
Shapefile
 

  -How to

-Create a shape file
 
-Contacts & bug reports


- What is

        -Mohid ShapeFiler

This utility was developed to allow manipulation of Mohid results by a GIS. So, Shapefiler can read Mohid output data files and convert them to shapefiles (.shp) format, which is a spatial data format.

        -A shape file

The Shapefile format is a geographic data format published by ESRI which stores nontopological geometry and attribute information for the spatial features in a data set. The geometry for a feature is stored as a shape comprising a set of vector coordinates.

Shapefiles can support point, line and area features. Area features are represented as closed loop, double digitized polygons. Attributes are held in a dBASE format file. Each attribute record has a one-to-one relationship with the associated shape record.

With ShapeFiler, it is only possible to create point and polygon shapefiles.

An ESRI shapefile consists of a main file (.shp) , an index file (.shx) , and a dBASE table (.dbf). The main file is a direct access, variable-record-length file in which each record describes a shape with a list of its vertices. In the index file, each record contains the offset of the corrisponding main file record from the beginning of the main file. The dBASE table contains feature attributes with one record per feature. The one-to-one relationship between geometry and attributes is based on record number. Attribute records in the dBASE file must be in the same order as records in the main file.

      

-How to

    -Create a Shape file

1. Insert path + filenames for x and y axys files. These operations can be done with the browse buttons.

2. Select the type of shapefile you wante to create: point or polygon. Point shapefiles are used for particles.

3. Add one or more attributes to the shapefile. To do this, simply type the attribute name, insert the path + filename for the file with the attribute data (this can also be done with 'browse' button, and then simply press 'add' button. If you desire to change any attribute information, you will have to select it from the listbox and click 'select to change'. The attribute information (attribute name and file path+name) will be displayed in the respective textboxes. After the desired changes, just press the 'change' button.

4. Select folder where shapefile will be stored. This operation can be done with the 'browse'  button.

5. Type the prefix name of the shapefile. This operation can also be done with the 'browse'  button.

6. Now just press the 'create index file' button.

 

-Contacts & Bug Reports

If you have any doubt or if you wish to report any bug, just send an e-mail to mohid@mohid.com. You can also visit the website www.mohid.com Please include in the mail the exact situation in which the bug was found. If we can't reproduce the bug we cant correct it. Remember that this program is freeware and it comes without ANY WARRANTY.

Copyright © 2002 Mohid. All rights reserved.