[GRASSLIST:5895] Re: v.in.e00 import (resolved in OSX)

Jean-Denis Giguere jdenisgiguere at fastmail.fm
Wed Feb 23 19:07:50 EST 2005


Hi Moritz

avce00 convert arc/info *vector* coverage from/to .e00. But, you have 
downloaded a arc/info *grid* coverage (a raster in an interchange file 
(.e00)).

You can use r.in.gdal or gdal_translate to put them in an useful format.

This is the output of gdalinfo on a .e00 file :

$ gdalinfo belds90g_beta1.e00
Driver: EHdr/ESRI .hdr Labelled
Size is 120, 72
Coordinate System is `'
Origin = (2.000000,52.000000)
Pixel Size = (0.04166667,-0.04166667)
Corner Coordinates:
Upper Left  (   2.0000000,  52.0000000)
Lower Left  (   2.0000000,  49.0000000)
Upper Right (   7.0000000,  52.0000000)
Lower Right (   7.0000000,  49.0000000)
Center      (   4.5000000,  50.5000000)
Band 1 Block=120x1 Type=Int16, ColorInterp=Undefined


HTH,

Jean-Denis

Moritz Lennert wrote:
> Dear Lorenzo, Jean-Denis and others,
> 
> On Sat, February 19, 2005 0:48, Lorenzo Moretti said:
> 
>>AVCE00 and E00CONV for OSX
>>==========================
>>
>>download two sources from http://avce00.maptools.org/
>>- avce00-1.2.0.tar.gz
>>- e00compr-0.5.tar.gz
>>
>>changes in avce00-1.2.0/GNUmakefile
>>
>>BYTE_ORDER_FL = -DCPL_MSB
>>
>>...
>>$(LIB): $(LIB_OBJS)
>>	rm -f $(LIB)
>>	$(AR) rc $(LIB) $(LIB_OBJS)
>>	ranlib $(LIB)
>>
> 
> 
> On Wed, February 23, 2005 22:37, Jean-Denis Giguere said:
> 
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>I have uploaded an avce00 package on a tiny apt repository. This is my
>>first contributed .deb so comments will be appreciated.
>>
>>This is sources.list entries to get binary and source to get it :
>>
>>deb     http://clepsydre.info/debian/ ./
>>deb-src http://clepsydre.info/debian/ ./
>>
>>I will upload it on debgis repository when I will have an okay.
>>
> 
> 
> I have tried both Jean-Denis' Debian version and tried compiling myself with
> Lorenzo's changes to $(LIB), but I still have the same problem trying to
> transform a e00 file into a binary coverage.
> 
> As you can see below, using the files in
> http://moritz.homelinux.org/misc/bel_gpwv3_pcount_e00_25.zip (coming from
> http://beta.sedac.ciesin.columbia.edu/gpw/country.jsp?iso=BEL), I get (for
> both versions - self-compiled and deb) sta.adf files that are very small (32
> bytes) compared to the original files which are all ~120Kb.
> 
> Could someone please test whether they have the same problem with the same
> files ?
> 
> Thanks,
> 
> Moritz
> 
> ***************
> mlennert at maison:/home/mlennert/GISDATA/GPW/BELGIUM$ for file in *.e00; do
> name1=`basename $file .e00`;name2=`basename $name1_beta1`;
> ~/SRC/avce00-1.2.0/avcimport $file $name2; done
> 
> mlennert at maison:/home/mlennert/GISDATA/GPW/BELGIUM$ ls -l *
> -rw-rw-r--  1 mlennert moritz 123484 2004-07-06 18:52 belp00agi_beta1.e00
> -rw-rw-r--  1 mlennert moritz 123482 2004-07-06 18:51 belp00gi_beta1.e00
> -rw-rw-r--  1 mlennert moritz 123484 2004-07-06 18:48 belp90agi_beta1.e00
> -rw-rw-r--  1 mlennert moritz 123482 2004-07-06 18:47 belp90gi_beta1.e00
> -rw-rw-r--  1 mlennert moritz 123484 2004-07-06 18:50 belp95agi_beta1.e00
> -rw-rw-r--  1 mlennert moritz 123482 2004-07-06 18:49 belp95gi_beta1.e00
> -rw-r--r--  1 mlennert moritz   2120 2004-07-06 18:19 readme_pcount_e00_beta1.txt
> 
> belp00agi:
> total 4
> -rw-r--r--  1 mlennert moritz 32 2005-02-24 00:14 sta.adf
> 
> belp00gi:
> total 4
> -rw-r--r--  1 mlennert moritz 32 2005-02-24 00:14 sta.adf
> 
> belp90agi:
> total 4
> -rw-r--r--  1 mlennert moritz 32 2005-02-24 00:14 sta.adf
> 
> belp90gi:
> total 4
> -rw-r--r--  1 mlennert moritz 32 2005-02-24 00:14 sta.adf
> 
> belp95agi:
> total 4
> -rw-r--r--  1 mlennert moritz 32 2005-02-24 00:14 sta.adf
> 
> belp95gi:
> total 4
> -rw-r--r--  1 mlennert moritz 32 2005-02-24 00:14 sta.adf
> 
> info:
> total 52
> -rw-r--r--  1 mlennert moritz   80 2005-02-24 00:14 arc0000.dat
> -rw-r--r--  1 mlennert moritz  576 2005-02-24 00:14 arc0000.nit
> -rw-r--r--  1 mlennert moritz   80 2005-02-24 00:14 arc0001.dat
> -rw-r--r--  1 mlennert moritz  576 2005-02-24 00:14 arc0001.nit
> -rw-r--r--  1 mlennert moritz   80 2005-02-24 00:14 arc0002.dat
> -rw-r--r--  1 mlennert moritz  576 2005-02-24 00:14 arc0002.nit
> -rw-r--r--  1 mlennert moritz   80 2005-02-24 00:14 arc0003.dat
> -rw-r--r--  1 mlennert moritz  576 2005-02-24 00:14 arc0003.nit
> -rw-r--r--  1 mlennert moritz   80 2005-02-24 00:14 arc0004.dat
> -rw-r--r--  1 mlennert moritz  576 2005-02-24 00:14 arc0004.nit
> -rw-r--r--  1 mlennert moritz   80 2005-02-24 00:14 arc0005.dat
> -rw-r--r--  1 mlennert moritz  576 2005-02-24 00:14 arc0005.nit
> -rw-r--r--  1 mlennert moritz 2280 2005-02-24 00:14 arc.dir
> 


-- 
Jean-Denis Giguère
Étudiant en géomatique
appliquée à l'environnement
Stagiaire à l'Agence de développement
de réseaux locaux de services de santé
et de services sociaux de l'Estrie
Tél. 829-3400 42008
Courriel. jdenisgiguere at fastmail.fm




More information about the grass-user mailing list