Correct Lastline - 23.1

Spectrum Global Geocoding Guide

Product type
Software
Portfolio
Locate
Product family
Spectrum
Product
Spectrum > Geocoding > Global Geocoding
Version
23.1
Language
English
Product name
Spectrum Technology Platform
Title
Spectrum Global Geocoding Guide
Topic type
Installation
Overview
How Do I
Reference
Configuration
Copyright
2023
First publish date
2007
ft:lastEdition
2024-02-17
ft:lastPublication
2024-02-17T09:43:31.076389

When Output corrected last line is enabled, the elements of the output lastline are corrected, providing a good ZIP Code or close match on the soundex even if the address did not match or was non-existent. This feature is disabled by default.

When Correct Lastline is enabled, the following elements are corrected:

  • City correction - The city correction is based on input ZIP Code unless a match to city and state exists in which case both search areas are retained. The input state must be correct or spelled out correctly when no ZIP Code is input. The returned location code and coordinates are based on the output ZIP Code.
    • Input city is incorrect:

      HAUDENVILLE MA 01039
      Returns LASTLINE=HAYDENVILLE, MA 01039 LAT= 42396500 LON= -72689100

  • State correction - State is abbreviated when spelled out correctly or corrected when a ZIP Code is present. There are some variations of the input state which are recognized, ILL, ILLI, CAL, but not MASS. The US geocoder does not consider the abbreviation of the variation a change, so ILL to IL is not identified as a change in the match code. In addition, the output of the ZIP Code for a single ZIP Code city is not considered a change.
    • Input city exists:

      Bronx NT, 10451
      Returns LASTLINE= BRONX, NY 10451

      Bronx NT
      Returns LASTLINE= BRONX NT
      No ZIP Code for correction.

    • Input city does not exist - preferred city for ZIP Code returned:

      60515
      Returns LASTLINE=DOWNERS GROVE, IL 60515
      MATCH_CODE=E622

      ILLINOIS 60515 (or ILL 60515 or IL 60515 or ILLI 60515)
      Returns LASTLINE=DOWNERS GROVE, IL 60515
      MATCH_CODE=E222

  • ZIP Code correction - The ZIP Code is corrected only when a valid city/state is identified and has only one ZIP Code.
    • Exists on input:

      HAUDENVILLE MA 01039
      Returns LASTLINE=HAYDENVILLE, MA  01039

    • Incorrect on input - ZIP Code correction is not performed, both search areas are retained:

      HAUDENVILLE MA 01030
      Returns LASTLINE=HAYDENVILLE, MA  01030
      City and ZIP Code do not correspond.

    • Does not exist on input:

      DOWNRS GROVE, IL
      Returns LASTLINE=DOWNERS GROVE, IL
      City with multiple ZIP Codes.

      LILSE IL
      Returns LASTLINE=LISLE, IL  60532
      City with a single ZIP Code.

      DOWNERS GROVE LL
      Returns LASTLINE=DOWNERS GROVE LL,
      No ZIP Code for correction.

      DOWNRS GROVE, LL
      Returns LASTLINE=DOWNRS GROVE, LL
      No ZIP Code for correction.

      LILSE ILLINOIS
      Returns LASTLINE= LISLE, IL  60532
      Correct spelled out state.

      LISLE ILLINOS
      Returns LASTLINE= LISLE ILLINOS
      Incorrect spelled out state, no ZIP Code for correction.

Note: For information about the returned match codes, see Correct Lastline Match Codes.