Changeset 1032


Ignore:
Timestamp:
08/29/12 08:38:44 (5 years ago)
Author:
jjr8
Message:

Working on enhancements to the CreatePointsAlongLines? tool for bbest.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MGET/Branches/Jason/PythonPackage/src/GeoEco/SpatialAnalysis/Points.py

    r1030 r1032  
    341341 
    342342    @classmethod 
    343     def CreatePointsAlongLines(cls, inputLines, outputFeatureClass, interval, unit, trackIDField=None, orderByField=None, startTimeField=None, endTimeField=None, pointsAtLineEnds=False, distributeRemainder=True, where=None, fieldsToCopy=None, distanceField=u'Distance', pointTimeField=u'PointTime', elapsedField=u'Elapsed', elapsedUnit=u'Hours', overwriteExisting=False): 
     343    def CreatePointsAlongLines(cls, inputLines, outputFeatureClass, interval, unit, trackIDField=None, orderByField=None, startTimeField=None, endTimeField=None, pointsAtLineEnds=False, distributeRemainder=True, where=None, fieldsToCopy=None, distanceField=u'Distance', pointTimeField=u'PointTime', elapsedField=u'Elapsed', elapsedUnit=u'Hours', outputVertexFeatureClass=None, overwriteExisting=False): 
    344344        cls.__doc__.Obj.ValidateMethodInvocation() 
    345345        try: 
     
    26492649    arcGISCategory=_(u'Additional options')) 
    26502650 
     2651AddArgumentMetadata(ArcGISPoints.CreatePointsAlongLines, u'outputVertexFeatureClass', 
     2652    typeMetadata=ArcGISFeatureClassTypeMetadata(deleteIfParameterIsTrue=u'overwriteExisting', createParentDirectories=True, mustBeDifferentThanArguments=[u'inputLines, outputFeatureClass']), 
     2653    description=_( 
     2654u"""Optional output feature point class to create and populate with 
     2655verticies of the track lines. 
     2656 
     2657This feature class will have the same attributes as the primary 
     2658feature class output by this tool but will have points at each vertex 
     2659of the track lines, rather than at the requested interval."""), 
     2660    direction = u'Output', 
     2661    arcGISDisplayName=_(u'Output point feature class to create for track line vertices'), 
     2662    arcGISCategory=_(u'Additional options')) 
     2663 
    26512664CopyArgumentMetadata(ArcGISPoints.CreateFeatureClassWithPoints, u'overwriteExisting', ArcGISPoints.CreatePointsAlongLines, u'overwriteExisting') 
    26522665 
Note: See TracChangeset for help on using the changeset viewer.