openTdataCH / ojp-sdk

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

LIR BBOX with Type=address doesnt respect the BBOX #13

Open vasile opened 2 months ago

vasile commented 2 months ago

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

image

One of the rows outside of BBOX UL: 7.439034,46.943962 LR: 7.441662,46.942164

The place below has longitude smaller than UL longitude

<Place>
  <Address>
    <PublicCode>streetID:1018648781::-1</PublicCode>
    <Name>
      <Text xml:lang="de">Sulgeneckstrasse</Text>
    </Name>
  </Address>
  <Name>
    <Text xml:lang="de">Sulgeneckstrasse</Text>
  </Name>
  <GeoPosition>
    <siri:Longitude>7.43781</siri:Longitude>
    <siri:Latitude>46.94357</siri:Latitude>
  </GeoPosition>
</Place>

Request /POST https://api.opentransportdata.swiss/ojp20 XML: https://gist.github.com/vasile/bd4d0819c9331978229a922082e0f3c7

TO-mdv commented 2 months ago

Problem already exists in OJP1.0 Example for https://tools.odpch.ch/ojp-api-explorer-v2/?gist=bd4d0819c9331978229a922082e0f3c7

image

`<?xml version="1.0" encoding="UTF-8"?>

{{$isoTimestamp}} MENTZRegTest {{$isoTimestamp}} LIR-2c 9.900556 46.571497 9.903184 46.569699 address 10 `