This Python-based converter allows you to convert any AnyMap 4.x, 5.x and 6.x amap map source files to AnyMap 7.x GeoJSON based JavaScript, pure GeoJSON and SHP format.
You might have obtained .amap files from the set of maps AnyChart provided with old versions or created yourself with AnyChart SHP to AMAP Converter.
AnyChart 7.x maps collection can be found in AnyChart CDN Maps Collection.
Converter generates AnyMap 7.x GeoJSON based JavaScript (.js), pure GeoJSON (.json) and SHP (.shp, .shx and .dbf) formats in the specified output folder.
After you converted .amap file you can use .js or .json files directly in the new HTML5 AnyMap or tune .json or .shp files further as described in AnyMap Custom GeoJSON Maps Tutorial.
pip install -r requirements
python converter.py amap-path.amap output-base-name
e.g. python converter.py states.amap out/states
./convert-batch src-folder output-folder
e.g. ./convert-batch maps out