<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am working with set of shape files and some are
missing coordinate system references.I need to assign coordinate system to
them and trying to use ogr2ogr to assign coordinate system to them with
-a_srs .</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tried to use the definitions in the .proj
file which is attached to shape files with the reference system to add the same
to other shape files but not sucessful.I am not quite sure how to give the
parameters to -a_srs </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The .proj file content is as follows.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>PROJCS["SL_grid_99",</FONT></DIV>
<DIV><FONT face=Arial size=2>GEOGCS["GCS_Kandawala",</FONT></DIV>
<DIV><FONT face=Arial size=2>DATUM["D_Kandawala",</FONT></DIV>
<DIV><FONT face=Arial
size=2> SPHEROID["Everest_1830",6377276.345,300.8017]],</FONT></DIV>
<DIV><FONT face=Arial size=2> PRIMEM["Greenwich",0],</FONT></DIV>
<DIV><FONT face=Arial size=2>
UNIT["Degree",0.017453292519943295]],</FONT></DIV>
<DIV><FONT face=Arial size=2>PROJECTION["Transverse_Mercator"],</FONT></DIV>
<DIV><FONT face=Arial size=2>
PARAMETER["False_Easting",200000.000],</FONT></DIV>
<DIV><FONT face=Arial size=2>
PARAMETER["False_Northing",200000.00],</FONT></DIV>
<DIV><FONT face=Arial size=2>
PARAMETER["Central_Meridian",80.77171],</FONT></DIV>
<DIV><FONT face=Arial size=2>
PARAMETER["Scale_Factor",0.9999238418],</FONT></DIV>
<DIV><FONT face=Arial size=2>
PARAMETER["Latitude_Of_Origin",7.00048],</FONT></DIV>
<DIV><FONT face=Arial size=2> UNIT["Meter",1]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>I used the folowing and got
the error message </FONT></DIV>
<DIV> </DIV></FONT>
<DIV><FONT face=Arial size=2>ogr2ogr -f "ESRI Shapefile" -a_srs +proj=tmerc
+ellps=evr<BR>st30 +lat_0=7.00048 +lon_o=80.77171 +k=0.9999238418 +x-0=2000000
+y_0=200000 +un<BR>its=m
D:\Reserch\Kaduwela\Kaduwela\gn_kaduwela.shp</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>FAILURE:<BR>Unable to open datasource
`+lat_0=7.00048' with the following drivers.</FONT></DIV>
<DIV><FONT face=Arial size=2> > ESRI Shape file .....</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It seems like the way in which I gave the
parameters are not correct .</FONT></DIV>
<DIV><FONT face=Arial size=2>Any help in this regard is highly
appriciated. </FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanking you</DIV>
<DIV> </DIV>
<DIV>nimalika</DIV></FONT></DIV></BODY></HTML>