ms2vmap -- convert vector maps between different formats
ms2vmap (-h|--help|--pod)
ms2vmap <file> ... -o <out file> [<options>]
Read vector map objects from a number of files (having no input files is also allowed), optionally apply some modifications and save to the output file. Normally output file is just overwritten, except for fig format where existing geo reference is used, all non-map objects are preserved (accroding with --min_depth/--max_depth options). Also some options (--keep_labels, --update_tag, --fix_rounding) read old data from the output file and merge them with new data.
Show help message.
Output file.
Show help message as POD template.
File with type information. Default: /usr/share/mapsoft2/types.cfg
Define variables for type information file.
Be quiet, do not print types of skipped objects. Default: 0. This works when reading/writing MP, VMAP, writing FIG.
Skip objects which are not defined in typeinfo file. Default: 0. This works when reading/writing MP, VMAP.
select type for GPX waypoint import/export
select type for GPX track import/export
prefix for waypoint names (names w/o prefix are skipped). Default: "="
Crop map to nomenclature region.
Crop map to a rectangle.
By default crop_* commands are not applied to labels. This option can change it. Values: 0 or 1, default: 0.
Update labels (0|1): find labels for each object, add missing labels, remove labels without objects, update label type, name, and reference. Values: 0 or 1, default: 0.
When updating labels, get names from labels, not from objects. Useful for updating map from a source (e.g. gpx) where names are missing.Values: 0 or 1, default: 0.
Keep old labels. Values: 0 or 1, default: 0.
Replace objects with a given tag.
Replace objects with a given type.
Replace objects with all types which exist in input files. Values: 0 or 1, default: 0.
Fix rounding errors using information from the output file. This should be used when editing map in fig format and then returning changes to other format. Then untached points are detected and rounding errors fixed.
accuracy for fixing rounding errors (m). Fig accuracy is 1/450 cm, 2.2 m for 1:100'000 maps. Default: 5
join similar line objects (same type, name, comment, tags)
Max distance for joining lines in meters. Default 5.
Max angle for joining lines in degrees. Default 45.
Reduce number of points in lines and polygons.
Accuracy for point filtering in meters. Default: 10
override MP ID
override MP Name
set mp data levels (comma-separated integers), default: "24,22,20,18,17,15".
Override input encoding for MP-files (does not change CodePage setting)
Override output encoding for MP-files (does not change CodePage setting)
minimum depth of map object (default 40)
minimum depth of map object (default 200)
Encoding for reading/writing fig files (default: KOI8-R). When reading utf8 files with a special comment (made by xfig>3.2.9) this option is ignored.
When reading VMAP file, set type number for labels which are not defined in typeinfo file. Use -1 to skip unknown labels (default). If skip_unknown is set then labels are skipped with unknown objects.
Configuration file for OSM XML -> VMAP2 conversion
Put OSM IDs in object comments
Put OSM tags in object comments
Vladislav Zavjalov <slazav@altlinux.org>