Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assigned vehicle for ServiceJourney #345

Closed
codeape2 opened this issue Apr 25, 2022 · 4 comments
Closed

Assigned vehicle for ServiceJourney #345

codeape2 opened this issue Apr 25, 2022 · 4 comments

Comments

@codeape2
Copy link

Context/background:

  • Example: Route planning for car ferry Molde-Vestnes assigns the vessel "MF Malmefjord" to the service journey at 02:30 Monday-Friday.

  • This information is potentially useful for the passengers. For instance trucks carrying dangerous goods can phone "MF Malmefjord" ahead and enquire re. available spots. Also useful for ambulances, fire trucks etc.

  • Currently this information is only available in the PDF timetables on the ferry company website (see screenshot, the letters A-D refer to the ferries listed with contact phone number top right).
    image

  • In Norway, some authorities use NoticeAssignment/Notice to convey this information in NeTEx

Questions/issues:

  • What is the best way to include this information in NeTEx? I.e. for each ServiceJourney, refer to which ferry is assigned.
  • The vessel/vehicle information should include: name, identifier (ships: IMO/MMSI) and contact information
  • In the xsd I find Vehicle, VehicleRef, vehiclesInFrame_RelStructure etc. but I can not see any way to express the connection between a ServiceJourney and a Vehicle.
@Aurige
Copy link
Contributor

Aurige commented Apr 25, 2022

I guess the best way to go would be to use the fact that each ServiceJourney can reference a VehicleType: then you create a VehicleType for "MF Malmefjord". However you will miss the Contact information in the VehicleType but you have it at ServiceJourney level.
Would that work ?

@JohanEntur
Copy link
Collaborator

JohanEntur commented Sep 27, 2022

We've received the first dataset with such data.

	<vehicles>
		<Vehicle id="HAV:Vehicle:1" version="1">
			<Name>MS Havila Capella</Name>
			<OperationalNumber>9865570</OperationalNumber>
			<OperatorRef ref="HAV:Operator:999523587" version="1"/>
			<VehicleTypeRef ref="HAV:VehicleType:1" version="1"/>
		</Vehicle>
		<Vehicle id="HAV:Vehicle:2" version="1">
			<Name>MS Havila Castor</Name>
			<OperationalNumber>9865582</OperationalNumber>
			<OperatorRef ref="HAV:Operator:999523587" version="1"/>
			<VehicleTypeRef ref="HAV:VehicleType:1" version="1"/>
		</Vehicle>
		<Vehicle id="HAV:Vehicle:3" version="1">
			<Name>MS Havila Polaris</Name>
			<OperationalNumber>9873759</OperationalNumber>
			<OperatorRef ref="HAV:Operator:999523587" version="1"/>
			<VehicleTypeRef ref="HAV:VehicleType:1" version="1"/>
		</Vehicle>
		<Vehicle id="HAV:Vehicle:4" version="1">
			<Name>MS Havila Pollux</Name>
			<OperationalNumber>9873761</OperationalNumber>
			<OperatorRef ref="HAV:Operator:999523587" version="1"/>
			<VehicleTypeRef ref="HAV:VehicleType:1" version="1"/>
		</Vehicle>
	</vehicles>
</ResourceFrame>
<InfrastructureFrame id="HAV:InfrastructureFrame:1" version="1">
	<vehicleTypes>
		<VehicleType created="2022-09-21T11:41:00.900" id="HAV:VehicleType:1" version="1">
			<Name>Model</Name>
			<Description>Hybrid cruise vessel</Description>
			<SelfPropelled>true</SelfPropelled>
			<EuroClass>DNVGL</EuroClass>
			<PassengerCapacity>
				<TotalCapacity>640</TotalCapacity>
			</PassengerCapacity>
			<LowFloor>true</LowFloor>
			<HasLiftOrRamp>true</HasLiftOrRamp>
			<Length>124</Length>
			<Width>22</Width>
		</VehicleType>
	</vehicleTypes>
</InfrastructureFrame>

@JohanEntur
Copy link
Collaborator

#401 Is required to add the contact information to each "vehicle" (ship).

@ue71603
Copy link
Contributor

ue71603 commented Dec 12, 2023

See #584 . I added the ContactDetails there. also did the work asked for here. Will be discussed. Not sure, if it will be used in the end. I think that going through VehicleType is more relevant in classical public transport. For ferries and alternative modes. I think the VehicleType is not a direct concept, but it is ServiceJourney - Vehicle - VehicleType. But I guess @Aurige has an opinion on that....

@ue71603 ue71603 closed this as completed Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants