GeoTIFF / georaster-layer-for-leaflet

Display GeoTIFFs and soon other types of raster on your Leaflet Map
https://geotiff.github.io/georaster-layer-for-leaflet-example/
Apache License 2.0
306 stars 58 forks source link

Can I add a TIF diagram at the specified latitude and longitude? #38

Open JinDing123 opened 4 years ago

JinDing123 commented 4 years ago

Hi, I have the latitude and longitude of this TIF, how do I add this TIF to the specified latitude and longitude

DanielJDufour commented 4 years ago

Hi, @JinDing123 . Would you be able to share the tif? The answer depends if the appropriate metadata is set in the file or not. Thanks.

JinDing123 commented 4 years ago

That's my idea, leaflet has an L.imageoverlay method, given a specified latitude and longitude to put this image in the specified place, and I now have the latitude and longitude of this TIF, can I just do the same thing?Stick this TIF to its latitude and longitude?

This is the latitude and longitude of tif: [[40.7123083, -73.9594277], [40.649605, -73.882305]]

JinDing123 commented 4 years ago

Sorry, I only have this TIF locally, not on the server, and Github does not support tiF sharing

DanielJDufour commented 4 years ago

Feel free to email me the Tiff at daniel.j.dufour@gmail.com

JinDing123 commented 4 years ago

Sorry for replying you so late. I'm busy with my work these days, and now I have sent the TIF to your email. OvO