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.

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.

On Tue, Apr 21, 2020 at 05:41:58PM +0200, we recorded a bogon-computron 
collision of the <claude.fra...@bayern-mail.de> flavor, containing:
> Hi !
> 
> I have a locally stored map file. Using "file -k this-local-file" gives me
> "OpenStreetMap XML data\012- XML 1.0 document text\012- XML document, UTF-8
> Unicode text\012-". According to osmium, it was generated by CGImap 0.1.0.
> 
> How can I use this file with Xastir ?
> 
> Thanks !

-- 
Tom Russo    KM5VY
Tijeras, NM  

 echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]

_______________________________________________
Xastir mailing list
Xastir@lists.xastir.org
http://xastir.org/mailman/listinfo/xastir

Reply via email to