Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pelias dashboard shows different stats, planet build is not completed. #141

Closed
imran-5 opened this issue Nov 14, 2019 · 10 comments
Closed

Comments

@imran-5
Copy link

imran-5 commented Nov 14, 2019

Hey team!

I have built two times the planet build with Pelias/docker without any error.


My planet build dashboard stats results.

image


Geocoder.earth Pelias build dashboard stats results.

https://pelias-dashboard.geocode.earth/pelias
image

there is a huge difference in the database size and other values.
I tried acceptance-test, fuzzy-test, fuzzy-tester some of the results missing.

how I can improve the results to make the perfect database??

@missinglink
Copy link
Member

Can you please provide more detailed information about the test failure you're seeing from the acceptance-tests?

@w0pr
Copy link

w0pr commented Nov 19, 2019

Can you please provide more detailed information about the test failure you're seeing from the acceptance-tests?

I had similar results from a planet build started last week, see this and following posts on gitter:

Aggregate test results
Pass: 383
Improvements: 18
Fail: 90
Placeholders: 0
Regressions: 218
Took 26960ms
Test success rate 68.45%

FATAL ERROR: 218 regression(s) detected.

I omitted the prepare polylines stage and used the download from geocode.earth:
https://data.geocode.earth/osm/2019-13/planet-latest-valhalla.polylines.0sv.gz

@orangejulius
Copy link
Member

Hi @w0pr,
I believe this is at least partially due to an issue in the Who's on First bundle data. As you can see here the "latest" bundles are sometimes smaller than older releases.
Screenshot_2019-11-25_09-08-47

The Who's on First project is in the process of switching to distributing data via SQLite databases, and the Pelias project is also going to move to support only the SQLite distributions from WOF fairly soon (see pelias/whosonfirst#460 for updates on that task). In the meantime, I think you'll get better results if you set imports.whosonfirst.sqlite to true in your pelias.json file.

@w0pr
Copy link

w0pr commented Nov 25, 2019

The Who's on First project is in the process of switching to distributing data via SQLite databases, and the Pelias project is also going to move to support only the SQLite distributions from WOF fairly soon (see pelias/whosonfirst#460 for updates on that task). In the meantime, I think you'll get better results if you set imports.whosonfirst.sqlite to true in your pelias.json file.

Yes, I was planning to do this anyway, as soon as I read about it in another issue, since my very first import had a few downloads missing, which I did not notice.

Will this lead to the correct sqlite DBs to be downloaded in "pelias download wof" stage or do I have to do this myself?

I also extracted polylines with valhalla myself, since the geocode.earth download is from March this year.
image

I guess I don't need to re-run prepare interpolation as well with latest data? Took several days last time, but I really want to get the best results out of this.

@w0pr
Copy link

w0pr commented Nov 26, 2019

In the meantime, I think you'll get better results if you set imports.whosonfirst.sqlite to true in your pelias.json file.

Will this lead to the correct sqlite DBs to be downloaded in "pelias download wof" stage or do I have to do this myself?

Answering my own question here: Yes, setting sqlite to true in the imports section of pelias.json will download sqlite DBs on "pelias download wof" command.
image

@missinglink
Copy link
Member

the interpolation build does not use whosonfirst data, so there is no need to re-run it.

@imran-5
Copy link
Author

imran-5 commented Dec 12, 2019

I have made a little progress after tweaking.

"importPostalcodes": true,
"importVenues": true,
"sqlite": true

#Geocoder.earth Pelias build.

image

##My planet build

image

@missinglink
Copy link
Member

We are not importing WOF venues for Geocode Earth, which accounts for the discrepancy there.
There have been fluctuations in the OA file size which likely accounts for the differences in the address count.

@imran-5 imran-5 changed the title pelias dashboard show different states, planet build is not complete. pelias dashboard shows different states, planet build is not complete. Dec 12, 2019
@imran-5 imran-5 changed the title pelias dashboard shows different states, planet build is not complete. pelias dashboard shows different stats, planet build is not complete. Dec 12, 2019
@imran-5 imran-5 changed the title pelias dashboard shows different stats, planet build is not complete. pelias dashboard shows different stats, planet build is not completed. Dec 13, 2019
@w0pr
Copy link

w0pr commented Dec 14, 2019

This is my latest planet build with own polylines extract using valhalla.
Any shortcomings seem stem from missing source/data from WOF or OA downloads; hopefully they get sorted out soon:

 "imports": {
    "adminLookup": {
      "enabled": true
    },
    "geonames": {
      "datapath": "/data/geonames",
      "countryCode": "ALL"
    },
    "openstreetmap": {
      "download": [
        { "sourceURL":
"https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf" }
      ],
      "leveldbpath": "/tmp",
      "datapath": "/data/openstreetmap",
      "import": [{
        "filename": "planet-latest.osm.pbf"
      }]
    },
    "openaddresses": {
      "datapath": "/data/openaddresses",
      "files": [
      ]
    },
    "polyline": {
      "datapath": "/data/polylines",
      "files": [ "my_extract_valhalla.0sv" ]
    },
    "whosonfirst": {
      "sqlite": true,
      "datapath": "/data/whosonfirst",
      "importVenues": false,
      "importPostalcodes": true
    },
    "interpolation": {
      "download": {
        "tiger": {
          "datapath": "/data/tiger"
        }
      }
    }

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants