On 4/21/20 6:41 PM, Tom Russo wrote:

Many thanks, Tom !

You'll have to convert it to a file format that Xastir understands.  We can't
read XML map files.  The list of vector formats we actually support is
displayed at the time you start up Xastir.

It is possible you could convert it to shapefile format using the "ogr2ogr"
tool of the GDAL suite, if the XML file describes a vector map.

Once you've converted to shapefile format, you will almost certainly need to
create a dbfawk file to go with it.  dbfawk files tell Xastir how to render
the lines it finds in the shapefile --- without one, they all show up as
unlabeled black lines, which is fairly useless.

I had no success using ogr2ogr.

You may be better off trying to locate OSM maps that have already been
converted to shapefile.  There may even be a dbfawk file in Xastir's
config directory that is suitable for rendering those.

Sorry there is no quick and dirty answer to your question.  Using off-line
maps is a great thing, and Xastir is quite capable in that regard, but
setting them up can be a chore.

Using an off-line map is probably the simplest way, although the special details of my local file will then not be available. Perhaps an other conversion utility could be used.

Many thanks again, Tom !

Claude (DJ0OT)
_______________________________________________
Xastir mailing list
[email protected]
http://xastir.org/mailman/listinfo/xastir

Reply via email to