[GRASSLIST:429] Getting a file from Adobe Illustrator to GRASS

Hi Folks,

BTW, thanks for those who helped with my last problem. I couldn't remember
the file name.

New challenge, and some of you will remember trying to help me with this
some months ago. I put it aside then because I had other things to do. No
I am back. I have contour lines I've drawn in Adobe Illustrator. I want to
move them into GRASS as vectors so I can label the elevations and start
using them. This seems to elude me.

I tried converting them into .dxf files, but GRASS can't seem to see it.
I've tried using Textwrangler to change the line breaks to UNIX. I've even
used the program Linebreak for this purpose. I also tried using
Textwrangler to do a hexdump and converted the file to ascii.

One thing I am considering is printing out the contours and trying to use
v.digit to trace them. Can I do this with out a digitizing tablet using an
optical mouse? I may have to get some transparent film and make a target to
tape on it.

Can anyone thing of an easier way of doing it.

Any help or advice will be greatly appreciated.

Thanks.

Kurt

Kurt Springs said:

Hi Folks,

BTW, thanks for those who helped with my last problem. I couldn't
remember
the file name.

New challenge, and some of you will remember trying to help me with this
some months ago. I put it aside then because I had other things to do.
No
I am back. I have contour lines I've drawn in Adobe Illustrator. I want
to
move them into GRASS as vectors so I can label the elevations and start
using them. This seems to elude me.

I tried converting them into .dxf files, but GRASS can't seem to see it.

What do you mean by this ? What exactly is the procedure you're using and
what are the error messages, if any ?

I've tried using Textwrangler to change the line breaks to UNIX. I've
even
used the program Linebreak for this purpose. I also tried using
Textwrangler to do a hexdump and converted the file to ascii.

DXF should be ascii, no ?

One thing I am considering is printing out the contours and trying to use
v.digit to trace them. Can I do this with out a digitizing tablet using
an
optical mouse? I may have to get some transparent film and make a target
to
tape on it.

Can anyone thing of an easier way of doing it.

I suppose AI can export to raster formats (PNG, JPG, TIFF...), so you
could try that and import the result with r.in.gdal. Then you could either
transform the raster to vector (see
http://grass.itc.it/gdp/grass5tutor/HTML/c1452.html), or use the raster as
a backdrop in v.digit and digitize on screen.

Moritz

Kurt Springs wrote:

Hi Folks,

BTW, thanks for those who helped with my last problem. I couldn't remember
the file name.

New challenge, and some of you will remember trying to help me with this
some months ago. I put it aside then because I had other things to do. No
I am back. I have contour lines I've drawn in Adobe Illustrator. I want to
move them into GRASS as vectors so I can label the elevations and start
using them. This seems to elude me.

I tried converting them into .dxf files, but GRASS can't seem to see it.
I've tried using Textwrangler to change the line breaks to UNIX. I've even
used the program Linebreak for this purpose. I also tried using
Textwrangler to do a hexdump and converted the file to ascii.

One thing I am considering is printing out the contours and trying to use
v.digit to trace them. Can I do this with out a digitizing tablet using an
optical mouse? I may have to get some transparent film and make a target to
tape on it.

Can anyone thing of an easier way of doing it.

Any help or advice will be greatly appreciated.

Thanks.

Kurt

I try to avoid serious problems with this by cheating. I create a reference image with a "nice" set of dimensions for importing into a program or script that can give me row-major or other ASCII ordering of numerical values that I can import with an appropriate header. When this is not possible I import it into IDRISI for Windows V 2 and georeference it (really simple in lat/lon under IDRISI if I am careful) and then export an ascii fle I can muck with. For contours I would probably digitize or "scan and scale" if it was hand-drawn or derived from another source.

For what its worth....

Has anyonet tried the E00 or Shape file export options in the MapPublisher plugin for Illustrator as a way of getting AI data into GRASS? I find that when working with geo stuff in Illustrator the MapPublisher plugin is an invaluable tool. I just have not tested the export filters yet.

Andrew selkiesdad@comp10680.potsdam.edu
Sent by: owner-GRASSLIST@baylor.edu

06/20/03 03:27 AM


To: Kurt Springs ferret_bard@mac.com
cc: GRASSLIST@baylor.edu
Subject: [GRASSLIST:443] Re: Getting a file from Adobe Illustrator to GRASS

Kurt Springs wrote:
> Hi Folks,
>
> BTW, thanks for those who helped with my last problem. I couldn't remember
> the file name.
>
> New challenge, and some of you will remember trying to help me with this
> some months ago. I put it aside then because I had other things to do. No
> I am back. I have contour lines I've drawn in Adobe Illustrator. I want to
> move them into GRASS as vectors so I can label the elevations and start
> using them. This seems to elude me.
>
> I tried converting them into .dxf files, but GRASS can't seem to see it.
> I've tried using Textwrangler to change the line breaks to UNIX. I've even
> used the program Linebreak for this purpose. I also tried using
> Textwrangler to do a hexdump and converted the file to ascii.
>
> One thing I am considering is printing out the contours and trying to use
> v.digit to trace them. Can I do this with out a digitizing tablet using an
> optical mouse? I may have to get some transparent film and make a target to
> tape on it.
>
> Can anyone thing of an easier way of doing it.
>
> Any help or advice will be greatly appreciated.
>
> Thanks.
>
> Kurt
>
>

I try to avoid serious problems with this by cheating. I create a
reference image with a "nice" set of dimensions for importing into a
program or script that can give me row-major or other ASCII ordering of
numerical values that I can import with an appropriate header. When this
is not possible I import it into IDRISI for Windows V 2 and georeference
it (really simple in lat/lon under IDRISI if I am careful) and then
export an ascii fle I can muck with. For contours I would probably
digitize or "scan and scale" if it was hand-drawn or derived from
another source.

For what its worth....

Hi,

I've just been trying to do the same for some Illustrator EPS files. I couldn't find a GRASS compatible output from Illustrator either. My solution was to parse the postscript code describing polygons in order to get x,y coordinates. Not elegant and it took me a while with my head stuck in the PS language reference so if there is a better way, I'd like to know about it too - I have 600 files to handle! Because my files contained bezier curves, I had to come up with a function to interpolate points along the bezier as well.

Best wishes,
David

On Thursday, June 19, 2003, at 04:57 pm, Kurt Springs wrote:

Hi Folks,

BTW, thanks for those who helped with my last problem. I couldn't remember
the file name.

New challenge, and some of you will remember trying to help me with this
some months ago. I put it aside then because I had other things to do. No
I am back. I have contour lines I've drawn in Adobe Illustrator. I want to
move them into GRASS as vectors so I can label the elevations and start
using them. This seems to elude me.

I tried converting them into .dxf files, but GRASS can't seem to see it.
I've tried using Textwrangler to change the line breaks to UNIX. I've even
used the program Linebreak for this purpose. I also tried using
Textwrangler to do a hexdump and converted the file to ascii.

One thing I am considering is printing out the contours and trying to use
v.digit to trace them. Can I do this with out a digitizing tablet using an
optical mouse? I may have to get some transparent film and make a target to
tape on it.

Can anyone thing of an easier way of doing it.

Any help or advice will be greatly appreciated.

Thanks.

Kurt