Re: [Talk-transit] GTFS from OSM data?

2011-08-29 Thread Khoa Tran
Mike,


I'm the developer of GO-Sync. Glad to hear that it's useful for you.
Regarding the issue of building GTFS data from OSM, my mentors and I had a
small discussion and we identified the following challenges:


1) routes and trips have a 1-to-many relationships. In other words, a route
can have many different trips that visit different sequences of bus stops on
that route, all dependent on different schedules.  We can get a list of all
the routes in the region by getting all relations with route=bus in the
bounding box. However, given that OSM doesn’t have a clean way of storing
schedules that would be required for creating trips.txt, we feel it’s better
to store/generate this data outside of OSM.  In other words, GO-Sync could
be used to manage bus stops for stops.txt and routes for routes.txt and
output this data to GTFS format, but trips.txt and shapes.txt would be
significantly more difficult (because they are attributes of trips and
schedules).

** **

2) Shapes.txt file requires "shape_pt_sequence", which defines an ordering
of stops within a trip.  If I understand your question correctly, you want
to represent this information in a ‘public_transport=stop_position’ tag on
the route relation.  I believe this would be possible, but you would still
need to deal with the issues of schedules and trips as discussed in #1
above.

** **

Having stated the above challenges, we made the source code publicly
available and we welcome any suggestions and contributions to the project.
If you’re able to overcome the above challenges and create a tool based on
GO-Sync that is useful to you and others, we’d be glad to review this tool
for possible inclusion in the GO-Sync Google Code repository so it can be
shared with others.

** **

You also might want to check out a recent webinar by the National RTAP on
their GTFS Builder Tools:

http://www.nationalrtap.org/Resources/VideoLibrary.aspx

** **

As well as the Transit Data Feeder project (
http://code.google.com/p/transitdatafeeder/), which is an effect to develop
and maintain an application that provides a web-based interface for creating
and maintaining GTFS feeds.

** **

Feel free to contact us if you have more questions.

On Fri, Aug 26, 2011 at 9:05 AM, Mike N  wrote:

> I have looked at Go-Sync (Great tool!) and have some questions about public
> transport and GTFS.   I am starting from perhaps the reverse of normal case:
> any agency data on routes and stops was way out of date and very incomplete.
>   The system is small and well within the scope of being surveyed from
> scratch and entered into OSM. It appears that Go-Sync is focused on stop
> synchronization, given the routes in routes.txt+trips.txt+shapes.**txt .
>
>  1.  Are there any tools to create routes.txt + trips.txt + shapes.txt from
> OSM public transport route relations?   If not, would such a tool be within
> the scope to add to Go-Sync, or should this just be a separate tool?
>
>  2.  For bus routes, is there any value to adding
> public_transport=stop_position to the OSM data, in addition to
> highway=bus_stop?
>
> __**_
> Talk-transit mailing list
> Talk-transit@openstreetmap.org
> http://lists.openstreetmap.**org/listinfo/talk-transit<http://lists.openstreetmap.org/listinfo/talk-transit>
>



-- 
Khoa Tran
___
Talk-transit mailing list
Talk-transit@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-transit


Re: [Talk-transit] [GTFS import] How to automatically add bus stops to relations?

2010-09-08 Thread Khoa Tran
Because the application will upload a large amount of data into OSM, I'd
like to write some clear instructions first before put up the executable
file (jar file in this case). Otherwise, the OSM server would have false
data.
Below is what the application generates:
http://www.openstreetmap.org/edit?lat=28.05112&lon=-82.42484&zoom=17
<http://www.openstreetmap.org/edit?lat=28.05112&lon=-82.42484&zoom=17>
I'll try my best to put up the executable file by the end of this week. But
if you have your dataset before that, please post it cause I haven't tested
the application well yet (only on 2 dataset).

On Wed, Sep 8, 2010 at 1:27 PM, Michał Borsuk wrote:

>
>
> On 8 September 2010 18:55, Khoa Tran  wrote:
>
>> Hi Michal,
>> We're developing an application to do just exactly what you want. We have
>> successfully run a test on Hillsborough Area Regional Transit (HART) in
>> Tampa, FL, USA. However, it's in a premature stage and need just a little
>> bit more of the GUI. If you don't mind, you can post the link of your GTFS
>> dataset and let us run a test on your dataset. We'll let you know the
>> result.
>>
>
> Unfortunately the dataset is larger than the licence, i.e. it contains
> parts of other regions for which I have no permission to process and I don't
> touch. I could possibly provide you the data once I'm finished processing
> it, as I need to review stop names (it's done partially).
>
> One problem I've encountered so far: does your program accept data within
> qoutation marks? Our bus stops contain commas in the names, which is a GTFS
> requirement, but didn't go well with the "Public transport" plugin for JOSM.
>
> Otherwise, you can visit the application's website at
>> http://code.google.com/p/gtfs-osm-sync/ . It's a java desktop application
>> and there's no jar file available yet. But we'll put something up very soon
>> with instructions on how to use the app.
>>
>
> I've been to your website, but where's the executable?
>
>
> --
> Best regards, mit freundlichen Grüssen, meilleurs sentiments, Pozdrowienia,
>
>
> Michał Borsuk
>
> ___
> Talk-transit mailing list
> Talk-transit@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-transit
>
>


-- 
Khoa Tran
___
Talk-transit mailing list
Talk-transit@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-transit


Re: [Talk-transit] [GTFS import] How to automatically add bus stops to relations?

2010-09-08 Thread Khoa Tran
Hi Michal,
We're developing an application to do just exactly what you want. We have
successfully run a test on Hillsborough Area Regional Transit (HART) in
Tampa, FL, USA. However, it's in a premature stage and need just a little
bit more of the GUI. If you don't mind, you can post the link of your GTFS
dataset and let us run a test on your dataset. We'll let you know the
result. Otherwise, you can visit the application's website at
http://code.google.com/p/gtfs-osm-sync/ . It's a java desktop application
and there's no jar file available yet. But we'll put something up very soon
with instructions on how to use the app.

On Wed, Sep 8, 2010 at 10:26 AM, Michał Borsuk wrote:

> Hello.
>
> Thanks to Roland Olbricht's "Public Transport" plugin, I have successfully
> merged existing bus stops with "my" GTFS data. There was a part of the work
> that required manual human intervention, e.g. mapping existing bus stops to
> the imported ones, but the second part, that is mapping bus stops (nodes) to
> lines (relations) can be done automatically.
>
> Any ideas how to do it?
>
>
>
> --
> Best regards, mit freundlichen Grüssen, meilleurs sentiments, Pozdrowienia,
>
>
> Michał Borsuk
>
> ___
> Talk-transit mailing list
> Talk-transit@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-transit
>
>


-- 
Khoa Tran
___
Talk-transit mailing list
Talk-transit@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-transit