Overlay GPX tracks as Vector Map
I want to display 250 GPX tracks covering a large portion of California as a VECTOR map layer, not individual GPX files. Actively displaying that many tracks at once slows the app down significantly. In the Garmin ecosystem, there's an app that can convert all 250 GPX tracks into a Garmin .IMG map file (IMGfromGPX). The resulting VECTOR map for Garmin contains all the data, and only takes up 3 MB of space.
I copied the .IMG file to /data/menion.android.locus.pro/Locus/mapsVector. The map displays fine, with all the GPX tracks showing as green lines. The problem I'm facing is that the .IMG format does not allow any customization for Locus. I use four colors for the tracks to indicate the type of road or trail each track represents.
I'm looking for a way to build this map in a native .map or other format that is truly a vector map for Locus. I've been struggling with Mapsforge and QGIS for several days and I just can't seem to find a way to do this.
I don't want to calibrate a PNG/PDF file or use any other tile-based raster option. I want a true vector map like the .IMG file that allows me to color-code the tracks and overlay it on my active map.
Do you have any ideas or suggestions that can help?
Hi,
we are sorry but this request is way beyond the scope of the app support.
Hi,
we are sorry but this request is way beyond the scope of the app support.
Ask in the Openandromaps forum. Maybe someone there can help you.
Ask in the Openandromaps forum. Maybe someone there can help you.
Mr.Smith: what is the purpose of having those 250 GPXs displayed?
Always, going forward?
Producing screenshots from time to time?
Anything else?
Mr.Smith: what is the purpose of having those 250 GPXs displayed?
Always, going forward?
Producing screenshots from time to time?
Anything else?
Well, it's not necessarily the purpose of a smartphone app. - My view.
However, I see a way you'll get what you want:
- GPSbabel can convert GPS to OSM (OPenStreetMap) format (never used it - conclusion from quick web search)
- osmosis can turn an OSM file into a .map file (vector) that Locus can handle
Just my 2c.
Good luck and cheers
Michael
PS: as memory is a nobrainer today, I would not rule out a raster tile based approach, BTW.
The tooling differs from step 2 on, however:
- use Maperitive to produce - from an OSM file - a folder structure with the raster tiles with (only) the tracks (one tree per zoom level; a clip level will omit empty tiles)
- use MOBAC to turn such a folder "forest" into an sqliteDB for Locus.
Well, it's not necessarily the purpose of a smartphone app. - My view.
However, I see a way you'll get what you want:
- GPSbabel can convert GPS to OSM (OPenStreetMap) format (never used it - conclusion from quick web search)
- osmosis can turn an OSM file into a .map file (vector) that Locus can handle
Just my 2c.
Good luck and cheers
Michael
PS: as memory is a nobrainer today, I would not rule out a raster tile based approach, BTW.
The tooling differs from step 2 on, however:
- use Maperitive to produce - from an OSM file - a folder structure with the raster tiles with (only) the tracks (one tree per zoom level; a clip level will omit empty tiles)
- use MOBAC to turn such a folder "forest" into an sqliteDB for Locus.
Replies have been locked on this page!