[Xastir] Re: World shapefile map

Curt Mills, WE7U hacker at tc.fluke.com
Wed Nov 19 13:25:21 EST 2003


On Wed, 19 Nov 2003, Wilbert Knol wrote:

>
> > No, you don't need a .geo file for it.  Those are only for certain
> > images that don't have georeferencing information inherent in the
> > file format.
> >
> > Check file permissions and directory permissions.  It's possible
> > that you don't have read permissions for directories/files, or
> > execute permission for directories.
>
> [wk at wk share]$ ls -l xastir
> total 36
> drwxr-xr-x    2 root     root         4096 Nov 19 13:12 config/
> drwxr-xr-x    2 root     root         4096 Nov 19 13:12 Counties/
> drwxr-xr-x    2 root     root         4096 Nov 19 13:12 doc/
> drwxr-xr-x    2 root     root         4096 Nov 19 13:12 fcc/
> drwxr-xr-x    2 root     root         4096 Nov 19 13:12 GNIS/
> drwxr-xr-x    2 root     root         4096 Nov 19 13:12 help/
> drwxr-xr-x    3 root     root         4096 Nov 19 13:12 maps/
> drwxr-xr-x    2 root     root         4096 Nov 19 13:12 sounds/
> drwxr-xr-x    2 root     root         4096 Nov 19 13:12 symbols/
> [wk at wk share]$ cd xastir
> [wk at wk xastir]$ ls -l maps
> total 15708
> drwxr-xr-x    2 root     root         4096 Nov 19 13:12 GPS/
> -rw-r--r--    1 root     root           85 Nov 19 13:12 placeholder
> -rw-r--r--    1 root     root           13 Nov 19 13:12 terraserver.geo
> -rw-r--r--    1 root     root           12 Nov 19 13:12 toposerver.geo
> -rw-r--r--    1 root     root          123 Jun  9 09:39 wgtn-01.geo
> -rw-r--r--    1 root     root      4381988 Mar 18  2001 wgtn-01.xpm
> -rw-r--r--    1 root     root          114 Oct 29 00:56 Wgtn.geo
> -rw-r--r--    1 root     root      2515507 Oct 29 00:28 Wgtn.png
> -rw-r--r--    1 root     root        38258 Nov 18 11:22 world.dbf
> -rw-r--r--    1 root     root      5917724 Nov 18 11:22 world.shp
> -rw-r--r--    1 root     root         2052 Nov 18 11:22 world.shx
> -rw-r--r--    1 ftp      ftp       3158479 Nov 18 11:22 world.tar.bz2
> [wk at wk xastir]$
>
>
> >
> > If a Shapefile is not showing up in Map Chooser when you do an
> > index all, it can be either file/directory permissions, or it can
> > be because you don't have Shapelib compiled into Xastir properly.
> > I can't think of another reason.
>
> xastir 1.2.1 has been configured using the
> following external libraries.
>
>
> Building with AX25.......... : yes
> Building with GeoTiff....... : no
> Building with ShapeLib...... : yes
> Building with pcre.......... : yes
> Building with ImageMagick... : yes
> Building with Festival...... : no
> Building with GPSMan........ : no
> Building with dbfawk........ : no
>
> I tried setting -v 5 to get the debug info, but no complaints about the world.* files.
> It just doesn't show up in the chooser.

That's because it's not there!  It should be listed as "tiger.geo"
in the maps directory, right next to "toposerver.geo" and
"terraserver.geo".

Did you do a make install?

The complete method should entail the following:

./bootstrap.sh
./configure
make
su
make install-strip
chmod 4555 /usr/local/bin/xastir
exit (from root)


The "./bootstrap.sh" step invokes autoconf/automake and friends to
create a new "configure" script which knows about the "tigermap.geo"
file and therefore knows where/how to install it.  If you don't have
new enough autoconf/automake, you can instead just copy the
"tigermap.geo" file to your maps directory, "touch" it, then bring
up Xastir and "Index: Add New Maps".

-- 
Curt Mills, WE7U                    hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math!"
"Windows:  Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list