[Xastir] fGIS for shapefile creation, any good?

Curt, WE7U archer at eskimo.com
Wed Apr 13 10:42:50 EDT 2005


On Wed, 13 Apr 2005, Tapio Sokura wrote:

> if I for
> example wanted to name roads in the shapefile so I can display them in
> Xastir using dbfawk, what do I do?

All of the attributes for the shapes are stored in the DBF file.
You'd have to add entries there for each shape.  Note that there are
no standards for the records in the DBF file, so you will either
have to read through the map_shp.c file to see what Xastir looks for
natively to key off of, or you can create your own format that
contains all of the things of interest to you, then create a dbfawk
file to go with that format.


> And in general how do I distinguish
> between large roads and small roads and so on. Obviously I have to get
> the information into the dbf file, but how do I do that neatly with fGIS?

I haven't heard of or used that package.  You might be able to use
some of the tools that come with Shapelib in order to do it.  Worth
a look anyway.  I see dbfadd, dbfcreate, and dbfdump in the main
directory;  dbfcat, dbfinfo in the contrib directory.  I've used
dbfdump and dbfinfo before, but not the others.

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"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