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

features input #9

Merged
merged 7 commits into from
Dec 17, 2015
Merged

features input #9

merged 7 commits into from
Dec 17, 2015

Conversation

perrygeo
Copy link
Contributor

Introduces a click argument, features_in_arg, which utilizes a click callback to normalize the input of geojson features

Given the input:

  • Path to file(s), each containing single FeatureCollection or Feature
  • Coordinate pair(s) of the form "[0, 0]" or "0, 0" or "0 0"
  • if not specified or '-', process STDIN stream containing
    • line-delimited features
    • ASCII Record Separator (0x1e) delimited features
    • FeatureCollection or Feature object

the features value will be a generator of GeoJSON Features.

Also add some docs changes

  • More thorough usage example
  • Enumerates the args and opts
  • Removes deprecated plugins docs (reasoning: if it's deprecated, no need to clutter the main readme)

Test coverage is 100%, but design needs review and docs need work

@sgillies sgillies added this to the 0.4 milestone Dec 17, 2015
sgillies added a commit that referenced this pull request Dec 17, 2015
@sgillies sgillies merged commit 4c0aaad into master Dec 17, 2015
@sgillies sgillies deleted the features-in branch December 17, 2015 22:18
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.

None yet

2 participants