[Xastir] locally stored OSM map file

Claude Frantz Claude.Frantz at bayern-mail.de
Tue Apr 21 10:48:10 PDT 2020


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)


More information about the Xastir mailing list