GPSFileDepot.com
 

News:

Welcome to GPSFileDepot!

Main Menu

Command line tools for MP files?

Started by 93ToyTruck, September 11, 2014, 11:10:39 AM

Previous topic - Next topic

93ToyTruck

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

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