GPSFileDepot Forums

General Category => Map Making Support => Topic started by: 93ToyTruck on September 11, 2014, 11:10:39 AM

Title: Command line tools for MP files?
Post by: 93ToyTruck on September 11, 2014, 11:10:39 AM
Are there any tools that can be used to manipulate MP files from a command line?

I'm looking to automate the following GpsMapEdit commands:



Title: Re: Command line tools for MP files?
Post by: popej on September 11, 2014, 04:29:24 PM
You can use GPSMapEdit in vbscripts, it supports some ole/com functions. There is no documentation but you can inspect GPSMapEdit with ole viewers, this is for example trim function:
[id(0x00000014), helpstring("Trim all objects outside selected polygon.")]
void TrimOutsideSelectedPolygon();

See examples form GPSMapEdit site:
http://www.geopainting.com/download/ConvertToNM2.zip
http://www.geopainting.com/download/ConvertToMP.zip