How to find the address is not valid even if Google returns geocoding?

Hey, guys:

I use Oracle APEX to get Google geocoding, but some addresses are actually disabled, Google returns always an alternative geocoding, probably the center of the city. Is it possible that I might know that it is in fact an invalid address, so I can avoid using these inaccurate geocoding? For example, the address is incorrect, then how do I find is invalid n address same Google map service returns a geocode?
               declare
            
                 l_address varchar2(4000);
                 l_url varchar2(32000);
                 l_response varchar2(3200);
            
                 BEGIN
                    /* TODO implementation required */
               
                    l_address:=APEX_UTIL.URL_ENCODE('Rt. 1 Box 97-5 Braggs Muskogee Oklahoma 74423');
                    dbms_output.put_line(l_address);
                    l_address := replace(l_address,' ','+');
               
                    l_url := 'http://maps.google.com/maps/geo?q='||l_address||'&'||'output=csv';
                    l_response := utl_http.request(l_url, APEX_APPLICATION.G_PROXY_SERVER);
                    dbms_output.put_line(l_response);
                    l_response:=substr(l_response,instr(l_response,',',1,2)+1);
               
                    dbms_output.put_line('In function: l_response ='||l_response);
    
  
  
            END;
    
Published by: lxiscas on August 20, 2012 13:23

Published by: lxiscas on August 20, 2012 13:23

Published by: lxiscas on August 20, 2012 13:26

Oh, and in the second place, when you look at the documentation of the api:

>
geometry contains the following information:

location contains the geocoded latitude, longitude value. For normal address searches, this field is usually the most important.
location_type stores extra data at the specified location. The following values are currently supported:

On the 'ROOF' indicates that the returned result is a precise geocoding for which we have accurate location information until the accuracy of the address.
'RANGE_INTERPOLATED' indicates that the returned result reflects an approximation (usually on a road) interpolated between two specific points (for example, intersections). Interpolated results are usually returned when the geocoded on the roof are not available for a street address.
"GEOMETRIC_CENTER" indicates that the result returned is the geometric center of a result such as a polyline (for example, a street) or polygon (region).
"APPROXIMATE" indicates that the result returned is approximate.
display window contains the window recommended to display the result returned, specified as two latitude, values of longitude defining the Southwest and northeast of the viewport encompassing. The display window is generally used to frame a result when it displays to the user.
limits (possibly returned) stores the bounding box that can fully contain the returned result. Note that these limits may not correspond to the recommended viewport. (For example, San Francisco includes the Farallon Islands, which are technically part of the city, but probably should not be returned in the display window.)
partial_match indicates that the geocode not returned an exact match to the original application, although it was not part of the requested address. You can examine the original query for misspellings or incomplete address. Partial matches most often occur for addresses that do not exist in the locality that you pass in the query.

I think you should examine the data returned by the API a bit, it should say that it is an approximate result in some cases.

. Robin

Tags: Database

