Opened 10 years ago

Closed 8 years ago

#2898 closed defect (fixed)

json for Nominatim is wrong

Reported by: roeea2@… Owned by: roeea2@…
Priority: critical Milestone:
Component: nominatim Version:
Keywords: Cc:


When <road> contain only number it passes as an integer. e.g: <road>453</road> should come as a string in JSON mode as everything. JSON should be only string all the time.

Attachments (1)

lib.php.diff (597 bytes) - added by Andrew O. Shadoura 10 years ago.
A patch to fix the issue

Download all attachments as: .zip

Change History (3)

comment:1 Changed 10 years ago by roeea2@…

Owner: changed from openstreetmap@… to roeea2@…
Status: newassigned

Changed 10 years ago by Andrew O. Shadoura

Attachment: lib.php.diff added

A patch to fix the issue

comment:2 Changed 8 years ago by Sarah Hoffmann

Resolution: fixed
Status: assignedclosed

Nominatim now uses php's function to create properly formatted json strings.

Note: See TracTickets for help on using tickets.