opentripplanner / OpenTripPlanner

An open source multi-modal trip planner

Home Page:http://www.opentripplanner.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question/Possible bug] Expected behaviour for Netex? "Netex file ignored" for Slovenian dataset

adnan-smlatic opened this issue · comments

I am trying to import the Netex files for Slovenia from the official government provider at nap.si , they provide the following zip files each containing an .xml with the same name + date eg. NETEX_PI_01_SI_NAP_OPERATOR_20240107.xml

NETEX_PI_01_SI_NAP_FARES.zip
NETEX_PI_01_SI_NAP_NETWORK.zip
NETEX_PI_01_SI_NAP_OPERATOR.zip
NETEX_PI_01_SI_NAP_STOP.zip

I have tried absolutely everything in the documentation and the provided examples, but no matter what I do I get:

16:49:39.863 WARN [main] (NetexDataSourceHierarchy.java:108) Netex file ignored: . ... The file do not match any file patterns in the config.

Doesn't seem to matter what I name and rename the files, or what I set the file pattern to, build config, zip them all together, it's always the same response.

The Slovenian dataset is a lot different to the Norway example provided so I am not really sure.

Is this the expected response, are the provided files in some weird format or is this some sort of bug?

Reading in Netex data is a complicated topic and only the Nordic profile has been thoroughly tested. We want to support more though.

I recommend that you come to one of our developer meetings to get an idea of what to do to get it to work: https://github.com/opentripplanner/OpenTripPlanner/blob/dev-2.x/CONTRIBUTING.md#developer-meetings

I guarantee you that you will save time doing this.

Otherwise @t2gran is the Netex expert and might see this issue and respond.

Looks like Slovenia has made their own profile, https://data4pt.org/w/index.php?title=NeTEX

@BredeD thanks for the link. I am very new to netex, but really don't understand the point of a "standard" if it allows for individual profiles that differ in structure and don't seem to work with each other.

This is indeed a very unfortunate aspect of NeTex.

It's a long answer to it, but in short, it is a sad result of the incorrect sequence where the regulation pointing to a profile not existing came first and not a well-organized process. The process is now getting better, but the damage has occurred. Advocate for only two profiles in the future, but it will be hard to get there. Have asked the author of the Slovenian profile for assistance to understand what is different.

The transport sector in Slovenia is one giant mess, so I am worried for what you might find out about that hah.

Really hope I will some day be able to contribute to this project, still lack a lot of knowledge on it all, but I am extremely grateful for what you guys have done!

Just in case it might be of interest and since it requires individual approval, here is the Slovenian Netex: https://send.vis.ee/download/b43210b639031b37/#71izPSQlyFJnYJShgol1mg

Slovenia didn't show up in today's Data4PT meeting, no information and possibility to ask questions.
I need to let someone dig deeper.

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days

commented

I will participate at IT-Trans May 15 in two sessions, both of them with topics of NeTEx and SIRI in Europe based on the implementation of MMTIS regulation. If you have info of attempt of using NeTEx/SIRI for a country NAPs open dataset, give me a heads-up, and I can add it in my panel discussion.

I have not recieved any info from Slovenia, asked again today.

I have had a bit of a correspondence with Neža Drobnič at mzi.ncup@gov.si , so you can try getting in touch there. If nothing comes out of it, I'd be happy to try on your behalf as well.

All I've gotten is this link for the technical specification of the Slovenian profile:

https://www.nap.si/_resources/profiles/NeTEx_SI_Profile_v2.pdf

commented

Translated the profile to English with DeepL. Not sure if we have one familiar with profiles to look at it.
NeTEx_SI_Profile_v2 en.pdf