Export web format function in API

chrise
chrise Global Mapper User
edited March 2009 in Technical Support
Hello,

I am writing a script to batch-process a number of raster files. I would like to know if the Export-web format function is available in the API? I could not find out how to do this.

Thanks in advance for your help,

Comments

  • global_mapper
    global_mapper Administrator
    edited March 2009
    The function in the API is the GM_ExportWebFormat function.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • chrise
    chrise Global Mapper User
    edited March 2009
    Mike

    Thanks for your speedy reply. Can you direct me to the latest script reference, I have been using the one on GLOBAL MAPPER - Support - Script Reference. I couldn't find GM_ExportWebFormat on there..

    Thanks
    Chris
  • chrise
    chrise Global Mapper User
    edited March 2009
    Ok - looking further into this am I right in thinking that GM_ExportWebFormat is not available through the scripting capability provided with a standard GM license? In other words in order to use this I'd need to develop my own app via the SDK?

    Chris
  • global_mapper
    global_mapper Administrator
    edited March 2009
    Chris,

    Yes, the GM_ExportWebFormat is a function in the SDK, not a command in the scripting language. There is not currently a way to export for web formats other than KML/KMZ via the scripting language.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com
  • Mungo T
    Mungo T Global Mapper User Trusted User
    Is this still the case?
  • bmg_bob
    bmg_bob Global Mapper Programmer
    Mungo T said:
    Is this still the case?
    Global Mapper now has the EXPORT_WEB script command to export Google Maps, MBTiles, etc.
    Cheers,
    Bob