[GRASSLIST:4228] Re: Importing Vectors
JGillette at rfmd.com
JGillette at rfmd.com
Tue Aug 6 15:59:35 EDT 2002
This came from v.in.dxf and should work. (note reference to
mask.dxf. The US Army .. came from the v.in.dxf program.)
I have enclosed the original file so that
tabs, spaces, cr with no lf, whatever, is preserved.
This exact file worked in pre3 on my Sun machine.
Let me know if it does not work for you.
(Also note that East/West is negative, North/South
is positive for me. You might check this.)
John
------------------------------------------------------
ORGANIZATION: US Army Const. Eng. Rsch. Lab
DIGIT DATE: Fri Jan 25 16:06:32 2002
DIGIT NAME: jgillett
MAP NAME: /users/jgillett/mask.dxf
MAP DATE:
MAP SCALE: 2400
OTHER INFO:
ZONE: 0
WEST EDGE: -79.875
EAST EDGE: -79.750
SOUTH EDGE: 36.125
NORTH EDGE: 36.250
MAP THRESH: 00.00
VERTI:
L 5
36.250 -79.875
36.250 -79.750
36.125 -79.750
36.125 -79.875
36.250 -79.875
----------------------------------------------------
> -----Original Message-----
> From: Kevin Slover [mailto:Kevin.Slover at noaa.gov]
> Sent: Tuesday, August 06, 2002 8:23 AM
> To: Gordon Keith; grass-list
> Subject: [GRASSLIST:4224] Re: Importing Vectors
>
>
> Gordon,
> could I possibly get a small sample of the file?? Not
> too much, just
> the MIF header info and a couple of the vertices. I have
> right now a grass
> ascii vector -> mapinfo mif converter (very crude, done in
> PERL, but it gets
> the job done). I would be curious to see if I can reverse it
> to import
> mif...
>
> thanks...
>
> the other option to get into grass would be to import the mif
> into mapinfo
> and export as dxf, or shape file...
>
> 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
> > v.in.ascii.
> >
> > It is telling me:
> > ERROR: Can't read ascii file header
> >
> > The file has the following header:
> > ORGANIZAITON:
> > 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
> > VERTI:
> >
> > 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
> > have?
> >
> > I'm working in lat/lon coordinates, and the boundaries I have given
> > encompass all the data.
> >
> > Thanks in advance
> > Gordon
> > --
> >
> > Gordon Keith
> > Programmer/Data Analyst
> > Marine Acoustics
> > CSIRO Marine Research
> > http://www.marine.csiro.au
> >
> > "There is no reason anyone would want a computer in their home."
> > - Ken Olson, President & Founder, Digital Equipment Corporation
>
> --
> LTJG Kevin Slover, NOAA
> GIS Specialist/Oceanographer
> NOAA/TPC/TSB/Storm Surge Unit
> 11691 SW 17th Street
> Miami FL 33165
>
> W (305) 229-4456
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newB7MASK
Type: application/octet-stream
Size: 708 bytes
Desc: newB7MASK
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20020806/c284f200/newB7MASK.obj
More information about the grass-user
mailing list