MapInfo Pro

 View Only
Expand all | Collapse all

incompatibility of legend with layer

  • 1.  incompatibility of legend with layer

    Posted 11-26-2023 12:55
    Edited by Tomasz Zapaśnik 11-26-2023 13:21
    Hi,
    I have a problem with the legend. The style of the legend does not coincide with the style of the layer. The sampling in the legend is clearly larger than the layer style.
     
    How to solve the problem so that the legend has the same style as the layer?
    I am working in mapinfo 2021.1


    Regards
    ------------------------------
    Tomasz Zapaśnik
    EKOZAPAS
    ------------------------------



  • 2.  RE: incompatibility of legend with layer

    Employee
    Posted 11-27-2023 01:50

    Hi Tomasz

    We may need more detail to determine why they don't match.

    • How did you generate the image above? Is it just a screengrab?
    • Which exact patterns have you used

    I tried creating a similar setup as you in MapInfo Pro v2023 

    Here's how mine looks in the layout:

    Here's how they look in a PNG export using 300 DPI
    Below you can find the resulting PDf created from the layout using 300 DPI
    One thing worth checking is the output preferences. Here are my settings used:
    If I was to make a guess, it would be on the Scale Patterns options.
    I have also attached my sample table for you to try out. It has an embedded theme so please use the legend for the theme.


    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------

    Attachment(s)

    zip
    PolygonFill.zip   4 KB 1 version
    pdf
    Polygon Fills.pdf   50 KB 1 version


  • 3.  RE: incompatibility of legend with layer

    Posted 11-27-2023 03:54
    Edited by Tomasz Zapaśnik 11-27-2023 04:27
      |   view attached

    Hi Peter,

    I exported to PNG using 400 DPI (but with others there is the same effect).
     
    I applied the patterns: 1B, 14B, 5E, 17C, 4C
    Attached is my layout.
     
    Your export to png for "Pink Strip" also does not match the legend.
     
    I will point out that working on mapinfo version 2019 and 2019.1 this problem did not occur with me.
    Regards
    Tomasz



    ------------------------------
    Tomasz Zapaśnik
    EKOZAPAS
    ------------------------------

    Attachment(s)

    zip
    polygon_tom.zip   3 KB 1 version


  • 4.  RE: incompatibility of legend with layer

    Employee
    Posted 11-27-2023 05:28

    My legend seems to match quite well. I have copied the legend and inserted them on top of the polygons.

    Let me check your styles



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 5.  RE: incompatibility of legend with layer

    Posted 11-27-2023 05:40
    Edited by Tomasz Zapaśnik 11-27-2023 05:41

    Yes, in layout everything is ok, but after exporting to PNG Pink Strip is not ok.

    Your export to png:


    Regards
    ------------------------------
    Tomasz Zapaśnik
    EKOZAPAS
    ------------------------------



  • 6.  RE: incompatibility of legend with layer

    Employee
    Posted 11-27-2023 08:54

    Oh, you are right. I checked the screengrab.

    I switched the pattern from E1 to B4 and now it looks far better.

    I think the advice is to not use the pattern from the first line.

    Those are different compared to the remaining patterns.



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 7.  RE: incompatibility of legend with layer

    Posted 11-27-2023 09:21
    Edited by Tomasz Zapaśnik 11-27-2023 10:20
    But how am I supposed to solve the problem if, in my MapInfo 2021 version, practically all the patterns do not coincide with the legend? It's not just the patterns in the first line - as you can see in the picture I attached earlier.
     
    I am mainly involved in creating maps with natural protected areas, the discrepancy between the map and the legend is quite troublesome. 
    I have also noticed that this inconsistency appears on the layout when zooming in. Below is a printscreen.
    It looks as if the layout even before esporetm or printing does not correspond in scale with the legend.
    Perhaps there is a system setting that I should pay attention to?



    ------------------------------
    Tomasz Zapaśnik
    EKOZAPAS
    ------------------------------



  • 8.  RE: incompatibility of legend with layer

    Employee
    Posted 11-28-2023 01:35

    Hi

    How do your Output Preferences look for Exporting?

    Here are my settings:

    Peter


    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 9.  RE: incompatibility of legend with layer

    Employee
    Posted 11-28-2023 01:40

    PS: I just tried using your table and workspace and that seems to come out right here in my MapInfo Pro v2021.1 Build 33.



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 10.  RE: incompatibility of legend with layer

    Posted 11-28-2023 06:15
    Edited by Tomasz Zapaśnik 11-28-2023 06:14
    Hi
     
    I have the same export settings.
     
    Could these errors be related to the display resolution settings or the monitor itself? I have 3840 x 2160, but after downsizing the effect is better - not good but you can see a small difference. 
     
    What else can I set in the system to solve this problem?



    ------------------------------
    Tomasz Zapaśnik
    EKOZAPAS
    ------------------------------



  • 11.  RE: incompatibility of legend with layer

    Employee
    Posted 11-29-2023 01:31
    Edited by Peter Møller 11-29-2023 01:32

    Hi

    I'm also using a 4K monitor so I doubt it's related to the screen resolution.

    Can you share your Output Preferences, please? All 3 tabs.

    Is your map configured to use Enhanced Rendering?



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 12.  RE: incompatibility of legend with layer

    Posted 11-29-2023 13:05
    Edited by Tomasz Zapaśnik 11-29-2023 13:06

    Hi

    my Output Preferences (sorry, I have polish version):

    Display:

    Printing:

    Exporting:

    How can I check if I have configured to use Enhanced Rendering? Somewhere here:?



    ------------------------------
    Tomasz Zapaśnik

    ------------------------------



  • 13.  RE: incompatibility of legend with layer

    Employee
    Posted 11-30-2023 01:19

    Hi Tomasz

    Enhanced Rendering can be checked from the Map Options. Right-click on the map in the Layer List and pick Map Options.

    I think it is set to on - that was the case with the workspace you shared.



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 14.  RE: incompatibility of legend with layer

    Posted 11-30-2023 03:54
    Hi Peter,
     
    yes, Enhanced Rendering is set to on.
     
    In that case, what is wrong with this legend?


    ------------------------------
    Tomasz Zapaśnik
    ------------------------------



  • 15.  RE: incompatibility of legend with layer

    Employee
    Posted 11-30-2023 10:13

    That's bit weird, Tomasz.

    Can you try turning off the internal handling and see if that makes any difference?

    What operating system are you on?
    Thanks


    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 16.  RE: incompatibility of legend with layer

    Posted 12-01-2023 06:21

    Hi Peter,

    there is no difference.

    I have Windows 11 Pro - version 23H2.

    When I had Mapinfo 12.5 there was no problem.
    When I had Mapinfo 19.1 there was no problem.
    The problems started with version 19.3.
     
    At first I thought it was my computer's fault. But about a month ago I replaced my computer completely (only my previous monitor was left). I installed mapinfo 2021 and there is the same problem as before.

    Regards



    ------------------------------
    Tomasz Zapaśnik
    ------------------------------



  • 17.  RE: incompatibility of legend with layer

    Employee
    Posted 03-01-2024 10:59

    Sorry, Tomasz

    I dropped on this one.

    I wonder if the problem is related to the OS some how.

    Can I ask you to raise this with out support team if you haven't already

    Thanks



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------