[ gpsdrive ] update-mapnik-from-planet.sh
Joerg Ostertag (gpsdrive Munich/Germany)
gpsdrive at ostertag.name
Sun Oct 14 02:39:43 AKDT 2007
On Sonntag 14 Oktober 2007, Joerg Ostertag (gpsdrive Munich/Germany) wrote:
> On Samstag 13 Oktober 2007, Hamish wrote:
> > > Joerg Ostertag 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.
> >
> > haylocki:
> > > 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 :-)
> >
> > perhaps add something like
> >
> > if [ "$user_name" = "$USER" ] ; then
> > echo "Don't use your own login account for this." 1>&2
> > exit 1
> > fi
>
> I added a comment to the help. Do you think that is enough or do you think
> we need this check too?
By the way, I moved the script in the svn repository closer to the exporter.
svn.openstreetmap.org/applications/utils/export/osm2pgsql
More information about the GPSdrive
mailing list