<div><font size="2" face="Arial">
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman">Hi,</font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman">I have used ogr2ogr to assign projection information(SL99) to some vector
data which does not contain any projection information. </font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman">I used the same projection information to reproject a raster in UTM 44N
to SL99.Both data sets contain data of same location. </font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman"> </font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman">When I try to overlay the projected data <span> </span>( using QGIS where the SL99 is defined using
the same projection information) there is a small shift in two
layers.</font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman"> </font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman">When check the projection information using ogrinfo/gdalinfo I found that
even though the same parameters are used for projection of vector and raster
data , some parts of the WKT is different. I am not sure whether this is the
reason for the problem in overlapping.</font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman"> </font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman">The resulting WKT are as follows</font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman">Raster</font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman"> </font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman">PROJCS["Transverse_Mercator",</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>GEOGCS["Everest 1830",</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>DATUM["unknown",</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>SPHEROID["unnamed",6377276.345,300.8017000000115]],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PRIMEM["Greenwich",0],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>UNIT["degree",0.0174532925199433]],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PROJECTION["Transverse_Mercator"],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PARAMETER["latitude_of_origin",7.00047],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PARAMETER["central_meridian",80.77171],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PARAMETER["scale_factor",1],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PARAMETER["false_easting",200000],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PARAMETER["false_northing",200000],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>UNIT["metre",1,</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>AUTHORITY["EPSG","9001"]]]</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman"> </font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman">Vector</font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman">PROJCS["Transverse_Mercator",</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>GEOGCS["Everest 1830",</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>DATUM["unknown",</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>SPHEROID["evrst30",6377276.345,300.8017]],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PRIMEM["Greenwich",0],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>UNIT["Degree",0.017453292519943295]],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PROJECTION["Transverse_Mercator"],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PARAMETER["latitude_of_origin",7.00047],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PARAMETER["central_meridian",80.77171],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PARAMETER["scale_factor",1],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PARAMETER["false_easting",200000],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>PARAMETER["false_northing",200000],</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3"><font face="Times New Roman"><span>
</span>UNIT["Meter",1]]</font></font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman"> </font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman">Can anybody help me to identify what went wrong ?</font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman">Thanking you</font></p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman"></font> </p>
<p style="margin: 0mm 0mm 0pt;"><font size="3" face="Times New Roman">nimalika</font></p></font></div>