This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

extra space in returned xml (nominatim/reverse)

1

Hi,

I installed a local Nominatim server.

The reverse query returns an xml with the correct content but it starts with a space character.

Surprisingly, web browsers don't handle it.

Is there a way to remove this extra space?

Thanks, Raz

asked 06 Jan '14, 09:38

RazAlon's gravatar image

RazAlon
619914
accept rate: 0%


One Answer:

6

Likely a whitespace issue in one of your PHP files. Make sure you did not add any whitespace before <?php in settings/local.php or other php files edited.

This answer is marked "community wiki".

answered 06 Jan '14, 11:37

Firefishy's gravatar image

Firefishy ♦♦
1.3k73652
accept rate: 29%

2

Bingo, it was indeed in local.php.

thanks a lot! Raz

(06 Jan '14, 11:45) RazAlon

Source code available on GitHub .