[Geocoding] osm2pgsql / Gazetteer import errors

Brian Quinion openstreetmap at brian.quinion.co.uk
Tue Jan 5 00:10:29 GMT 2010


On Mon, Jan 4, 2010 at 9:16 PM, Frans Hals <fhals7 at googlemail.com> wrote:
> Sorry, if I haven't been precise enough.
> When I launch util.update.php via a webbrowser, I have to stay connected
> until it finishs or the job is cancelled.
> So my question was, if there is another way to call it i.e. from commandline
> to start the import.
> Please correct me, if I'm wrong...

ah, I understand now.

util.update.php is a command line php script only - it won't work from
a web browser at all.  Run it like any other linux command

./util.update.php --help

to see the list of options

./util.update.php --index

(you may need to install php5-cli rpm / package)

--
 Brian




More information about the Geocoding mailing list