[OZAPRS] Xastir maps... again

Andrew Rich vk4tec at tech-software.net
Sun Feb 4 22:11:03 EST 2007


Here is an example I just ran, maybe this can help ?

linux:/usr/local/share/xastir/maps # ll Perth*
-rwxrwxrwx  1 root root 411403 Nov 13  2005 Perth.gif
-rwxrwxrwx  1 root root     57 Nov 13  2005 Perth.inf

linux:/usr/local/share/xastir/maps # ./inf2geo.pl Perth.inf
*** Perth.inf ***
Found this image: Perth.gif GIF 1024x864 1024x864+0+0 PseudoClass 256c
402kb
0.160u 0:02

linux:/usr/local/share/xastir/maps # cat Perth.inf
31.40.96S, 115.26.44E
32.24.77S, 116.27.77E
Perth.png

I do not think it matters that the inf refers to a "Perth.png" , the perl
script is just looking in the directory for Perth.* (outside of Perth.inf)

Things I did to make it break

1. Rename Perth.gif to Perth.GIF (this shows how case can affect it)

linux:/usr/local/share/xastir/maps # ./inf2geo.pl Perth.inf
*** Perth.inf ***
Image file not found for Perth, maybe be a case problem

2. Fix = rename Perth.GIF to Perth.gif



-----------------------------------------
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


_______________________________________________
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/125d4da3/attachment.htm 


More information about the Ozaprs mailing list