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

Add mapbox-datasets-update-features with stdin or file input #36

Closed
sgillies opened this issue Dec 18, 2015 · 2 comments
Closed

Add mapbox-datasets-update-features with stdin or file input #36

sgillies opened this issue Dec 18, 2015 · 2 comments

Comments

@sgillies
Copy link
Contributor

I'd like to make this possible:

$ mapbox datasets create
$ fio cat a.shp b.shp c.shp | mapbox datasets update-features $id

reading a GeoJSON feature sequence from stdin, or reading from a GeoJSON feature collection file.

$ mapbox datasets create
$ fio cat a.shp b.shp c.shp | fio collect > lolwut.json
$ mapbox datasets update-features $id lolwut.json
@rclark
Copy link
Contributor

rclark commented Dec 18, 2015

I intend to implement these functions:

  • mapbox datasets put-features: stream in geojson, inserts and updates
  • mapbox datasets delete-features: stream in ids, remove features
  • mapbox datasets put-dataset: create/replace an entire dataset with whatever you pipe on stdin

I already wrote these out in a non-chunked, not-really-streaming fashion, and I hope to take a stab at using cligj to help here this afternoon / weekend.

@sgillies sgillies mentioned this issue Jan 4, 2016
@sgillies sgillies added this to the 0.3 milestone Jan 4, 2016
@perrygeo perrygeo modified the milestone: 0.3 Feb 17, 2016
@sgillies
Copy link
Contributor Author

sgillies commented Jan 7, 2020

Stale.

@sgillies sgillies closed this as completed Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants