MapInfo Pro

Welcome to the MapInfo Pro community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements  Product Documentation  Ideas Portal

Discussions

Members

Resources

Events

 View Only
  • 1.  How can I use a .gif file format in MapInfo Pro Advanced to perform any raster operation?

    Posted 07-20-2017 11:19


  • 2.  RE: How can I use a .gif file format in MapInfo Pro Advanced to perform any raster operation?

    Employee
    Posted 07-20-2017 07:47
      |   view attached

    By default, .gif format is not supported in 16.0.

    However, until Conversion of .gif files is supported in MapInfo Advanced, there is a workaround by enabling the format and then converting it to MRR using the Convert tool in MapInfo Pro Advanced.

    You can enable the .gif format by editing the MIRasterPreferences.xml.

    Note This is just a workaround, not supported officially.

    Part 1 - Enable the .gif format via GDAL Handler steps

    1. Navigate to "C:\Users\<username>\AppData\Roaming\MapInfo\Raster\300\

    2. Open "MIRasterPreferences.xml" in any text editor.

    3. In the GDAL Driver section add the following line: <format desc="Graphics Interchange Format (.gif)" ext="gif" GDALCode="GIF" ProcessingEnabled="true" RenderEnabled="true"/>

    4. Save the xml and open Map Info Advanced (or restart if already open).

    ?

    ?Part 2 - Convert to Continuous file steps:

    1. Open the .gif file

    2. Open Convert tool from RASTER > Raster Operations.

    3. Check if the gif file is automatically listed in the Input File field. If yes, you have successfully configured the .gif format. Else you need to follow the steps again from 1 to 4.

    4. Once gif file is listed in Input File field, set Convert To as MRR.

    5. Since it is an Image Palette file, you can set the Output Field Type as Continuous.

    6. Give an output file name and click the Process button to generate the output file. See the image attached.

    ?GIF_File

    ?

    ?



  • 3.  RE: How can I use a .gif file format in MapInfo Pro Advanced to perform any raster operation?

    Employee
    Posted 07-20-2017 08:19

    Hi Antoni,

    1. I highly recommend converting the image file format from ".Gif" to a format supported by MapInfo Pro.
    2. The next step is to "register the image" so that it is correctly Geo-Referenced in order to use Advanced Raster Operations.

     

    Please Note: The process of registering an image involves associating map coordinates, usually X and Y, with corresponding pixels on an unregistered image.

    Please see this Article: "How to Register an Image file in MapInfo Pro"

    • https://li360.pitneybowes.com/s/article/ka180000000DC1bAAG/How-to-Register-an-Image-file-in-MapInfo-Pro

     

    Once the image is registered you can then use the MapInfo Pro Advanced functionality to perform Raster Operations such as Combine and Convert.

    If there is a specific idea you have in mind to use on the image, once registered let me know.



  • 4.  RE: How can I use a .gif file format in MapInfo Pro Advanced to perform any raster operation?

    Posted 07-31-2017 00:40

    Hi Shweta and Matt,

    Thank you for the detailed response. The suggestion is useful and works for me well.

    Antoni