[OSM-dev] Error with API request to local server
Matthias Brandt
mb at blau.de
Wed Nov 19 09:56:05 GMT 2008
Matthias Brandt wrote:
> [2] http://sprunge.us/LPN
Okay, when I rerun a request with
# wget -S
http://localhost:3000/api/0.5/map?bbox=10.08213,53.54758,10.09015,53.55278
I got the same error ("char out of range"). So I run the SQL-Statement
by hand and got the result:
mysql> SELECT * FROM `current_way_tags` WHERE ((current_way_tags.id =
5778447));
+---------+-------------+---------------+
| id | k | v |
+---------+-------------+---------------+
| 5778447 | created_by | Potlatch 0.6b |
| 5778447 | postal_code | 22111 |
| 5778447 | name | B�melburgweg |
| 5778447 | highway | residential |
+---------+-------------+---------------+
4 rows in set (0.00 sec)
The 3rd entry has an german umlaut, so I think libxml has problems with
reading/processing UTF-8 chars. What can I do? Obviously, you don't have
these problems at openstreetmap.org...
Matthias
More information about the dev
mailing list