Reverse geocoder error

We have tried to reverse geocode with SDO_GCDR.REVERSE_GEOCODE function and NAVTEQ sample data. The first step, we geocode an address to get the ordinates and then using reverse geoding function for the returned result like below:
select SDO_GCDR.GEOCODE_AS_GEOMETRY(
'NAVTEQ',
SDO_KEYWORDARRAY(
'780 COLINAS MIRA',
'SAN DIEGO'),
'US')
from dual;
and result is:
MDSYS.SDO_GEOMETRY(2001, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1), MDSYS.SDO_ORDINATE_ARRAY(-117.10536,32.67193))
And we try with above ordinates, we get the following error:
SELECT SDO_GCDR.REVERSE_GEOCODE('NAVTEQ',
SDO_GEOMETRY(2001, 8307,
SDO_POINT_TYPE(-117.10536, 32.67193, NULL), NULL, NULL),
'US') FROM DUAL;
Error starting at line 1 in command:
SELECT SDO_GCDR.REVERSE_GEOCODE('NAVTEQ',
SDO_GEOMETRY(2001, 8307,
SDO_POINT_TYPE(-117.10536, 32.67193, NULL), NULL, NULL),
'US') FROM DUAL
Error report:
SQL Error: ORA-29532: Java call terminated by uncaught Java exception: Error:
Message:Error in ReverseGeocoder
Nested exception is:
oracle.jdbc.driver.OracleSQLException: ORA-13208: internal error while evaluating [sdo_nn_distance ancillary] operator
ORA-06512: at "MDSYS.SDO_GCDR", line 778
ORA-06512: at "MDSYS.SDO_GCDR", line 831 29532. 00000 - "Java call terminated by uncaught Java exception: %s"
*Cause:    A Java exception or error was signaled and could not be
resolved by the Java code.
*Action:   Modify Java code, if this behavior is not intended.
We don't know how to resolve that problem, have anyone can help us in this case? Thanks

