[Xastir] Maps.
Erik Jakobsen
eja at urbakken.dk
Fri Jan 23 15:13:47 EST 2004
Brian D Heaton wrote:
> On Fri, 2004-01-23 at 12:13, Erik Jakobsen wrote:
>
>>Curt, WE7U wrote:
>>
>>>On Fri, 23 Jan 2004, Erik Jakobsen wrote:
>>>
>>>
>>>
>>>>I'm unable to get my maps visible now. I have had them visible, and
>>>>don't know what's the reason could be. Maybe permissions. I show here
>>>>the permissions and contents of my *maps directory, and the xastir binary.
>>>>
>>>>
>>>>-rw-r--r-- 1 root root 225 Jan 23 06:01 danmark.geo
>>>>-rw-r--r-- 1 root root 159691 Jan 14 2000 danmark.gif
>>>>-rw-r--r-- 1 root root 68 Jan 14 2000 danmark.inf
>>>
>>>
>>>>0012849900,0011429040,0067653059,0070267199,00000,0,0,00000,00000,danmark.geo
>>>
>>>
>>>>selected_maps.sys:
>>>>
>>>>danmark.geo
>>>
>>>
>>>The permissions and the extents look ok on that file. I know you
>>>said you had it working yesterday for a bit, then copied some
>>>original files back into that directory. Remember that Linux is
>>>case-sensitive, while Windows is not. Converting from INF files to
>>>GEO files can throw you if there's not an exact case-match.
>>
>>Ok, that is good. yes I had it working yesterday. Case sensitive is
>>capital or non captial figures ?.
>>
>
>
> Yes, and you have to look at the contents of the *.geo files. In the
> file it references the name of the .gif file that is the map. If the
> reference in the .geo file is to "Amap.gif" and the actual name of the
> file is "amap.gif" it won't work. It look fine in the file below, but
> you should check the others.
First I will check them all together:
lajka2:/usr/local/share/xastir/maps # ls -l
total 465
drwxr-xr-x 4 root root 576 Jan 23 18:10 .
drwxr-xr-x 11 root root 264 Jan 19 05:57 ..
drwxr-xr-x 2 root root 80 Jan 22 11:12 GPS
-rw-r--r-- 1 root root 200 Jan 23 06:01 aalborg.geo
-rw-r--r-- 1 root root 33190 Jan 26 2000 aalborg.gif
-rw-r--r-- 1 root root 48 Jan 8 2000 aalborg.inf
-rw-r--r-- 1 root root 225 Jan 23 06:01 danmark.geo
-rw-r--r-- 1 root root 159691 Jan 14 2000 danmark.gif
-rw-r--r-- 1 root root 68 Jan 14 2000 danmark.inf
-rwxr-xr-x 1 root root 5364 Aug 21 20:01 inf2geo.pl
-rw-r--r-- 1 root root 85 Jan 22 11:12 placeholder
-rw-r--r-- 1 root root 205 Jan 23 06:02 scandi-s1.geo
-rw-r--r-- 1 root root 226815 Nov 16 2001 scandi-s1.gif
-rw-r--r-- 1 root root 68 Nov 30 20:01 scandi-s1.inf
-rw-r--r-- 1 root root 0 Jan 23 06:01 scandi.geo
-rw-r--r-- 1 root root 13 Jan 22 11:12 terraserver.geo
-rw-r--r-- 1 root root 10 Jan 22 11:12 tigermap.geo
drwxr-xr-x 2 root root 240 Jan 23 18:10 tmp
-rw-r--r-- 1 root root 12 Jan 22 11:12 toposerver.geo
FILENAME aalborg.gif
TIEPOINT 0 0 9.3565 57.2513333333333
TIEPOINT 635 388 10.4635 56.8836666666667
IMAGESIZE 636 389
#636x389
#
# Converted from a .INF file by WE7U's inf2geo.pl script
#
FILENAME danmark.gif
TIEPOINT 0 0 7.92516666666667 58.2526666666667
TIEPOINT 1538 1358 15.1866666666667 54.3058333333333
IMAGESIZE 1539 1359
#1539x1359
#
# Converted from a .INF file by WE7U's inf2geo.pl script
#
FILENAME scandi-s1.gif
TIEPOINT 0 0 5.75 60.575
TIEPOINT 1263 1259 18.4416666666667 53.5416666666667
IMAGESIZE 1264 1260
#1264x1260
#
# Converted from a .INF file by WE7U's inf2geo.pl script
#
scandi-s1.geo lines 1-8/8 (END)
It looks like they are ok or ?.
But why is the last one show:scandi-s1.geo lines 1-8/8 (END)
The others doesn't.
>
>>>What are the contents of your danmark.geo file? Is the
>>>filename/path specified in that file a perfect match for the
>>>danmark.gif file?
>>
>>This is the danmark.geo file:
>>
>>FILENAME danmark.gif
>>TIEPOINT 0 0 7.92516666666667 58.2526666666667
>>TIEPOINT 1538 1358 15.1866666666667 54.3058333333333
>>IMAGESIZE 1539 1359
>>#1539x1359
>>#
>># Converted from a .INF file by WE7U's inf2geo.pl script
>>#
>>
>>
>>
>>>Have you tried re-indexing all maps?
>>
>>Yes I have.
>>
>>
>>>Are you zoomed/panned into the correct area of the world where
>>>danmark.geo should apply?
>>
>>Thats what I think I'm not. But I have tried to move up/down and from
>>side to side.
>>
>
> Go ahead and select all your local ".geo" files in the map chooser.
> Then zoom out to view the entire world. Then start zooming in to where
> the maps should be.
I tried it. But I never have seen the whole world, and didn't see i now.
What should then be selected under the map options ?.
I will say, that I'm not quite good to Xastir, but you all know it :-)
> Let us know if that doesn't do the trick.
>
> THX/BDH
--
Med venlig hilsen - Best regards.
Erik Jakobsen - eja at urbakken.dk.
Licensed radioamateur with the callsign OZ4KK.
SuSE Linux 8.2 Proff.
Registered as user #319488 with the Linux Counter, http://counter.li.org.
More information about the Xastir
mailing list