Fordward And Reverse Geocoder addesses do not match up (Doc ID 1462320.1)

Last updated on JUNE 26, 2012

Applies to:

Oracle Spatial - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms

When making a request for an address in geocoder, it responds with the address along with it's latitude and longitude.

However, if you make a reverse geocoder request with the longitude and latitude from the previous request, it will return a different address.

Example

REQUEST for house_number 19 in "Goya" street in Madrid, Spain:

<?xml version="1.0" standalone="yes"?>
<geocode_request vendor="elocation">
<address_list>
 <input_location id="1">
   <input_address match_mode="default">
     <gen_form
       street="calle de goya, 19"
       city="Madrid"
       country="ES"/>
   </input_address>
 </input_location>
</address_list>
</geocode_request>

Results:

<?xml version="1.0" encoding="UTF-8"?>
<geocode_response>
<geocode id="1" match_count="1">
<match sequence="0" longitude="-3.68681" latitude="40.42534" match_code="1"  error_message="??X?#ENUT?B281CP?" match_vector="?010101010??404?">
<output_address name="" house_number="19" street="Calle de Goya" builtup_area="Madrid" order1_area="MADRID" order8_area="" country="ES" postal_code="28001" postal_addon_code="" side="R" percent="0.19" edge_id="68495598" />
</match>
</geocode>
</geocode_response>

Now if we use the longitude and latitude from the previous response in a reverse geocoder request:

REVERSE REQUEST:

<?xml version="1.0" standalone="yes"?>
<geocode_request vendor="elocation">
<address_list>
 <input_location id="1"
 country="ES"
 longitude="-3.68681" latitude="40.42534" >
 </input_location>
</address_list>
</geocode_request>

REVERSE ANSWER returns house_numer 8 instead of 19:

<?xml version="1.0" encoding="UTF-8"?>
<geocode_response>
<geocode id="1" match_count="1">
<match sequence="0" longitude="-3.686809936900068" latitude="40.42534133561521" match_code="1"  error_message="" match_vector="???14141414??404?">
<output_address name="" house_number="8" street="Calle de Goya" builtup_area="Madrid" order1_area="Madrid" order8_area="" country="ES" postal_code="28001" postal_addon_code="" side="L" percent="0.18892669347266294" edge_id="68495598" />
</match>
</geocode>
</geocode_response>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms