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

Retrieving origin and resolution for Geo-Data #8

Closed
vsars7 opened this issue Oct 28, 2019 · 2 comments
Closed

Retrieving origin and resolution for Geo-Data #8

vsars7 opened this issue Oct 28, 2019 · 2 comments
Labels
question Further information is requested

Comments

@vsars7
Copy link

vsars7 commented Oct 28, 2019

State your question
Is there a method to retrieve origin and resolution for tiffs that encode geo-data?
for example DEM files?

Additional context
Looking into the Geotiff.js, as referenced by this library:

// when we are actually dealing with geo-data the following methods return
// meaningful results:
const origin = image.getOrigin();
const resolution = image.getResolution();
const bbox = image.getBoundingBox();

@vsars7 vsars7 added the question Further information is requested label Oct 28, 2019
@bosborn
Copy link
Contributor

bosborn commented Oct 28, 2019

This library is currently only a basic TIFF specification implementation, pulling only those base parts from the Geotiff.js library. Other than field tags, GeoTIFF functionality is not currently implemented. You could try following the origin and resolution implementations to pull that data out.

@vsars7
Copy link
Author

vsars7 commented Oct 28, 2019

Thanks for the prompt reply, Appreciate it!

@bosborn bosborn closed this as completed Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants