<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1446629612702_15682" style="font-family: verdana, helvetica, sans-serif; font-size: 13px;"><div id="yui_3_16_0_1_1446629612702_15681" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"><div dir="ltr" id="yui_3_16_0_1_1446629612702_15995"><font id="yui_3_16_0_1_1446629612702_15944" face="verdana, helvetica, sans-serif" size="2">Hello to GDAL community,</font></div><div id="yui_3_16_0_1_1446629612702_16002" dir="ltr"><font id="yui_3_16_0_1_1446629612702_15944" face="verdana, helvetica, sans-serif" size="2"><br></font></div><div id="yui_3_16_0_1_1446629612702_15985"><font id="yui_3_16_0_1_1446629612702_15944" face="verdana, helvetica, sans-serif" size="2">Lately I
 have been trying to use the SRTM 3 arc second elevation data in a form 
of ASCII grid (.asc file) downloaded freely from <a rel="nofollow" class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5195" target="_blank" href="http://opentopo.sdsc.edu/gridsphere/gridsphere?cid=geonlidarframeportlet&gs_action=raster&opentopoID=OTSRTM.042013.4326.1">opentopography.org</a>.</font></div><div id="yui_3_16_0_1_1446629612702_15741" class="y_msg_container"><div id="yiv3532219906"><div id="yui_3_16_0_1_1446629612702_15743"><div id="yui_3_16_0_1_1446629612702_15742" style="color:#000;background-color:#fff;font-family:verdana, helvetica, sans-serif;font-size:13px;"><div id="yiv3532219906yui_3_16_0_1_1445955866554_5193" class="yiv3532219906" style="font-family:tahoma, sans-serif;"><br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5199"><div id="yiv3532219906yui_3_16_0_1_1445955866554_5201" class="yiv3532219906" style="font-family:tahoma, sans-serif;">The problem is that, decimal degrees for .asc files downloaded from <a rel="nofollow" class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5203" target="_blank" href="http://opentopography.org/">opentopography.org</a> are unprojected.<br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5205"></div><div id="yiv3532219906yui_3_16_0_1_1445955866554_5207" class="yiv3532219906" style="font-family:tahoma, sans-serif;">I have been told that with GDAL python module it is very easy to project the decimal degrees to Mercator:<br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5209"><br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5211"><div class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5213" style="margin-left:40px;">gdalwarp -s_srs EPSG:4326 -t_srs EPSG:32631 -r cubic Barcelona_original.asc Barcelona_projected_to_ Mercator.tif<br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5217"></div><br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5219"><div id="yiv3532219906yui_3_16_0_1_1445955866554_5287">Then we just need to convert the .tif file to .asc:</div><div id="yiv3532219906yui_3_16_0_1_1445955866554_5288"><br></div><div class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5223" style="margin-left:40px;">gdal_translate -of AAIGrid Barcelona_projected_to_ Mercator.tif Barcelona_projected_to_ Mercator.asc​<br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5229"><br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5231"></div>Maybe there is a way of doing this in just one line instead of two, I do no not know.<br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5233"><br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5235"></div><div id="yiv3532219906yui_3_16_0_1_1445955866554_5237" class="yiv3532219906" style="font-family:tahoma, sans-serif;">There is a problem: I am using a <a rel="nofollow" class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5239" target="_blank" href="http://www.rhino3d.com/">Rhino 5</a>
 application, which is shipped with IronPython 2.7, not cPython. I did 
not succeed in installing the GDAL python module into my IronPython.<br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5241"><br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5243"></div><div id="yiv3532219906yui_3_16_0_1_1445955866554_5245" class="yiv3532219906" style="font-family:tahoma, sans-serif;"><div id="yiv3532219906yui_3_16_0_1_1445955866554_5303">Is there a way to install GDAL into the IronPython?</div><div id="yiv3532219906yui_3_16_0_1_1445955866554_5335" dir="ltr">I googled and <a rel="nofollow" id="yiv3532219906yui_3_16_0_1_1445955866554_5471" class="yiv3532219906edited-link-editor" target="_blank" href="http://osgeo-org.1560.x6.nabble.com/Help-with-getting-started-with-GDAL-on-NET-td3761201.html">found this topic</a>, where it says I need to use C# bindings to import GDAL into IronPython. Can anyone show an example of this?<br></div><br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5249"></div><div id="yiv3532219906yui_3_16_0_1_1445955866554_5251" class="yiv3532219906" style="font-family:tahoma, sans-serif;">If not, can in some way the upper two "gdalwarp" and "gdal_translate" methods be replicated in IronPython?<br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5253"></div>​</div><div id="yiv3532219906yui_3_16_0_1_1445955866554_5255" class="yiv3532219906"><div class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5257" dir="ltr"><div class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5259" style="font-family:tahoma, sans-serif;">Thank you.<br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5261"></div></div>
</div><br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5263"><div id="yiv3532219906yui_3_16_0_1_1445955866554_5265" class="yiv3532219906" style="font-family:tahoma, sans-serif;">​Kind regards,<br class="yiv3532219906" id="yiv3532219906yui_3_16_0_1_1445955866554_5267"></div><div id="yiv3532219906yui_3_16_0_1_1445955866554_5515" dir="ltr">Djordje Spasic</div></div></div></div><br><br></div> </div> </div>  </div></body></html>