Shapefile

 

 

Export Shapefile

Shapefiles can be created in EnviroInsite by selecting File -> Export -> CAD/SHP.  Then select the Shapefile file type and enter the file name.  When you do this, EnviroInsite will generate independent files containing polyines, arcs, and points.  The file content can be understood by looking at the file name, so that sfilearcz.shp for instance contains the arc objects. sfileptsz.shp contains the point objects and text strings.  The points shapefile contains the text values as attributes.  The file containing no particular type contains the polygon objects.  Closed polylines, polyfaces, rectangles, circles are saved to the Polygon file.  Line segments, open polylines are saved to the Arcs file.

 

Shapefiles exported by EnviroInsite contain attributes that assist in loading these files into ArcMap.  The attributes depend on the content of the Shapefile and are listed below.  You can examine the attributes outside of ArcMap by opening the associated dbf files in MS Excel.  The following is a summary of the contents of those files.

 

POINT FILE ATTRIBUTES

Field Name
 

Content

Notes
 

Handle

Internal object identifier

This may contain both descriptive information about the object and some internal identification used by the program

Text String

value of text string

Text string indicated if value is set.  Otherwise point should be drawn using point symbol.

Height

Text height

Height is specified in world coordinates.

Rotation

Text rotation

Rotation specified in radians, counter-clockwise.

Style

Text style name as defined in EI

 

Horizontal Alignment

Indicates vertical alignment relative to insertion point.

6 - center
0 - left
2 - right

Vertical Alignment

Indicates vertical alignment relative to insertion point.

24 - baseline
100 - center
8 - bottom
0 - top

Color

Color index

Internal color index (not reliable)

RGB

RGB macro value

This is the RGB macro color used by Windows.  More info at https://msdn.microsoft.com/en-us/library/windows/desktop/dd162937(v=vs.85).aspx.

Font

Windows font name

 

Bold

Indicates whether text is bold font

Value set to Y (for bold) or N

Italics

Indicates whether text is italicized

Value set to Y (for italicized) or N

R

Red value

Red intensity on scale of 0 to 255.

G

Green value

Green intensity on scale of 0 to 255.

B

Blue value

Blue intensity on scale of 0 to 255.



POLYLINE FILE AND ARC FILE ATTRIBUTES

Field Name

Content

Notes

Handle

object identifier

This may contain both descriptive information about the object and some internal identification used by the program

Fill Mode

Determines whether polygon should be filled or left hollow

Value is either 1 for fill or 0 for hollow

PenClrRGB 

Outline color

This is the RGB macro color used by Windows.  More info at https://msdn.microsoft.com/en-us/library/windows/desktop/dd162937(v=vs.85).aspx.

FillClrRGB

Fill Color

This is the RGB macro color used by Windows.  More info at https://msdn.microsoft.com/en-us/library/windows/desktop/dd162937(v=vs.85).aspx.

PolyClr

Not used

 

Pen_R

Outline Red value

Red intensity on scale of 0 to 255

Pen_G

Outline Green value

Green intensity on scale of 0 to 255

Pen_B

Outline Blue value

Blue intensity on scale of 0 to 255.

FillR

Fill Red Value

Red intensity on scale of 0 to 255

FillG

Fill Green Value

Green intensity on scale of 0 to 255

FillB

Fill Blue Value

Blue intensity on scale of 0 to 255.