[ gpsdrive ] update-mapnik-from-planet.sh
haylocki
haylocki at yahoo.co.uk
Sat Oct 13 02:43:28 AKDT 2007
Hi, thanks for the quick reply
Joerg Ostertag (gpsdrive Munich/Germany) wrote:
>
>
> This is a problem. But you shouldn't use your username as the download and
> install user. This username is the download and install user. (normally
> osm)
> The osm-user normally only should have the planet files in his home
> directory
> and nothing else.
>
I realised maybe I shouldn't use my username, when I saw the script defaults
to the name "osm"
Maybe the --user-name option should be removed, then people like me won't
make stoopid miskakes :-)
> Well almost. You first got me too. But then I had a closer look.
> This command makes all the files read and writable for the user. Which is
> good, since otherwise the user can't write his own files. The +X (which is
> uppercase) means to set all x-Bits only for directories and executable
> files.
> Which sounds reasonable to me.
>
Unless you have as much as me in your home directory :-)
After waiting many hours for the planet file to download, I discovered the
script could not find
osm2pgsql.
I fixed this by adding the line :
export
osm2pgsql="/home/ian/svn.openstreetmap.org/applications/rendering/mapnik/osm2pgsql.py"
and changing the two occurrences in the script with $osm2pgsql. A real hack
I know, but it works for me :-)
Cheers, Ian
--
View this message in context: http://www.nabble.com/update-mapnik-from-planet.sh-tf4616879.html#a13188501
Sent from the GpsDrive mailing list archive at Nabble.com.
More information about the GPSdrive
mailing list