Aerial Photo

Topics: SharpMap v0.9 / v1.x, Web Controls
Aug 19, 2011 at 10:31 AM

Hi

I am using VS 2010 and Sharpmap Ver 0.9 from 91890 in a web app. Everything works fine except that when I load the Mr_SID images it looks like it does not load. But I zoomed right out and saw that the image has loaded far away from where I wanted it to load (as if it gets the wrong co-ords). I was using an earlier version of SharpMap and the same aerial photo loaded perfectly - can anyone help?

 

Thank you

Aug 19, 2011 at 1:41 PM

I am in South Africa. I see that when the code goes to GeoTransform with the same Width and Height it comes back with different left, right, top, bottom when I compare my 2 apps.

Old program that is working left = -0.15, right = 19390, top = -3264693, bottom = -3314571

New program -latest version left = 999.5, right = 65635.5, top = 1000.5, bottom = -165259.5

To me it seems that the image is going above the equator and we are below the equator.

I wondered if I am supposed to change the transform variables in GeoTransform