[OSM-dev] question about add way to openstreetmap by GPX automatic

zhangyang at lewaimai.com zhangyang at lewaimai.com
Fri Sep 14 15:35:58 UTC 2018


Thank you very much for the video!

my app users are in a small city of china, the current data in OSM about the city is not enough, it is nearly no roads in the small city, many roads are missing,so I must add the missing roads to the map.
what I need is to make the whole road network first, then I can calculate the bicycle distance between any two different points of the city for my app。If the road network is not correct, it is not possible to get the distance.
Because all I need is to get the distance of any two different points of the city, so the additional information(street names, maxspeed information, POIs, addresses and so on.) is not necessary for me,even the current OSM data is not necessary for me. 
Is it possible that I can make my own map without the OSM data, I just begin from an empty map data,and I generate ways out of GPX files on my own server?
Even that I still need to solve the three problems below:
GPX tracks will overlap with other GPX tracks. Is it possible to automatically detect whether there are two parallel ways or if this is just one single way?
GPX tracks will cross other GPX tracks. Is it possible to automatically detect whether there is a road junction or one of the ways is a bridge or a tunnel?
Is it  possible to automatically detect which OSM highway class (road, footway, cycleway, ...) my GPX track has?

My app will server many small citys of china in the futuer, it is not possible to edit the map of each city manually,because I am not familiar with the citys too,and the GPX files are not made by me but my users,and the num of the fiels is too large, almost 100,000 every day。
So I need a method to Make roads automatically,just use the GPX files, Thanks.



zhangyang at lewaimai.com
 
From: Jo
Date: 2018-09-14 23:02
To: Bryan Housel
CC: zhangyang; OSM dev list
Subject: Re: [OSM-dev] question about add way to openstreetmap by GPX automatic
I made a short screencast video on how we worked with GPX before we had good aerial imagery to work with:

https://www.youtube.com/watch?v=tU9WJeYO77I

Adding the ways would still be a manual process, but that's the best way to integrate it with the already existing data anyway. I'm also showing the ImproveWay functionality, which makes it actually quite enjoyable.

Polyglot

Op vr 14 sep. 2018 om 16:56 schreef Bryan Housel <bhousel at gmail.com>:
My approach would be to use:
- https://github.com/mapbox/togeojson - to batch convert all the gpx -> geojson
then
- 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, zhangyang at 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?



zhangyang at lewaimai.com
 
From: Simon Poole
Date: 2018-09-14 21:15
To: dev
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 zhangyang at 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?





zhangyang at lewaimai.com


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

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

_______________________________________________
dev mailing list
dev at openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20180914/eeac5b01/attachment-0001.html>


More information about the dev mailing list