Maptitude GISDK Help

ImportE00()

Summary

Imports features from an ARC/INFO export (.E00) file into a geographic file.

 

Syntax

ImportE00(string filename, string new_db_name, string layer_type, string table_name, array options)

 

Argument

Contents

filename

The path and file name of the file to import

new_db_name

The path and file name of the new geographic file

layer_type

The type of features to import: "Point", "Line", or "Area"

table_name

The path and file name of the new table file

 

Option

Type

Contents

Label

String

A descriptive label for the geographic file

Layer Name

String

The name of the layer in the geographic file

Median Split

Boolean

If "True" special handling insures that entities which cross the 180 degree longitude line are imported properly; if "False" (the default), no special handling is invoked

NAD Conversion

3 strings

Input datum, output datum, and conversion file (if needed); the input and output datums should be different

Node Layer Name

String

The desired name for the endpoint layer (only when importing a line layer)

Optimize

Boolean

Whether to optimize the geographic file automatically after the import (defaults to "True")

Projection

String, array

The projection name and the array of options

Transform

Array

Array indicating the transformation to apply to coordinates in the file. This can have three forms:

1. An array of two or more four-element arrays containing local and world coordinates for control points, for example, {{real localX1, real localY1, real longitude1, real latitude1}, ...}

2. An array of four elements - {real X_multiplier, real Y_multiplier, real X_offset, real Y_offset}

3. Center and Extent transform {c1_x, c1_y, width_1, c2_x, c2_y, width_2}where center is shifted from (c1_x,c1_y) to (c2_x,c2_y), and vector of length width_1 out of c_1 becomes a vector of length width_2 out of c_2.

 

Notes

Example

ImportE00("c:\\e00files\\sample.E00", "streets.dbd", "Line", "streets.bin", {

     {"Label", "Street Centerline File"},

     {"Layer Name", "Centerline"},

     {"Optimize", "True"},

     {"Projection", "utm", {"zone=12", "units=m"}},

     {"NAD Conversion", "NAD27", "NAD83",}

     })

 

Error Codes

Error Type

Meaning

Error

The file is not a valid E00 file, or one of the parameters is invalid

Escape

The conversion was interrupted by the user

NotFound

There is no file with the specified name, there are no entities in the designated layers of the desired type, or the exported coverage resides in more than one export file, but only one file is present

 

See Also

Function

Summary

ImportArcViewShape()

Imports features from an ArcView Shapefile into a geographic file

 

 

©2025 Caliper Corporation www.caliper.com