+ Reply to Thread
Results 1 to 8 of 8

Thread: Convert shapefile to ascii

  1. #1
    Don Stazic
    Join Date
    Jun 2011
    Posts
    7
    Points
    0
    Answers Provided
    0


    0

    Default Convert shapefile to ascii

    Hi,
    Perhaps someone can help me out.

    Arcview 3.x had a tool 'Convert shapefile to ascii'.

    It produced a file in the following format for example.

    3
    141.9066 -34.1141
    141.9121 -34.1120
    141.9155 -34.1034
    10
    149.7693 -33.7869
    149.7711 -33.7799
    149.7689 -33.7722
    149.7491 -33.7563
    149.7416 -33.7427
    149.7322 -33.7334
    149.7268 -33.7240
    149.7217 -33.7216
    149.7223 -33.7086
    149.7190 -33.7010

    Would any one know the equivalent of this tool in ArcMap ?

    Cheers,
    Don Stazic

  2. #2
    michael collins
    Join Date
    May 2010
    Posts
    281
    Points
    58
    Answers Provided
    8


    0

    Default Re: Convert shapefile to ascii

    Try Spatial Statistics Tools/Utilities/Export Feature Attribute to ASCII

  3. #3
    Don Stazic
    Join Date
    Jun 2011
    Posts
    7
    Points
    0
    Answers Provided
    0


    0

    Default Re: Convert shapefile to ascii

    Thanks Michael. It's not quite the same format though.

    Also I just remembered that the tool was an add-on to ArcView 3.x.

    Cheers,
    Don

  4. #4
    Don Stazic
    Join Date
    Jun 2011
    Posts
    7
    Points
    0
    Answers Provided
    0


    0

    Default Re: Convert shapefile to ascii

    Looking around a bit more the tool was txttool.avx and was added as an extension to ArcView 3.x.

    The format that I have displayed above is also incorrect.

    It should be (note reset in ID numbering) -

    ID,XCoord,YCoord
    1 141.9066 -34.1141
    2 141.9121 -34.1120
    3 141.9155 -34.1034
    1 149.7693 -33.7869
    2 149.7711 -33.7799
    3 149.7689 -33.7722
    4 149.7491 -33.7563
    5 149.7416 -33.7427
    6 149.7322 -33.7334
    7 149.7268 -33.7240
    8 149.7217 -33.7216
    9 149.7223 -33.7086
    10 149.7190 -33.7010

  5. #5
    michael collins
    Join Date
    May 2010
    Posts
    281
    Points
    58
    Answers Provided
    8


    0

    Default Re: Convert shapefile to ascii

    Quote Originally Posted by mcollinsamec View Post
    Try Spatial Statistics Tools/Utilities/Export Feature Attribute to ASCII
    Yes, I looked into this one. I'm not sure of its use as it doesn't export the vertices.

  6. #6
    Simon Kettle
    Join Date
    Jul 2010
    Posts
    86
    Points
    0
    Answers Provided
    0


    0

    Default Re: Convert shapefile to ascii

    I believe you can do this using X Pro Tools...http://www.xtoolspro.com/tools.asp
    Simon Kettle
    GIS Technician
    www.exprodat.com

  7. #7
    Don Stazic
    Join Date
    Jun 2011
    Posts
    7
    Points
    0
    Answers Provided
    0


    0

    Default Re: Convert shapefile to ascii

    Thanks Guys,
    Just a little more background. The shapefile I'd like to convert is a river system. Using the Export Feature Attribute to ASCII with the FID as the attribute gets a bit messy, even after some massaging, in the application I'm finally using the data in.

    I got around it for the time being by processing each reach of the river separately. First by using feature vertices to points, then Export Feature Attribute to ASCII.

    I'll check out Xtools.

  8. #8
    Cory Alvarado
    Join Date
    May 2011
    Posts
    28
    Points
    0
    Answers Provided
    0


    0

    Default Re: Convert shapefile to ascii

    I know this is a round about way which you've probably already tried but....

    the ascii export format doesn't match the format I need either so i usually just end up opening it in excel and minipulating the fields there then throw them back into the .txt

+ Reply to Thread

Posting Permissions

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