Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

processIncident.js: determine address failure cases for GeoCode API #11

Open
jpbatz opened this issue Feb 9, 2015 · 1 comment
Open

Comments

@jpbatz
Copy link
Contributor

jpbatz commented Feb 9, 2015

AddressFailures.dat contains sample failed addresses
Please continue to add to the list as you find problem addresses, and proposed approach to a solution.

Address Type 1: "&" with text directly before and after
Possible Resolution 1: regular expression to replace text&text with text & text
Samples Type 1:
KAM HWY&LEHUA AVE
KAM HWY&MARCONI RD
KAM HWY&N NIMITZ HWY
KAM HWY&PALI HWY
KAM HWY&SALT LAKE BLVD
KAM HWY&WAIMANO HOME RD

Address Type 2: Record #2: added all 3 and in various combinations along with HI, but was not able to retrieve valid geo coordinates:
area: "HONOLULU"
location: "H1E AIRPORT OFF"
address: "16X E H1 FWY"
Possible Resolution 2:
Samples Type 2:
11X W H1 FWY
12X E H1 FWY
13X E H1 FWY
15X W H1 FWY
16X W H1 FWY
20X E H1 FWY
20X W H1 FWY
21X W H1 FWY
22X E H1 FWY
22X W H1 FWY
23X E H1 FWY
25X E H1 FWY
25X W H1 FWY
26X E H1 FWY
57X E H3 FWY
57X W H3 FWY
X S H2 FWY

Address Type 3: "KAM" not recognized
Possible Resolution 3: use regex to replace with "KAMEHAMEHA"
Samples Type 3:
49004X KAM HWY
51039X KAM HWY
53030X KAM HWY
55040X KAM HWY
61052X KAM HWY
71040X KAM HWY

Address Type 4: combination of Type 1 and Type 3
Possible Resolution 4: use Type 1 and Type 3 corrections
Samples Type 4:
KAM HWY&LEHUA AVE
KAM HWY&MARCONI RD
KAM HWY&N NIMITZ HWY
KAM HWY&PALI HWY
KAM HWY&SALT LAKE BLVD
KAM HWY&WAIMANO HOME RD
JOSEPH P LEONG HWY&KAM HWY

Address Type 5:
Possible Resolution 5:

Address Type 6:
Possible Resolution 6:

Address Type 7:
Possible Resolution 7:

Address Type 8:
Possible Resolution 8:

Address Type 9:
Possible Resolution 9:

Address Type 10:
Possible Resolution 10:

Need to identify why these failed (and how to make them valid):

Interstate H-201 or Route 78:
18X W MOANALUA FWY
30X W MOANALUA FWY
33X E MOANALUA FWY

MIDDLE ST/E MOANALUA FWY

94038X PUPUPANI ST

FARRINGTON/POWER PLANT

H1W PRI H2 SPLIT

H2N B4 KA UKA

H3E HALAWA VLY UP

H3E E HARANO TUNNEL
H3E W HARANO TUNNEL
H3W E HARANO TUNNEL

LUNALILO ONTO H1W

MFW ARIZONA OFF

@jpbatz
Copy link
Contributor Author

jpbatz commented Feb 12, 2015

Resolution recommendation for Address Type 3 and Type 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant