# GeoTiff Rotation

**URL:** <https://community.thinkgeo.com/t/geotiff-rotation/3444>\
**Category:** WPF\
**Created:** [June 25, 2013, 5:53pm UTC](https://community.thinkgeo.com/t/geotiff-rotation/3444 "2013-06-25T17:53:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan6](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/c77e96/32.png) [@Ryan6](https://community.thinkgeo.com/u/Ryan6)\
**Post date:** [June 25, 2013, 5:53pm UTC](https://community.thinkgeo.com/t/geotiff-rotation/3444/1 "2013-06-25T17:53:56Z")

</div>

I’m&nbsp;having&nbsp;an&nbsp;issue&nbsp;getting&nbsp;geotiffs&nbsp;with&nbsp;rotation&nbsp;being&nbsp;displayed.&nbsp;I’ve&nbsp;tried&nbsp;2&nbsp;cases:  
  
  
  
1)&nbsp;A&nbsp;geotiff&nbsp;with&nbsp;a&nbsp;world&nbsp;file&nbsp;(.tfw).&nbsp;This&nbsp;has&nbsp;rotation&nbsp;parameters&nbsp;defined.&nbsp;The&nbsp;geotiff&nbsp;renders,&nbsp;but&nbsp;is&nbsp;not&nbsp;rotated.&nbsp;Using&nbsp;library.managed.  
  
  
  
2)&nbsp;A&nbsp;geotiff&nbsp;without&nbsp;world&nbsp;file.&nbsp;It&nbsp;has&nbsp;4&nbsp;sets&nbsp;of&nbsp;model&nbsp;tiepoints&nbsp;defined&nbsp;(one&nbsp;for&nbsp;each&nbsp;corner).&nbsp;This&nbsp;does&nbsp;not&nbsp;even&nbsp;render.&nbsp;Using&nbsp;library.unmanaged&nbsp;(crashes&nbsp;with&nbsp;managed).  
  
  
  
I&nbsp;can&nbsp;send&nbsp;the&nbsp;geotiffs&nbsp;if&nbsp;that&nbsp;will&nbsp;help.

---

<div class="post-metadata">

**Author:** ![Summer1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/c89c15/32.png) [@Summer1](https://community.thinkgeo.com/u/Summer1)\
**Post date:** [June 27, 2013, 6:19am UTC](https://community.thinkgeo.com/t/geotiff-rotation/3444/2 "2013-06-27T06:19:29Z")

</div>

**Hi&nbsp;Ryan,&nbsp;**  
  
  
  
**Thanks&nbsp;for&nbsp;your&nbsp;post,&nbsp;Currently&nbsp;the&nbsp;tifLayer.ImageSource.Projection&nbsp;doesn’t&nbsp;support&nbsp;rotation,&nbsp;but&nbsp;there&nbsp;is&nbsp;a&nbsp;walkaround&nbsp;&nbsp;in&nbsp;the&nbsp;attahment&nbsp;,&nbsp;would&nbsp;you&nbsp;please&nbsp;try&nbsp;it?&nbsp;Here&nbsp;is&nbsp;a&nbsp;result&nbsp;image&nbsp;of&nbsp;the&nbsp;walkaround:**

 ![](https://community.thinkgeo.com/uploads/default/original/2X/e/e630ced5159eae0f106d38f6f5d7c972776e220e.PNG)  
  
  
  
**About&nbsp;the&nbsp;second&nbsp;question,&nbsp;would&nbsp;you&nbsp;please&nbsp;try&nbsp;to&nbsp;provide&nbsp;us&nbsp;the&nbsp;data&nbsp;for&nbsp;a&nbsp;further&nbsp;test?**  
  
  
  
**Waiting&nbsp;for&nbsp;your&nbsp;futher&nbsp;information**  
  
  
  
**Summmer**  
  
[RotateTiffWPF.txt](https://community.thinkgeo.com/uploads/default/original/2X/f/f213784fd8394012748b503201957c9559d2e782.txt) (1.01 KB)

---

<div class="post-metadata">

**Author:** ![Ryan6](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/c77e96/32.png) [@Ryan6](https://community.thinkgeo.com/u/Ryan6)\
**Post date:** [June 27, 2013, 11:12am UTC](https://community.thinkgeo.com/t/geotiff-rotation/3444/3 "2013-06-27T11:12:21Z")

</div>

It&nbsp;looks&nbsp;like&nbsp;you&nbsp;are&nbsp;rotating&nbsp;the&nbsp;map&nbsp;in&nbsp;the&nbsp;code&nbsp;snippet&nbsp;you&nbsp;gave&nbsp;me.&nbsp;I&nbsp;just&nbsp;want&nbsp;the&nbsp;geotiff&nbsp;to&nbsp;be&nbsp;displayed&nbsp;correctly&nbsp;based&nbsp;on&nbsp;the&nbsp;georeferenced&nbsp;metadata&nbsp;embedded&nbsp;in&nbsp;the&nbsp;geotiff.&nbsp;In&nbsp;the&nbsp;geotiff&nbsp;I&nbsp;attached,&nbsp;I&nbsp;have&nbsp;4&nbsp;corners&nbsp;defined&nbsp;(as&nbsp;control&nbsp;points).&nbsp;The&nbsp;4&nbsp;corners&nbsp;are&nbsp;such&nbsp;that&nbsp;the&nbsp;geotiff&nbsp;is&nbsp;slightly&nbsp;rotated.&nbsp;This&nbsp;geotiff&nbsp;correctly&nbsp;displays&nbsp;in&nbsp;the&nbsp;esri&nbsp;sdk&nbsp;that&nbsp;I’m&nbsp;evaluating.&nbsp;I’ve&nbsp;attached&nbsp;one.

---

<div class="post-metadata">

**Author:** ![Summer1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/c89c15/32.png) [@Summer1](https://community.thinkgeo.com/u/Summer1)\
**Post date:** [July 1, 2013, 4:25am UTC](https://community.thinkgeo.com/t/geotiff-rotation/3444/4 "2013-07-01T04:25:27Z")

</div>

Hi&nbsp;Ryan,&nbsp;&nbsp;  
  
  
  
Thanks&nbsp;for&nbsp;your&nbsp;data&nbsp;and&nbsp;sorry&nbsp;for&nbsp;the&nbsp;delay,&nbsp;we&nbsp;have&nbsp;found&nbsp;a&nbsp;solution&nbsp;and&nbsp;replied&nbsp;it&nbsp;in&nbsp;your&nbsp;ticket&nbsp;10327,&nbsp;would&nbsp;you&nbsp;please&nbsp;check&nbsp;it&nbsp;there?&nbsp;  
  
  
  
Hope&nbsp;it&nbsp;helps&nbsp;  
  
  
  
Summer
