by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Joe M
    @jgmarce
    @orangejulius While it will be helpful to have the locality_id encoded on my Spotsylvania address mentioned above, it seems appropriate and more robust to enhance the "should" portion of the main query when both region_id and locality_id have been returned by placeholder. Please consider this enhancement to the main query.
    Lawrence M Stewart
    @getorca
    any search query for Canada is not returning properties.country or properties.country_a
    iSudo
    @iSudo

    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?

    Lawrence M Stewart
    @getorca
    does anyone have ideas how to start trouble shooting improper responses from the api? Both the NA and planet docker builds return much different examples than the https://pelias.github.io/compare/ when compared with geocode earth.
    does geocode earth use different sources? Is their build process different?
    silbo1
    @silbo1
    @getorca looking in the logfiles, from api and the other services. calling the sevices manually. But I have the same problem with country, the pip-service do not return countries. I think it is a bug.
    Chris Dengler
    @christopherdude
    Is it the pip-service? In placeholder I'm getting parent not found! continent_id 102191575 which should be US
    Chris Dengler
    @christopherdude
    I'm seeing that when the API loads, in debug it shows that WOF isn't mapping continent?
    image.png
    So OA (for state wide on the state of VA for example) can't include the state wide data because it can't find the continent 102191575
    Gabriel Pulido
    @gpulido
    I'm hosting a pelias servive on my server and I would like to know if there any way to add an apikey "restriction" to the pelias api http service.
    Lawrence M Stewart
    @getorca
    @silbo1, yes there where some bugs with how placeholder, not sure about pip, pelias/docker#192, they've been fixed by missinglink in pelias/wof#13 that solved my issue. I believe PIP is only used for reverse geo coding, and I can confirm the I get US returned as the country for /v1/reverse?point.lat=47.608013&point.lon=-122.335167
    Tom Taylor
    @tomtaylor
    I've just set up a test Pelias instance locally using Docker - it seems to be running just fine, but I'm finding a few places that should be present are missing, and I can't work out why. I've imported the whole of the UK, but I'm missing a few localities (e.g. Nuneaton). They're definitely present in the sqlite file I'm importing from. Does anyone have any idea why that might be?
    1 reply
    silbo1
    @silbo1
    still missing many countries when i call the pip service directly.... 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%2Cmarinearea returns 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%2Cmarinearea returns not germany as expected. there is no country tag.
    1 reply
    silbo1
    @silbo1
    @gpulido I have an apache forwarding to the pelias api, and I added the restriction in apache.
    Gabriel Pulido
    @gpulido
    So the Apache receives the query with the API code and redirects to Pelias trimming the query?
    silbo1
    @silbo1
    I set up a basic authentification and my call set the header with headers.add("Authorization","Basic "+ auth), the query is not trimmed. But until now I can set is authentificated and is not authentificated. Port 4000 is closed. But for my purpose it is enough.
    Carlos
    @caduguedess
    I've setup local instances of ORS backend, frontend and Pelias using docker as suggested in respective repositories. I've already linked ORS backend and frontend making Gruntfile.js of frontend point to my backend. What should I do to use my local instance of Pelias? I tried to put localhost:4000/v1/search in the geocode line of Gruntfile.js but still not geocoding.
    Joe M
    @jgmarce
    csv-importer the documentation makes no mention of "unit" and unlike the openaddresses importer the csv-importer doesn't seem to synthesize the "name" field from "housenumber+street+unit". Am I using csv-importer incorrectly? Please.
    Lawrence M Stewart
    @getorca
    :o 42 hours to build interpolation for just USA and Canada on a dedicated hp dl 360 g6 with 16 cores and 32gb ram
    Joe M
    @jgmarce
    My time was 38 hours, I configured a RAM disk using 1/2 my RAM and had the SQLite3 output files there.
    haraldkofler
    @haraldkofler
    Hi Pelias team. I'm using Pelias through ORS (autocomplete endpoint) and I'm getting a wrong behavior for the location "Bozen" in Italy: when querying for "Bozen" I get no result, if I search for "Botzen" (misspelled) I get the right location of this city (northern Italy). I checked on WOF, but there Bozen seems to be written correctly. Any idea who or what causes this issue?
    Chris Dengler
    @christopherdude
    Does anyone have a process for import and processing for interpolation manually? I have it all installed, but can't get it to build the 2 *.db files. The instructions at https://github.com/pelias/interpolation say to use the ./script/import.sh, but no matter what ENV vars I set, I cannot get it to work.
    Chris Dengler
    @christopherdude
    After calling a call ./interpolate polyline street.db < /data/new_zealand.polylines I 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
    silbo1
    @silbo1
    After reimport....and it was much longer, now I have countrys in the revearse search. At least much more than last time. But the error with many error in importing polylines still remain. Many thanks to all of you working for this. I fall in love with these apis.
    Chris Dengler
    @christopherdude
    I just received an email back from one of the guys working on openaddresses.io. I was concerned because in their download area for the USA (http://results.openaddresses.io/), it seems that if the results for a particular city/state or whatever didn’t download for them (OA) in the last batch, then those results aren’t included in the zip file. EXAMPLE - Alabama is in the U.S. South collection, and in the 4/20/2020 batch there are 16 cities. However, on https://github.com/openaddresses/openaddresses/tree/master/sources/us/al it shows 33 cities (many more cities than just these 16). That was just one example, but he was kind enough to state the following: "Thanks for letting me know. You're right. The downloads normally include all previous successful downloads. I think I changed the database query that builds the downloads recently because it was taking forever to run. I'll have to take a look at that query again." Just be aware for those using OA for initial grabs for data... hope this helps.
    John Wiseman
    @jjwiseman_gitlab
    i'm interesting in doing a planet build (using pelias/docker) that doesn't include addresses/interpolation. is it possibly as simple as leaving out (or empty) the openaddresses and interpolation sections of pelias.json?
    Julian Simioni
    @orangejulius
    @jjwiseman_gitlab your best bet is to skip some of the pelias prepare ... and pelias import steps pelias prepare interpolation for sure, pelias import oa for sure as well. I think there is a flag to disable importing POIs for openstreetmap, but not addresses, so that might be a challenge
    John Wiseman
    @jjwiseman_gitlab
    thanks, @orangejulius. for now i've decided to just do the full planet build, no modifications. i've previously done north america, which i think was good practice for this. it did make me a little curious--do people ever share planet builds? i could imagine making mine available via a torrent when it's done, if people would find that useful.
    1 reply
    Arcadie Condrat
    @acondrat
    hi, I am struggling to get whosonfirst importer to work. It exits with Error: elasticsearch index pelias does not exist
    The index is there and all of the other importers are working. I'm running the pelias/whosonfirst:latest tag. Is there anything that could be causing it?
    131 replies
    Edward Mac Gillavry
    @emacgillavry
    Running Pelias for The Netherlands successfully for quite some time now. Just wondering how to benefit from the new PostalCities lookup functionality with the Dockerized NL project? Created a tsv file using lastline and added the adminLookup directives to the pelias.json file. Prepped and imported the data into ES, but no luck. What am I missing?
    16 replies
    Abhishek Varma
    @avarma2053
    Hi, I setup the pelias and running inside Kubernetes cluster. Problem is that normal geocode search api is returing wrong lat lng. E.g. If I searched for an area in UK, then its giving result of other countries. I checked that area data in elasticsearch and its present there. I also compared the data from https://pelias.github.io/compare/ and its also returning correct results. Any idea why its happening? Have I missed something?
    1 reply
    ImrozKhan21
    @ImrozKhan21

    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

    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
    
    > node-postal@1.0.0 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 libpostal@1.0.0 No description
    npm WARN libpostal@1.0.0 No repository field.
    
    + node-postal@1.0.0
    updated 1 package and audited 46 packages in 20.363s
    found 0 vulnerabilities

    Node version: v10.13.0

    John Wiseman
    @jjwiseman_gitlab
    @tiems_gitlab i've built the planet-scale DB. I'm bzipping it now and will look into hosting a torrent. one issue i've discovered is that the DB is tied to the version of code that created it, to an extent. to run an old database i've had to go back and find the sha256 of the docker images i used to create it.
    1 reply
    Tadas Ališauskas
    @tadasalisauskas
    Hey, guys! Thanks for the product! Is it somehow possible to change address format in the autocompleter? I would autocomplete to work with Lithuanian format of addresses, where house number goes at the of the address instead of beginning – "PartialAddr 15" instead "15 PartialAddr"? Thanks!
    Julian Simioni
    @orangejulius
    @tadasalisauskas sure thing :) queries like that should already work, can you give an example where one works but not the other?
    Tadas Ališauskas
    @tadasalisauskas
    @orangejulius, ^ :)
    Julian Simioni
    @orangejulius
    ahh i see. is rinkt a common abbreviation for Rinktinės? that's the way we would support that query
    Tadas Ališauskas
    @tadasalisauskas

    Nah, just a part of the street name. Same applies for all Lithuanian addresses:

    https://pelias.github.io/compare/#/v1/autocomplete?text=%C5%BEemait+56&debug=1
    https://pelias.github.io/compare/#/v1/autocomplete?text=56+%C5%BEemait&debug=1, etc.

    So, I suppose, it's impossible to query addresses like those?

    Julian Simioni
    @orangejulius
    it's not impossible but in general the idea of autocomplete is it supports the case where people are typing an address
    so that means the only word/number that can be incomplete is the final one
    Pelias requires at least every word before the last one is complete, or it won't match, so for example this works fine: https://pelias.github.io/compare/#/v1/autocomplete?text=Rinktin%C4%97s+20&debug=1
    Tadas Ališauskas
    @tadasalisauskas
    Oh, I see. Thank you for the help! In this case, I'll try to make a workaround in the application side. Understood your point, but sadly, Lithuanians are used to start typing the address with the street name. :/
    Julian Simioni
    @orangejulius
    @tadasalisauskas typing the address with the streetname first is fine
    you just can't have words in the streetname be incomplete if there's a housenumber at the end
    Tadas Ališauskas
    @tadasalisauskas
    Yep, good point. I'll check if it is a problem. Thank you very much for the instant support! :)
    Julian Simioni
    @orangejulius
    no problem!
    Julian Simioni
    @orangejulius
    hi folks, we just opened up a discussion issue about COVID-19. Is there anything new a geocoder needs to do because of the virus? pelias/pelias#869. We'd love to hear people's thoughts
    Gary Gale
    @vicchi

    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 name field.