Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

search from IOS is crashing #3155

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments
Closed

search from IOS is crashing #3155

openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Richard66
[Submitted to the original trac issue database at 2.20am, Wednesday, 4th August 2010]

Trying to do a search containing a "special keyword" (POI) like:

http://nominatim.openstreetmap.org/search/airport

from Safari (or any other web browser) on a IOS device (iPhone/iPad) does result in:

string(354) "select place_id,false as in_small,false as in_large from search_name where name_vector > ARRAY[] and ST_DWithin(centroid, ST_SetSRID(ST_Point(9.584734,47.65929),4326), 0.1) order by ST_Distance(centroid, ST_SetSRID(ST_Point(9.584734,47.65929),4326)) ASC, ST_Distance(ST_SetSRID(ST_Point(9.584734,47.659290),4326), centroid) asc, search_rank ASC limit 10"
object(DB_Error)#2 (8) {
["error_message_prefix"]=>
string(0) ""
["mode"]=>
int(1)
["level"]=>
int(1024)
["code"]=>
int(-2)
["message"]=>
string(22) "DB Error: syntax error"
["userinfo"]=>
string(541) "select place_id,false as in_small,false as in_large from search_name where name_vector > ARRAY[] and ST_DWithin(centroid, ST_SetSRID(ST_Point(9.584734,47.65929),4326), 0.1) order by ST_Distance(centroid, ST_SetSRID(ST_Point(9.584734,47.65929),4326)) ASC, ST_Distance(ST_SetSRID(ST_Point(9.584734,47.659290),4326), centroid) asc, search_rank ASC limit 10 [nativecode=ERROR: syntax error at or near "]"
LINE 1: ...large from search_name where name_vector > ARRAY[] and ST_D...

...

...

...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant