Location codes

Use the code tables below to better understand what is being returned from Location matchType, Location type, and LocationInfo errorCode.

Match codes
Hexadecimal codes

Error codes

Place type codes

 

Match codes for matchType

Code

Match code description

Shh

Indicates a match found in United States Postal Service (USPS) data. This is considered the best address match because it was matched directly against the USPS list of addresses. See the Hexadecimal Table for the interpretation of the hexadecimal digits.

Ahh

Same as Shh but indicates match to an alias name record.

D00

Match is a small town with a P.O. Box and/or General Delivery only.

Uhh

Indicates match found in USPS data but the ZIP+4 code cannot be resolved without the firm name or other information. See the Hexadecimal Table for the interpretation of the hexadecimal digits. In Coding Accuracy Support System (CASS) mode, an E023 (multiple match) error code is returned.

Qhh

Indicates a match to USPS range records with unique ZIP codes. This match code is used for clarity because CASS rules prohibit altering an input ZIP if it matches a unique ZIP code value.

Thh

Indicates a match to a street segment record. Street segment records do not contain ZIP code information. If an input ZIP is entered, the input ZIP is returned. If the input city and state has only one ZIP code, that ZIP code is returned.

LA

Lookup at the street segment level.

LC

Lookup at the city-level using Place Finder Web Service.

LZ

Lookup at the ZIP code level using Place Finder Web Service.

Xhhh

Match found was for an intersection of two streets, for example, "Clay St & Michigan Ave." Note that the USPS does not allow intersections as a valid deliverable address. The first hexadecimal digit refers to the last line information, the second hexadecimal digit refers to the first street in the intersection, and the third hexadecimal digit refers to the second street in the intersection. To decode the hexadecimal digits, see the Hexadecimal Table.

Yhhh

Same as Xhhh, but indicates that an alias record for one or both streets was used. The first hexadecimal digit refers to the last line information, the second hexadecimal digit refers to the first street in the intersection, and the third hexadecimal digit refers to the second street in the intersection. To decode the hexadecimal digits, see the Hexadecimal Table.

Z

No address was given, but the ZIP code was verified as valid.

 

Hexadecimal codes for matchType

Code

In first hexadecimal position

In second hexadecimal position

0

No change in last line.

No change in address line.

1

ZIP code was changed.

Street type was changed.

2

City was changed.

Predirectional was changed.

3

City and ZIP code were changed.

Street type and Predirectional were changed.

4

State was changed.

Postdirectional was changed.

5

State and ZIP code were changed.

Street type and Postdirectional were changed.

6

State and City were changed.

Predirectional and Postdirectional were changed.

7

State, City, and ZIP code were changed.

Street type, Predirectional, and Postdirectional were changed.

8

ZIP+4 was changed.

Street name was changed.

9

ZIP and ZIP+4 were changed.

Street name and Street type were changed.

A

City and ZIP+4 were changed.

Street name and Predirectional were changed.

B

City, ZIP, and ZIP+4 were changed.

Street name, Street type, and Pre-directional were changed.

C

State and ZIP+4 were changed.

Street name and Postdirectional were changed.

D

State, ZIP, and ZIP+4 were changed.

Street name, Street type, and Postdirectional were changed.

E

State, City, and ZIP+4 were changed.

Street name, Predirectional, and Postdirectional were changed.

F

State, City, ZIP, and ZIP+4 were changed.

Street name, Street type, Predirectional, and Postdirectional were changed.

 

Error code descriptions for errorCode

Note: Error codes are only returned for United States and Australian addresses.

 Error codes for United States addresses only

Code

 Error code description

E000

No address found by the geocoder.

E001

Low-level error.

E010

No city+state or ZIP code was found.

E011

Input ZIP was not in the geocoding database.

E012

Input city was not in the geocoding database.

E013

Input city was not unique in the geocoding database.

E020

No matching streets found in the geocoding database.

E021

No matching cross streets for an intersection match.

E022

No matching ranges.

E023

Match is unresolved.

E024

No matching ranges. (Same as E022)

E025

Too many possible cross streets for intersection match.

E026

No address found when attempting a multi-line match.

E027

Invalid directional attempted.

E028

Record also matched Early Warning System (EWS) data, therefore the match was denied.

Error codes for Australian addresses only (MDS.Streets.AS data source)

Code

Error code description

-1

No error.

100

Multiple results were found.

110

Unable to find the specified location.

120

Invalid postcode.

 

Place type codes 

ESRI.Gazetteer.World
GDT.Landmarks.US

GDT.PopulatedPlaces.US

GDT.PostalPlaces.US

TA.Landmarks.US

ESRI.Gazetteer.World

ID

Place type

Notes

A

Countries

Includes continents.

B

Large Non-U.S. Cities

 

C

Large U.S. Cities

 

D

U.S. States

 

E

Non-U.S. Administrative Areas

Level 1 areas such as states and provinces.

F

Medium U.S. Cities

 

G

Small U.S. Cities

 

H

U.S. Counties/Parishes

 

I

Medium Non-U.S. Cities

 

J

Small Non-U.S. Cities

 

K

U.S. Points of Interest

BLM districts, national forests, national wilderness, national grasslands, national recreation areas, congressional districts, national scenic area.

M

U.S. ZIP Codes

 

O

Land Features

Examples include desert, mountain, hill, quadrangle, volcano, cliff.

P

Water Features

Examples include lake, river, drainage, glacier, reservoir, dam, lagoon, channel, canal, well/spring, bay, fall, salt flat, seasonal river.

Q

Ocean Features

Examples include sea, fjord, lagoon, ocean hazard, bay, strait, estuary.

R

Coastal Features

Examples include landing, isthmus, point, cape, head, topographic feature, peninsula, beach.

S

Islands

 

T

Airports

 

U

US Recreation Facilities

Examples include national parks, national wildlife refuges, recreation areas, national historic sites, reservoirs, dams, national forests, lakes, fish hatcheries, national conservation areas, art museums, wildlife sanctuaries, parkways.

 GDT.Landmarks.US

ID

Place type

D10

Military Installations

D31

Hospitals

D37

Prisons

D43

Colleges

D61

Major Retail Centers

D64

Amusement Parks

D65

State Capitols

D67

Stadiums and Performance Areas

D81

Golf Courses (PGA/LPGA)

D82  

Veteran Cemeteries

GDT.PopulatedPlaces.US

ID

Place type

A

Place

GDT.PostalPlaces.US

ID

Place type

A

ZIP code area. Shows the actual extent of the ZIP code area.

P

ZIP code point. The parameter locationExtent is calculated as a buffer of .001 degrees around the point.

TA.Landmarks.US

ID

Place type

7312

Rent-a-Car Facility

7313

Parking Garage

7317

Museum

7320

Sports Center

7321

Hospital/Polyclinic

7322

Police Station

7324

Post Office

7339

Place of Worship

7342

Cinema

7352

Ferry Terminal

7356

Airline Access

7365

Embassy

7366

Frontier Crossing

7369

Open Parking Area

7372

School

7373

Shopping Center

7374

Stadium

7376

Important Tourist Attraction

7377

College/University

7380

Railway Station

7383

Airport

7395

Rest Area

9352

Company

9357

Beach

9362

Park and Recreation Area

9364

Mountain Peak

9377

Convention Center

9902

Amusement Park

9910

Car Dealer

9913

Library

9915

Military Cemetery

 9917

Monument

9927

Zoo

9930

Rent-A-Car Parking

9935

Mountain Pass