logo       

Re: [ gpsdrive ] Mapnik module: msg#00068

Subject: Re: [ gpsdrive ] Mapnik module
Hi,


Joerg Ostertag (gpsdrive Munich/Germany) wrote:
> 
> 
> But the osm2pgsql completed completely?
> 
> 

The script has just finished again and this is the final output :

Node stats: total(41758170), max(62169198)
Segment stats: total(0), max(0)
Way stats : total (4549905), max (8698245)
Way stats: duplicate segments in ways 0


Ending data import


Running analysis on intermediate data


Output processing

ian@thinkpad-t21-2:~/svn..........

The output of mapnik-osm-updater.sh --count_db

--------- Check Number of lines in Database
SELECT COUNT(*) from planet_osm_point;  =  156667
SELECT COUNT(*) from planet_osm_line;   =      0
SELECT COUNT(*) from planet_osm_polygon;        =      0
SELECT COUNT(*) from planet_osm_roads;  =      0

I did have to change this line :

 sudo -u "$osm_username" $osm2pgsql_cmd --database   "$database_name"
$planet_file

To:

 sudo -u "$osm_username" $osm2pgsql_cmd $planet_file

Otherwise I get this error :

--------- Unpack and import /home/osm/osm/planet/planet.osm.bz2
Usage error:
       
/home/ian/svn.openstreetmap.org/applications/utils/export/osm2pgsql/osm2pgsql
planet.osm

or read a .bzip2 or .gz file directly
       
/home/ian/svn.openstreetmap.org/applications/utils/export/osm2pgsql/osm2pgsql
planet.osm.bz2

or use 7za to decompress and pipe the data in
        7za x -so ~/osm/planet/planet-070516.osm.7z |
/home/ian/svn.openstreetmap.org/applications/utils/export/osm2pgsql/osm2pgsql
-

Cheers, Ian
 

-- 
View this message in context: 
http://www.nabble.com/Mapnik-module-tf4630428.html#a13224806
Sent from the GpsDrive mailing list archive at Nabble.com.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe