Chapter Contents |
Previous |
Next |
The GPROJECT Procedure |
Requirements: | An input map data set is required. |
PROC GPROJECT <option(s)>; |
option(s) can be one or more options from any or all of the following categories:
data set options:
DATA=input-map-data-set | |
OUT=output-map-data-set |
projection options:
PARADIV=n | |
PARALEL1=latitude | |
PARALEL2=latitude | |
POLELAT=latitude | |
POLELONG=longitude | |
PROJECT=ALBERS | GNOMON | LAMBERT | NONE |
coordinate options:
ASIS | DUPOK | |
DEGREE | |
EASTLONG |
clipping options:
LATMIN=min-latitude | |
LATMAX=max-latitude | |
LONGMIN=min-longitude | |
LONGMAX=max-longitude |
Options |
See also: | About the Input Map Data Set SAS Data Sets |
Featured in: | Projecting an Annotate Data Set |
When PROJECT=ALBERS, LAMBERT, or GNOMON, PROC GPROJECT treats the value of max-latitude as degrees. When PROJECT=NONE, the procedure treats the value as a Cartesian coordinate.
Featured in: | Clipping an Area from the Map |
When PROJECT=ALBERS, LAMBERT, or GNOMON, PROC GPROJECT treats the value of min-latitude as degrees. When PROJECT=NONE, the procedure treats the value as a Cartesian coordinate.
Featured in: | Clipping an Area from the Map |
When PROJECT=ALBERS, LAMBERT, or GNOMON, PROC GPROJECT treats the value of max-longitude as degrees. When PROJECT=NONE, the procedure treats the value as a Cartesian coordinate.
Featured in: | Clipping an Area from the Map |
When PROJECT=ALBERS, LAMBERT, or GNOMON, the GPROJECT procedure treats the value of min-longitude as degrees. When PROJECT=NONE, the procedure treats the value as a Cartesian coordinate.
Featured in: | Clipping an Area from the Map |
By default, the GPROJECT procedure names the new data set that uses the DATAn naming convention. That is, the procedure uses the name WORK.DATAn, where n is the next unused number in sequence. Thus, the first automatically named data set is DATA1, the second is DATA2, and so on.
Featured in: | Projecting an Annotate Data Set |
See also: | the PARALEL1= and PARALEL2= options |
By default, the GPROJECT procedure calculates values for the standard parallels. The defaults are chosen to minimize the distortion inherent in the projection process. The algorithm used is
PARALEL1 = minlat + R / PD
PARALEL2 = maxlat - R / PD
where:
If you do not use PARALEL1= or PARALEL2=, or you omit either option, the GPROJECT procedure uses the calculated value for the missing parameter.
The standard parallels, whether explicitly specified or supplied by the procedure, must lie on the same side of the equator. If they do not, PROC GPROJECT prints an error message and stops (the procedure may calculate standard parallels that lie on opposite sides of the equator). When projecting a map data set that contains unit areas that cross the equator, you may have to explicitly specify standard parallels that both lie on the same side of the equatMor. If this causes excessive distortion of the map, you may be able to use the gnomonic projection instead of the Albers' or Lambert's projection because the gnomonic technique has no such limitations at the equator.
Units for latitude are degrees; positive values indicate north of the equator, and negative values indicate south of the equator. POLELONG= gives the longitude for the projection point. Units for longitude are degrees; positive values indicate west of the prime meridian, and negative values indicate east of the prime meridian (unless EASTLONG also has been used in the PROC GPROJECT statement).
If you do not use POLELAT= or POLELONG=, or you omit either option, PROC GPROJECT uses values for the position of the center of the unit areas that are defined by the DATA= data set for the missing parameter.
Note: The map that is defined by the input map data set should
not contain points more than 85 degrees (1.48353 radians) from the projection
pole; all points that exceed this value are deleted from the output map data
set.
Featured in: | Emphasizing Map Areas |
By default, PROJECT=ALBERS.
See also: | About Types of Map Projections |
Featured in: | Emphasizing Map Areas |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.