[GRASS5] error r.in.gdal v.in.ogr

Markus Neteler neteler at itc.it
Tue Jan 31 10:21:31 EST 2006


Hi Otto,

I had the same problem today and cured it by compiling
GDAL/OGR from scratch:

cd gdal/
make distclean
./configure ...
make
make install

Markus


On Tue, Jan 31, 2006 at 03:37:27PM +0100, Otto Dassau wrote:
> Hi, 
> 
> I tried to import an ERDAS/Img and MapInfo file with a current GRASS and gdal 
> CVS version and got following similar error message (segmentation fault) for 
> both commands: 
>  
> r.in.gdal in=3479060700.img out=muell
> v.in.ogr in=test.MIF out=muell
> 
> strace r.in.gdal in=3479060700.img out=muell
> [...]
> _llseek(4, 15611, [15611], SEEK_SET)    = 0
> close(3)                                = 0
> munmap(0x40c9e000, 32768)               = 0
> open("/usr/local/grass-6.1.cvs/etc/ogr_csv/gdal_datum.csv", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=107157, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0x40c9e000
> _llseek(3, 0, [0], SEEK_CUR)            = 0
> read(3, "\"DATUM_CODE\",\"DATUM_NAME\",\"DATUM"..., 4096) = 4096
> read(3, "dations v5.1 April 1994.\",EPSG,\""..., 4096) = 4096
> read(3, " metres below Hong Kong Principa"..., 4096) = 4096
> read(3, "ased on Airy Modified 1849 ellip"..., 4096) = 4096
> read(3, ",geodetic,,,7020,8901,1263,Not a"..., 4096) = 4096
> read(3, "2 Definition) ellipsoid)\",geodet"..., 4096) = 4096
> read(3, "itude: 31 deg 23 min 59.19 sec N"..., 4096) = 4096
> read(3, " 02 min 05.1 sec W (of Greenwich"..., 4096) = 4096
> read(3, "he Unified Trigonometrical Cadas"..., 4096) = 4096
> read(3, "National Geodetic System.] Super"..., 4096) = 4096
> read(3, "ion of station Divis. Scale and "..., 4096) = 4096
> read(3, "in 07.110 sec N; Longitude: 31 d"..., 4096) = 4096
> read(3, "a_1957\"\n6218,Bogota 1975,geodeti"..., 4096) = 4096
> read(3, " 00:00:00\",,0,\"D_Fahud\"\n6233,Gan"..., 4096) = 4096
> read(3, "1995-06-02 00:00:00\",,0,\"D_Lake\""..., 4096) = 4096
> read(3, "orth American Datum 1927,geodeti"..., 4096) = 4096
> read(3, "de: 4 deg 47 min 00.10 sec S; Lo"..., 4096) = 4096
> read(3, " to best mean fit 9 stations of "..., 4096) = 4096
> read(3, " deg 17 min 41.06 sec E (of Gree"..., 4096) = 4096
> read(3, "hic mapping.,,Ordnance Survey of"..., 4096) = 4096
> read(3, ".80 +/- 0.08 sec W).\",1969,7050,"..., 4096) = 4096
> read(3, "els 1972,geodetic,\"Fundamental p"..., 4096) = 4096
> read(3, "SG,\"2002-11-29 00:00:00\",,0,\n665"..., 4096) = 4096
> read(3, ",,0,\n6659,Islands Network 1993,g"..., 4096) = 4096
> read(3, ":00:00\",2000.20 2003.361,0,\"D_Bo"..., 4096) = 4096
> read(3, " Prague.\",EPSG,\"2001-08-28 00:00"..., 4096) = 4096
> read(3, "s standards manual, 1974.\",EPSG,"..., 4096) = 661
> read(3, "", 4096)                       = 0
> close(3)                                = 0
> munmap(0x40c9e000, 4096)                = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> 
> gdalinfo and ogrinfo work fine - so it's probably in GRASS?
> 
> regards,
>  Otto
> 
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5




More information about the grass-dev mailing list