logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: [ gpsdrive ] update-mapnik-from-planet.sh: msg#00049

Subject: Re: [ gpsdrive ] update-mapnik-from-planet.sh
Am Samstag, 13. Oktober 2007 12:43:22 schrieb haylocki:
> 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 :-)

I renamed the option and added a comment to the help. I hope this will help. 
But in some cases you might need the user to be different.


> 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/os
>m2pgsql.py"
>
> and changing the two occurrences in the script with $osm2pgsql. A real hack
> I know, but it works for me :-)

Well, you shouldn't use the python script, but you should use the compiled c 
script at svn.openstreetmap.org/applications/utils/export/osm2pgsql/

I adapted the script to reflect this.

-
Joerg



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>