You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: jenciso [Submitted to the original trac issue database at 8.26pm, Tuesday, 15th April 2014]
Hi
I'm using Nominatim 2.2 version for reverse query. In this request (see below) the response for country_code is wrong, it should be "ar" instead "aq". I would like to know if it could be fixed modify someone row in the postgre table.
* Closing connection #0
Felipe Vallese, Caballito, Ciudad Autnoma de Buenos Aires, C1414DLC, ArgentinaFelipe ValleseCaballitoCaballitoCiudad Autnoma de Buenos AiresCiudad Autnoma de Buenos AiresC1414DLCArgentinaaq
The text was updated successfully, but these errors were encountered:
To update an install apply this patch. Then do a to apply changes ./utils/setup.php --enable-diff-updates --create-functions --create-partition-functions
Find the place_id for Argentina, Norway and Australia and do the following:
//for each country
update placex set indexed_status = 2 where place_id = <country place_id>;
./utils/update --index --index-instances 2
Check if country codes are correct for countries. Then do this which will take some time (1-2 days with a full planet on a decent machine):
//for each country
select place_force_update(<country place_id>);
./utils/update --index --index-instances 2
/Anders
Replying to [ticket:5157 jenciso]:
Hi
I'm using Nominatim 2.2 version for reverse query. In this request (see below) the response for country_code is wrong, it should be "ar" instead "aq". I would like to know if it could be fixed modify someone row in the postgre table.
* Closing connection #0
Felipe Vallese, Caballito, Ciudad Autnoma de Buenos Aires, C1414DLC, ArgentinaFelipe ValleseCaballitoCaballitoCiudad Autnoma de Buenos AiresCiudad Autnoma de Buenos AiresC1414DLCArgentinaaq
Reporter: jenciso
[Submitted to the original trac issue database at 8.26pm, Tuesday, 15th April 2014]
Hi
I'm using Nominatim 2.2 version for reverse query. In this request (see below) the response for country_code is wrong, it should be "ar" instead "aq". I would like to know if it could be fixed modify someone row in the postgre table.
Thanks
[root@1yt ~]# curl -vs 'http://localhost/nominatim/reverse.php?format=xml&lat=-34.612869&lon=-58.4459789&zoom=18&addressdetails=1&accept-language=pt-BR'
< HTTP/1.1 200 OK
* Closing connection #0 Felipe Vallese, Caballito, Ciudad Autnoma de Buenos Aires, C1414DLC, ArgentinaFelipe ValleseCaballitoCaballitoCiudad Autnoma de Buenos AiresCiudad Autnoma de Buenos AiresC1414DLCArgentinaaq< Date: Thu, 17 Apr 2014 17:25:52 GMT
< Server: Apache
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: OPTIONS,GET
< Cache-Control: max-age=604800
< Expires: Thu, 24 Apr 2014 17:25:52 GMT
< Vary: Accept-Encoding
< Content-Length: 848
< Connection: close
< Content-Type: text/xml; charset=UTF-8
<
The text was updated successfully, but these errors were encountered: