[ gpsdrive ] GPSdrive Digest, Vol 7, Issue 8

sza2 klt29 at freemail.hu
Sun Aug 12 22:39:55 AKDT 2007


Hi,

Thanks! I tried Documentation/install-mapnik-osm.txt. It is working:-) Although, even the latest (http://gpsdrive.de/gpsdrive.tar/gpsdrive-2.10svn15254082.tar.gz) tar does not contains install-mapnik-osm.txt. It is only appears in svn repository at http://svn.gpsdrive.cc/gpsdrive/trunk/

I realised that this method using rendering map tiles in one step by running gpsdrive_mapnik_gentiles.pl. Is it planned to render the tiles on-the-fly later?

/sza2

gpsdrive-request at lists.gpsdrivers.org írta:

Send GPSdrive mailing list submissions to
gpsdrive at lists.gpsdrivers.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive
or, via email, send a message with subject or body 'help' to
gpsdrive-request at lists.gpsdrivers.org

You can reach the person managing the list at
gpsdrive-owner at lists.gpsdrivers.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GPSdrive digest..."


Today's Topics:

   1. Vector data (OSM, WDB) failed to insert to mysql and
      displaying in gpsdrive (Tamas Szabo)
   2. Re: Vector data (OSM,WDB) failed to insert to mysql and
      displaying in gpsdrive (Joerg Ostertag (gpsdrive Munich/Germany))


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

Message: 1
Date: Thu, 09 Aug 2007 22:55:00 +0200
From: Tamas Szabo <klt29 at freemail.hu>
Subject: [ gpsdrive ] Vector data (OSM, WDB) failed to insert to mysql
and displaying in gpsdrive
To: gpsdrive at lists.gpsdrivers.org
Message-ID: <46BB7F24.4030208 at freemail.hu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

I'm using gpsdrive-2.10svn15113909, and I would like to try vector map.

I followed instruction in README.OpenStreetMap-Vektordata:

geoinfo.pl --db-user=root --db-password='mypwd' --create-db --fill-defaults

finishes successfully, but when I execute

geoinfo.pl --db-user=root --db-password='mypwd' --osm

I got the following:

Import OSM Data(world)
Delete old 'OSM node' Data
Delete old 'OSM segment' Data
Delete old 'OSM way' Data
Import OSM Data ''
Download planet-xxxxxx.osm
Mirror /home/tszabo/osm/planet/planet-070801.osm complete

than geoinfo stucks. It quicky eats my 1GB RAM that slowly occupy ~700MB 
of swap memory (this case was after ~14 hours). During CPU runs at 100% 
(until eats all RAM, than HDD using goes up to 100%). However df -h does 
not show any disk space reduction and no data imported to 'streets'.

I also tried:

geoinfo.pl --db-user=root --db-password='mypwd' 
--osm=download:muenchen_part --show-traffic

result:

Import OSM Data(world)
Delete old 'OSM node' Data
Delete old 'OSM segment' Data
Delete old 'OSM way' Data
Import OSM Data 'download:muenchen_part'
Download OSM Data
Download OSM Area muenchen_part (11.5,48,     11.6,48.1)
Get 11.5,48                        Got 11.5,48             345 Bytes
/home/tszabo/.gpsdrive/MIRROR/osm/Streets_osm_48.00,011.50,48.10,011.60.osm: 
345 Bytes

Download and import of OSM Data FINISHED

however Streets_osm_48.00,011.50,48.10,011.60.osm contains:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
   <title>403 - Forbidden</title>
  </head>
  <body>
   <h1>403 - Forbidden</h1>
  </body>
</html>

I think API 0.3 is not usable, so I modified to 0.4:

my $osm_base_url="http://www.openstreetmap.org/api/0.4/map?bbox=";

the result is a lot of "cannot determine streets_type_id for way 
(xxxxxxxx)".

In case of WDB the case is better, data is dowloaded and inserted into 
database, however in gpsdrive nothing displayed, although it can connect 
to geoinfo db as gast with pwd=gast.

Have anybody any idea what I make wrong?

Thx,

/sza2



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

Message: 2
Date: Fri, 10 Aug 2007 04:48:28 +0200
From: "Joerg Ostertag (gpsdrive Munich/Germany)"
<gpsdrive at ostertag.name>
Subject: Re: [ gpsdrive ] Vector data (OSM,WDB) failed to insert to
mysql and displaying in gpsdrive
To: GPSdrive discussion list <gpsdrive at lists.gpsdrivers.org>
Message-ID: <200708100448.29472.gpsdrive at ostertag.name>
Content-Type: text/plain;  charset="iso-8859-1"

On Thursday 09 August 2007 22:55, Tamas Szabo wrote:
> Hi,
>
> I'm using gpsdrive-2.10svn15113909, and I would like to try vector map.
>
> I followed instruction in README.OpenStreetMap-Vektordata:
>
> geoinfo.pl --db-user=root --db-password='mypwd' --create-db --fill-defaults
>
>geoinfo.pl --db-user=root --db-password='mypwd' --osm 

Ups, ....

this part of the README is a little bit outdated.
This Programm still exists and has it's use, but only will be used for the 
point of interrests to insert into the database.
The problem is that this option (--osm) only works if you have at least 4GB of 
RAM or if you specify the area option. So for example the call would be:

geoinfo.pl --db-user=root --db-password='mypwd' --osm --area=germany

But on the other Hand inserting wdb should work with less memory. But after 
this the vectordata is only in the mysql database which is almost not or 
really purely rendered. So this probably doesn't make too much sense to use.
I'll probably rip this part out of gpsdrive soon. This was kind of a proof of 
concept to work with real Vectordata.

But if you only like to have good Vectormaps, please follow the instructions 
for installing mapnik for GpsDrive.
Documentation/install-mapnik-osm.txt

There are already some basic debian packages for this purpose:
openstreetmap-mapnik-data
openstreetmap-mapnik-world-boundaries

-

Joerg


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

_______________________________________________
GPSdrive mailing list
GPSdrive at lists.gpsdrivers.org
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive


End of GPSdrive Digest, Vol 7, Issue 8
**************************************



KIVÉTELES AKCIÓK MOST! AEG-Electrolux gépek RAKTÁRRÓL, országos házhozszállítással a Márkaboltból!
http://ad.adverticum.net/b/cl,1,6022,192759,247147/click.prm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20070813/7406f966/attachment-0003.html 


More information about the GPSdrive mailing list