Hey Ray,
Thanks for that link - it looks like what I'm running into. I made the suggested code changes, but when I tried to run it, I got some weird error and the app won't even go past the splash screen in the simulator. The log shows the following:
[Session started at 2010-05-23 15:57:07 -0700.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1461.2) (Fri Mar 5 04:43:10 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 1190.
dyld: Symbol not found: __CFStringGetUserDefaultEncoding
Referenced from: /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
in /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
No memory available to program now: unsafe to call malloc
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib")
Cannot access memory at address 0x0
Cannot access memory at address 0x0
I don't think it is related to the changes I am making, but I can be wrong. I searched for the web, but have not found any useful tips. I am using SDK 3.2.2 on OS X 10.6.3.
-Sam-

Similar Messages

  • Reverse Geocoding Error

    Hey all,
    I'm getting the below error when trying to reverse geocode.
    My user_sdo_geom_metadata srid is 8307
    All gc_road_segment geometry srid's are 8307
    Where else could this SRID conflict be coming from?
    Thanks in advance...
    Paul
         <component_error>
    Error:
    Message:Error in ReverseGeocoder
    Nested exception is:
    java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13208: internal error while evaluating [window SRID does not match layer SRID] operator
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 281
    ORA-06512: at line 1
    java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13208: internal error while evaluating [window SRID does not match layer SRID] operator
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 281
    ORA-06512: at line 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:112)
         at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:351)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:951)
         at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:383)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1057)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1218)
         at oracle.spatial.geocoder.server.ReverseGeocoder.findRoad(ReverseGeocoder.java:246)
         at oracle.spatial.geocoder.server.ReverseGeocoder.reverseGeocode(ReverseGeocoder.java:99)
         at oracle.spatial.geocoder.server.GeocoderImpl.reverseGeocode(GeocoderImpl.java:386)
         at oracle.spatial.geocoder.server.GeocoderImpl.geocode(GeocoderImpl.java:400)
         at oracle.spatial.geocoder.GCServer.process(GCServer.java:375)
         at oracle.spatial.geocoder.GCServer.doPost(GCServer.java:184)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    </component_error>

    I don't have a geometry but I'll include the xml I'm passing in to geocode (it is successfully geocoded) and the xml I'm passing in to reverse geocode (this is where i get the exception)
    Thanks
    Paul
    <?xml version="1.0" standalone="yes"?>
    <geocode_request vendor="elocation">
    <address_list>
    <input_location id="27010">
    <input_address match_mode="relax_street_type">
    <us_form2 street="Ouray NW" city="Albuquerque" state="NM"/>
    </input_address>
    </input_location>
    </address_list>
    </geocode_request>
    ========================================
    <?xml version="1.0" standalone="yes"?>
    <geocode_request vendor="elocation">
    <address_list>
    <input_location id="1" country="us" longitude="-106.69919185" latitude="35.11241" />
    </address_list>
    </geocode_request>

  • Geocode Error while creating Business Partner in Audit Management

    Hi All,
    When I try to create business partner in PLMD_AUDIT and assign it to various partner roles like Auditor, Responsible person etc. I am getting error as " Geocoder SAP0: Country specification is (Customizing) " What should be done to avoid this error?
    Found details in spro:
    For "SAP0 Geocoder" there is no function module and destination assigned, Is it the cause of error? If it is the case then what should be assigned and Let me know the standard function module.
    Regards,
    Ram.

    hi Keerthi,
    553073 is the sap note for geocode error in country specification.
    Regards,
    Ram.
    Edited by: Ramachandran Jayaraman on Jun 9, 2008 3:18 PM

  • Reverse geocoding suggestions data invisible for filename templates and plugins

    Hi,
    Reverse geocoding are amazing, saves me a lot of work, but filename template I use seems don't work well with that feature.
    With file naming scheme like this: "Country-City-Sequence # (001)" the result is "--001.jpg" instead of "France-Paris-001.jpg" and I have to confirm address for hundreds photos manually to see country and city information in filename.
    Same situation in jf PicasaWeb plugin, when using caption scheme like this: "{Country}. {City}. {YYYY}. {Caption}." the result is ". . 2012. Example caption." instead of "France. Paris. 2012. Example caption."
    It is possible for Lightroom to use address suggestions in this situations whenever address fields are empty?
    Most important for me is to plugins see the address suggestions like normal (hard) data if address fields are empty.

    Reverse geocoding are amazing, saves me a lot of work, but filename template I use seems don't work well with that feature.
    With file naming scheme like this: "Country-City-Sequence # (001)" the result is "--001.jpg" instead of "France-Paris-001.jpg" and I have to confirm address for hundreds photos manually to see country and city information in filename.
    On the face of it, Lr4's implementation of reverse geocoding is excellent, and it is when dealing with images taken at the same location. However, its handling of mixed locations is painful. In my case I use Jeffrey Friedl's plugin. It fully integrates with the Map module and allows you to reverse geocode without the limitations your currently experiencing. Very likely not what you wnated to read, but it does provided a painless solution to the problem you've identified.
    Jeffrey's plugin can be downloaed from http://regex.info/blog/lightroom-goodies/gps

  • Reverse iterator error

    I was expecting the code below to output the elements of the list but in the reverse order. Hoever the compiler error that happens at the foreach loop is beyond me. Am I declaring the foreach loop wrong? Thanks for suggestions.
    import java.util.*;
    public class Test {   
    public static Iterator reverse(List list){
        Collections.reverse(list);
        return list.iterator();
        public static void main(String[] args) {
            List list = new ArrayList();
            list.add("1");list.add("2");list.add("3");
            for(Object obj:reverse(list)) //ERROR: foreach not applicable to expression type
            System.out.print(obj);          
    }

    > ..but, I am using it , right?
    Yes. My point is that there is little - if anything
    in this case - to be gained by wrapping
    Collections.reverse() in another method.
    ~Oh, I see what you mean, just try that directly:
    import java.util.*;
    public class Test {   
        public static void main(String[] args) {
            List list = new ArrayList();
            list.add("1");list.add("2");list.add("3");
            for(Object obj:Collections.reverse(list)) //ERROR: foreach not applicable to expression type
            System.out.print(obj);          
    }...Just tried that but I guess I did something wrong, and got another compiler error at the same line again.

  • How to reverse geocode in LR4 if image is already tagged with latitude/longitude

    I've seen Terry White's video about geocoding by importing a .gpx file, but what if I've already got the latitude and longitude, and what I need is for Lightroom 4 to look up the city, state, country, etc.  Is this possible?

    Bump
    Nina Fox wrote:
    Uncheck the reverse geocoding checkboxes in the catalog settings.
    Restart LR.
    Enable the checkboxes.
    Now it works.
    This fixed the problem for any photo that does not have existing GPS coordinates embedded.  Two continuing problems:
    1 - Sadly all of my images that already have GPS coordinates embedded (iPhone shots and dSLR shots with a GPS unit) will not auto fill the City, State, Country fields. 
    2 - Having to click on the City, State, Country fields to commit them makes the feature of little value as it saves no time.  I can select images in grid mode and batch append the individual fields faster than clicking into the fields to commit.  I imagine this can be fixed by a preference that allows for some type of auto commit of the Google appended metadata.

  • Fall back of the reverse geocoder

    Hi All,
    Looking at the results of reverse geocoding, it seems that it’s only based on the street_segment geometries with a nearest neighbor search without considering the actual distance. Looking at the oracle spatial geocoder schema from NAVTEQ samples, it seem that only street segment are spatially indexed in the geocoder and the GC_AREA table doesn’t seem to even have the spatial boundaries (it just have the centroid information).
    I wanted to know if there was a reason for that behavior/design, or even a fix in later version of Oracle Spatial geocoder (we are using 10.2.0.5)
    Typically ReverseGeocoders on the market, when the point is too far from street segment, will fallback and use the spatial boundaries (municipality boundaries or state/province boundaries),
    to perform Point in polygon operation like sdo_contains to know if the point falls into a specific polygon.
    In the case of my customer, this is a huge issue, as he expect to reverse geocode in area where there are few or no street and he expect to have data from limited amount of country.
    Using reverse geocoding (implemented as nearest neighbor) in that case will give inconsistent result, that could be several kilometers or even hundred kilometers, from the point clicked.
    The easy work around I see would be to limit the distance accepted between the point clicked and the segment returned by the reverse geocoding,
    But that would have the side effect that if I click in a specific Municipality or province, I would not be able to get reverse geocoding result.
    The same way, since reverse geocoding take the nearest segment, it can return a segment in a municipality even if the point clicked is in another municipality,
    Thanks for the help,
    Pierre.

    Hi
    You would need to review the logs (MIVR/MCVD logs) to determine the cause of this failure:
    They are in subfolders of c:\program files\wfavvid\log
    Feel free to post them up.
    Aaron

  • Reverse geocoding & file naming

    Hi,
    My images are geotagged. With Lightroom 5, I can reverse geocode the images to have Country, State and City in the IPTC fields. However, unless I go in each field, they are greyed. When I want to export the images, I want to use the naming convention Country-State-City-incremental number.jpg for each image, but unless the fields have been edited, lightroom ignore the fileds (and hence put ---1.jpg). Any idea how I can confirm the location without having to go to each image and edit the fields?
    Thanks

    I agree that reverse geocoding data need to be reviewed. In my case, 85+ of the data is correct and this would be easier to validate this info with a single key combination rather than having to click in 4 field per image. Adobe is confident enough with the data to use it in filters without it being reviewed by the user, so why not in export and/or other functions? This still puzzles me. This will give the user the option to review, or trust the data retrieved.

  • Write Reverse Geocoding suggestions into xmp + make permanent easily

    So far Lightroom only exports reverse geocoding suggestions if thi option is checked in the catalog settings.
    I can see no reason why LR does not also write them out into the image file or its xmp sidecar when "Save Metadata to File" is chosen. At least it should be an option.
    It does write this data, if it was made permanent fist by clicking on the filed titles ("Sublocation", "City" etc.) and then selecting the first entry in the appearing pop-up. But this can be a tedious process if it needs to be done to multiple images with different location data (<mixed> appears in the fields).
    There should be a button "Make Reverse Geocoding suggestions permanent".
    Lastly, there is some weird behavior with the ISO Country Code field. If it was once filled out manually, then gets deleted and the image is either exported or metadata is saved to the file, the old ISO Country Code value will still be there (can be seen in Photo Mechanic).

    You might try searching for this topic here: http://feedback.photoshop.com/photoshop_family/products/photoshop_family_photoshop_lightro om , adding your voice to any existing request or creating a new feature request on this, the official request forum.

  • Unable to use reverse geocoding when renaming files

    I've asked about this on different discussion boards but no answer so far. The first versions of Lightroom that came with reverse geocoding did not have this problem. But somehow after an update in Lightroom 4 the Google reverse geocoded location fields cannot be used to rename files. This was very convenient for me to export images to people as a landscape photographer working in many places and making it easy for others to locate the place via the filename.
    Is this a bug or a Google rights thing? And is there a way to make reverse geocoded metadata permanent (not in gray and italics?) because when I overtype the place myself it does work.
    Example below: note that the fields {Country} and {City} or not added to the file name, even though they are in the metadata field.

    Don't use realtive paths, at least not without making them absolute yourself.
    Java gives you the ability to figure out the path from which the executing program was loaded. Use that, together with your relative path, to construct an absolute path.

  • LR4: Save reverse geocoded location data to DNGs

    With the introduction of the maps module I try to use it the same way I use other programs (e.g. Geosetter).
    Lightroom allows fetching reverse geocoded location information, i.e. city, state, country via Google API. This information is shown in light grey once retrieved:
    The problem is: This information is not saved with the DNG. I can activate "export reverse geocoding suggestions whenever address fields are empty" which would export these things with the JPEGs, but I want the information saved within the DNG - additional to the LR database.
    How can I achieve this or is this a feature request?

    Gotta love those hidden features :-) Thank you.
    I added a feature request for what would actually help me speed up my workflow: http://feedback.photoshop.com/photoshop_family/topics/enable_automatic_accepting_of_revers e_geocoding_suggestions

  • ADF Mobile reverse geocoding

    I'm developing my first Oracle ADF Mobile application.
    I'm using the geolocation feature to obtain the latitude and longitude of the device. I need to resolve that data to the Country the user is in.
    Given that there is a mapping component in the UI is there any API facility for reverse geocoding so that I may provide the current latitude and longitude from getDeviceManager.getCurrentPosition() and obtain the Country name or other identifier?
    Many thanks.

    Hi,
    there is no service like this in ADF Mobile. However, you can try
    http://ws.geonames.org/countryCode?lat=49.03&lng=10.2
    using a REST call where you dynamically provide "lat" and "lng" values
    http://stackoverflow.com/questions/4497728/get-country-from-latitude-longitude
    Frank

  • Reverse geocoding, county no longer working

    In my app i am getting the users location data using reverse
    geocoding.....i am getting the zipcode, city and county....the problem
    is, i was getting the name of the county right until like 2 weeks ago
    when the county is being returned as nil....i am using [placemark
    SubAdministrativeArea ] to get the county name
    does anyone know what the issue is and if there is a work around it?

    In my app i am getting the users location data using reverse
    geocoding.....i am getting the zipcode, city and county....the problem
    is, i was getting the name of the county right until like 2 weeks ago
    when the county is being returned as nil....i am using [placemark
    SubAdministrativeArea ] to get the county name
    does anyone know what the issue is and if there is a work around it?

  • Reverse geocoding

    I thought one of the features of Aperture 3 was reverse-geocoding? I am so pleased with the addition of Places, I've wanted this for a very long time! But I was hoping that reversing existing GPS co-ordinates would have been a feature so that photos can be searched for with their location data manually.
    Am I missing something?

    Yea I have those two products as well, I beta tested Maperture and it never worked for me so was over the moon to see Places in A3. I was thinking about Apple's decision to leave it out, as they put everything but the kitchen sink into Places in A3, and it tallies with the rest of the way A3 works in terms of metadata.. that is its kept separate from the file and inside a database until exported.
    So you'll have a series of relative drop-down menus which (except for custom Places added by yourself) will show the official and approved (and correctly spelt) names of places to choose from, very good but I think then Apple want you to be tied to their system until your ready for export, of which the numerical data is parsed. But searching for images via a textual search menu does not work, but then that's a habit to get out of.
    It still leaves room for rev-geocoding but I'm thankful that's all which is missing.

  • DNS question and no name available via DNS and no reverse DNS errors

    We are running an OS X server, 10.4.11, OD Master. We are getting some error messages, and we have setup DNS to forward requests for example.com. (our website) to our web developer's external web server where our website is being hosted.
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no name available via DNS for 192.168.0.5
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no reverse DNS entry for server, various services may not function properly
    Oct 15 10:31:48 [server name omitted] /usr/sbin/PasswordService: incorrect digest response
    - and -
    Oct 15 09:54:00 [server name omitted] DirectoryService[103]: GSSAPI Error: Miscellaneous failure (Server not found in Kerberos database)
    Some Background:
    We are running internal DNS services only. We have a domain, example.com. and our OS X Server, server.example.com. We have a website that is being hosted offsite by our web developer. Long ago when they were setting up the SSL certificate for the site, they obtained a certificate for example.com INSTEAD of www.example.com. So, our web developer setup a redirect to redirect web requests to www.example.com to example.com.
    Now, this brings us to our OS X server (server.example.com). We are hosting internal DNS with the same domain, example.com. When employees inside our LAN would put in our web address, example.com, or www.example.com, it would take them to our OS X server. As a workaround, in the DNS settings for the zone in server Admin, I set the Server IP address for the zone to "Other" and specified the external address to the server where the site is hosted by our developer then setup an A record for our server. (We cannot forward requests to www.example.com since our web developer automatically redirects these requests to example.com since that is where the SSL certificate and the search engines are linked to).
    Well obviously this had serious repercussions for server stability. So, I set the server IP address back to the address of our OS X server itself, 192.168.0.5.
    Now, I then went into command line and manually edited the zone files. Here's part of our zone file:
    $TTL 3600
    example.com. IN SOA server.example.com. sysadmin.example.com. (
    2008031015 ; serial
    3h ; refresh
    1h ; retry
    1w ; expiry
    1h ) ; minimum
    example.com. IN NS server.example.com.
    example.com. IN A [external IP address of web server]
    server IN A 192.168.0.5
    We are getting the following error messages regularly:
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no name available via DNS for 192.168.0.5
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no reverse DNS entry for server, various services may not function properly
    Oct 15 10:31:48 [server name omitted] /usr/sbin/PasswordService: incorrect digest response
    - and -
    Oct 15 09:54:00 [server name omitted] DirectoryService[103]: GSSAPI Error: Miscellaneous failure (Server not found in Kerberos database)
    Questions:
    Do I need to go back to our zone file and change the A record for example.com. to match our OS X server's address: 192.168.0.5?
    Secondly, is there anything I can do in DNS or elsewhere on the server to redirect web requests to example.com to our web developer's offsite server since the developer's server redirects www.example.com to example.com?
    Thanks in advance? I am stumped.
    Thanks,
    Tyler

    Problem was resolved.
    All I ended up doing was edition my reverse lookup file, db.192.168.0. It was correct, and I simply re-saved it without making any changes. Strangely enough, that did it. No idea why. Maybe a permissions issue with the file?
    I'm still running the server with address record for the domain (example.com.) mapped to our external web server. no problems.
    Tyler

Maybe you are looking for