-
Notifications
You must be signed in to change notification settings - Fork 46
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
More examples of how to write data #93
Comments
Thanks @rbrtmrtn for the suggestion and encouragement. I agree, a ogr2ogr -f GeoJSON foo.geojson foo.shp By default, if possible, GeoJSON is returned, so: let geojson = await ogr2ogr("./foo.shp") |
Thanks for the quick response @wavded! It's helpful to see that minimal example. I think what I struggle with a bit in Node is writing files out, so if there were a complete (but still minimal) example of reading Or I can try doing a PR once I figure it out 😄 |
Hi @rbrtmrtn,
Within the lambda function, I am stuck on how to install gdal tools. So if you have any tips on that, send them my way! Thanks. |
Sorry for the delay on this. Previously we had an examples folder where we put little code snippets of usage for different use cases. Would that make sense to start another one? A lot of them previously were community driven. Suppose we could do a Wiki as well. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Hello @wavded and thank you for this awesome project!
I'm trying to get started using this package to read and write geodata. I'm a little confused though looking at the examples how I would recreate a canonical use of
ogr2ogr
, like:All of the examples seem to focus on reading data in. I happened to see a more clear-cut read-write example in #92 so I'm using that, but just wanted to suggest as a new user that it may be helpful to have a similar example in the docs!
Thanks again and Happy New Year!
The text was updated successfully, but these errors were encountered: