<div dir="ltr">Here is the projection for my input file: <div><br></div><div><div>Driver: GTiff/GeoTIFF</div><div>Files: MOD112_2004_001.LST_Day_1km.tif</div><div>Size is 2495, 2504</div><div>Coordinate System is:</div><div>
PROJCS["WGS 84 / UTM zone 36N",</div><div> GEOGCS["WGS 84",</div><div> DATUM["WGS_1984",</div><div> SPHEROID["WGS 84",6378137,298.257223563,</div><div> AUTHORITY["EPSG","7030"]],</div>
<div> AUTHORITY["EPSG","6326"]],</div><div> PRIMEM["Greenwich",0],</div><div> UNIT["degree",0.0174532925199433],</div><div> AUTHORITY["EPSG","4326"]],</div>
<div> PROJECTION["Transverse_Mercator"],</div><div> PARAMETER["latitude_of_origin",0],</div><div> PARAMETER["central_meridian",33],</div><div> PARAMETER["scale_factor",0.9996],</div>
<div> PARAMETER["false_easting",500000],</div><div> PARAMETER["false_northing",0],</div><div> UNIT["metre",1,</div><div> AUTHORITY["EPSG","9001"]],</div><div>
AUTHORITY["EPSG","32636"]]</div><div><br></div><div>Here is the projection on which I initialized my GRASS location:</div><div><br></div><div><div>Driver: GTiff/GeoTIFF</div><div>Files: Mode_LULC_T1_500m.tif</div>
<div>Size is 1792, 2082</div><div>Coordinate System is:</div><div>PROJCS["WGS_1984_UTM_Zone_36S",</div><div> GEOGCS["WGS 84",</div><div> DATUM["WGS_1984",</div><div> SPHEROID["WGS 84",6378137,298.257223563,</div>
<div> AUTHORITY["EPSG","7030"]],</div><div> AUTHORITY["EPSG","6326"]],</div><div> PRIMEM["Greenwich",0],</div><div> UNIT["degree",0.0174532925199433],</div>
<div> AUTHORITY["EPSG","4326"]],</div><div> PROJECTION["Transverse_Mercator"],</div><div> PARAMETER["latitude_of_origin",0],</div><div> PARAMETER["central_meridian",33],</div>
<div> PARAMETER["scale_factor",0.9996],</div><div> PARAMETER["false_easting",500000],</div><div> PARAMETER["false_northing",10000000],</div><div> UNIT["metre",1,</div><div>
AUTHORITY["EPSG","9001"]],</div><div> AUTHORITY["EPSG","32736"]]</div></div><div><br></div><div>Here is the projection info from GRASS for my location: </div><div><br></div>
<div><div>+proj=utm</div><div>+south</div><div>+no_defs</div><div>+zone=36</div><div>+a=6378137</div><div>+rf=298.257223563</div><div>+towgs84=0.000,0.000,0.000</div><div>+to_meter=1</div></div><div><br></div><div>Without reprojecting the MODIS image, I can import it into GRASS even though the projection systems don't match with: </div>
<div><br></div><div><div>GRASS 6.4.2 (kenya):~/PullDir/0302568977ukjJXB/001 > r.in.gdal input=MOD112_2004_001.LST_Night_1km.tif output=foo.testing</div><div>Projection of input dataset and current location appear to match</div>
<div> 100%</div><div>r.in.gdal complete. Raster map <foo.testing> created.</div></div><div><br></div><div>version: GRASS 6.4.2 </div><div>OS: MacOS X ML (10.8.2)</div><div><br></div><div>Regards,</div><div>Shaun</div>
</div><div><br></div><div style>(sorry for any duplicates, I sent it to the wrong users list)</div></div><div class="gmail_extra"><br clear="all"><div>--------------------------<br>Shaun Langley<br>Doctoral Candidate<br>
Department of Geography<br>
Michigan State University<br>(562) 281-7847</div>
<br><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 3:09 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, Mar 14, 2013 at 2:57 AM, Shaun Langley <<a href="mailto:shaunlangley@gmail.com">shaunlangley@gmail.com</a>> wrote:<br>
> I'm wondering if I've stumbled on a bug…<br>
><br>
> I'm working with a bunch of MODIS data that I've converted to UTM (Zone 36, WGS84) using the Modis Reprojection Tool. Using gdal I can see that these maps have projections of EPSG:32636; however my GRASS location is defined with EPSG:32736. When importing into grass with r.in.gdal, GRASS identifies the two projections as the same and allows me to proceed to import without error. When displaying the maps though, it's obvious that the projections were wrong. It too me a long time to figure this problem out and I'm just wondering if maybe it's a bug?<br>
<br>
</div>Please post whch GRASS version on which OS you use and<br>
ideally also the command lines + messages to give better help.<br>
<br>
(We do similar things and did not meet such problems)<br>
<span class="HOEnZb"><font color="#888888"><br>
Markus<br>
</font></span></blockquote></div><br></div>