LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-02-2010, 03:51 AM   #1
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Gpsdrive always shows default maps !


Hi all !

I have build gpsdrive from source on OpenSuse 11.2

When I execute it from a normal user, it runs properly executing some select queries !

Problem 1:______________________________________________________

Now when I scrolled up the screen, I saw the following errors/messages:

DB: Using waypoints from local user file.
read_themed_icon([square.big] places): No Icon 'places' found for theme square.big
read_themed_icon([square.big] places.settlement): No Icon 'places.settlement' found for theme square.big
read_themed_icon([square.big] places.settlement.capital): No Icon 'places.settlement.capital' found for theme
square.big
read_themed_icon([square.big] places.settlement.city): No Icon 'places.settlement.city' found for theme
square.big
read_themed_icon([square.big] places.settlement.hamlet): No Icon 'places.settlement.hamlet' found for theme
square.big

I have duly installed all the icons needed and still all this is shown !

Problem 2:______________________________________________________

I have followed the following steps and loaded the map in the database, but when I run gpsdrive it shows some default maps !

wget http://planet.openstreetmap.org/planet-latest.osm.bz2
cd /usr/local/src/gpsdrive/osm2pgsql
./osm2pgsql -m -d gis ../planet-latest.osm.bz2

Kindly help !!

EDIT:
If there is some information that I should state clearly, please let me know !

Last edited by Aquarius_Girl; 01-02-2010 at 04:50 AM.
 
Old 01-02-2010, 05:34 AM   #2
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
now I have enabled mapnik mode but the map data is not shown !

I ran the following command:

./mapnik-osm-updater.sh --grant-db-users=*

which resulted in following:

which: no osm2poidb in
(/usr/lib64/mpi/gcc/openmpi/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/kde3/bin)
Missing osm2poidb in PATH
Missing osm2poidb
which: no osm-planet-mirror in

(/usr/lib64/mpi/gcc/openmpi/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/kde3/bin)
Missing planet-mirror.pl in PATH
Missing planet-mirror.pl

-------- GRANT Rights to every USER
Granting rights to users: ' anisha'
Granting all rights to user 'anisha' for Database 'gis'

I am worried about these:
Missing osm2poidb in PATH
Missing osm2poidb


----------------------------------------------------------------------

Then I ran the following command:
./mapnik-osm-updater.sh --count-db --osm-username=anisha

which: no osm2poidb in (/usr/lib64/mpi/gcc/openmpi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/kde3/bin)
Missing osm2poidb in PATH
Missing osm2poidb
which: no osm-planet-mirror in (/usr/lib64/mpi/gcc/openmpi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/kde3/bin)
Missing planet-mirror.pl in PATH

Missing planet-mirror.pl


!!!!!! ERROR: Don't use your own login account as the osm_username!!


Are they related to map not showing ?

Last edited by Aquarius_Girl; 01-02-2010 at 07:35 AM.
 
Old 01-04-2010, 04:33 AM   #3
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
In addition to above, I realized:

I don't have a gpsd installed ? I wonder if that is the cause of maps not getting displayed !

EDIT:
And it is gpsdrive-2.10pre6 from svn.

Last edited by Aquarius_Girl; 01-04-2010 at 05:27 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dns is resolved but the site shows default page sunethj Linux - Server 2 01-08-2008 03:04 AM
Fedora Core 7 - RO mount but /etc/fstab shows default icstepec Linux - Newbie 3 08-11-2007 11:37 PM
route shows two default paths - how to remove one? __spc__ Linux - Networking 4 03-30-2006 10:50 AM
httpd default page shows code tommytomato Linux - General 3 03-09-2005 08:16 PM
Apache 2.0 Only shows default page wasaabi4784 Linux - Software 5 08-27-2004 03:19 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration