[GRASS-user] problem in projection of shape files

hi

I have a shape file which I have to import in GRASS. Shape file is consists of a shape file, a dbf file and a prj file.
The prj file has following information.

PROJCS[“BTM”,
GEOGCS[“GCS_Everest_1830”,
DATUM[“D_Everest_1830”,
SPHEROID[“Everest_1830”,6377299.36,300.8017]],
PRIMEM[“Greenwich”,0.0],
UNIT[“Degree”,0.0174532925199433]],
PROJECTION[“Transverse_Mercator”],
PARAMETER[“False_Easting”,500000.0],
PARAMETER[“False_Northing”,-2000000.0],
PARAMETER[“Central_Meridian”,90.0],
PARAMETER[“Scale_Factor”,0.9996],
PARAMETER[“Latitude_Of_Origin”,0.0],
UNIT[“Meter”,1.0]]

I will be very grateful if anyone could help me to find the ESPG code and any other way to re-project the shape file
and import into GRASS.

Best
Md. Zahid Parvez

I would use ogr2ogr from GDAL to reproject using a proj4 string. For example to wgs84:

ogr2ogr -s_srs “+proj=tmerc +lat_0=0 +lon_0=90 +k=0.9996 +x_0=500000 +y_0=-2000000 +a=6377276.345 +b=6356075.41314024 +units=m +no_defs” -t_srs wgs84 out.shp in.shp

-Jamie

On Mon, Feb 23, 2009 at 1:19 PM, Zahid Parvez <grassgisbangladesh@gmail.com> wrote:

hi

I have a shape file which I have to import in GRASS. Shape file is consists of a shape file, a dbf file and a prj file.
The prj file has following information.

PROJCS[“BTM”,
GEOGCS[“GCS_Everest_1830”,
DATUM[“D_Everest_1830”,
SPHEROID[“Everest_1830”,6377299.36,300.8017]],
PRIMEM[“Greenwich”,0.0],
UNIT[“Degree”,0.0174532925199433]],
PROJECTION[“Transverse_Mercator”],
PARAMETER[“False_Easting”,500000.0],
PARAMETER[“False_Northing”,-2000000.0],
PARAMETER[“Central_Meridian”,90.0],
PARAMETER[“Scale_Factor”,0.9996],
PARAMETER[“Latitude_Of_Origin”,0.0],
UNIT[“Meter”,1.0]]

I will be very grateful if anyone could help me to find the ESPG code and any other way to re-project the shape file
and import into GRASS.

Best
Md. Zahid Parvez


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Mon, Feb 23, 2009 at 10:19 PM, Zahid Parvez
<grassgisbangladesh@gmail.com> wrote:

hi
I have a shape file which I have to import in GRASS. Shape file is consists
of a shape file, a dbf file and a prj file.
The prj file has following information.
PROJCS["BTM",
GEOGCS["GCS_Everest_1830",
DATUM["D_Everest_1830",
SPHEROID["Everest_1830",6377299.36,300.8017]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["False_Easting",500000.0],
PARAMETER["False_Northing",-2000000.0],
PARAMETER["Central_Meridian",90.0],
PARAMETER["Scale_Factor",0.9996],
PARAMETER["Latitude_Of_Origin",0.0],
UNIT["Meter",1.0]]

I will be very grateful if anyone could help me to find the ESPG code and

the best is to ask in the PROJ mailing list which code it is:
http://trac.osgeo.org/proj/
-> Mailing List

Just to be sure that it is right.

any other way to re-project the shape file
and import into GRASS.

Then ogr2ogr or a proper GRASS location will do it.

Markus

Zahid Parvez wrote:

I have a shape file which I have to import in GRASS. Shape file is
consists of a shape file, a dbf file and a prj file.
The prj file has following information.

....

I will be very grateful if anyone could help me to find the
ESPG code and any other way to re-project the shape file
and import into GRASS.

on the grass (tcl/tk) start-up screen use the "Define new location with ..."
[Georeferenced file] button, then to reproject run v.proj from the
location you wish to reproject into. Knowing the EPSG code is not critical.

You can also use the nice EPSG browse/search tool from the "Define new
location with ..." [EPSG codes] window to track it down. (or search through the epsg file itself with your favorite text editor/viewer.

Hamish