[OZAPRS] Xastir maps... again

Marcus B mrmabs at gmail.com
Tue Feb 6 13:23:54 EST 2007


It doesn't look like this has been solved, and I had this exact
problem the other day.

I solved it by installing the ImageMagick package as the script
requires the "identify" program (I'm glad I know perl).

Very silly error for a required program being missing, oh well :-/

If you have ImageMagick installed, try running the identify program by
itself, you should get something like this:

[13:20:00 pts/7] mabs at whitestar:~/tmp/xastir$ identify
Version: ImageMagick 6.2.4 12/13/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC

Usage: identify [options ...] file [ [options ...] file ... ]

..........

On 04/02/07, Norm, VK3XCI <vk3xci at aanet.com.au> wrote:
> g'day all'
>
> It's VERY hot here and maybe my brain has boiled, but I can't seem to
> get the inf to geo script to work to change a UI-view *.inf file to a
> *.geo file
>
> It exits with an error
>
> > root at norm-linux:/usr/share/xastir/maps/Local#
/usr//lib/xastir/inf2geo.pl mildura-ne250.inf
> > *** mildura-ne250.inf ***
> > Image file not found for mildura-ne250, maybe be a case problem
> > root at norm-linux:/usr/share/xastir/maps/Local#
>
>
> Now, I know the mildura-ne250.gif file is there. I have tried both upper
> and lower case iterations. The script seems to dump at the FindImageFile
> subroutine
>
> > sub findImageFile {
> >     $filename = shift;
> >     @extensions = ("gif", "bmp", "jpg", "png", "emf");
> >     foreach $xtn (@extensions) {
> >       $try_filename = "$filename.$xtn";
> > #     print "Looking for $try_filename\n";
> >       $string = `identify -ping $try_filename 2>/dev/null`;
> >       if ($string ne "") {
> >           $filename = $try_filename;
> >           $image_size = $string;
> >       }
> >     }
> >     if ($image_size eq "") {
> >       print "Image file not found for $filename, maybe be a case
problem\n" ;
> >       return;
>
> Maybe it cant find a valid $image_size? is the .gif corrupt?
>
> Alternatively, what is the format of the .geo, maybe I can convert by
hand?
>
>
>
>
>
>
> --
> de VK3XCI
> Norm in Mildura, QF15bt
> Australia's Wintersun City
> _______________________________________________
> Ozaprs mailing list
> Ozaprs at aprs.net.au
> http://aprs.net.au/mailman/listinfo/ozaprs
>


-- 
VK3TST
-- "People aren't stupid. Usually." -- jd
_______________________________________________
Ozaprs mailing list
Ozaprs at aprs.net.au
http://aprs.net.au/mailman/listinfo/ozaprs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://second.aprs.net.au/pipermail/ozaprs/attachments/20070206/2ef45deb/attachment.htm 


More information about the Ozaprs mailing list