<div>
<div>
Thanks for your help Brian! With the fresh osm2pgsql everything went fine. I've managed to configure the service.</div>
<div>
</div>
<div>
However the reverse geocoding doesn't work as I expected. I've imported the biggest sized extract I could find of Hungary (from <a class="external free" href="http://downloads.cloudmade.com/" rel="nofollow" style="text-decoration: none; color: rgb(51, 102, 187); background-image: url(http://wiki.openstreetmap.org/w/skins/vector/images/external-link-ltr-icon.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; padding-top: 0px; padding-right: 13px; padding-bottom: 0px; padding-left: 0px; background-position: 100% 50%; background-repeat: no-repeat no-repeat; ">http://downloads.cloudmade.com/</a> , updated on 04 Nov), but It gives false result. I've tried different coordinates of the capitol Budapest (which is almost fully covered in the osm), but It gave me the same result always (a wrong address in Budapest). The same lookups work well in the official page, but not in my config.</div>
<div>
</div>
<div>
I haven't experienced any strange behavior during the installation, but this message is written in the apache log after a lookup:</div>
<div>
<div id="cke_pastebin">
[Wed Nov 17 15:22:32 2010] [error] [client 10.0.100.25] PHP Notice: Use of undefined constant CONST_BulkU</div>
<div id="cke_pastebin">
serIPs - assumed 'CONST_BulkUserIPs' in /var/www/geokod_test/reverse.php on line 5</div>
<div>
</div>
<div>
What do you think? Should I try it with another extract?</div>
<div>
</div>
<div>
Kind regards,</div>
<div>
Gergõ</div>
<div>
</div>
<br />
Brian Quinion <openstreetmap@brian.quinion.co.uk> írta:</div>
<blockquote style="border-left:3px solid lightGray;padding-left:3px;">
> Now when I'm trying to import an extract of the planet.osm with osm2pgsql, I<br />
> get this error:<br />
> select update_place(place_id::integer) from placex where indexed=false and<br />
> class='place' and type='houses' failed: ERROR: relation "placex" does not<br />
> exist<br />
<br />
This bug was fixed some time ago so you are running an old version of osm2pgsql.<br />
<br />
I'd suggest you just update to the most recent version in svn.<br />
<br />
--<br />
Brian</blockquote>
</div>