Google Export Truncating Labels

DavidHook
DavidHook Global Mapper User
edited March 2008 in Technical Support
I'm currently running v9.01 and I'm cannot figure out how to export Google map tiles so that my labels do not get truncated when they happen to span a tile boundary. Given that a truncated label does not look very professional, I stopped rendering all area and point labels on my maps, but this has crippled my ability to convey info to users. Any help you can suggest would be greatly appreciated. I tried v9.02 but that version had the same issue. Thanks

Dave

Comments

  • global_mapper
    global_mapper Administrator
    edited March 2008
    Dave,

    There is an option on the bottom of the Vector Display tab of the Configuration dialog to "Hide Display Labels that are Partially Offscreen". If you check that it should fix the problem. However, in v9.02 this option should automatically be applied for any export resulting in multiple files, such as a Google Map export, so I would not have expected you to see the problem in v9.02. The problem did exist in v9.01 however.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • DavidHook
    DavidHook Global Mapper User
    edited March 2008
    Hi again... I picked a very simple map to use as an example of this issue and posted it on my site. The url is:

    Newport News Park | Mountain Bike and Hiking Trail Maps

    The map is of "Newport News Park" - starting at z13 and z14 the entire park name label appears, but when you get to z15 the label is truncated to "Newport N", z16 everything is fine again but z17 truncates to "Newport News P". When looking at the png tiles generated, I’ve verified that the label is at the tile boundary when it gets truncated. I've also played around with the options to hide a label when it is partially off the screen, but that is not such a great option because the label appears and disappears as you zoom in. I’ve also adjusted the “Vector Layering During Draw” options but this does not seem to make a difference in the tiles. Again, thanks for any assistance you can provide.

    Dave
  • DavidHook
    DavidHook Global Mapper User
    edited March 2008
    Mike

    I'll give 9.02 a try again... Thanks

    Dave
  • DavidHook
    DavidHook Global Mapper User
    edited March 2008
    Mike

    I just reloaded 9.02 and I did not get the results you were expecting - with v9.02, I unchecked "Always Dispaly All Labels" and checked "Hide labels that are partially offscreen" which should have resulted in the entire label being hidden when it gets truncated, but that did not happen. Instead I saw the labels getting truncated the same way as initially posted and as the example from my site indicates. What's really odd about that is that the option to hide labels that are partially offscreen worked in 9.01.

    But this is not really getting to the point I'm interested in - is it possible to make the label appear at all zoom levels even when it spans a tile boundary?

    If the answer is No - then is it possible to render a png at a specific zoom level? For example, render a single large png at z17 - this would then allow me to take that image with its properly rendered labels and chop it myself into tiles. Sorry for the long winded post...

    Thanks for all your help!!!
    Dave
  • global_mapper
    global_mapper Administrator
    edited March 2008
    Dave,

    I took a look and discovered an inadvertant change in v9.02 that would cause any labels marked to always be displayed (either via the global setting to always display labels or the flag for an individual feature to always display the label) would override the flag to hide offscreen labels. I'm guessing that some of your features perhaps have that set or the global flag was set. I have placed a new build at http://www.globalmapper.com/global_mapper9.zip with this fixed for you to try. Simply download that file and extract the contents into your existing v9.xx installation folder to give it a try.

    There is not a simple way to have labels remain complete across a tile boundary. The only way that I can think of is to export your entire map to a single PNG file using the File->Export Raster->Export PNG menu command, then load that back in by itself and export it to Google Maps tiles. With this approach your lower zoom levels will not look as good as they will be subsampled versions of the raster data rather than completely re-rendered vector data, although you could perhaps mix and match zoom level folders from the vector-based and raster-based exports to get a get compromise at all zoom levels.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com