Bug 292268 - Coordinates into LineString not correct
Summary: Coordinates into LineString not correct
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-KMLExport (show other bugs)
Version: 2.6.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2012-01-23 12:32 UTC by Julien Fastré
Modified: 2018-01-31 19:39 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.6.0


Attachments
broken kml-file (445.24 KB, application/vnd.google-earth.kml+xml)
2012-02-27 14:32 UTC, serge
Details
Patch to remove the Kml export bug (839 bytes, patch)
2012-03-24 11:35 UTC, Adrian Nitu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Fastré 2012-01-23 12:32:06 UTC
Version:           unspecified
OS:                Linux

When exporting a gpx track to kml with a LineString for the track, coordinates are not correct: 

They are written this way : <coordinates>5.73936,50.4741,256.1175.73934,50.4741,251.7795.7394,50.4742, ...</coordinates>

but should appears like this : 
<coordinates>5.739361,50.474119,256.117 5.739336,50.474073,251.779 ... </coordinates>

KML ask a space between coordinates, not a point.



Reproducible: Always

Steps to Reproduce:
Export > Export to KML...

Thick "draw a GPX track" and fill all the fields.


Expected Results:  
See below
Comment 1 serge 2012-02-27 14:32:36 UTC
Created attachment 69127 [details]
broken kml-file
Comment 2 serge 2012-02-27 14:32:50 UTC
I confirm - export into kml with "Draw GPX track" is completely broken in digikam 2.5.0

I attach an example of broken kml-file.
Comment 3 serge 2012-02-27 14:33:57 UTC
kipi-plugins is 2.5.0
gentoo ~x86
Comment 4 Adrian Nitu 2012-03-24 11:35:04 UTC
Created attachment 69850 [details]
Patch to remove the Kml export bug

I have patched this bug. Please review it.
Comment 5 caulier.gilles 2012-03-24 14:56:31 UTC
Patch sound fine for me.

Munteanu Veaceslav, if Adrian Nitu is a student from you team, feel free to apply patch to git/master...

Gilles Caulier
Comment 6 Veaceslav Munteanu 2012-03-28 08:01:55 UTC
committer	Veaceslav Munteanu
Thu, 29 Mar 2012 07:57:57 +0000 (10:57 +0300)
commit	cdc37d387699542a91324c451a0e66d30a136c7c
tree	240300d7b79c2b67b6706dbec8bd28f65f0a0026	
parent	44cb7b49b504ee5bf0601b95ba6654fb1d5c5fc6	
Applied patch from Adrian Nitu that solves bug 292268:Coordonates into LineString are not correct 

DONE.