AaltoAsia / O-MI

Internet of Things data server implementing Open Messaging Interface and Open Data Format
BSD 4-Clause "Original" or "Old" License
22 stars 13 forks source link

findParking - not all results in area are returned #15

Open fl-ma opened 6 years ago

fl-ma commented 6 years ago

Executing this find parking query: `

ParkingService Parameters 3000 false Destination 48.137180 11.575746 Vehicle

`

Returns only this facility: <Object type="mv:ParkingFacility"><id>Facility_Marienpl_ID</id>

When increasing the radius to 30000, those facilities are returned: <Object type="mv:ParkingFacility"><id>Facility_Disabled_nymp_ID</id> <Object type="mv:ParkingFacility"><id>BMW Research and Technology House</id>

This skips at least the first facility and there should others be in range as well (see data in attachment). munich_all.txt

fl-ma commented 6 years ago

tested with v 1.0.4

TK009 commented 6 years ago

We could not reproduce this bug. You can try to restart your server to see if it helps.

Is your data available via normal read request? Are there any errors in logs/omi.log?

If you still have this problem, could you provide clear steps to reproduce, starting from fresh copy of O-MI Node.

fl-ma commented 6 years ago

Yes, the data is available via normal read. I've included that output to the issue above. Have you tried inserting that into your O-MI node and issuing the query?

L-gan commented 6 years ago

Yes. We started empty node, wrote data in munich_all.txt and used the request. We tested with both 1.0.4 and 1.0.5 and both returned following parking facilities within 30000 meters from destination: BMW Research and Technology, Facility_Disabled_nymp_ID, Facility_Marienpl_ID, BMW second facility and Facility_Donnersb_ID.

fl-ma commented 6 years ago

I resetted our node and added some example data again. Now I get another error: When searching explicitely for charging, I get also parking facilities without chargers returned. See attachment for details 20180830 findCharging bug.txt