[Geocoding] Nominatim query returns weird output instead of json
Sarah Hoffmann
lonvia at denofr.de
Tue May 19 11:00:49 UTC 2015
Hi,
On Tue, May 19, 2015 at 11:03:32AM +0200, Mathias Versichele wrote:
> Hello list,
>
> I just compiled and set up 2.4.0, and imported the latest Luxembourg
> snapshot (without any error messages). Calling an example url returns
> output that resembles some kind of json (arrays, key-value pairs) structure
> followed by some tables, etc. What am I doing wrong.
>
> Url:
> http://144.76.36.45/nominatim/search.php?q=route%20de%20luxembourg%2018,%20echternach&format=json&addressdetails=1
>
> Output:
>
> string 'select word_id,word_token, word, class, type, country_code,
> operator, search_name_count from word where word_token in (' rt de
> luxembourg 18','rt de luxembourg 18',' rt','rt',' de luxembourg
> 18','de luxembourg 18',' de','de',' luxembourg 18','luxembourg 18','
> luxembourg','luxembourg',' 18','18',' de luxembourg','de luxembourg','
> rt de','rt de',' rt de luxembourg','rt de luxembourg','
> echternach','echternach')' *(length=412)*
>
> *array* *(size=2)*
>
this looks like you are in debug output mode by default. Check if
you have set CONST_Debug to true in settings/local.php or
settings/settings.php
Sarah
More information about the Geocoding
mailing list