PostGIS
Name
stdaddr — A composite type that consists of the elements of an address.
This is the return type for standardize_address
function.
Description
A composite type that consists of elements of an address. This is the return type for standardize_address function. Some descriptions for elements are borrowed from PAGC Postal Attributes.
The token numbers denote the output reference number in the rules table.
This method needs address_standardizer extension.
- building
-
is text (token number
0
): Refers to building number or name. Unparsed building identifiers and types. Generally blank for most addresses. - house_num
-
is a text (token number
1
): This is the street number on a street. Example 75 in75 State Street
. - predir
-
is text (token number
2
): STREET NAME PRE-DIRECTIONAL such as North, South, East, West etc. - qual
-
is text (token number
3
): STREET NAME PRE-MODIFIER Example OLD in3715 OLD HIGHWAY 99
. - pretype
-
is text (token number
4
): STREET PREFIX TYPE - name
-
is text (token number
5
): STREET NAME - suftype
-
is text (token number
6
): STREET POST TYPE e.g. St, Ave, Cir. A street type following the root street name. Example STREET in75 State Street
. - sufdir
-
is text (token number
7
): STREET POST-DIRECTIONAL A directional modifier that follows the street name.. Example WEST in3715 TENTH AVENUE WEST
. - ruralroute
-
is text (token number
8
): RURAL ROUTE . Example 7 inRR 7
. - extra
-
is text: Extra information like Floor number.
- city
-
is text (token number
10
): Example Boston. - state
-
is text (token number
11
): ExampleMASSACHUSETTS
- country
-
is text (token number
12
): ExampleUSA
- postcode
-
is text POSTAL CODE (ZIP CODE) (token number
13
): Example02109
- box
-
is text POSTAL BOX NUMBER (token number
14 and 15
): Example02109
- unit
-
is text Apartment number or Suite Number (token number
17
): Example 3B inAPT 3B
.
Chapter 14. PostGIS Extras |
rules table |