batch delete projection/datum from jpeg2000 files

GLUSERGLUSER Global Mapper UserPosts: 5
edited March 2013 in Projection Questions
Is there a batch delete projection/datum from jpeg2000 files function/workflow?
I would like to end up with a clean jpeg2000 file without any projection/datum information.

Hope to hear from you soon,

Regards

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited March 2013
    There isn't any way to write out JPEG2000 files with no projection information in them at all. Do you still want the coordinate information in there mapping from pixel space to some projection/datum space, or a completely raw JPEG2000 file with no coordinate or projection information?

    Which version of Global Mapper do you have? I could likely add such an option for JPEG2000.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.bluemarblegeo.com/products/global-mapper.php
  • GLUSERGLUSER Global Mapper User Posts: 5
    edited March 2013
    Hello Mike,

    Using version 13.2.2
    And indeed completely raw JPEG2000 files is what I need. No projection in the header or what so ever.
    Would be great if you could add that functionality

    Greetings,

    David
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited March 2013
    David,

    I have added a script option for the EXPORT_RASTER script command so you can add NO_PROJ_HEADER=YES to the script command when writing out a JPEG2000 file and get no projection information written out. You would need to upgrade to v14 to get this new feature and get the latest build. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.bluemarblegeo.com/products/global-mapper.php

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.bluemarblegeo.com/products/global-mapper.php
  • GLUSERGLUSER Global Mapper User Posts: 5
    edited March 2013
    Dear Mike,

    Using 14.1.3. now (upgraded)
    Cant seem so find it I'm afraid where I can add this in my batch conversion.
    File->batchconvert/reproject->jpeg2000->jpeg2000...?

    Where do I go, can you point out?

    Thanks you in advance,

    David
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited March 2013
    David,

    The change I had made was only in the scripting language, but I've gone ahead and added it to the batch conversion as well when going to JPEG2000. The checkboxes at the lower-right will now have an option 'Include Projections in Header'. Just uncheck that to generate a JPEG2000 with no projection/datum in the header.

    I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.bluemarblegeo.com/products/global-mapper.php
  • GeoloGISGeoloGIS Global Mapper User Posts: 21Trusted User
    edited March 2013
    GLUSER wrote: »
    Is there a batch delete projection/datum from jpeg2000 files function/workflow?
    I would like to end up with a clean jpeg2000 file without any projection/datum information.

    Hope to hear from you soon,

    Regards

    Hi GLUSER,

    If all that's needed is getting rid of the geoinformation embedded in your Jpeg2000 files - without any conversion/reencoding - it can be achieved instantly with a command-line program called "exiftool", available on most platforms. Running:
    exiftool -all:all= myfile.jp2

    ...will result in a "vanilla" jpeg2000 file. Note that it also backs up the original geo-tagged file. Also it will remove any and all user-defined metadata, not only geo-related chunks. It is of course possible to alter/remove metadata fields more selectively; read the exiftool manual if you need more info (and have the stomach for it!)
  • GLUSERGLUSER Global Mapper User Posts: 5
    edited March 2013
    Thank you very much indeed for the solution and the fast replies.
    Regards,

    David
Sign In or Register to comment.