openTdataCH / ojp-sdk

Meta OJP SDK repo
MIT License
4 stars 0 forks source link

LIR BBOX with Type=poi returns Place entries not in XSD schema #26

Open vasile opened 3 months ago

vasile commented 3 months ago

https://tools.odpch.ch/ojp-api-explorer-v2/?gist=9371ce7c63fee0e7842c3f902d9939f6

According to XSD schema a PointOfInterest was expected, we get only Name/GeoPosition back

<PlaceResult>
  <Place>
    <Name>
      <Text xml:lang="de">Hauptbahnhof</Text>
    </Name>
    <GeoPosition>
      <siri:Longitude>7.44057</siri:Longitude>
      <siri:Latitude>46.94877</siri:Latitude>
    </GeoPosition>
  </Place>
  <Complete>true</Complete>
  <Probability>0.95</Probability>
</PlaceResult>
TO-mdv commented 1 month ago

The POI functionality is not yet implemented. I will transfer this issue to a feature and put it in the backlog.