Maptitude GISDK Help

ImportGIRAS()

Summary

Imports features from USGS Land Use and Land Cover files.

 

Syntax

ImportGIRAS(array filenames, string new_db_name, array options)

 

Argument

Contents

filenames

An array containing the path and file names of the files to import

new_db_name

The path and file name of the new geographic file

 

Option

Type

Contents

Edge Snapping

Boolean

Whether to snap tile boundary nodes to better match features across tiles (defaults to "False")

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

Optimize

Boolean

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

Snap Distance

Real

Distance in miles to snap tile boundary nodes

Table Filename

String

The path and name of the file in which attributes are stored; the file extension must be .BIN, .CSV, .DBF, or .TXT; a required option

 

Notes

Example

ImportGIRAS({"c:\\lulcfiles\\boston.GIR"}, "landuse.dbd", {

     {"Label", "Land Use and Land Cover"},

     {"Layer Name", "LULC"},

     {"Optimize", "True"},

     {"Table Filename", "landuse.bin"}

     })

 

Error Codes

Error Type

Meaning

NotFound

The specified file could not be found

Error

The file is not a valid Land Use and Land Cover file

 

See Also

Function

Summary

GetGIRASInfo()

Collects summary information on the contents of a USGS Land Use and Land Cover file

ImportDEM()

Imports features from Digital Elevation Model files

ImportDLG()

Imports features from USGS Digital Line Graph files

 

 

©2025 Caliper Corporation www.caliper.com