oracle geocoder versus the world · oracle geocoder versus the world spatial sig. agenda •...

Post on 24-May-2020

15 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Jon ScarbroughWhere2GetIt

Oracle Geocoder versus the World

Spatial SIG

Agenda

• Company background• Oracle geocoder implementation• Oracle geocoder benefits• Geocoder comparisons

Spatial SIG

Who We Are – What We Do

• Where2GetIt – leading provider of business, product, mobile, and search locators• We help consumers find our client’s locations and products

either online or offline• Over 500 Brands (Applebees, Office Depot, Sony,

Viewsonic, Outback Steakhouse, Columbia Sportswear, etc)

What does Oracle Spatial do for Where2GetIt?

• Provides • Address level Geocoding• Driving Directions• Reverse Geocoding

• Already a Navteq client• Use both NA and WE data sets

Oracle Geocoder Benefits

• Highly scalable and configurable• Fast performance• Easy API with consistent result format

OC4J Server 10G Database

W2GI App Cluster

OC4J Servers – Geocoder configurations• Numerous Parser Profile changes for US • Big plus – you can modify configuration• 3% improvement in address matching

P, TRAILER, TRLRP, TRAILER, TRLR, TRLR.MARTIN LUTHER KING, M L K, MLK, M.L.K.AVENUE OF, AVE. OF, AV OF, AV. OF, AVE OF<format form="0*1" effective="0-1" output="$" /><format form="10* 10*" effective="0-2" output="$" /><format form="0*-1" effective="0-1" output="$"> <exception form="0*-N" /> <exception form="0*-S" /> <exception form="0*-E" /> <exception form="0*-W" /></format>

OC4J Servers – Geocoder configurations• Numerous Parser Profile changes for US • Big plus – you can modify configuration• 3% improvement in address matching

P, TRAILER, TRLRP, TRAILER, TRLR, TRLR.MARTIN LUTHER KING, M L K, MLK, M.L.K.AVENUE OF, AVE. OF, AV OF, AV. OF, AVE OF<format form="0*1" effective="0-1" output="$" /><format form="10* 10*" effective="0-2" output="$" /><format form="0*-1" effective="0-1" output="$"> <exception form="0*-N" /> <exception form="0*-S" /> <exception form="0*-E" /> <exception form="0*-W" /></format>

Oracle Geocoder Comparison

Oracle Request format

<?xml version="1.0" standalone="yes"?>

<geocode_request vendor="elocation"> <address_list> <input_location id="27010"> <input_address match_mode="relax_posal_code"> <us_form2 street="775 Independance Dr" city="Romeoville" state="IL"/> </input_address> </input_location> </address_list></geocode_request>

Oracle Request formathttp://oraclegeocoder:8888/geocoder/gcserver?xml_request=%3Cgeocode_request%20vendor%3D%22elocation%22%3E%3Caddress_list%3E%3Cinput_location%20id%3D%2227010%22%3E%3Cinput_address%20match_mode%3D%22relax_postal_code%22%3E%3Cus_form2%20street%3D%22775%20Independance%20Dr%22%20city%3D%22Romeoville%22%20state%3D%22IL%22%20%2F%3E%3C%2Finput_address%3E%3C%2Finput_location%3E%3C%2Faddress_list%3E%3C%2Fgeocode_request%3E

Oracle Response format - XML

<geocode_response> <geocode id="27010" match_count="1"> <match sequence="0" longitude="-88.07536163500417" latitude="41.65988879723831" match_code="4" error_message="????#??U??B281CP?" match_vector="????0421210??004?"> <output_address name="" house_number="775" street="N INDEPENDENCE BLVD" builtup_area="ROMEOVILLE" order1_area="IL" order8_area="" country="US" postal_code="60446" postal_addon_code="" side="R" percent="0.41379310344827586“ edge_id="19928247"/> </match> </geocode></geocode_response>

Google Request format

http://maps.google.com/maps/geo?q=775+Independance+Dr+romeoville+IL++US&key=ABQIAAAA_VBQfvnTdodKeGbWBDNT0xRD2amtwmqAURjv8JiROX_wMNYqHBQIBrK14Wwa7jMNV8mPn86Rs2zflQ

