I suspect both are leaking Multipoly, meaning you have some error in your
No reason to use Multipoly for the back ground, I would kill that and use a
For the Cartouche is definitely a leaking Polygon... You have double
entities somewhere or double points. Generally, the error points to where
the problem is.
This is a bit old and not updated, but comes from old Command of the Week
series. You may find it helpful. I need to update it, but most everything
Command of the Week, Multi-poly
First Rule: Always make sure all the Entities that you are going to
Multipoly are on the same Layer and on the Layer on which you want the Final
Second Rule: Never Copy a Multipoly. You can have 100 Copies of the
Multipoly, but if you explode them all you will end up with 100 duplicate
Entities that made up the original Multipoly. Talk about editing Nightmares.
Take from me who has experienced this problem, you do not want to have to
deal with this!
Third Rule: Multipoly Copies of the original Entities on a new Layer instead
of Copying the Multipoly itself. This is due to the problem that can result
from Copies of a Multipoly. Always leave the Coastlines as the Original
Entities and Copy those Original Entities to a new Layers before applying
the Multipoly Command. This maintains the Original Entities as a references,
should you have a problem down the road. The only exception to this rule is
if you know you are not going to need more than one entity. This is a rare
situation, since most times you need an Outline.
Forth Rule: Do NOT use Outline Command on a Multipoly. It will work, but I
find it gets in the way if you have to edit the Multipoly. It is better to
have Copies of the Entities that make up the Multipoly on a different Layer
for use as the Outline.
Fifth Rule: Learn to use the Back and Front Commands. Copies of Entities
always are in front of the Original. When you make Copies of several
Entities to a New Layer they will be in Front of all other Entities at that
time. If you want the Original to be in Front you will have to Front by
using the Layer Option to bring the Original to the Front.
Sixth Rule: NEVER try to Multipoly Smoothed Entities that have been trimmed.
This will guarantee you a leaking Multipoly. Instead of Trims try using the
Node Editing Tools (Move, Delete, Add). If you must Trim use Edit to make
the Entities have No Smoothing, Trim these and then turn Smoothing back on
before applying Multipoly to all the parts.
A few traits of the Multipoly Tool and a completed Multipoly.
1: The current Color, Fill Style, Line Style, Line Width, etc.. will be the
Color, Fill, Line, etc... of the Multipoly regardless what Color, Fill,
Line, etc... the Entities were when you started.
2: If you want a Multipoly Hollow Fill, you need to have the outline Box
checked in the Fill Style Dialog for the Multipoly to be visible.
3: All Entities will revert to the Color, Fill, Line, etc... when the
Multipoly is Exploded, regardless what changes were made to the Multipoly
after it was created. (This is part of the reason you do not want to Move a
Multipoly to different Layers.)
Multipoly is a Powerful Tool and can make quick work of many complex shapes.
There are other ways to get many different Entities to become a fillable
Poly, but only Multipoly allows you the ability to make a Fill treat two or
more unconnected Entities as one. (Square Fill for Dungeon Floors and Land
and offshore islands are the most common Examples.)
] On Behalf
Of BC Holmes
Sent: Monday, March 05, 2012 9:07 AM
Subject: [cc2-dev-l] Multipolys and order
I continue to have a lot of success making sense of the FCW file format.
Last night, I was working on multipolys. A lot has come together, but a
few things still need work. Here's an example of some multipolys that
aren't quite behaving:
PNG -> http://bcholmes.org/maps/Laxton%20Abbey.png
SVG -> http://bcholmes.org/maps/Laxton%20Abbey.svg
Based on this map, here:
There are two badly-formatted items, here. First, the green background
doesn't completely fill in (it ends up looking like a green triangle).
Second, the cartouche in the lower right hand corner isn't filled.
I think both problems relate to building the multipoly path. Currently, I
somewhat simplisticly attach each new path element in the order in which I
find it. In the case of the green background, the end result should be a
rectangle, but the line segments aren't in the best order.
In essence, my converter draws the bottom of the rectange, left to right,
then moves to the top line, right to left then down, then finally moves to
the right-most line and draws it upward.
I'm sure that I can figure out an algorithm to find the best order for the
path parts, but I was wondering if there's any clues in the file format that
I haven't yet noticed.
One of the other things I sometimes see is that line segments are described
"backwards" -- that is, for the purposes of finding the best "join", it
would be a lot easier if the line were described in the opposite direction.
Again, not an insurmountable problem.
B.C. Holmes \u2625 http://www.bcholmes.org/
"All my life I've wanted to be somebody; I guess I should've been more
specific." -- Lily Tomlin
To Post a message, send it to: cc2-dev-l@...
To Unsubscribe, send a blank message to:
! Groups Links