[OZAPRS] Xastir maps... again

Andrew Rich vk4tec at tech-software.net
Sun Feb 4 16:50:53 EST 2007


run it from the directory where the image is



-----------------------------------------
Andrew Rich
Amateur radio callsign VK4TEC
email: vk4tec at tech-software.net <mailto:vk4tec at tech-software.net>
web: http://www.tech-software.net
Brisbane AUSTRALIA



-----Original Message-----
From: Norm, VK3XCI [mailto:vk3xci at aanet.com.au]
Sent: Sunday, 4 February 2007 1:52 PM
To: VK / ZL APRS Users
Subject: [OZAPRS] Xastir maps... again


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


_______________________________________________
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/20070204/96361a6d/attachment.htm 


More information about the Ozaprs mailing list