Google Response format - JSON {"name":"775 Independance Dr romeoville IL US","Status":{"code":

200,"request":"geocode"},"Placemark":[{"id":"p1","address":"775 N Independence Blvd, Romeoville, IL 60446, USA","AddressDetails":{"Country":{"CountryNameCode":"US","CountryName":"USA","AdministrativeArea":{"AdministrativeAreaName":"IL","Locality":{"LocalityName":"Romeoville","Thoroughfare":{"ThoroughfareName":"775 N Independence Blvd"},"PostalCode":{"PostalCodeNumber":"60446"}}}},"Accuracy": 8},"Point":{"coordinates":[-88.079346,41.656240,0]}},{"id":"p2","address":"775 S Independence Blvd, Romeoville, IL 60446, USA","AddressDetails":{"Country":{"CountryNameCode":"US","CountryName":"USA","AdministrativeArea":{"AdministrativeAreaName":"IL","Locality":{"LocalityName":"Romeoville","Thoroughfare":{"ThoroughfareName":"775 S Independence Blvd"},"PostalCode":{"PostalCodeNumber":"60446"}}}},"Accuracy": 8},"Point":{"coordinates":[-88.080391,41.631266,0]}}]}

Yahoo Request format

http://api.local.yahoo.com/MapsService/V1/geocode?appid=OndYpnDV34HZThgKfM_bQ9cMLjMv5D8i3i93k8DAWNBOK1OdsMqzKEpG2gIeYB8Jc00gx6c-&location=775+Independance+Dr+romeoville+IL++US

Yahoo Response format - XML

<ResultSet xsi:schemaLocation="urn:yahoo:maps http://api.local.yahoo.com/MapsService/V1/GeocodeResponse.xsd"> <Result precision="address" warning="The exact location could not be found, here is the closest match: 775 N Independence Blvd, Romeoville, IL 60446"> <Latitude>41.659840</Latitude> <Longitude>-88.075169</Longitude> <Address>775 N Independence Blvd</Address> <City>Romeoville</City> <State>IL</State> <Zip>60446-1155</Zip> <Country>US</Country> </Result></ResultSet>

12300 South Fwy, Houston, TX

12300 South Fwy, Houston, TX

2940 North Shoreline Boulevard, Mountain View, CA

7 Hemion Rd, Suffern, NY

8301 E Florence, Downy, CA

951 NW 3RD AVE, FLORIDA CITY, FL

• 25.479183;-80.482365 (Major vendor July, 2008)• 26.666153;-80.714912 (Major vendor today)• 25.457598142956474;-80.48093296662675 (Oracle)

951 NW 3RD AVE, FLORIDA CITY, FL

4857 ST RT 51N, BELLE VERNON, PA

• 40.196458;-79.82684 (Major vendor July 2008)• 40.131954;-79.774991 (Major vendor today)• 40.19576311573241; -79.82564941948135 (Oracle)

4857 ST RT 51N, BELLE VERNON, PA

Quick Demo

Conclusion

• Oracle Geocoder• Isn’t 100% perfect but…..• Dependable platform• Custom parser profiles• Scalable & fast• Consistent response format

Become a Complete Oracle Technology and Database Professional

• Join the IOUG online at www.ioug.org and get immediate access to:• Member Discounts and Special Offers• SELECT Journal• Library of Oracle Knowledge (LoOK)• Member Directory• Special Interest Groups• Discussion Forums: • Access to Local and Regional Users Groups: • 5 Minute Briefing: Oracle• Volunteer Opportunities

Spatial SIG

Stop by the IOUG Booth

• Moscone Center West – 2nd Floor• Register for Raffles and Giveaways• Find out more about IOUG• Fill out a SIG interest card• Tell them I sent you!!!

Spatial SIG

Questions/Comments?

Spatial SIG

Save the Date!

May 3-7, 2009Orange County Convention Center WestOrlando, Florida

Spatial SIG

Thank You!

Jon Scarbroughjscarbrough@where2getit.com

Spatial SIG

top related