logo       

Re: [ gpsdrive ] geoinfo.pl and external link to OSM repository: msg#00104

Subject: Re: [ gpsdrive ] geoinfo.pl and external link to OSM repository
On Friday 29 December 2006 12:01, David wrote:
> Hi Joerg,
> The database create script seems to run ok now.
> (I didn't let it download the full planet.osm)
> Here is the result when I ran the command you sugested.
>
> David
>
> david@debian:~/build/gpsdrive/trunk/scripts$ ./geoinfo.pl --osm
> --area=germany
> Use of uninitialized value in sprintf
> at /opt/gpsdrive/share/perl5/Geo/Gpsdrive/Utils.pm line 64.

Ups .... these warnings should be fixed in the current svn version ... strange 
so .

> at /opt/gpsdrive/share/perl5/Geo/Gpsdrive/Way_Txt.pm line 67.


> Import OSM Data
> Import OSM Data 'germany'
> OSM::import_Data: Cannot find File 'germany'

This message is strange ... 
maybe you try again with a partial file xy.osm:
 ./geoinfo.pl --osm=xy.osm
or you use a selection out of the complete planet.osm.gz(~95MB) by telling 
geoinfo.pl (only svn Version 1176 or higher) to only use a specific area. If 
you want other areas than already existing you'll have to expand 
 scripts/perl_lib/Geo/Filter/Area.pm
You either change this File at 
 http://svn.openstreetmap.org/utils/perl/Geo/Filter/Area.pm
or send me the additions and I'll check them into the svn repository.



> david@debian:~/build/gpsdrive/trunk/scripts$
> On Fri, 2006-12-29 at 10:24 +0100, Joerg Ostertag (gpsdrive
>
> Munich/Germany) wrote:
> > > > > If you do a
> > > > >       svn up
> > > > > and then try something like
> > > > >       cd scripts
> > > > >       ./geoinfo.pl --osm --area=germany
> > > > >
> > > > > It might work to import the newest planet.osm
> >
> > Now a little more detail on the stuff i did:
> > I combined the svn repositories of GpsDrive and OpenStreetmap(OSM). The
> > reason for this is to share Code and get a possibility to easily install
> > the stuff needed for importing OSM data into GpsDrive. So i added some
> > external references to the OSM repository and more will follow:
> >     gpsdrive/trunk/scripts/perl_lib/Geo/OSM
> >     gpsdrive/trunk/scripts/perl_lib/Utils
> >     gpsdrive/trunk/scripts/perl_lib/Geo/Filter
> > This has the benefit, that this part of the code only has to be
> > maintained one time. The downside of this is, that if anyone wants to
> > change something inside these Codepart he also has to get a svn login for
> > svn.openstreetmap.org. But this shouldn't be too difficult, since the OSM
> > project is also an OpenSource Project with pretty active developers. In
> > case anyone wants to help out there or modify parts linked to the OSM
> > repository he can send a mail to 
> > nick-kMuUVokNkCa9FHfhHBbuYA@xxxxxxxxxxxxxxxx (Nick Hill) and ask
> > for a osm-svn-login. The other possibility is to send a diff to
> > me/the-list or any other developer with osm-svn-access.

-- 

Jörg (Germany, Munich)

http://www.ostertag.name/
TeamSpeak2: ts2.ostertag.name, user: tweety, Channel: "GPS Drive"
Tel.: +49 89 420950304
--
This message was part of the gpsdrive mailinglist
unsubscribing can be done by sending a mail containing a body of:
-quote--
unsubscribe gpsdrive
-unquote--
to majordomo-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx



<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