<font size="2"><span style="font-family: times new roman,serif;">Hello,<br>(Sorry for my bad english I haven't wrote in english since a while)<br><br>I'm using OGR and GDAL !<br><br>I have to work with Satellite picture and ESRI shape file.<br>
<br>My goal is to get pixel value (x,y) in my satellite picture from the data contains in the shape file!<br><br>My data are in decimales degrees and in order to convert them in pixels reference, I used the GDAL fonction below<br>
<br> GDALGetGeoTransform( hDataset,GeoTransform);<br><br>and using Geotransform data's in order to convert geodata to pixels .<br><br>But the probleme is that the geographic data needed to make the convertion have to be in meter, I think...<br>
<br><br> Xp = padfTransform[0] + P*padfTransform[1] + L*padfTransform[2];<br> Yp = padfTransform[3] + P*padfTransform[4] + L*padfTransform[5];<br><br>I suppose there are a fonction like ogr_transform that could convert decimal degrée to meter in WGS84 UTM 31 for exemple.<br>
<br>If someone got clue to solve my probleme he gonna help me a lot!<br><br>Thanks for advance<br><br>Nicolas<br></span></font><br><br><blockquote style="margin: 1.5em 0pt;"><div style="font-family: Arial,Helvetica,sans-serif; font-size: 14px; color: rgb(51, 49, 82);">
<strong>Degarne Nicolas</strong><br>
France<br>
<img goomoji="538" style="margin: 0pt 0.2ex; vertical-align: middle;" src="cid:538@goomoji.gmail"> <a href="mailto:nicolas.degarne@gmail.com">nicolas.degarne@gmail.com</a><br>
</div></blockquote><br>