MapInfo Legend Problems

1,637 views
Skip to first unread message

James Stott

unread,
Jan 23, 2008, 9:57:50 AM1/23/08
to mapi...@googlegroups.com
Hi all,

I seem to remember this coming up before on the list but couldn't find the post.

I am using MI version 9.0.2. I am trying to print a layout that I have created that has a legend on it in a frame. The Legend looks correct in the Legend window, it looks correct in the frame on the layout as well. But when it prints it doesn't print correctly. The legend is made up of 3 legend frames at the top of the legend, and then 2 thematic legend frames.

The legend items get squashed up and overlap and no longer show how they show in the legend window. Does anyone know how to sort this out? I keep having to mess about with the legend each time I print and it is taking up far too much of my time.

I have attached some images to illustrate the problems I am having.

1) Legend Window.jpg is how the legend shows in the legend window.
2) Frame on Layout.jpg is how the legend shows in the frame on the legend (I have added some text objects on the layout to illustrate labeled areas). These of course do not show in the correct place when the legend is printed.
3) Legend on PDF Cute PDF.jpg is how the legend comes out when printed with Cute PDF writer.
4) Legend on PDF Adobe.jpg is how the legend comes out with Adobe PDF writer (as the legends come out differently with the 2 pdf writers).

James
Legend Window.jpg
Frame on Layout.jpg
Legend on PDF Cute PDF.jpg
Legend on PDF Adobe.jpg

Hankins, Michael D.

unread,
Jan 23, 2008, 11:11:52 AM1/23/08
to mapi...@googlegroups.com

Hi James, Glad I am not only one chasing this.   I have just adjusted by making my legend window larger to cover the shift.  I do not regularly use multiple thematics, so my fix works for me.  I don’t remember getting any feedback after I posted a similar question.  I hope the answer is found because it is a pain in the butt.  Good luck.

 

 

Michael D. Hankins

COUNTRY Insurance & Financial Services

Actuarial Services Analyst

309-821-2302

 


Kent.T...@state.mn.us

unread,
Jan 23, 2008, 12:38:52 PM1/23/08
to mapi...@googlegroups.com

I have both Adobe Acrobat 7.0 and Primo pdf.  I get more consistent results with Primo pdf, especially when it comes to legends.  I don't know what Acrobat tries to do, but if I use multiple legends within a single frame, thematic and style types, Adobe will stack some of the legends on top of one another.  I would try refreshing the legend window and resize like Michael mentioned.  Unfortunately, hatching shows up better when using the Adobe driver.
____________
Kent Treichel
GIS Analyst
Tax Research
Minnesota Department of Revenue
MS 2230
600 North Robert St
St. Paul, MN 55146-2230
651-556-6150
fax 651-556-3103

James Stott

unread,
Jan 28, 2008, 3:46:52 AM1/28/08
to mapi...@googlegroups.com
Peter,

The workaround you suggest is the way I always create my legends in MapInfo. And the results are as shown in the images I attached to my original post. So unfortunately it would appear that this work around will not work for me.

The only way I found to get around the problem was to manually move the legend items in the legend window to give more space between them. This makes the legend look wrong in the legend window and on the layout but the legend prints correctly.

James

On 24/01/2008, Doyle, Peter W <Peter....@team.telstra.com> wrote:
Hi James / Michael,
 
I have had similar problems in the past with legends being truncated when printed. There seems to be some form of anomoly in Mapinfo when printing thermatic legends on layouts.
 
I found a workaround that seems to work reliably (for me anyway). Basically you include a thematic legend in a custom legend.
 
1) Create all required thermatic maps first before creating legends for other layers
2) Select "Map > Create Legend..." and add the previously created Thematic layes to the legend along with other required layers
3) Add legend from step 2 above to the frame on your layout
4) Adjust frame to fit legend
5) Print
 
I would be interested to know if this makes a difference for either of you.
 
Regards
Peter Doyle

From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of James Stott
Sent: Thursday, 24 January 2008 12:58 AM

To: mapi...@googlegroups.com
Subject: [MI-L] MapInfo Legend Problems

Gajendra Salunkhe

unread,
Jan 28, 2008, 4:03:26 AM1/28/08
to mapi...@googlegroups.com
The possible solution to this problem is to have a template created with Legend adjusted to see in PDF correctly. 

Then based on those values create rest all the .WOR files and PDFs.

Some thing like this(In Bold Case)

Create Cartographic Legend
  Position (2.92708,1.0625) Units "in"
  Width 2.57292 Units "in" Height 2.84375 Units "in"
  Window Title "Legend of Ocean"
  Custom
  Style Size Small
  Default Frame Style "%" Font ("Arial",0,7,0)
  Frame From Layer 2
    Position (0.0106719,89.6979) Units "in"
    Border Pen (1,1,0)
  Frame From Layer 18
    Position (0.0921312,89.02) Units "in"
    Border Pen (0,1,0)
    Title "      " Font ("Arial",1,8,0)
    Using Column object
    Style Font ("Arial",0,7,0)
      Text "" Region Pen (1,2,0)  Brush (2,16774096,16777215)
  Frame From Layer 19
    Position (0.0921312,88.6407) Units "in"
    Border Pen (0,1,0)
    Using Column object
    Style Font ("Arial",0,7,0)
      Text "" Region Pen (1,2,0)  Brush (2,12632256,16777215)
  Frame From Layer 20
    Position (0.0921312,88.4542) Units "in"
    Border Pen (0,1,0)
    Using Column object
    Style Font ("Arial",0,7,0)
      Text "" Region Pen (1,2,0)  Brush (2,16777215,16777215)
  Frame From Layer 17
    Position (0.0921312,88.2677) Units "in"
    Border Pen (0,1,0)
    Using Column object
    Style Font ("Arial",0,7,0)
      Text "" Region Pen (1,9,14680064)  Brush (1,0,16777215)


Regards
Gajendra Salunkhe
Message has been deleted

James Stott

unread,
Jan 30, 2008, 3:20:33 PM1/30/08
to mapi...@googlegroups.com
Hi all,

I have gotten a response from MapInfo about this problem:

"Thank you for the workspace and data. I've been able to confirm that drawing thematic legends at higher resolutions (such as those you would get with a printer or export) was broken sometime after the 9.0 release. I've entered this as a bug for the 9.5 release due out later this year. Unfortunately I know that won't help you now. If you didn't upgrade to 9.0.2 for any particular reason, you might consider uninstalling the patch and reinstalling 9.0. You should get better results with printing legends with themes."

So hopefully this will get fixed in the next release. I will try using an un-patched version of 9.0 and see if that helps and report back on the results to the list.

James


Reply all
Reply to author
Forward
0 new messages