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

Clipping an image #31

Open
orkun opened this issue Jul 26, 2017 · 2 comments
Open

Clipping an image #31

orkun opened this issue Jul 26, 2017 · 2 comments

Comments

@orkun
Copy link

orkun commented Jul 26, 2017

Is it possible to clip an image geotiff file

@constantinius
Copy link
Member

Hi @orkun.
It is possible to "clip" the geotiff file when reading the raster when supplying a window, a region in pixel coordinates. Please refer to the readme, there is an example on how to do so.

@VictorVelarde
Copy link

Hi,

If you're looking for an irregular clipping, maybe with a polygon, you will have to implement it by yourself. For example, have a look at: https://raw.githubusercontent.com/stuartmatthews/leaflet-geotiff/master/leaflet-geotiff.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants