GithubHelp home page GithubHelp logo

Comments (38)

MKuranowski avatar MKuranowski commented on September 18, 2024 1

I'm a bit late, but I provide a set of feeds with Warsaw data, avaible at mkuran.pl, ff that would help.

The ZTM doesn't have a GTFS feed, they have feed in their custom format, which Google than uses to create GTFS.

from public-transport-enabler.

grote avatar grote commented on September 18, 2024

That they are listed there is good. It means that they have their data available in GTFS format, so support for it could be added using Navitia, provided we can get the GTFS data added to the Navitia web service. I tried to explain the options here: http://transportr.grobox.de/#add_region
So maybe try to find the GTFS data for ZTM and get it added to Navitia.

Is the ZTM data not available within the current provider for Poland?

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

For Poland, I can see only "PKP" provider.

from public-transport-enabler.

schildbach avatar schildbach commented on September 18, 2024

I have a ZtmProvider on a private branch, they've got a Hafas API. However, there was a serious problem that kept me from using it. Can't remember the details, would need to try again.

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

Could you check what was the problem?

from public-transport-enabler.

schildbach avatar schildbach commented on September 18, 2024

I published the branch: https://github.com/schildbach/public-transport-enabler/commits/provider-ztm

The main issue is that departures can't be queried. If someone could talk to ZTM about that, it would be great!

Also it's missing types, but that's an issue on our side.

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

I built Transportr including https://github.com/schildbach/public-transport-enabler/commits/provider-ztm and when I tested it, I got this error:
java.lang.IllegalStateException: cannot normalize type '14'

from public-transport-enabler.

schildbach avatar schildbach commented on September 18, 2024

Yes, the line to product mapping is largely unfinished. But that's only a minor problem, if all else fails we could map any line to null (unknown product).

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

I changed mimi89999@8c7821e to get readable addresses...

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

I found this contact form: http://ztm.waw.pl/?c=115&l=1 , but I don't think I'm capable of writing to them...

from public-transport-enabler.

grote avatar grote commented on September 18, 2024

Why are you not capable? Would you be able to write to them if you understood the nature of the problem with querying departures better?

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

Yes

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

There is also a contact form in English: https://secure.ztm.waw.pl/index.php?c=115&l=2

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

I wrote to them...

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

They replied that they need more details.

from public-transport-enabler.

schildbach avatar schildbach commented on September 18, 2024

If they have an english speaking contact I'd be happy to email them.

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

https://secure.ztm.waw.pl/index.php?c=115&l=2

from public-transport-enabler.

schildbach avatar schildbach commented on September 18, 2024

email

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

You could try: [email protected]

from public-transport-enabler.

schildbach avatar schildbach commented on September 18, 2024

I then never mind. What I meant is if we have a specific contact person there at ZTM we can work with, I'm happy to explain details. Someone who is able to configure their Hafas server.

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

I will write to them and ask.

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

The email address from which I got the reply was: [email protected], so it seems that they don't use/give any other email address. They don't provide any contact email on their website. 😞

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

@schildbach @grote But since ZTM is in the list https://maps.google.com/landing/transit/cities/index.html#Europe , there should be GTFS data available for it. Did I understand something the wrong way?

from public-transport-enabler.

schildbach avatar schildbach commented on September 18, 2024

@mimi89999 PTE expects an API. GTFS is a data format.

from public-transport-enabler.

Etua avatar Etua commented on September 18, 2024

@schildbach @grote I've recently found something called "Dbtimetable API" for ZTM: api.um.warszawa.pl unfortunately all the information are available only in Polish, but you can write to [email protected]. I know that it is appropriate address for this site and it can be used by English speaking people.

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

Any news?

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

@schildbach Is that feed usable?

from public-transport-enabler.

Etua avatar Etua commented on September 18, 2024

@MKuranowski Nativia decided to use your feed.

from public-transport-enabler.

Etua avatar Etua commented on September 18, 2024

@schildbach I presume that now it will be possible to add not only Warsaw, but also other cities added by Nativia?

from public-transport-enabler.

grote avatar grote commented on September 18, 2024

@Etua this is true. However, I would not wait for @schildbach to do this work for you.

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

The data is on Nativia and Google. Other sources are also available: https://mkuran.pl/feed/ztm/ and https://przyjazdy.pl/latest/warszawa.zip . Is there a simple HOWTO for people who are not familiar with the PTE lib and apps using it?

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

@grote The API sometimes returns the line number as type. It will be a nightmare to do the mapping.

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

I added it. https://gitlab.com/opentransitmap/public-transport-enabler/merge_requests/1/

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

Departures are still broken. The HTML interface is returned instead of a table. I wrote again to ZTM about it. Let's hope that they will do something about it.

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

ZTM replied that the official way of getting data are the zips that they provide, that I wrote about before and the API that @Etua wrote about.

I'm not even sure that they are aware that their "wyszukiwarka" is exposing an API...

from public-transport-enabler.

MKuranowski avatar MKuranowski commented on September 18, 2024

@mimi89999 Well, it's like ZTM said: the only official way to download data from them is ftp://rozklady.ztm.waw.pl/ — that's the source for GTFS on mkuran.pl (PRZYJAZDY.PL is just a reupload of mine data 😉). The HAFAS from http://wyszukiwarka.ztm.waw.pl/ is very wired and I'd recommend to forget about it.

On the other hand, Warsaw Open Data project has this DBtimetable API (linked doc in Polish), but it offers only timetables per-stop, so I'd assume it lacks crucial (from trip planning point of view) data.

from public-transport-enabler.

schildbach avatar schildbach commented on September 18, 2024

I just merged #207. Is this issue resolved?

from public-transport-enabler.

mimi89999 avatar mimi89999 commented on September 18, 2024

Yes

from public-transport-enabler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.