About the Macros
You can use the Annotate %CENTROID macro with a SAS map data set to simplify the process of creating Annotate observations. You add these observations to a map created with the Base SAS SGMAP procedure or the SAS/GRAPH GMAP procedure. See other Annotate Facility macros, including the %MAPLABEL Annotate Macro in SAS/GRAPH: Reference, that can be used with the GMAP procedure. The remaining macros described in this section are used to augment or create input data sets that are used with the GEOCODE procedure. With a macro, you specify a function and assign variable values in one step without having to write explicit variable assignment statements. You can mix assignment statements and macro calls in the same DATA step.
This section describes macros that assist with mapping tasks. It also links to detailed information about each macro.