MapInfo Pro Developers User Group

 View Only
Expand all | Collapse all

Combine a DTM ASC files

  • 1.  Combine a DTM ASC files

    Posted 05-05-2020 05:29
    hiya i am combining 1km DTM ASC files, i can open them all up in mapinfo as 1km tiles however i want to combine them into one file and hopefully ecport as a geopackage, any ideas?
    Thanks
    Rob

    ------------------------------
    Rob Goldsmith
    Knowledge Community Shared Account
    Shelton CT
    ------------------------------


  • 2.  RE: Combine a DTM ASC files

    Posted 05-06-2020 06:01
    Hi Rob,

    the gdal-suite (included in the QGIs-Setup or available at gisinternals.com) might have all you need.
    With gdalbuildvrt you can combine x asc-files to a virtual file and with gdal_translate you should be able to transform it into literaly anything you want.
    MiPro utilizes gdal also for some of its raster capabilities and you should be able to open that virtual file build with gdalbuildvrt in MiPro to transform it from there.

    cheers
    Stefan


  • 3.  RE: Combine a DTM ASC files

    Posted 05-06-2020 06:07
    Thanks

    ------------------------------
    Rob Goldsmith
    Knowledge Community Shared Account
    Shelton CT
    ------------------------------



  • 4.  RE: Combine a DTM ASC files

    Posted 05-06-2020 09:15
    Hi Rob
    You will need MapInfo Pro Advanced to carry out the Raster operations​.
    To combine all of your 1km tabs, use the Merge function.
    You can then export the resulting MRR file as an asc file.

    ------------------------------
    John Ievers
    CDR Group
    Hope Valley, United Kingdom
    ------------------------------



  • 5.  RE: Combine a DTM ASC files

    Posted 05-06-2020 09:40
    What a shame, ill do it in arcmap or qgis

    Thanks
    Rob

    ------------------------------
    Rob Goldsmith
    Knowledge Community Shared Account
    Shelton CT
    ------------------------------



  • 6.  RE: Combine a DTM ASC files

    Posted 05-06-2020 12:11
    You can trial the Raster/Advanced module for 30 days​ - just go to the backstage area and start trial.
    MRR is unlimited in file size and no drop off in performance.
    Or perhaps you don't have much data?

    ------------------------------
    John Ievers
    CDR Group
    Hope Valley, United Kingdom
    ------------------------------



  • 7.  RE: Combine a DTM ASC files

    Posted 05-06-2020 12:23
    Might try that, 14000 files

    ------------------------------
    Rob Goldsmith
    Knowledge Community Shared Account
    Shelton CT
    ------------------------------



  • 8.  RE: Combine a DTM ASC files

    Employee
    Posted 05-11-2020 03:33
    Rob,

    With the Merge tool in MapInfo Pro Advanced, you don't have to open all 14000 files into MapInfo Pro. In fact, I wouldn't even recommend trying to open all these files into MapInfo Pro.

    Instead, you can browse the files from the Merge window and just select them from here.

    ------------------------------
    Peter Horsbøll Møller
    Distinguished Engineer
    Pitney Bowes Software & Data
    ------------------------------



  • 9.  RE: Combine a DTM ASC files

    Posted 05-11-2020 03:38
    Hiya
    Its ok, i dont want to pay the upgrade to advanced when we can do the process for free in arcmap and qgis, i just wanted to replicate the process in mapinfo to streamline all of my processes through one bit of software, thanks though. I am trying to get all my staff to only use mapinfo pro but i guess there will be things that need to be done elsewhere.

    Rob

    ------------------------------
    Rob Goldsmith
    Knowledge Community Shared Account
    Shelton CT
    ------------------------------



  • 10.  RE: Combine a DTM ASC files

    Employee
    Posted 05-11-2020 03:43
    Fair enough, Rob.

    One other thought: MapInfo Pro v2019 now comes with Python and GDAL preinstalled. If you know your way around these tools, maybe you can use these to convert the raster data?

    ------------------------------
    Peter Horsbøll Møller
    Distinguished Engineer
    Pitney Bowes Software & Data
    ------------------------------



  • 11.  RE: Combine a DTM ASC files

    Posted 05-12-2020 17:52
    Hi -when I came across this issue when it came to merging 1000's of contour grid files into one I found that trying to use the merge tools failed when there were to many inputs and at certain point I had to write to an extended tab file due to the contraints on normal tab files. 

    So I ran the attached to 1 - create an input list and 2. read the list and only merge 2 files at a time -basically merge file a and b to create z then merge z and c, to zz and then overwrite Z etc.

    This was written in 2017 and will probably be easier now that MI finally allows python.

    ------------------------------
    George Corea
    Mangoesmapping
    ------------------------------

    Attachment(s)

    txt
    Build_List.mb.txt   316 B 1 version
    txt
    merge_files.mb.txt   1 KB 1 version