openTdataCH / ojp-nova

Interface between OJP and NOVA to return an OJPFareDelivery
1 stars 0 forks source link

When running test_network_flow the ojp:LinkProjection writes empty <Coordinates/> that are not allowed #45

Open ue71603 opened 4 months ago

ue71603 commented 4 months ago
                        </ojp:Service>
                            <ojp:LegTrack>
                                <ojp:TrackSection>
                                    <ojp:TrackStart>
                                        <StopPointRef>ch:1:sloid:7000:5:9</StopPointRef>
                                        <ojp:LocationName>
                                            <ojp:Text xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="de">Bern</ojp:Text>
                                        </ojp:LocationName>
                                    </ojp:TrackStart>
                                    <ojp:TrackEnd>
                                        <StopPointRef>ch:1:sloid:7483:0:954324</StopPointRef>
                                        <ojp:LocationName>
                                            <ojp:Text xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="de">Spiez</ojp:Text>
                                        </ojp:LocationName>
                                    </ojp:TrackEnd>
                                    <ojp:LinkProjection>
                                        <ojp:Position>
                                            <Longitude>7.43863</Longitude>
                                            <Latitude>46.94940</Latitude>
                                            <Coordinates/>
                                        </ojp:Position>
                                        <ojp:Position>
                                            <Longitude>7.43887</Longitude>
                                            <Latitude>46.94953</Latitude>
                                            <Coordinates/>