Closed SilvrDuck closed 3 years ago
Hi @SilvrDuck,
I think you have the lon
and lat
columns (or data) reversed in your example CSV. That would lead to the records being far away from Switzerland (the horn of Africa, in this case 😄), where I assume you have no WOF data coverage loaded in your Pelias install.
We've all done it :)
Wow, you're right. Can't believe the time I spent on this 😅
Thanks a lot @orangejulius !
Hi, I am trying to import custom data that look like this:
These are based on openly available data from the swiss confederation. I am not using the openaddresses importer as these have been preprocessed, selected, and also support multi-language.
I am running into an issue though, if I import my data, a final record might look like that:
Whereas when I was using
openaddresses
, it use to have the whole WOF hierarchy:I checked what data
openaddresses
uses, but it just look like that:Which is very similar to what I have in my custom csv.
Looking into the code, I found that the
wof-admin-lookup
module was used. In the openaddresses importer, the code was slightly different, so I made my owncsv-importer
image and added the following lines to lib/importPipeline.js:As it is what is done in the openaddresses importer import pipeline.
But this didn't solve the issue. I event tried to import my custom data using the
openaddresses-importer
, but the records didn't have thewof
infos.What am I missing?