NeTEx
NeTEx copied to clipboard
Groups not in use
Following groups are defined but not in use in next. They obviously can be removed, but maybe evaluate why their presence is or was there.
AccessEquipmentListGroup
AddressPlaceGroup
AllFacilitiesGroup
AllFacilityGroup
CalculationParametersInFrameGroup
CallDetailsGroup
CappingStartConstraintGroup
ClassificationDescriptorGroup
ComplaintsServiceGroup
CustomerPurchasePackageElementSelectionGroup
CustomerServiceGroup
DataObjectVolumeGroup
DeckPathJunctionSpotGroup
DeliveryEndpointGroup
FareStructureGroup
FlexibleQuayIdentifierGroup
FlexibleSiteElementGroup
GaragePointGroup
geometricPositionGroup
geometricPositionListGroup
HailAndRideAreaDescriptorGroup
InfrastructurePointGroup
LocalServiceChoice
LocalServiceCommercialChoice
LocatableSpotDimensionGroup
NetexIndexGroup
OneOrAllAuthoritiesRefGroup
OneOrAllCountriesRefGroup
OneOrAllOperatorsRefGroup
OneOrAllTransportOrganisationsRefGroup
OperatorGroup
OptionalSubscriberEndpointGroup
ParkingPointGroup
ProfileRefsGroup
PtNetworkSubodeChoiceGroup
ServiceCategoryGroup
ServiceJourneyFrameGroup
ServicePatternSequenceGroup
SignEquipmentListGroup
SiriCommonIndexGroup
SiteEquipmentList
SitePathLinkElementGroup
StandardObjectProperties
StopPlaceComponentIdentifierGroup
StopPointInJourneyPatternReferencesGroup
TicketingEquipmentListGroup
TimeDemandOnlyInFrameGroup
TrainDimensionsGroup
UsageParameterAfterSalesRefGroup
UsageParameterBookingRefGroup
UsageParameterLuggageRefGroup
UsageParameterProductRefGroup
UsageParameterTravelRefGroup
VehicleEquipmentChoice
VehicleManoeuvringRequirementCapacityGroup
VehicleModeCharacterisationGroup
VehiclePoolingMeetingPlaceGroup
VehicleSchedulePropertiesGroup
VersionFrameDefaultsGroup
VersionFrameMembersGroup
WgsGroup
List can be reproduced via:
grep -h "group name=" `find . -type f` | sed "s/.*name=\"\([^\"]*\)\".*/\1/g" | sort -u >/tmp/defined-groups.txt
grep -h "group ref=" `find . -type f` | sed "s/.*ref=\"\([^\"]*\)\".*/\1/g" | sort -u >/tmp/referenced-groups.txt
diff -u /tmp/defined-groups.txt /tmp/referenced-groups.txt | grep -- "^-" | sed "s/^-//g"
I just did a few check (like TrainDimensionsGroup that was replaces by a more general VehicleDimensionsGroup ...). I think that we can get rid of most of them.
In the another Location pull request I have actually introduce the WgsGroup again. But since nothing is referenced I am happy to remove everything. I think having a script that (for all groups and complextypes) would check if they are referenced would make sense.