Re: [OSM-talk] OpenStreetMap newbie - help/guidance to convert OSM XML data to .gpx

2015-05-06 Thread christian.pietz...@googlemail.com
There is an alternative to Google StreetView. It's called Mapillary
http://www.mapillary.com/map and OSM has the permission to use it. The
development for a JOSM integration is starting in June.

Cheers,
Christian aka Hedaja

2015-05-06 10:31 GMT+02:00 Paul Johnson ba...@ursamundi.org:



 On Wed, May 6, 2015 at 3:02 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com wrote:

 Hi all,

 a complete newbie to Openstreetmap here, so bear with me... Briefly, what
 I'm, trying to achieve is the following: I have a .gpx file from a bike
 ride, and I want to use the gps data to get images from those locations
 from Google Street View. But, GPS not being that accurate, I first want to
 massage the .gpx file and obtain a .gpx file where the coordinates have
 been matched to the closest road.


 JOSM can convert back and forth between the two formats.  Please be aware
 that Google Street View is widely regarded to be an unsuitable data source,
 so please do not edit based on Street View.

 ___
 talk mailing list
 talk@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OpenStreetMap newbie - help/guidance to convert OSM XML data to .gpx

2015-05-06 Thread Paul Johnson
On Wed, May 6, 2015 at 3:02 AM, Ángel de Vicente 
angel.vicente.garr...@gmail.com wrote:

 Hi all,

 a complete newbie to Openstreetmap here, so bear with me... Briefly, what
 I'm, trying to achieve is the following: I have a .gpx file from a bike
 ride, and I want to use the gps data to get images from those locations
 from Google Street View. But, GPS not being that accurate, I first want to
 massage the .gpx file and obtain a .gpx file where the coordinates have
 been matched to the closest road.


JOSM can convert back and forth between the two formats.  Please be aware
that Google Street View is widely regarded to be an unsuitable data source,
so please do not edit based on Street View.
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] OpenStreetMap newbie - help/guidance to convert OSM XML data to .gpx

2015-05-06 Thread Ángel de Vicente
Hi all,

a complete newbie to Openstreetmap here, so bear with me... Briefly, what
I'm, trying to achieve is the following: I have a .gpx file from a bike
ride, and I want to use the gps data to get images from those locations
from Google Street View. But, GPS not being that accurate, I first want to
massage the .gpx file and obtain a .gpx file where the coordinates have
been matched to the closest road.

By using https://mapmatching.3scale.net/ I manage to get a good match to
the closest road, but the format for the output file I get is not .gpx
anymore.

To give some details, the .gpx file I get comes from the Endomondo
application, and it looks like:


?xml version=1.0 encoding=UTF-8?
[...]
trkseg
  trkpt lat=28.466029 lon=-16.269666
time2014-10-03T07:08:14Z/time
  /trkpt


After using the mapmatching website I get a xml file, which looks like:

?xml version=1.0 encoding=UTF-8
standalone=yes?resultdiaryentriesentryroutelink
src=278449946 id=101549311 dst=1172664894/link src=\
1172664894 id=158914755 dst=278449944/ [...]


I already have a script that, when given a .gpx file with the format above
will collect the images from Google Street View, with the correct compass
bearings, etc., so I would like to be able to convert the .xml file with
the OpenStreetMap references back to a .gpx format.

Is this possible somehow? Any help/guidance appreciated.

Thanks,
Ángel de Vicente
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OpenStreetMap newbie - help/guidance to convert OSM XML data to .gpx

2015-05-06 Thread Steve Doerr

On 06/05/2015 14:27, Ángel de Vicente wrote:

sorry, let's see if I can explain myself better. The attachment in my 
previous mail is what I got from the page https://mapmatching.3scale.net/




