[Geocoding] "type keyvalue[] does not exist" error when setup Gazetteer / Nominatim
Brian Quinion
openstreetmap at brian.quinion.co.uk
Fri Jun 4 11:42:33 BST 2010
On Fri, Jun 4, 2010 at 11:30 AM, Wolf, Gregor <gregor.wolf at gmail.com> wrote:
> Hi Brian,
>
>> keyvalue is defined by osm2pgsql during the import - this would
>> indicate that you have not imported an OSM file using the gazetteer
>> option of osm2pgsql to the correct database.
>
> As described in the Readme.txt I've imported the File http://download.geofabrik.de/osm/europe/germany/bayern/oberbayern.osm.bz2 using that command:
>
> ./osm2pgsql -lsc -O gazetteer -C 2000 -d gazetteer oberbayern.osm.bz2
I would suggest you check the output of the above command for error
messages. Also check you postgresql log for errors and check you are
running the code on the same database - for instance do you have both
postgresql 8.3 and 8.4 installed?
The above command can't succeed without creating keyvalue - so it
should exit with some sort of error message.
--
Brian
More information about the Geocoding
mailing list