The MAPIMPORT Procedure |
Requirements: | The name and location of an output data set and the complete path for the input data file. |
PROC MAPIMPORT OUT= map-data-set DATAFILE= 'path-to-shapefile' <CONTENTS> <CREATE_ID_>; |
Required Arguments |
specifies the name of the output map data set that is created.
specifies the path and filename of the shapefile that is read and processed.
Alias: | INFILE= |
Note: By default, all of the fields in a shapefile are included in the output map data set. To include only specific fields in the output map data set, use the SELECT statement. To exclude specific fields from the output map data set, use the EXCLUDE statement.
Options |
displays information about the shapefile, including field identifier names and types.
creates a map ID variable named _ID_ with a unique value for each polygon in the map. This variable is created automatically if the DBF file is missing.
Interaction: | This statement has no effect if you also specify the ID statement. |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.