Mapsource 6.16.3 a Mapedit 1.0.68.2 nectou GPX z Locusu 1.14

Started by lygos, October 30, 2011, 12:36:34

0 Members and 1 Guest are viewing this topic.

lygos

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
<?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
<?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>
  •  

Menion

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 ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

vagabond235

Thanks - deleting this line from a current gpx-export solved the problem for me. Waiting for the update from the market ;)
Flo
  •  

Menion

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
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

lygos

Jasne dekuju moc !!!
  •