GithubHelp home page GithubHelp logo

Comments (3)

l-vincent-l avatar l-vincent-l commented on May 25, 2024

The wanted behavior is too create a stop_area for stop_point which don't have one.

This should be done in: https://github.com/CanalTP/navitia/blob/dev/source/ed/connectors/gtfs_parser.cpp in the function StopsGtfsHandler::handle_stop_point_without_area
What is the GTFS file you are using?

from navitia.

antoine-de avatar antoine-de commented on May 25, 2024

To complete Vincent's answer, we create a stop_area for the stop_points only if no stop_area were provided.

If at least one stop area was in the file we consider a stop_point without a stop_area as not consistent.

If you think this is too harsh, maybe it would be useful to have the possibility to soften the coherence checks with a parameter, but I think the default behavior should be quite strict with the coherence of the imported data.

from navitia.

koch-t avatar koch-t commented on May 25, 2024

Thanks for the clarifications on this.

I'm using the GTFS file of The Netherlands (gtfs.ovapi.nl/nl), where there are quite a few stops without stop area's. That is partly because the Dutch IFOPT dataset is still in the development stages at this point. The other reason is that some operator's do not consider a single stoppoint to be a stoparea, this situation can for example occur in a oneway street.

I would suggest to also artificially create stoparea's for feeds where not every stop has a stoparea. I strongly suspect there will be other feeds exported this way.

Oh and i found that piece of code already and last night i made this commit on it, which should have been a pull request already.
koch-t@f2ba9ec

from navitia.

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.