Thanks Thanks:  3
Showing results 1 to 7 of 7

Thread: Open files *.ASC

  1. #1
    Senior Member Reputation: 490
    Join Date
    2008-08-14
    Posts
    2,940


    Default Open files *.ASC

    Dears,

    do you know how to open files *.ASC in mapinfo
    or how to convert it to Mapinfo *.Tab files

  2. # ADS
    Circuit advertisement
    Join Date
    Always
    Posts
    Many
     

  3. #2
    Senior Member Reputation: 490
    Join Date
    2008-08-14
    Posts
    2,940


    Default Re: Open files *.ASC

    Hi Dears,

    any idea, please..

  4. #3
    Member Reputation: 177
    Join Date
    2013-01-08
    Posts
    92


    Default Re: Open files *.ASC

    It may depend on the version of mapinfo, but try:
    Home > Open > Table > Select Raster
    And choose your asc file.
    Won't be in front of my desktop until Thursday and can do a run through with screen shots then if you like.

  5. #4
    Senior Member Reputation: 490
    Join Date
    2008-08-14
    Posts
    2,940


    Default Re: Open files *.ASC

    Hi Dear,
    I have mapinfo 2021 and it give me below error message when i try to import my *.ASC files even when i select File type Raster Image
    Attached Images Attached Images

  6. #5
    Member Reputation: 177
    Join Date
    2013-01-08
    Posts
    92


    Default Re: Open files *.ASC

    Likely to be incorrect header in the file.
    Can you share the file and I'll look into?

    What version mapinfo you using?

    Have your tried gdal tools?
    Do you have other software like qgis or globalmapper?



    Quote Originally Posted by justdream View Post
    Hi Dear,
    I have mapinfo 2021 and it give me below error message when i try to import my *.ASC files even when i select File type Raster Image
    Last edited by phila63; 2024-02-27 at 04:52 AM

  7. Thanks justdream thanked for this post
  8. #6
    Member Reputation: 177
    Join Date
    2013-01-08
    Posts
    92


    Default Re: Open files *.ASC

    Could be issue with header or spatial reference / projection.

    I'm running V2021.1 Build 33 and sometimes I get a similar error. It is inconsistent but seems to be related to the spatial reference / projection of the ASC file.
    The application should prompt for a projection. Sometimes it does not do this and fails with an error message. When this occurs, I use a .prj file which is appropriate for the ASC file, rename it to be the same as the ASC file and put it in the same folder as the ASC file, then open the ASC File.

    If you share the file, I'll try it on my system.

  9. Thanks justdream thanked for this post
  10. #7
    Member Reputation: 177
    Join Date
    2013-01-08
    Posts
    92


    Default Re: Open files *.ASC

    Update for others:

    The asc file contained vector line strings in a format that I was not familiar with.

    Each line string was composed of multiple lines with the following format:
    line 1: index, class of street, number of vertices. Multiple spaces were used to separate the items.
    line 2 to n: pair of coordinates representing the vertices of the line string. n being the number of vertices per line 1. Coordinates were separated by a space.

    Example below. Note that the dot (.) represents a space as the editor seems to take out whitespace :-)
    1.............. street..............2
    easting northing
    easting northing
    2.............. street..............2
    easting northing
    easting northing
    3.............. street..............4
    easting northing
    easting northing
    easting northing
    easting northing
    4.............. street..............6
    easting northing
    easting northing
    easting northing
    easting northing
    easting northing
    easting northing
    5.............. street..............2
    easting northing
    easting northing
    Last edited by phila63; 2024-03-01 at 03:25 PM

  11. Thanks justdream thanked for this post

Bookmarks

Bookmarks

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •