Skip to content

Improve error message #13

@Binnette

Description

@Binnette

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 ❤️

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions