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

Improve error message #13

Open
Binnette opened this issue Aug 17, 2022 · 0 comments
Open

Improve error message #13

Binnette opened this issue Aug 17, 2022 · 0 comments

Comments

@Binnette
Copy link

Hi, here is the error message I got:

mr cooperative tag oneway.osm  --out oneway.geojson
- Initialize
hot here oneway.osm {
  _: [ 'cooperative', 'tag' ],
  rfc7464: true,
  out: 'oneway.geojson',
  'input-files': [ 'oneway.osm' ],
  inputFiles: [ 'oneway.osm' ],
  '$0': 'mr'
}
- oneway.osm: 0/223 elements
- oneway.osm: 0/223 elements
× oneway.osm: Failed to retrieve element version: way/24462453/undefined

I was struggling with this error message. I was thinking about a connection/internet error.

Then I finally read over and over the message and figure it out that only the "version" of my items are missing and not the ids.
So I finally changed the end of my overpass query from out body geom; to out meta geom;

And it fixed my issue. Can you please improve the error message? May be to suggest to the user that some "metadata" are missing.

Have a nice day 👍 And TY for this excellent tool ❤️

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

1 participant