Export raster data to a SAS data set
To export raster data from an ArcMap layer to a SAS data set:
- Right-click the raster that you want to export.
- Select Export to a SAS data set from the
pop-up menu.
- Choose to export All bands or only a selected
band.
- Specify the SAS server that you want to export the raster data to.
Note: The list of available servers is generated
from the SAS OLE database connections that are defined in ArcCatalog.
The default SAS server is the first one in the list. If you
select a different SAS server, then it becomes the default server
for subsequent exports. If a connection fails, then the next
one in the list is tried until a connection is successful.
If, the list of available servers is empty (because
no SAS OLE database connection has been defined in ArcCatalog),
then the SAS Bridge for ESRI attempts to use a local installation
of SAS (which it names Local SAS.
However, if a local installation of SAS is not available, then
you must use ArcCatalog to add an OLE
database connection.
- Specify the path and filename for the data set that you want to create. (If you are exporting to a local SAS server, you can browse
to the output location by clicking the File Open button.
)
By default, the data is written to the SASUSER path with the filename Export_Output.sas7bdat.
You can direct the output to any directory to which you have
write access, and you can change the name from Export_Output
to any valid SAS data set name.
On subsequent exports, the name defaults to the last name that
you entered.
Note: When raster data is exported, an
additional SAS data set is created contains metadata about the raster data. The additional file has the suffix _meta
Note: If the data set already exists, and if
you choose Replace or Append,
then that same action is performed on an existing metadata file.
If you choose Append and a metadata file does
not exist, then the export will fail. You can choose Replace
instead to create a metadata file.
- Click OK.