Download map area to xcsoar format

Hello forum Members
i am trying to create a basic map to use with xcsoar program
the xcsoar map file format is .xcm
can any one advice how i can use / convert the file from openstrretmap to use with xcsoar ?
Thanks in advance for any
Itay

According to http://www.dotmana.com/weblog/2014/07/xcsoar-generate-custom-maps/

you can use shapefiles for XCSoar map file generation.

You can convert raw OSM data to SHP format via tools listed on http://wiki.openstreetmap.org/wiki/Shapefiles

For quality check on shapefiles I recommend QGIS