api icon indicating copy to clipboard operation
api copied to clipboard

libpostal label 'state'

Open missinglink opened this issue 2 years ago • 0 comments

We had a report that the parsed_text portion of the geojson response can contain the label state instead of region which is the nomenclature used in WOF.

Looking at the code, we seem to map all other fields across but not state, I'm unsure if this is a feature or a bug, but would require going through the code and checking for occurrences before changing it.

https://github.com/pelias/api/blob/master/controller/libpostal.js#L18

missinglink avatar Aug 08 '23 12:08 missinglink