Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Nominatim import pre-indexed data fails #4452

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Nominatim import pre-indexed data fails #4452

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: gmarcon[at]gmail.com
[Submitted to the original trac issue database at 4.58pm, Monday, 18th June 2012]

Importing pre-indexed data with Nominatim fails.

Command:

./nominatim -I -F latest.npi.bz2 -T ../settings/partitionedtags.def

Error:

Failed to prepare search_name_insert: ERROR:  function sort(integer[]) does not exist
LINE 1: ..., country_code, make_keywords(name), (select uniq(sort(array...
                                                             ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

(applications/utils/nominatim/nominatim/import.c, row 761)

Software version: Ubuntu 12.04 LTS (precise), Postgresql 9.1, PostGIS 1.5.3

@openstreetmap-trac
Copy link
Author

Author: gmarcon[at]gmail.com
[Added to the original trac issue at 4.49pm, Friday, 22nd June 2012]

Same error here: [http://developer.mapquest.com/web/products/open/forums/-/message_boards/view_message/277623]

@openstreetmap-trac
Copy link
Author

Author: twain
[Added to the original trac issue at 5.21pm, Friday, 22nd June 2012]

The npi service is being dropped shortly (in fact there should already be notices up, but that doesn't seem to have happened). Probably unlikely there will be any more development effort in this direction I'm afraid.

On the bright side - there is lots of effort going into making nominatim indexing quicker...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant