Welcome, Guest. Please login or register.

Login with username, password and session length
Forums Search:  


Author Topic: Command line tools for MP files?  (Read 1980 times)

93ToyTruck

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 0
    • View Profile
    • California Trail Map
Command line tools for MP files?
« on: September 11, 2014, 10: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:
  • Trim Map
  • Split Map to Files
  • Split Roads at Nodes
  • Export MP Lowrance map




popej

  • Expert Advisor
  • *****
  • Posts: 329
  • Karma: 30
    • View Profile
Re: Command line tools for MP files?
« Reply #1 on: September 11, 2014, 03: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