[OSM-talk] Bezier Curves (was Re: Frustration of an experienced mapper)

maning sambale emmanuel.sambale at gmail.com
Mon Mar 5 16:44:54 GMT 2007


I installed libmath-vec-per from edgy
Now I get this

maning at cumingi:~/geodata$ cd osm_tracks
maning at cumingi:~/geodata/osm_tracks$ perl lines2curves.pl
/home/geodata/map_svg/map.svg > test _bez.svg
Can't open /home/geodata/map_svg/map.svg: No such file or directory at
lines2curves.pl line 61 .

Line 60 to 63 of the lines2curves.pl is this code below:

# %to_transform structures.
while (<>) {
    my $line = $_;
    $svg_lines[$line_position] = $line;

Sorry for this might be obvious to perl users, I just don't know right now.
Thanks!

Maning

On 3/3/07, J.D. Schmidt <jdsmobile at gmail.com> wrote:
> maning sambale skrev:
> > Running lines2curves.pl I get this:
> >
> > perl lines2curves.pl /home/geodata/map_svg/map.svg > test_bez.svg
> > Can't locate Math/Vec.pm in @INC (@INC contains: /etc/perl
> > /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5
> > /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> > /usr/local/lib/site_perl .) at lines2curves.pl line 46.
> > BEGIN failed--compilation aborted at lines2curves.pl line 46.
> >
> > I'm using the default perl i Dapper.
> >  v5.8.7 built for i486-linux-gnu-thread-multi
> >
>
> Install the math::vec perl module.
> For (foo)ubuntu  do the the following items :
> Enable universe package repositories.
> Open a terminal window.
> Enter the following command (without quotes) "sudo apt-get install
> libmath-vec-perl", then press enter.
>
> J.D. "Dutch" Schmidt
>


-- 
|---------|----------------------------------------------------------|
| __.-._  |"Ohhh. Great warrior. Wars not make one great." -Yoda     |
| '-._"7' |"Freedom is still the most radical idea of all" -N.Branden|
|  /'.-c  |Linux registered user #402901, http://counter.li.org/     |
|  |  /T  |http://esambale.wikispaces.com|
| _)_/LI  |http://www.geocities.com/esambale/philbiodivmap/philbirds.html   |
|---------|----------------------------------------------------------|




More information about the talk mailing list