[OSM-newbies] conversion script ....
Keith Ng
khensthoth at gmail.com
Mon Oct 8 05:51:48 BST 2007
---------- Forwarded message ----------
From: Keith Ng <khensthoth at gmail.com>
Date: Oct 8, 2007 2:47 PM
Subject: Re: [OSM-newbies] conversion script ....
To: Francois De Ryckel <francois.deryckel at isdbd.org>
Alright. Firstly you will need to get Perl for Windows. The easiest way to
get it is ActivePerl.
http://www.activestate.com/store/download_file.aspx?binGUID=e5c71329-b7a6-4563-8199-e1483f751c4f
Click on the link above and you should be able to download it (hopefully).
Next, install ActivePerl. Then, download the conversion script from the link
below. If you need to convert data from API 0.4 to 0.5, you will need
04to05.pl
http://svn.openstreetmap.org/applications/utils/conv05/
Put this script in the same directory (folder) as your osm data that you
want to convert. For example, I have a folder C:\OSM which contains all the
OSM data and programs. I put 04to05.pl into C:\OSM, and I should have the
OSM data (.osm) I want to convert in the same folder.
Next, click on Start, and Run. Type in cmd and a command prompt window
should show up. Go to the aforementioned directory by typing "cd C:\osm" (in
my example) without the quotes.
Cmd should now show this:
C:\osm>
Then you type in ths following, substituting (oldfilename) with the file
name of the old 0.4 data and (newfilename) with the new file name you want
and press enter:
perl 04to05.pl <(oldfilename).osm >(newfilename).osm
You should now see a new file (newfilename).osm in the said directory. Use
the newer version of JOSM to open this.
Should you not understand any of the step, let me know. Thanks.
On 10/8/07, Francois De Ryckel <francois.deryckel at isdbd.org> wrote:
>
> Hello Keith,
>
> Yes I'm running on Windows ...
> Thanks in advance for your help
>
> Francois
>
>
> Keith Ng wrote:
> > What Operating System are you using? That would help a lot.
> >
> > Also, here's the Perl Script.
> > http://svn.openstreetmap.org/applications/utils/conv05/
> >
> > If you are running Windows I can guide you through the process of
> running
> > it.
> >
> > On 10/8/07, Francois De Ryckel <francois.deryckel at isdbd.org> wrote:
> >>
> >> Hello,
> >>
> >> It is said that there is a script to convert from the 0.4 to 0.5format.
> >> I went here but didn't find anything I could run (or please tell how to
> >> do
> >> it?) I've worked a lot over the weekend and all my data are in the 0.4
> >> version of osm and there are not uploaded yet to the server - I really
> >> don't want to loose them :(
> >>
> >> Thanks for your help.
> >>
> >> Francois
> >>
> >>
> >> Francois De Ryckel wrote:
> >> > Hello there,
> >> >
> >> > Each time, I've tried to uplodad my OSM file to ther server, I'm
> >> getting
> >> > this error message:
> >> >
> >> > "Error while parsing: An error occured: 417 Unknown"
> >> >
> >> > I'm working on the Dhaka (Bangladesh) map
> >> > Does anyone has an explanation?
> >> >
> >> > Cheers :)
> >> >
> >> >
> >> > François de Ryckel
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > newbies mailing list
> >> > newbies at openstreetmap.org
> >> > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/newbies
> >> >
> >>
> >>
> >> François de Ryckel
> >>
> >>
> >> _______________________________________________
> >> newbies mailing list
> >> newbies at openstreetmap.org
> >> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/newbies
> >>
> >
>
>
> François de Ryckel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/newbies/attachments/20071008/3a0754fc/attachment.html>
More information about the newbies
mailing list