My approach would be to use:
- https://github.com/mapbox/togeojson <https://github.com/mapbox/togeojson> - 
to batch convert all the gpx -> geojson
then
- https://github.com/mapbox/tippecanoe <https://github.com/mapbox/tippecanoe> - 
to merge them all into a vector tileset.
then
- upload that to Mapbox for hosting so that people can trace from it in the OSM 
editors.

But this is just one approach and there might be other tools that do this.
(I work for Mapbox, so I’m mostly familiar with our tools)

Thanks, Bryan



> On Sep 14, 2018, at 9:56 AM, zhangy...@lewaimai.com wrote:
> 
> yes,I only need to use the tracks to add roads to OSM once for each road at 
> the first time,but the problem is that how can I know whick roads are 
> missing,especial even the same road can have different GPS points in 
> different gpx files. <>
> 
> it is a small city for china, the current data in OSM about the city is not 
> enough, many roads are missing,so I need to use the 100,000 gpx files to add 
> the missing roads,so i can get the bicycle distance between different points 
> of the city.
> 
> of course, they are many repeated roads in  <> the 100,000 gpx files, what I 
> need is the actual way info, how can I find them out?
> 
> zhangy...@lewaimai.com <mailto:zhangy...@lewaimai.com>
>  
> From: Simon Poole <mailto:si...@poole.ch>
> Date: 2018-09-14 21:15
> To: dev <mailto:dev@openstreetmap.org>
> Subject: Re: [OSM-dev] question about add way to openstreetmap by GPX 
> automatic
> You probably don't want to use the tracks directly to add roads to OSM (you 
> would only want to do this once in any case). Definitely they could be useful 
> for detecting which roads are missing, and, if the available aerial imagery  
> isn't good enough for actually adding any missing roads. 
> Can you indicate where the city is?
> Simon
> 
> Am 14.09.2018 um 14:33 schrieb zhangy...@lewaimai.com 
> <mailto:zhangy...@lewaimai.com>:
>> my ios app has 10,000 users in one city, and they wii collect the trajectory 
>> in gpx format, i want to add way to  openstreetmap use their gpx trajectory.
>> 
>> there will be almost 100,000 gpx files one day, so it is not possible to 
>> edit map manual by software such as JOSN.
>> 
>> I want to know if I can product ways accord to the 100,0000 gpx files 
>> automatic,I need a C++ library which can do this,can anyone help me please?
>> 
>> 
>> 
>> zhangy...@lewaimai.com <mailto:zhangy...@lewaimai.com>
>> 
>> _______________________________________________
>> dev mailing list
>> dev@openstreetmap.org <mailto:dev@openstreetmap.org>
>> https://lists.openstreetmap.org/listinfo/dev 
>> <https://lists.openstreetmap.org/listinfo/dev>
> 
> _______________________________________________
> dev mailing list
> dev@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev

_______________________________________________
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev

Reply via email to