-
Notifications
You must be signed in to change notification settings - Fork 0
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
LIR request with both filters "stops" and "address" only gives stops back #22
Comments
We need to change the behaviour of the Stopfnder Application. Could have impact on other functionalities, we will check that in PI20 |
@vasile I made the changes for the INT system. Is this the response you would expect? |
@TO-mdv On your print screen looks good, but when I made a request on INT I got an error, is the service currently down ? (When I search "Lugano via Balestra 33" for example) |
@TO-mdv - looks good @terencebls - I also get an error for that query "Lugano via Balestra 33" other queries are working, I assume is the same issue as in #16 , we get same error back
@TO-mdv let us know if we should create another ticket for this |
@TO-mdv Just to be sure, we are expecting that the searches also works for those cities for example: -Zurich (without Umlaut) When I try with those cities with INT we only get an error. |
@vasile I see the point. I will check that again, I don't need another Ticket, let's track in this one |
SH-2931 OJP2.0 LIR bringt keine Adressen, trotz deaktivierter ConflictRule -> LIR-2d_ohne Filter muss auch Address liefern |
@TO-mdv with Lugano it doesn't work, it's another problem? |
@terencebls this seems to be a different issue. It looks like the LIR is not able to find the housenumber. Other examples for housenumbers are working, example "Staffelstrasse 12 8045". I will check, if there are problems in the base data for adresses. |
@TO-mdv also searche as Type='address' and Name= |
@vasile That's another problem: if we are searching for "bern" and addresses, we are getting to many results. So for performance reason, we are not able to give a response. Is that really a usecase of user perspective: search for an adress in Bern, type "bern" without any hint on a street? Do you really expect in the list the address you are searching for? |
@TO-mdv yes, the user will use in the integrator app stop+address filter, so will not be the case from my specific example (bern with type=address), so yes, we can ignore it for now |
If we make a LIR request with both restriction filters for "stops" and "address", we get only stops.
Request example:
<OJP xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.vdv.de/ojp" version="2.0"> <OJPRequest> <siri:ServiceRequest> <siri:RequestTimestamp>2024-05-07T14:50:21Z</siri:RequestTimestamp> <siri:RequestorRef>OJP_Demo_iOS_IOS_SDK_0.0.1</siri:RequestorRef> <OJPLocationInformationRequest> <siri:RequestTimestamp>2024-05-07T14:50:21Z</siri:RequestTimestamp> <InitialInput> <Name>Bern Schul</Name> </InitialInput> <Restrictions> <Type>stop</Type> <Type>address</Type> <NumberOfResults>10</NumberOfResults> <IncludePtModes>true</IncludePtModes> </Restrictions> </OJPLocationInformationRequest> </siri:ServiceRequest> </OJPRequest> </OJP>
It should actually also give back addresses and not only stops.
The text was updated successfully, but these errors were encountered: