Postcode data from other
countries can be used with the ZIP method if it includes either longitude
and latitude or X and Y coordinates. You will have to import postcode
data into a SAS data set, which becomes the lookup data set for the
ZIP method. If the postcodes contain alpha characters, the characters
should be uppercased. Remove any spaces and
punctuation from the postcodes.
In addition, make sure
the geographic system of the imported data is compatible with your
needs. For example, if you want geocoded locations in the World Geographic
System 1984 (WGS84) geodetic datum, your imported values should be
in that datum. If they are not, then you must apply either the appropriate
coordinate conversions or datum transformations or both.
Great Britain’s
national mapping agency, the Ordnance Survey (OS), provides location
data for 1.7 million Royal Mail postcodes in their free Code-Point
Open product. The SAS macro program %CODEPOINT2GEOCODE imports the
OS files. The GEOCODE procedure uses these OS files to locate British
mailing addresses by postcode. The macro also converts the British
National Grid coordinates to World Geodetic System 1984 (WGS84) longitude
and latitude.
The Australian Bureau
of Statistics (ABS) produces a generalized map of Australian postal
areas. The SAS macro program %ABS2GEOCODE imports those postcode areas,
computes the centroids, and creates a lookup data set for use by the
GEOCODE procedure. The macro also creates a
SAS/GRAPH map data set
of the postal area polygons.
The %CODEPOINT2GEOCODE
and the %ABS2GEOCODE macro programs and their accompanying documentation
are available for download from the SAS Maps Online Web site.
For more information,
see SAS Maps Online Web Site.