[GRASSLIST:4223] Re: Importing Vectors
neteler at itc.it
Tue Aug 6 08:09:43 EDT 2002
maybe a workaround: Try to use "ogr2ogr" (part of GDAL):
It allows for conversion of MapInfo to SHAPE:
ogr2ogr -f "ESRI Shapefile" out.shp in.mif
v.in.shape out.shp ...
I am not sure about the status of v.in.mif, it may be weak.
PS: OGR Vector Formats
On Tue, Aug 06, 2002 at 04:50:54PM +1000, Gordon Keith wrote:
> I have some regions defined in MapInfo I am trying to read into grass.
> v.in.mif gives segmentation faults (5.0pre4) so I am trying to use
> It is telling me:
> ERROR: Can't read ascii file header
> The file has the following header:
> DIGIT DATE:
> DIGIT NAME:
> MAP NAME: from Mapinfo MIF file
> MAP DATE:
> MAP SCALE: 0
> OTHER INFO:
> ZONE: 0
> WEST EDGE: 130
> EAST EDGE: 151
> SOUTH EDGE: -38
> NORTH EDGE: -30
> MAP THRESH: 0
> Many of the fields I have left blank, as I am not sure what is required.
> Does anyone know which fields are required and what values they should
> I'm working in lat/lon coordinates, and the boundaries I have given
> encompass all the data.
> Thanks in advance
> Gordon Keith
> Programmer/Data Analyst
> Marine Acoustics
> CSIRO Marine Research
> "There is no reason anyone would want a computer in their home."
> - Ken Olson, President & Founder, Digital Equipment Corporation
More information about the grass-user