Re: Separating GMT 5 commands into separate layers readable by Illustrator

Paul Wessel <[email protected]> Wed, 13 Aug 2014 09:13:41 -1000
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
Hi Jacob-

This would be really nice to do if Adobe actually bothered parsing the =
PS comments available for layering (e.g., GMT/pslib already writes =
things like %%BeginObject PSL_Layer_1).  But they dont give a s*** and =
never have; this goes back decades.  So I think the best you can do is =
to make separate PDFs for various layers and append them in Illustrator =
as layers there. =20

Cheers, Paul

On Aug 13, 2014, at 9:08 AM, Jacob M. Heck <[email protected]> wrote:

> I am working on maps that need to be reviewed by several colleagues =
who are not very experienced in using GMT.  Each collaborator will look =
at a different segment (different sets of plotted data points generated =
by psxy, for example) and then provide me with feedback on their =
specific part of the map.  How do I separate everything into layers in =
the ps file within the GMT bash script so that ps2raster will create a =
pdf file that includes individual named layers that are readable by =
Illustrator?=20
>=20
> Searching online I have found that pslib is the function to use, =
however, I cannot find any examples online that show how to invoke pslib =
for these purposes.  It seems like it should be simple, that I should be =
able to insert a line in my script that says something like:
>=20
> "start new layer with a specific name",=20
> pscoast line
> psxy line
> "end layer."
>=20
> I'm sure there are many ways to do this, but is there a simple way?
>=20
> Jacob
>=20
> --=20
> Jacob M. Heck
> Geodetic Science
> The Ohio State University
> 075 Mendenhall Lab
> (734)735-8932
> Mailing list for GMT discussions of all kinds. If you are not sure you =
have found a bug, discuss it here first. To formally report bugs or =
request features, please register and add New Issue on =
gmt.soest.hawaii.edu To unsubscribe, send the message "signoff gmt-help" =
to [email protected] Note: gmt-help will become obsolete on Sept =
1, 2014 - please use forum on gmt.soest.hawaii.edu instead.

Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to [email protected]
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.