此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.2)
Import/Export 导入/导出 格式

TIGER

TIGER/Line GIS file format.
U.S. Census Bureau file format.
Used for archiving cartographic information and data.
Stores geometric as well as numerical and textual information.
TIGER is an acronym for Topologically Integrated Geographic Encoding and Referencing.
A TIGER bundle consists of multiple files combined in a file archive or directory.
ASCII format.
  • Import supports all versions of the TIGER/Line file format.
  • Import["dir", "TIGER"] or Import["dir"] imports an entire TIGER directory and returns a combined rendering of all graphics layers.
  • Mathematica can read TIGER files from directories or file archive bundles.
  • Import["dir", "elem"] imports the specified element from a TIGER file.
  • Import["dir", {{"elem1", "elem2", ...}}] imports multiple elements.
  • See the reference pages for full general information on Import.
"Elements"list of elements and options available in this file
"Rules"full list of rules for each element and option
"Options"list of rules for options, properties and settings
  • Data representation elements:
"Graphics"all layers combined into a single Graphics object
"GraphicsList"list of graphics representing the layers of a TIGER archive
"Data"graphics primitives for each layer
  • Import by default uses the "Graphics" element for the TIGER format.
  • Import with element "Graphics" gives the combined graphics contents as vector graphics.
  • Import["file","Data"] returns an expression of the form { layer1, layer2, ...} . Individual layers are given as a list of rules representing the geometry as well as numerical and textual information associated with the features.
  • Meta-information elements:
"LayerNames"all layer names, given as a list of strings
"LayerTypes"what graphics primitives comprise each layer
"SpatialRange"range of geographic coordinates, typically given in decimal degrees
  • Elements representing the geodetic datum and reference ellipsoid used in the file:
"CoordinateSystem"name of the coordinate system used in the file
"Datum"geodetic datum
"SemiMajorAxis"semimajor axis of the reference ellipsoid in meters
"SemiMinorAxis"semiminor axis of the reference ellipsoid in meters
"InverseFlattening"inverse flattening of the ellipsoid
  • General rendering options:
BackgroundNonebackground color
ImageSizeAutomaticoverall size of the image
Import a TIGER file and render its first layer:
In[1]:=
Click for copyable input
Out[1]=
Range of latitude and longitude values in this file:
In[2]:=
Click for copyable input
Out[2]=
Name of the geodetic datum used in the file:
In[3]:=
Click for copyable input
Out[3]=
Names of all available layer names in a sample file:
In[4]:=
Click for copyable input
Out[4]=
Show all import elements available for this file:
In[5]:=
Click for copyable input
Out[5]=