My pcb layout program generates traces as a positive Gerber file and
the ground plane as a separate negative Gerber file. Is there a
simple way to combine the two so that there is only one Gerber file
for each layer?
You don't say what program your using.
I don't understand your question. What you describe is normal. Layers
defined as planes are normally plotted as a negative, trace layers are
plotted as positive. These are separate files because they are
separate layers.
Are you talking about a single layer having traces and plane area(s)?
In this case, you would create your plane areas using pours. If you
ran a trace thru the pour, your layout program should carve out a
specified clearance around the trace. The resultant Gerber file will
be a positive with lots of black for the plane pours.
Perhaps you are not familiar with your program or the program has
limitations. If your program has limitations and you need to combine a
trace layer with a negative of a plane layer, have the pcb house do
this. PCB houses have full blown Gerber editors which allow them to do
fancy things like this.
Mark