GPSFileDepot.com
 

News:

Welcome to GPSFileDepot!

Main Menu

Converting MP source to smartphone app format

Started by 93ToyTruck, June 25, 2013, 02:14:05 PM

Previous topic - Next topic

93ToyTruck

I did this last night and...It worked!

I wrote a small script to convert the basics of my TYP file into a CartoCSS file that uses conditional logic to control line color and width based on the hex id of the Garmin object.

Added conditional logic to the CartoCSS to make lines disappear based on the EndLevel of the Garmin object. Lots more to fine tune but it works great.

The downside. It's a raster map. My map that is normally a 10MB Garmin Img is several 100MB in MBTiles. I cut down the coverage area to do testing and it took 2 hours to export(compile). This would normally take a few minutes for cGpsmapper to compile.