+ Reply to Thread
Results 1 to 5 of 5

Thread: Faster Way to build FC from Table

  1. #1
    Cameron Wallace
    Join Date
    Jul 2010
    Posts
    35
    Points
    2
    Answers Provided
    0


    0

    Default Faster Way to build FC from Table

    I'm looking for a faster way to build a Feature Class from a table in a python script.
    Code:
    arcpy.MakeXYEventLayer_management(NonExceed, "Easting", "Northing", NonExceed_Layer, spRef, "")
    arcpy.CopyFeatures_management(NonExceed_Layer, NonExceed_New, "", "0", "0", "0")
    Works... just goes painfully slow. It's much quicker to "Make feature class from XY table" in Catalogue.

    Suggestions?

  2. #2
    George Newbury
    Join Date
    Apr 2010
    Posts
    52
    Points
    13
    Answers Provided
    1


    0

    Default Re: Faster Way to build FC from Table

    In the 'Military Analyst' toolbox, 'Geometry' toolset, there are tools for Table to Point, Table to Polyline, and Table to Polygon.

  3. #3
    Christopher Thompson
    Join Date
    Apr 2010
    Posts
    239
    Points
    121
    Answers Provided
    19


    0

    Default Re: Faster Way to build FC from Table

    In the 'Military Analyst' toolbox, 'Geometry' toolset, there are tools for Table to Point, Table to Polyline, and Table to Polygon.
    Those tools do you exactly zero good if you don't have that extension, and in fact there probably isn't a Military Analyst toolbox without the extension.

    I suppose you could use a search cursor on a table of XY data, create a point from reading the XY coordinates (arcpy.Point) and then an insert cursor to put that point into a new feature class. This topic may lead you down the right path.
    http://resources.arcgis.com/en/help/...0000001v000000

    Would be interesting to know if this is faster. Also if you have 3DAnalyst, you could use the ASCII 3D to Feature Class tool (Ascii3DToFeatureClass_3d(args) for scripting purposes)- your data would have to be in a specific format for this to work so you would want to read up on that.

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


    1

    Default Re: Faster Way to build FC from Table

    Michael Collins, B.Sc., Adv. Dip. GIS
    GIS Specialist

  5. #5
    Christopher Thompson
    Join Date
    Apr 2010
    Posts
    239
    Points
    121
    Answers Provided
    19


    0

    Default Re: Faster Way to build FC from Table

    Quote Originally Posted by mcollinsamec View Post
    A free extension?! I never even thought such a thing might exist! Thanks for that information!

+ Reply to Thread

Tags for this 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