Similar Questions

  • I opened a new tab, but the boxes disappeared and comes with "the address is not valid.

    I opened a new tab and it used to show my recent history in about 12 boxes but now I get this:

    "The address is not valid

    The URL is not valid and cannot be loaded.

    Oh dear.

    Unfortunetly, you'll have to do a clean reinstall of firefox.

    https://www.Mozilla.org/en-GB/Firefox/new/

    Don't forget to restart your PC inbetween facilities

    Good luck

  • The address is not valid problem when opening new tab

    opening of firefox (I crash usually close under Task Manager), it reloads all tabs as it should.
    But when you open a new tab, I get "the address is not valid.
    I tried all the parameters of the start of the blank home page and latest opening option.
    I have tried all suggestions in other markets, reset... Subject: config
    I wish it had a document giving detailed information for all parameters
    When on the topic: config and search newtab, the only user adjustment (not default) is
    browser.newtabpage.storageVersion; 1 and I tried 0,1,2,3,4,5 restart no change even between the two.
    Have been re-intall, reset, safe mode, nothing works
    the tab works normally after the error, which means that I can start typing in the address bar and even complete works of auto... I restarted just fz and he did a 27.0.1 update
    that did not fix it either... I'm bored of the default page of fx that has recent photos.


  • Windows Anytime Upgrade will not go beyond the first screen. He tells me that my address is not valid, even if it is correct.

    I get my exact address, all fields of the form are 100% correct and it does not tell my that my address is not valid. I'm confused, because I have never had any problems to enter my own address, nor usually have problems try to give my money to people. I'll have to waste time on this is pretty insulting. Windows 7 has been well otherwise.

    Posting here instead: http://social.answers.microsoft.com/Forums/en-US/w7install/threads

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • How to find the ADDRESS, HASH_VALUE of V$ SQLAREA for a request to purge?

    I read on how to use the INVALIDHTOMEH package to remove an application from the shared pool.

    I'm looking at the example on this page:

    https://blogs.Oracle.com/Mandalika/entry/oracle_rdbms_flushing_a_single

    He gives an example of:

    SQL > select ADDRESS, HASH_VALUE of V$ SQLAREA where SQL_ID like '7yc % ';

    ADDRESS HASH_VALUE
    ---------------- ----------
    000000085FD77CF0 808321886

    My question how they find the SQL_ID of the query they are wanting to be served before this step?


    Thanks in advance,

    Cayenne

    >
    How did find the SQL_ID of the query they are wanting to be served before this step?
    >
    They probably got from V$ SQL

    select sql_id, plan_hash_value, exact_matching_signature, sql_plan_baseline from v$sql
    where sql_text = '. . put your query here . . .'; 
    

    Make a request like this or use WHERE SQL_TEXT LIKE if you know a part of the text of the query. Then use the SQL_ID.

  • Windows live mail. I sent an email and one of the addresses is not valid. I want to remove

    I snet an email using direct and one email address in most parts was no longer valid. The sint message showing in my drafts but they live mail continues to try to send whenever I open or close the box with the letters. How can I remove this message so he'll quit trying to send?

    Hello

    I suggest you to post your problem in windows live community given that the issue is with Windows Live mail. Support team live Windows would be better for help you with this problem.

    http://windowslivehelp.com/community/

    Thanks and greetings
    Umesh P - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • I can't get my default address bar, whenever I try to do a search for it a message pops up saying that the address is not valid, that the URL is not valid

    I'm sure that you when it is able to search from the location bar, however I can't do that. If you just type a Word, a message appears saying it was not valid, or a valid url. If you type in a word associated with a web page, it will go to this page... for example, if you type in the fire engine, I get the message, but if I type in snopes, it goes to www.snopes .com

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do not click on the reset button on the start safe mode window or make changes.

    One possible cause is security software (firewall, antivirus) that prevents or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

    Do a clean reinstall and remove the Firefox program folder before reinstalling a new copy of Firefox.

    Download a new copy of Firefox and save the file to the desktop.

    Uninstall your current version of Firefox, if possible, the settings in the software security and cleaning of the Windows registry.

    • Do NOT remove the data personal when you uninstall your current version of Firefox, because all profile files will be deleted and you will also lose your personal data such as bookmarks and passwords from other versions of Firefox profiles.

    Delete the program folder Firefox before installing newly downloaded copy of the Firefox installer.

    Your bookmarks and other profile data is stored in the Firefox profile folder and will not be affected by a uninstall and (re) install, but make sure that 'delete personal data' is NOT selected when you uninstall Firefox.

    If you keep problems also create a new profile.

  • Try loading "subject: preferences" and Firefox responds 'the address is not valid' and 'Page download problem'... what gives?

    The question has all the details inside...

    Start Firefox in Safe Mode to check if one of the extensions (Firefox, Tools/menu key > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox, Tools/menu key > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe

    Do a clean reinstall and delete the program folder before Firefox to (re) install a new copy of the current version of Firefox.

    If possible to uninstall your current version of Firefox to clean the Windows registry and settings in the security software.

    • Do NOT remove the "personal data" when you uninstall your current version of Firefox, because this will remove all profile folders and you lose personal data such as bookmarks and passwords including data profiles created by other versions of Firefox.

    Delete the program folder Firefox before installing newly downloaded copy of the Firefox installer.

    • (32-bit Windows) "C:\Program Files\Mozilla Firefox\"
    • (Windows 64 bit) "C:\Program Files (x 86) \Mozilla.

    Your personal data such as bookmarks are stored in the Firefox profile folder, so you will not lose data when you uninstall and (re) install or update Firefox, but make sure you do NOT delete personal data when you uninstall Firefox which removes all Firefox profile folders and you lose your data.

    If you keep the problems, and then create a new profile.

  • When I click on my icon of firefox homepage says "the address is not a valid URL. The URL is not valid and cannot be loaded. How can I fix it?

    When I downloaded Mozilla Firefox and clicked on the Firefox icon I get this message on the Firefox homepage "the address is not valid.

    The URL is not valid and cannot be loaded. "I can always access the internet but what do I do to get rid of this message. The home page does not display the icon of firefox.

    You can check the setting of the homepage:

    • Tools > Options > general > startup: Homepage

    Firefox supports several home pages separated by ' |' symbol (pipe).

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • How to find the server ftp address information in BusinessCatalyst, said adobe technical support

    How to find the address of the FTP information to the catalyst for business, mine says adobe support are wrong. I haven't changed anything and it used to connect. someone please understand me, not too sure how to use a forum and do not know how to get the support of catalyst.

    Hi Michael,

    I think you talk to change pass regular FTP to the SSH connection which is now required.

    Please see the article below on this recent update and the changes needed to establish your connection via (DW or FTP client).

    - http://forums.adobe.com/docs/DOC-2841

    Kind regards

    -Sidney

  • Could not find the address eprint for my HP 6500 has more

    Help me understand how to find the address for my 6500 HP eprint has more printer so that I can set up Google cloud print on my new HP 14 "Chromebook.

    Hi lbwmson,

    Welcome to the HP Support forums.  I understand that you want to configure your Officejet 6500 a more printer to work with your Chromebook.

    We must first get the printer connected to your wireless network.  This can be easily accomplished from the front panel of the printer. the instructions are on page 224 of your User Guide in the section titled "to set up wireless communication using the Wireless Setup Wizard".

    The next step is to get your application Code when you enable web services. Once you have your request of code you want to Set Up A Custom Email Address of your printer.

    We can now implement Google Cloud Print with your HP printer.  For additional reference, I've also included how print a Page of Support of Google Chrome.  If you plan to use the scanning function please consult your User Guide on page 41.  It has a section entitled 'Analysis using Webscan'.  It will guide you through the scanning you have with the Chromebook.

  • How to find the owners of icloud id?

    IM new to this thing from icloud, I bought 3 old ipads2 on a flea market, where unlocked 2 but we have icloud, the screen is not the old owner alone info [email protected], I don't have a problem, try contacting the owner, but how to find the id of owner? even if is a stolen ipad that I'll be more than returned gad, or ask the owner to remove icloud, but without the owner info is difficult, any advice will be apreciated, thanks

    You can not find it. Go back on the market and claim a refund for the iPad.

    (140442)

  • How to find the position of the VI icon currently run on the block diagram of the appellant

    Dear forum,

    I am currently trying to use a LabVIEV VI as a simple sequencer: several (very slow) actions must run one after the other. Each action is represented by a Sub - VI, some actions are executed several times. My task is to view the Subvi somehow executing.

    My first intention (just manipulate the icon of the VI running with 'Icon.Get VI as Image data' / 'Icon.Set VI of Image data' invoke nodes) has failed, because it changes all instances of the VI icon. If you use the same VI several times, all these VI icons are changed (see here: http://forums.ni.com/t5/LabVIEW/How-to-change-animate-icon-of-currently-running-VI/m-p/3120754/highl... )

    My current approach is to use an image of the block diagram (with "VI: block diagram: get resized Image ' call method) in a picture of the front panel control and working within this control. But for this I need to know the position of the icon of the VI running. I know that I can assess the limits and Position via the properties GObj, but how to find the VI running (note that a VI can be installed several times on the block diagram, so the name of the VI is not unique)? IMHO the easiest way might be if a VI might find its icon on the block of the appellant diagram itself when it is run...

    It is clear that this position is not yet the position on the photo, but this conversion is a small piece of work...

    Kind regards

    cpschnuffel


  • How to find the email address of the printer HP 4500 ethernet to the eprint HP 4.1 android

    I can print from a windows PC 7 for printer 4500 g510g mobile, but I want to do the same thing on android 4.1. I loaded hp House ePrinter, but he asks to load maualy email address of the printer. I do not know how to find this address

    Yes. The HP and Biz app should work with your G510g. You'll need to make sure that she and the Android device you are using are on the same network, but it should work. You can find more information on how to use the home and Biz application below. I will also include the link to the list of printers that it works with.

    HP ePrint Mobile Apps FAQ:
    http://goo.GL/eyDO2

    Supported printers the HP ePrint Mobile App or HP ePrint home & Biz:
    http://goo.GL/sVIG8

  • How to find the Mac address of a Blackberry Curve 8130 BlackBerry Smartphones

    I have a wireless router in my house that has a MAC filter enabled. I do not have permission to change this setting on the router. I need to find the Mac address of the Blackberry 8130 device to be added to the routers MAC filter allow list only.

    Can someone help me with the knowledge on how to find the MAC address of a Blackberry 8130 Curve?.

    Thanks for the help in advance.

    Concerning

    VK

    I forgot to mention: new to Blackberry Curve 8130 (previous was the old black version with the wheel) and the network is T-Mobile with SIM card (not CDMA).

    Does show under Options | Status as the WLAN Mac address?

Maybe you are looking for

  • How to hide certain points on a plot of CNiGraph

    Hello I use a CNiGraph to trace (function PlotXY()) data that are stored in an array of CNiReal64Matrix. It works fine but sometimes, some of the points in the table are not valid points and I would not like to draw, IE. hide them, which could interr

  • A message Windows - no disk Exception Processing Message c0000013 parameters 75b6bf9c 4 75b6bf9c

    Hello How to solve the problem of my computer with this message Windows - no disk Exception Processing Message c0000013 parameters 75b6bf9c 4 75b6bf9c. It appears everytimes I start running my computer.After a few minutes work on my pc that these mes

  • Unrecognized files

    I have a Zip Clip with USB MSC mode. (Especially!), I have no problem at all by dragging files through and listening to them. But some mp3 files are not recognized by the player. I don't think it's a problem of DRM, the problem occurs on a free conte

  • SlotRadio: 1000 DIFFERENT songs?

    My card SlotRadio Rock has 7 playlists, but I noticed that some songs are on many reading lists. Which has me wondering... is the "1000 songs" who claimed really 1000 DIFFERENT songs, or just a total of 1000 songs between 7 playlists?

  • rooting is xperia mini pro

    I wanted to remove aapps stock like moxier of this device, but what I read I cn do this method by rooting the phone. Rooting does mean that I would not receive official updates for this device, because I don't want to take the risk if I would niss on