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  > 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
>>> 
>>>
>>> On 6 May 2015 at 14:21, Paul Johnson >> > 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  > 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.
>>
>
>

>>>
>>
>

-- 

600,000 DC residents don't have a vote in Congress -- http://www.dcvote.org/

___
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  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
>> 
>>
>> On 6 May 2015 at 14:21, Paul Johnson  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  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 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
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
> 
>
> On 6 May 2015 at 14:21, Paul Johnson  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  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
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


On 6 May 2015 at 14:21, Paul Johnson  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  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
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  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
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  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 christian.pietz...@googlemail.com
There is an alternative to Google StreetView. It's called Mapillary
 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 :

>
>
> 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:



[...]

  
2014-10-03T07:08:14Z
  


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

 [...]


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