They seem to have their own forum 
(https://mapmatching.3scale.net/forum). You might do better to ask on there.


--
Steve

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OpenStreetMap newbie - help/guidance to convert OSM XML data to .gpx

2015-05-06 Thread Paul Johnson
OK, I seem to have misunderstood the situation, then.  You're trying to
convert OSM data to GPX, and vice versa, no?  If that's the case, right
click on the layer and select Convert to...

On Wed, May 6, 2015 at 8:15 AM, Ángel de Vicente 
angel.vicente.garr...@gmail.com wrote:

 Hi Paul,

 thanks. I tried JOSM, but probably because I have no idea what I'm doing,
 I cannot open the .xml generated file.

 The message that I get is No data found in file 'output.xml'.

 I attach the file that I'm trying to load, in case I'm doing something
 obviouosly wrong.

 Thanks,


 On 6 May 2015 at 09:31, Paul Johnson ba...@ursamundi.org wrote:



 On Wed, May 6, 2015 at 3:02 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com wrote:

 Hi all,

 a complete newbie to Openstreetmap here, so bear with me... Briefly,
 what I'm, trying to achieve is the following: I have a .gpx file from a
 bike ride, and I want to use the gps data to get images from those
 locations from Google Street View. But, GPS not being that accurate, I
 first want to massage the .gpx file and obtain a .gpx file where the
 coordinates have been matched to the closest road.


 JOSM can convert back and forth between the two formats.  Please be aware
 that Google Street View is widely regarded to be an unsuitable data source,
 so please do not edit based on Street View.



___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OpenStreetMap newbie - help/guidance to convert OSM XML data to .gpx

2015-05-06 Thread Ángel de Vicente
They don't seem to have any DOCTYPE at all.

On 6 May 2015 at 14:36, Paul Johnson ba...@ursamundi.org wrote:

 I'm curious what the DOCTYPE is on the XML being put out, that might
 provide some clues.

 On Wed, May 6, 2015 at 8:27 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com wrote:

 Hi Paul,

 sorry, let's see if I can explain myself better. The attachment in my
 previous mail is what I got from the page https://mapmatching.3scale.net/

 That file contains good data but in a format that I don't know how to
 deal with. I would like only to convert that .xml file to a .gpx file with
 latitude and longitude coordinates. But when I try to open with JOSM that
 file (output.xml), it complains that no data was found (and thus I don't
 see any Convert option when I right click the output.xml layer.

 I hope now it is a bitt more clear.

 Thanks a lot
 Angel de Vicente
 https://mapmatching.3scale.net/

 On 6 May 2015 at 14:21, Paul Johnson ba...@ursamundi.org wrote:

 OK, I seem to have misunderstood the situation, then.  You're trying to
 convert OSM data to GPX, and vice versa, no?  If that's the case, right
 click on the layer and select Convert to...

 On Wed, May 6, 2015 at 8:15 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com wrote:

 Hi Paul,

 thanks. I tried JOSM, but probably because I have no idea what I'm
 doing, I cannot open the .xml generated file.

 The message that I get is No data found in file 'output.xml'.

 I attach the file that I'm trying to load, in case I'm doing something
 obviouosly wrong.

 Thanks,


 On 6 May 2015 at 09:31, Paul Johnson ba...@ursamundi.org wrote:



 On Wed, May 6, 2015 at 3:02 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com wrote:

 Hi all,

 a complete newbie to Openstreetmap here, so bear with me... Briefly,
 what I'm, trying to achieve is the following: I have a .gpx file from a
 bike ride, and I want to use the gps data to get images from those
 locations from Google Street View. But, GPS not being that accurate, I
 first want to massage the .gpx file and obtain a .gpx file where the
 coordinates have been matched to the closest road.


 JOSM can convert back and forth between the two formats.  Please be
 aware that Google Street View is widely regarded to be an unsuitable data
 source, so please do not edit based on Street View.






___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OpenStreetMap newbie - help/guidance to convert OSM XML data to .gpx

2015-05-06 Thread Andrew Wiseman
You might try using a conversion tool like GDAL or OGR2OGR? QGIS has them
too.

Andrew

El miércoles, 6 de mayo de 2015, Ángel de Vicente 
angel.vicente.garr...@gmail.com escribió:

 They don't seem to have any DOCTYPE at all.

 On 6 May 2015 at 14:36, Paul Johnson ba...@ursamundi.org
 javascript:_e(%7B%7D,'cvml','ba...@ursamundi.org'); wrote:

 I'm curious what the DOCTYPE is on the XML being put out, that might
 provide some clues.

 On Wed, May 6, 2015 at 8:27 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com
 javascript:_e(%7B%7D,'cvml','angel.vicente.garr...@gmail.com'); wrote:

 Hi Paul,

 sorry, let's see if I can explain myself better. The attachment in my
 previous mail is what I got from the page
 https://mapmatching.3scale.net/

 That file contains good data but in a format that I don't know how to
 deal with. I would like only to convert that .xml file to a .gpx file with
 latitude and longitude coordinates. But when I try to open with JOSM that
 file (output.xml), it complains that no data was found (and thus I don't
 see any Convert option when I right click the output.xml layer.

 I hope now it is a bitt more clear.

 Thanks a lot
 Angel de Vicente
 https://mapmatching.3scale.net/

 On 6 May 2015 at 14:21, Paul Johnson ba...@ursamundi.org
 javascript:_e(%7B%7D,'cvml','ba...@ursamundi.org'); wrote:

 OK, I seem to have misunderstood the situation, then.  You're trying to
 convert OSM data to GPX, and vice versa, no?  If that's the case, right
 click on the layer and select Convert to...

 On Wed, May 6, 2015 at 8:15 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com
 javascript:_e(%7B%7D,'cvml','angel.vicente.garr...@gmail.com');
 wrote:

 Hi Paul,

 thanks. I tried JOSM, but probably because I have no idea what I'm
 doing, I cannot open the .xml generated file.

 The message that I get is No data found in file 'output.xml'.

 I attach the file that I'm trying to load, in case I'm doing something
 obviouosly wrong.

 Thanks,


 On 6 May 2015 at 09:31, Paul Johnson ba...@ursamundi.org
 javascript:_e(%7B%7D,'cvml','ba...@ursamundi.org'); wrote:



 On Wed, May 6, 2015 at 3:02 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com
 javascript:_e(%7B%7D,'cvml','angel.vicente.garr...@gmail.com');
 wrote:

 Hi all,

 a complete newbie to Openstreetmap here, so bear with me... Briefly,
 what I'm, trying to achieve is the following: I have a .gpx file from a
 bike ride, and I want to use the gps data to get images from those
 locations from Google Street View. But, GPS not being that accurate, I
 first want to massage the .gpx file and obtain a .gpx file where the
 coordinates have been matched to the closest road.


 JOSM can convert back and forth between the two formats.  Please be
 aware that Google Street View is widely regarded to be an unsuitable data
 source, so please do not edit based on Street View.








-- 

600,000 DC residents don't have a vote in Congress -- http://www.dcvote.org/
http://www.dcvote.org/about/index.cfm
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OpenStreetMap newbie - help/guidance to convert OSM XML data to .gpx

2015-05-06 Thread Ángel de Vicente
Hi Paul,

thanks. I tried JOSM, but probably because I have no idea what I'm doing, I
cannot open the .xml generated file.

The message that I get is No data found in file 'output.xml'.

I attach the file that I'm trying to load, in case I'm doing something
obviouosly wrong.

Thanks,


On 6 May 2015 at 09:31, Paul Johnson ba...@ursamundi.org wrote:



 On Wed, May 6, 2015 at 3:02 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com wrote:

 Hi all,

 a complete newbie to Openstreetmap here, so bear with me... Briefly, what
 I'm, trying to achieve is the following: I have a .gpx file from a bike
 ride, and I want to use the gps data to get images from those locations
 from Google Street View. But, GPS not being that accurate, I first want to
 massage the .gpx file and obtain a .gpx file where the coordinates have
 been matched to the closest road.


 JOSM can convert back and forth between the two formats.  Please be aware
 that Google Street View is widely regarded to be an unsuitable data source,
 so please do not edit based on Street View.

?xml version=1.0 encoding=UTF-8 standalone=yes?resultdiaryentriesentryroutelink src=278449946 id=101549311 dst=1172664894wpt y=28.465961 x=-16.269638/wpt y=28.465961 x=-16.269638/wpt y=28.465895 x=-16.269842/wpt y=28.46583 x=-16.270044//linklink src=1172664894 id=158914755 dst=278449944/link src=278449944 id=158914755 dst=1175681417wpt y=28.465715 x=-16.270061/wpt y=28.46556 x=-16.269997/wpt y=28.465427 x=-16.26994/wpt y=28.465242 x=-16.269863//linklink src=1175681417 id=158922685 dst=1175681346wpt y=28.465086 x=-16.270037/wpt y=28.464958 x=-16.270391/wpt y=28.4649 x=-16.270557//linklink src=1175681346 id=158922685 dst=1175681437wpt y=28.464842 x=-16.270725/wpt y=28.464739 x=-16.271027/wpt y=28.464655 x=-16.271275//linklink src=1175681437 id=160028684 dst=1175681364wpt y=28.464605 x=-16.271442/wpt y=28.464567 x=-16.271595//linklink src=1175681364 id=160028684 dst=1175681342wpt y=28.464487 x=-16.271858/wpt y=28.464434 x=-16.272022//linklink src=1175681342 id=160028684 dst=1175681433wpt y=28.46433 x=-16.27234/wpt y=28.464268 x=-16.27253//linklink src=1175681433 id=160028684 dst=1175681317wpt y=28.464138 x=-16.272818//linklink src=1175681317 id=217483498 dst=1175681344wpt y=28.464031 x=-16.272917/wpt y=28.463835 x=-16.273035/wpt y=28.463696 x=-16.27311/wpt y=28.463472 x=-16.273232/wpt y=28.463354 x=-16.273294//linklink src=1175681344 id=217483498 dst=1175681410wpt y=28.463156 x=-16.273489//linklink src=1175681410 id=216257195 dst=1175660832wpt y=28.463118 x=-16.273653//linklink src=1175660832 id=101835689 dst=2077252672wpt y=28.463074 x=-16.273882/wpt y=28.463036 x=-16.274168/wpt y=28.463005 x=-16.274378//linklink src=2077252672 id=101835689 dst=1175660838wpt y=28.462984 x=-16.274527/wpt y=28.462952 x=-16.274761/wpt y=28.4629 x=-16.275124/wpt y=28.462881 x=-16.27527/wpt y=28.462862 x=-16.275414//linklink src=1175660838 id=101835689 dst=1175660756wpt y=28.462831 x=-16.27567/wpt y=28.462801 x=-16.275925/wpt y=28.462786 x=-16.276045/wpt y=28.462755 x=-16.276299/wpt y=28.462736 x=-16.276463//linklink src=1175660756 id=28699488 dst=286798350wpt y=28.462757 x=-16.276642/wpt y=28.462921 x=-16.276829/wpt y=28.463148 x=-16.276909/wpt y=28.463383 x=-16.276936/wpt y=28.463585 x=-16.276876//linklink src=286798350 id=111721209 dst=1175660892wpt y=28.463755 x=-16.276758/wpt y=28.46384 x=-16.276672//linklink src=1175660892 id=111721209 dst=286798367wpt y=28.46391 x=-16.276592/wpt y=28.463995 x=-16.276463/wpt y=28.464087 x=-16.276333/wpt y=28.464272 x=-16.27621/wpt y=28.464512 x=-16.276228/wpt y=28.464638 x=-16.276342//linklink src=286798367 id=190653537 dst=270899350wpt y=28.464703 x=-16.276583/wpt y=28.464685 x=-16.276743/wpt y=28.464607 x=-16.276953//linklink src=270899350 id=190653537 dst=286800099wpt y=28.464561 x=-16.277086/wpt y=28.464497 x=-16.27735//linklink src=286800099 id=160028712 dst=1003914048/link src=1003914048 id=111721217 dst=270899349wpt y=28.464436 x=-16.27759/wpt y=28.464386 x=-16.277843/wpt y=28.464346 x=-16.278078//linklink src=270899349 id=224692904 dst=286800305/link src=286800305 id=224692904 dst=1509819686wpt y=28.4643 x=-16.278332/wpt y=28.46426 x=-16.278517/wpt y=28.4642 x=-16.278751/wpt y=28.464138 x=-16.278917//linklink src=1509819686 id=224692904 dst=1509819655wpt y=28.464016 x=-16.279146/wpt y=28.463913 x=-16.279293/wpt y=28.463772 x=-16.279451//linklink src=1509819655 id=224692904 dst=270899345wpt y=28.463634 x=-16.279566/wpt y=28.463495 x=-16.279676//linklink src=270899345 id=224692904 dst=281240935wpt y=28.46334 x=-16.279789/wpt y=28.463202 x=-16.279892/wpt y=28.463058 x=-16.28001/wpt y=28.4629 x=-16.280136/wpt y=28.462736 x=-16.280214//linklink src=281240935 id=224692904 dst=1509819383wpt y=28.462568 x=-16.280226/wpt y=28.46237 x=-16.280153/wpt y=28.462158 x=-16.280035//linklink src=1509819383 id=224692904 dst=2009775157wpt y=28.461954 x=-16.279922/wpt y=28.461782 x=-16.279854/wpt y=28.46157 x=-16.279797/wpt y=28.461393 x=-16.279854/wpt 

Re: [OSM-talk] OpenStreetMap newbie - help/guidance to convert OSM XML data to .gpx

2015-05-06 Thread Ángel de Vicente
Hi Paul,

sorry, let's see if I can explain myself better. The attachment in my
previous mail is what I got from the page https://mapmatching.3scale.net/

That file contains good data but in a format that I don't know how to deal
with. I would like only to convert that .xml file to a .gpx file with
latitude and longitude coordinates. But when I try to open with JOSM that
file (output.xml), it complains that no data was found (and thus I don't
see any Convert option when I right click the output.xml layer.

I hope now it is a bitt more clear.

Thanks a lot
Angel de Vicente
https://mapmatching.3scale.net/

On 6 May 2015 at 14:21, Paul Johnson ba...@ursamundi.org wrote:

 OK, I seem to have misunderstood the situation, then.  You're trying to
 convert OSM data to GPX, and vice versa, no?  If that's the case, right
 click on the layer and select Convert to...

 On Wed, May 6, 2015 at 8:15 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com wrote:

 Hi Paul,

 thanks. I tried JOSM, but probably because I have no idea what I'm doing,
 I cannot open the .xml generated file.

 The message that I get is No data found in file 'output.xml'.

 I attach the file that I'm trying to load, in case I'm doing something
 obviouosly wrong.

 Thanks,


 On 6 May 2015 at 09:31, Paul Johnson ba...@ursamundi.org wrote:



 On Wed, May 6, 2015 at 3:02 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com wrote:

 Hi all,

 a complete newbie to Openstreetmap here, so bear with me... Briefly,
 what I'm, trying to achieve is the following: I have a .gpx file from a
 bike ride, and I want to use the gps data to get images from those
 locations from Google Street View. But, GPS not being that accurate, I
 first want to massage the .gpx file and obtain a .gpx file where the
 coordinates have been matched to the closest road.


 JOSM can convert back and forth between the two formats.  Please be
 aware that Google Street View is widely regarded to be an unsuitable data
 source, so please do not edit based on Street View.




___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OpenStreetMap newbie - help/guidance to convert OSM XML data to .gpx

2015-05-06 Thread Paul Johnson
I'm curious what the DOCTYPE is on the XML being put out, that might
provide some clues.

On Wed, May 6, 2015 at 8:27 AM, Ángel de Vicente 
angel.vicente.garr...@gmail.com wrote:

 Hi Paul,

 sorry, let's see if I can explain myself better. The attachment in my
 previous mail is what I got from the page https://mapmatching.3scale.net/

 That file contains good data but in a format that I don't know how to deal
 with. I would like only to convert that .xml file to a .gpx file with
 latitude and longitude coordinates. But when I try to open with JOSM that
 file (output.xml), it complains that no data was found (and thus I don't
 see any Convert option when I right click the output.xml layer.

 I hope now it is a bitt more clear.

 Thanks a lot
 Angel de Vicente
 https://mapmatching.3scale.net/

 On 6 May 2015 at 14:21, Paul Johnson ba...@ursamundi.org wrote:

 OK, I seem to have misunderstood the situation, then.  You're trying to
 convert OSM data to GPX, and vice versa, no?  If that's the case, right
 click on the layer and select Convert to...

 On Wed, May 6, 2015 at 8:15 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com wrote:

 Hi Paul,

 thanks. I tried JOSM, but probably because I have no idea what I'm
 doing, I cannot open the .xml generated file.

 The message that I get is No data found in file 'output.xml'.

 I attach the file that I'm trying to load, in case I'm doing something
 obviouosly wrong.

 Thanks,


 On 6 May 2015 at 09:31, Paul Johnson ba...@ursamundi.org wrote:



 On Wed, May 6, 2015 at 3:02 AM, Ángel de Vicente 
 angel.vicente.garr...@gmail.com wrote:

 Hi all,

 a complete newbie to Openstreetmap here, so bear with me... Briefly,
 what I'm, trying to achieve is the following: I have a .gpx file from a
 bike ride, and I want to use the gps data to get images from those
 locations from Google Street View. But, GPS not being that accurate, I
 first want to massage the .gpx file and obtain a .gpx file where the
 coordinates have been matched to the closest road.


 JOSM can convert back and forth between the two formats.  Please be
 aware that Google Street View is widely regarded to be an unsuitable data
 source, so please do not edit based on Street View.





___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk