[OZAPRS] XASTIR - maps
Steven Heimann
steven at nami.com.au
Tue Nov 17 15:00:46 EST 2009
Hi Andrew
I had a similar
problem quite recently. I believe it is something to do with a missing
library for the conversion from jpeg to whatever Xastir uses internally.
I didn't actually solve the problem but did come up with a work around.
Someone more knowledgeable than me may be able to give a better
solution.
I used imagemagick to convert all the jpegs to gifs. I am not near that
box at the moment but something like the following in the map directory
should work:
find . -name *.jpg -exec convert \{\} \{\}.gif \;
rename 's/.jpg//' *.gif
and then edit the .geo files to point to the gif rather than the jpeg.
I can't remember whether I used Perl or sed
perl -pi -e "s/.jpg/.gif/;" *.geo
You will need to get the case correct.
I wrote the above from (my poor) memory. There may be a few syntax
errors. If you need more a more accurate guide let me know and I will
check it when I am at home.
Regards
Steven VK2BOS
On Tue, 2009-11-17 at 14:42 +1100, Andrew Gilbett wrote:
> Hi,
>
> I am using XASTIR from the ubuntu repositories and I would like to get
> the NSW maps going.
> I have downloaded the maps from the APRS.net.au site (thanks for
> posting those maps!) and put them in a new directory inside
> /usr/share/xastir/maps .
> Then I re indexed the maps and selected the correct folder from map
> chooser. Here is where it all goes a bit off the rails because instead
> of the map image a black square is displayed in the correct place that
> I would expect the map to be.
> This means that the new maps and georeference files have been found
> and the image also found but not interpreted correctly.
> Is there something else that I should do. I am also assuming that apt
> has correctly installed the necessary dependencies.
> I am running ubuntu 9.04 64bit.
>
> Any help would be appreciated. If you need further info please just ask.
>
>
> Thanks :-)
> Andrew Gilbett
> andrew.gilbett at gmail.com
> VK2XAG
> _______________________________________________
> OZAPRS mailing list
> OZAPRS at aprs.net.au
> http://lists.aprs.net.au/mailman/listinfo/ozaprs
More information about the OZAPRS
mailing list