[GRASS5] [bug #4160] (grass) v.in.ogr location= misses lat_ts and datum settings.
Harmish Bowman via RT
grass-bugs at intevation.de
Wed Apr 26 22:26:28 EDT 2006
this bug's URL: http://intevation.de/rt/webrt?serial_num=4160
Request number 4160 was commented on by 'hbowman' (Harmish Bowman).
Responding to this message will send mail to the requestor.
Request Tracker
rt at intevation.de
--------------------------------------------------------------
Cc: grass5 at grass.itc.it
[create new location with v.in.ogr sets central parallel wrong]
The shape file's .prj reads:
PROJCS["Clarke_1866_Mercator",GEOGCS["GCS_Clarke_1866",DATUM["D_Clarke_1866",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",100.0],PARAMETER["Standard_Parallel_1",-46.0],UNIT["Meter",1.0]]
(ignore datum problems for now)
The problem happens in lib/proj/convert.c
either in line 243:
OSRMorphFromESRI( hSRS );
or on line 277
if( OSRExportToProj4( hSRS, &pszProj4 ) != OGRERR_NONE )
At least as soon as we are past line 277, the pszProj4 contains a string with
+lat_ts=0
I am using debian/stable's gdal 1.2.6.
I will update to the DebianGIS GDAL 1.3.1 package for stable and report back.
Hamish
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list