Scripting Skip Errors

rothjarothja Global Mapper UserPosts: 1
edited April 2009 in Technical Support
I'm performing an automatic script which reads in all image files in a directory and exports the metadata info for each file. Some images are not georeferenced and therefore do not have the projection required to locate them through GM. Is there a way to skip errors inside GM script, that is to say, when the dialog box pops up asking for user input, automatically skip it and move to the next file?



  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited April 2009
    You can add the PROMPT_IF_PROJ_UNKNOWN=NO parameter to your IMPORT command to just fail to load files with an unknown projection.

    Let me know if I can be of further assistance.


    Global Mapper Support
Sign In or Register to comment.