-
Notifications
You must be signed in to change notification settings - Fork 28
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
Read/write world files #6
Comments
Sounds good to me. I like from_world() and to_world() for functions that take and return sequences, but I'm 👎 on having any file I/O methods here in affine. |
mwtoews
added a commit
to mwtoews/affine
that referenced
this issue
Nov 6, 2014
mwtoews
added a commit
to mwtoews/affine
that referenced
this issue
Nov 6, 2014
Closed
mwtoews
added a commit
to mwtoews/affine
that referenced
this issue
Nov 13, 2014
Also, mostly non-functional cleanup for PEP8, typos, add missing doc, etc. Update setup.py so that it is an executable.
sgillies
added a commit
that referenced
this issue
Nov 13, 2014
Add loadsw()/dumpsw() world file support (#6)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As discussed several months ago on rasterio#80, I thought it would be convenient to read/write world files, which use the same 6 coefficients as Affine.
Any ideas for names, prototypes, behaviour? The reader will certainly be another
@classmethod
that returns an Affine object. Initially, I was thinkingfrom_worldfile(fp)
, but it could also beload_worldfile(fp)
and/orloads_worldfile(s)
for reading. Similarly,dump_worldfile(fp)
and/ordumps_worldfile()
for writing.The text was updated successfully, but these errors were encountered: