0

I have a tiff file and I want to show that tiff file on the Openlayer map on its respective coordinates. I tried many ways on youtube but could not find a proper way to show the tiff file on OpenLayers. Kindly give a code snippet or proper way so that I can show the tiff file on the OpenLayers map. I am using angular and opanlayer.

5
  • Is the file a simple tiff image or a GeoTIFF file? Commented Aug 2, 2022 at 14:11
  • simple tiff image Commented Aug 2, 2022 at 14:31
  • You would need to display it as an ImageStatic and use a custom loader and third party utility to decode it codesandbox.io/s/static-image-forked-1mc3xb?file=/main.js Commented Aug 2, 2022 at 14:37
  • thanks for your answer one more question it is possible to overlay tiff file on openlayer beacuse tiff file is of specific coordinataes and i want to show this tiff file on map with respective coordinaties. Commented Aug 2, 2022 at 14:46
  • Yes, if you know the coordinates and projection, as in openlayers.org/en/latest/examples/reprojection-image.html Commented Aug 2, 2022 at 17:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.