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

Check.py improvements #510

Merged
merged 49 commits into from
Jun 14, 2018
Merged

Check.py improvements #510

merged 49 commits into from
Jun 14, 2018

Conversation

grischard
Copy link
Collaborator

Partially addresses #428

Usage improvements:

  • Show progress bar instead of dots
  • Add -v argument to increase verbosity
  • Colour output and better logging

Check improvements:

  • Report embedded icons. Disembedding all icons would save 578.54 KB - worth it on a 1.71 MB file, I think!
  • Check for missing license_url - see Sources missing a license #439
  • Check for wms/tms tokens in URLs - we've had some missing {proj} before.
  • Check for either default or geometry polygon. Many layers have neither, and will never be shown.

@grischard
Copy link
Collaborator Author

The build is failing because of the missing geometries.

@grischard
Copy link
Collaborator Author

As part of this, I'll mark all the layers in sources/world as default. @bhousel I think that you intentionally blacklist many of these layers in iD, do you want to preemptively add them?

Heads up to @bryceco @simonpoole too.

simon04 and others added 2 commits June 13, 2018 12:32
* feat: add license to schema.json

This allows other users of this index to determine layers with
compatible licenses.

* feat: validate licenses using SPDX identifier

* chore: add licenses to AT layers

* chore: add licenses to DE layers

* feat: add permission_osm to schema.json

* chore: add permission_osm to AT layers

Reference: https://wiki.openstreetmap.org/wiki/Contributors#Austria
@simonpoole
Copy link
Contributor

@grischard we currently only use the default attribute in sorting, so likely no big impact. I'm not that convinced that it really has useful semantics, or if it is suppose to have them, then maybe they have to be spelled out more clearly.

@bhousel
Copy link
Member

bhousel commented Jun 13, 2018

as part of this, I'll mark all the layers in sources/world as default. @bhousel I think that you intentionally blacklist many of these layers in iD, do you want to preemptively add them?

I'm not sure what you mean by this? I just did a search and I don't think iD is using the default property, so feel free to change it..

grischard and others added 25 commits June 14, 2018 14:18
Maxzoom 24 exists in the wild, this should allow testing of all layers.
@grischard
Copy link
Collaborator Author

Ok, I think I'm happy with this and will merge it.

@grischard grischard merged commit 1242d0d into gh-pages Jun 14, 2018
@cicku cicku deleted the geojsonlint branch January 10, 2022 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants