This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Issue importing tiger data into nominatim

0

Hi,

I've imported openstreet data successfully, and now I'm importing the tiger2013 edges files into nominatim, all seems to go well when running the script but querying the local nominatim gives no results while the public server does.

EDIT:

tail of /var/log/prosgres im getting close - its looks like an issue with function get_partition


UTC ERROR: function get_partition(geometry, unknown) does not exist at character 8

UTC HINT: No function matches the given name and argument types. You might need to add explicit type casts

UTC QUERY: SELECT get_partition(place_centroid, 'us')


how do i fix this?

asked 25 Jun '14, 13:59

Rob's gravatar image

Rob
15113
accept rate: 0%

edited 26 Jun '14, 14:40


One Answer:

2

It looks like an incompatibility was introduced when some of the functions where updated. I've committed something that should fix the problem although I've not completely tested it yet.

answered 26 Jun '14, 17:13

twain's gravatar image

twain
2.4k2538
accept rate: 40%

Thanks for the response, I've pulled the latest version and now the error is slightly different:


UTC ERROR: function tigger_create_interpolation(geometry, unknown, unknown, unknown, unknown, unknown, unknown) does not exist at character 8

UTC HINT: No function matches the given name and argument types. You might need to add explicit type casts.


EDIT:

when i ran the tigger_create_interpolation function manually i got errors about postgis .so files

i found a fix > http://gis.stackexchange.com/questions/97871/postgis-2-1-error-after-update

its rolling along importing now! :)

(26 Jun '14, 17:32) Rob

Source code available on GitHub .