Welcome, Guest. Please login or register.

Login with username, password and session length
Forums Search:  


Author Topic: Converting MP source to smartphone app format  (Read 21559 times)

93ToyTruck

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 0
    • View Profile
    • California Trail Map
Re: Converting MP source to smartphone app format
« Reply #15 on: October 23, 2013, 07:43:47 AM »
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.