LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Gpsdrive always shows default maps ! (https://www.linuxquestions.org/questions/programming-9/gpsdrive-always-shows-default-maps-779375/)

Aquarius_Girl 01-02-2010 03:51 AM

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 !

Aquarius_Girl 01-02-2010 05:34 AM

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 ?

Aquarius_Girl 01-04-2010 04:33 AM

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.


All times are GMT -5. The time now is 09:40 PM.