Author Topic: Mapsource 6.16.3 a Mapedit 1.0.68.2 nectou GPX z Locusu 1.14  (Read 2419 times)

Offline lygos

  • Newbie
  • *
  • Posts: 7
    • View Profile
Narazil jsem na problem kdy exportovane GPX nejdou nacist v Mapsource ani v Mapedit. Staci je ale pomoci GPSBabel ulozit do GDB a ten uz Mapsource precte, ci z takto vytvoreneho GDB zase vytvorit GPX a ten Mapsource take precte.
Uvadim jak se lisi originalni a "citelny" GPX.

Original exportu do GPX z Locusu
Code: [Select]
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<gpx version="1.1" creator="Locus Android"
 xmlns="http://www.topografix.com/GPX/1/1"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"><trk>
<name><![CDATA[2011-10-09 08:06:58]]></name>
<desc><![CDATA[12h:53m:49s | 456km

12h:53m:49s | 456km
Vzdálenost - 456km
Body zájmu - 11334
Vytvořeno - 2011-10-09 10:07:00
Max. rychlost - 119km/h
Min. výška - 78m
Max. výška - 534m
]]></desc>
<topografix:color>c0c0c0</topografix:color>
<trkseg>
<trkpt lat="64.1410138" lon="-21.9005198">
<ele>0.0</ele>
<time>2011-10-09T08:07:00Z</time>
</trkpt>
<trkpt lat="64.14145607267643" lon="-21.903984490082827">
<ele>86.0</ele>
<time>2011-10-09T08:07:52Z</time>
</trkpt>
<trkpt lat="64.14160884035894" lon="-21.90443535386132">
<ele>93.93743896484375</ele>
<time>2011-10-09T08:09:20Z</time>
</trkpt>

Po prevodu z GPX do GDB a zpet do GPX - format ktery je v Mapsource/Mapedit uz citelny
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<gpx
  version="1.0"
  creator="GPSBabel - http://www.gpsbabel.org"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://www.topografix.com/GPX/1/0"
  xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
<time>2011-10-30T11:21:54Z</time>
<bounds minlat="63.609779282" minlon="-21.910316432" maxlat="64.217739338" maxlon="-19.634179110"/>
<trk>
  <name>2011-10-09 08:06:58</name>
<trkseg>
<trkpt lat="64.141013743" lon="-21.900519747">
  <ele>0.000000</ele>
  <time>2011-10-09T08:07:00Z</time>
</trkpt>
<trkpt lat="64.141456056" lon="-21.903984407">
  <ele>86.000000</ele>
  <time>2011-10-09T08:07:52Z</time>
</trkpt>
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12513
  • Thanked: 789 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Mapsource 6.16.3 a Mapedit 1.0.68.2 nectou GPX z Locusu
« Reply #1 on: October 30, 2011, 18:03:20 »
hmm, problem is causing <topografix:color>c0c0c0</topografix:color> tag. Weird that programs do not ignore it. I was just testing it on downloaded GPSMapEdit program and your par of code above work without this line. So you may try it also. I'll remove this in next update, because this is not even needed line ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline vagabond235

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Mapsource 6.16.3 a Mapedit 1.0.68.2 nectou GPX z Locusu
« Reply #2 on: October 31, 2011, 20:33:26 »
Thanks - deleting this line from a current gpx-export solved the problem for me. Waiting for the update from the market ;)
Flo
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12513
  • Thanked: 789 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Mapsource 6.16.3 a Mapedit 1.0.68.2 nectou GPX z Locusu
« Reply #3 on: October 31, 2011, 20:55:57 »
EN: hey I messed up Czech topic with my terrible English .. damn ... so glad to help

CZ: koukám že jsem omylem zmastil svojí neslavnou angličtinu do tvého českého příspěvku. Pardón. Každopádně pochopil jsi co jsem psal? Jestli ne tak je třeba smazat ten řádek <topogra.. >, každopádně je tam zcela zbytečně takže jsem ho z exportu odebral a export v další verzi už by měl šlapat
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline lygos

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Mapsource 6.16.3 a Mapedit 1.0.68.2 nectou GPX z Locusu
« Reply #4 on: October 31, 2011, 23:15:24 »
Jasne dekuju moc !!!
« Last Edit: January 01, 1970, 01:00:00 by Guest »