Using GM_SetProjection , GM_GetProjection ??

gugupogugupo Global Mapper UserPosts: 24Trusted User
edited May 2012 in SDK
After using a projection effect GM_SetProjection

Image GM_ExportRasterEx resulting in

Prj file with the problem of the creation of worldfile well displayed in the correct location, but the viewer does not

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited May 2012
    I'm not quite sure what you are saying? Is the exported file not in the correct position after you reload it? When you say viewer do you mean Global Mapper?

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • gugupogugupo Global Mapper User Posts: 24Trusted User
    edited May 2012
    Hi Mike

    Global Mapper is a viewer

    Projection set using GM_Setprojection

    After setting the coordinates of the location of the projection does not fit, do you know why?
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited May 2012
    Was the data at the proper location prior to exporting? It's hard to say what is going on without knowing exactly what you are doing. Are you using GM_SetProjection to reproject the image to a new projection for export or to set the native projection of the file? If you are wanting to just change the native coordinate interpretation of the file you would use GM_RepositionLayer to do that.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
Sign In or Register to comment.