Hi, I'm wondering if there is a way to run pelias/docker without whosonfirst data ?
I'm looking to cut out the unneccesary 5Gb of admin data beign downloaded that we already have in our own address data.
I have tried removing whosonfirst from all scripts(pelias.json, docker-compose.yml) but something still seems to expect whosonfirst service, im suspecting it might be pip
@missinglink can you help me on this one?
wget http://localhost:4200/30.598178173684172/-17.245471810526332?layers=continent%2Cempire%2Ccountry%2Cdependency%2Cmacroregion%2Cregion%2Clocality%2Clocaladmin%2Cmacrocounty%2Ccounty%2Cmacrohood%2Cborough%2Cneighbourhood%2Cmicrohood%2Cdisputed%2Cpostalcode%2Cocean%2Cmarineareareturns Zimbawe as country, but wget
http://localhost:4200/7.094908225000001/51.54474042500011?layers=continent%2Cempire%2Ccountry%2Cdependency%2Cmacroregion%2Cregion%2Clocality%2Clocaladmin%2Cmacrocounty%2Ccounty%2Cmacrohood%2Cborough%2Cneighbourhood%2Cmicrohood%2Cdisputed%2Cpostalcode%2Cocean%2Cmarineareareturns not germany as expected. there is no country tag.
./interpolate polyline street.db < /data/new_zealand.polylinesI get
Error: Could not locate the bindings file.and then a bunch of locations within interpolation/node_modules/node-postal/.... The error itself is within [interpolation] /node_modules/bindings/bindings.js
pelias prepare ...and
pelias prepare interpolationfor sure,
pelias import oafor sure as well. I think there is a flag to disable importing POIs for openstreetmap, but not addresses, so that might be a challenge
lastlineand added the
adminLookupdirectives to the
pelias.jsonfile. Prepped and imported the data into ES, but no luck. What am I missing?
fatal error C1083: Cannot open include file: 'libpostal/libpost
al.h': No such file or directory [C:\libpostal\node_modules\node-postal\build\expand.vcxproj]
Hi, I have followed all these steps below to install libpostal on WINDOWS 10(C library in itself is working for me):
git clone https://github.com/openvenues/libpostal cd libpostal cp -rf windows/* ./ ./bootstrap.sh ./configure --datadir=[...some dir with a few GB of space...] make -j4 make install
But when now I am trying to do
npm install openvenues/node-postal
it is throwing the below error:
C:\libpostal>npm install openvenues/node-postal > email@example.com install C:\libpostal\node_modules\node-postal > (node-gyp rebuild) || (exit 0) C:\libpostal\node_modules\node-postal>if not defined npm_config_node_gyp (node "C:\ProgramData\nvm\v10.13.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\ProgramData\nvm\v10.13.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. expand.cc win_delay_load_hook.cc c:\libpostal\node_modules\node-postal\src\expand.cc(1): fatal error C1083: Cannot open include file: 'libpostal/libpost al.h': No such file or directory [C:\libpostal\node_modules\node-postal\build\expand.vcxproj] parser.cc win_delay_load_hook.cc c:\libpostal\node_modules\node-postal\src\parser.cc(1): fatal error C1083: Cannot open include file: 'libpostal/libpost al.h': No such file or directory [C:\libpostal\node_modules\node-postal\build\parser.vcxproj] gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\ProgramData\nvm\v10.13.0\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Windows_NT 10.0.18362 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\ProgramData\\nvm\\v10.13.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\libpostal\node_modules\node-postal gyp ERR! node -v v10.13.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN firstname.lastname@example.org No description npm WARN email@example.com No repository field. + firstname.lastname@example.org updated 1 package and audited 46 packages in 20.363s found 0 vulnerabilities
Node version: v10.13.0
Thank you for the answer! :)
Nah, just a part of the street name. Same applies for all Lithuanian addresses:
So, I suppose, it's impossible to query addresses like those?
Hi all … I’m currently (trying to) write a specialisation of the
csv-importer tool to handle and load some UK specific CSV (duh) data into Pelias and have a few questions.
Specifically how best to represent house number ranges, such as
37-39 Example Street and also how best to handle flat/apartment names, such as
Ground Floor Flat, 23 High Street or
Apartment 3, Example Building, 46 Station Road … ?
There doesn’t seem to be any explicit field mappings for this in the Pelias model, though it seems like the building name probably fits the