[GRASS-user] help with ogr2ogr and .shp file

Wolf Bergenheim wolf+grass at bergenheim.net
Wed Feb 28 17:05:43 EST 2007


Hi,

You have to create a new location for it (the location parameter) and
then project it to your current location with the v.proj module.

--Wolf

antonio rodriguez wrote:
> Hi,
> 
> I need some help and advice to transform a .shp file to a format
> readable by GRASS. My shape file is as follows:
> 
> #ogrinfo -so hs1-1500.shp hs1-1500
> 
> INFO: Open of `hs1-1500.shp'
> using driver `ESRI Shapefile' successful.
> 
> Layer name: hs1-1500
> Geometry: Line String
> Feature Count: 4962
> Extent: (100528.742188, 3991489.250000) - (610083.250000, 4288506.900918)
> Layer SRS WKT:
> (unknown)
> FNODE_: Real (11.0)
> TNODE_: Real (11.0)
> LENGTH: Real (18.5)
> HS1_100_: Real (11.0)
> HS1_100_ID: Real (11.0)
> COD_ENT: String (4.0)
> NOMBRE: String (80.0)
> JERARQUIA: Real (11.0)
> TIPO_LIN: Real (11.0)
> 
> I need to convert it to thi lat/lon region:
> 
> GRASS 6.0.2 (andalucia):~ > projection: 3 (Latitude-Longitude)
> zone:       0
> datum:      wgs84
> ellipsoid:  wgs84
> north:      39N
> south:      36N
> west:       8W
> east:       1W
> nsres:      0:00:03.6
> ewres:      0:00:03.6
> rows:       3000
> cols:       7000
> 
> Thanks in advance,
> 
> Antonio
> 
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser

-- 

<:3 )---- Wolf Bergenheim ----( 8:>




More information about the grass-user mailing list