ais icon indicating copy to clipboard operation
ais copied to clipboard

Children of arbitrary range not returned

Open bertday opened this issue 8 years ago • 3 comments

Searching for 1410-1430 GERMANTOWN gives a 404. OPA API returns a number of addresses in that range.

http://property.phila.gov/?a=1410-1430%20GERMANTOWN&u=

bertday avatar Jul 09 '16 23:07 bertday

ugh. i notice as well that the parity of the low number is respected in current property. is that the right behavior?

(e.g. http://property.phila.gov/?a=1411-1430%20GERMANTOWN&u= gives addresses on the odd side of the street)

mjumbewu avatar Jul 13 '16 16:07 mjumbewu

@mjumbewu I hadn't really anticipated that use of the API, but I guess that's what I would expect to get back -- all the addresses on the same side of the street in that range. Do you think that would be hard to implement?

bertday avatar Jul 14 '16 15:07 bertday

This seems like part of a bigger issue around handling arbitrary range searches in the API. There are a few questions around the search format/matching process that will have to be addressed first (e.g. do we require users to enter two equal-length numbers like 1410-1430 to signify a range search vs. 1410-30 for an exact ranged address lookup? Should we try the exact lookup first and fall back to the range search?) This could also be addressed with better spatial/map-based lookup tools.

bertday avatar Jan 04 '17 16:01 bertday