[GRASSLIST:485] Re: Getting a file from Adobe Illustrator to GRASS
David Orme
d.orme at imperial.ac.uk
Tue Jun 24 04:23:35 EDT 2003
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
>
More information about the grass-user
mailing list