pelias / csv-importer

Import arbitrary data in CSV format to Pelias
MIT License
23 stars 22 forks source link

Import into Pelias German house numbers with CSV importer #98

Closed dawidl11 closed 2 years ago

dawidl11 commented 2 years ago

Hi there,

What I am doing: in my project I want to import a CSV file with German addresses into Pelias. Using the defaults, I mapped my address data to the Pelias import CSV accordingly.

Problem: However, I encountered a problem in the process: German house numbers consist of a number and often an additional house number suffix, e.g. "11b" or "7a". Pelias expects the attribute "housenumber" to be a number and not a string, otherwise it returns an error message during import.

Question: Is there any way to import my house number with the house number suffix into Pelias using the CSV importer?

Many thanks in advance for the answers! Dawid

missinglink commented 2 years ago

That's odd, are you sure? I looked at the code and didn't see anywhere which might assert that a housenumber must be entirely numeric.

Can you please provide additional information about the error.

dawidl11 commented 2 years ago

Hi, that's right, actually the house numbers were not the problem. The problem was in another place (probably the coordinates).... Thanks for the quick reply and sorry for the misinformation.

missinglink commented 2 years ago

Please close this issue if it's resolved.