#NEWLINE# def getParameterInfo( self ) : #NEWLINE# #INDENT# 'Define the parameters of the tool' #NEWLINE# feature_class = arcpy . Parameter ( name = 'in_features' , displayName = 'In Features' , direction = 'Input' , datatype = 'GPFeatureLayer' , parameterType = 'Required' ) #NEWLINE# field_mappings = arcpy . Parameter ( name = 'in_fields' , displayName = 'In Fields' , direction = 'Input' , datatype = 'GPFieldInfo' , parameterType = 'Required' ) #NEWLINE# field_mappings . parameterDependencies = [ feature_class . name ] #NEWLINE# output_dir = arcpy . Parameter ( name = 'output_dir' , displayName = 'Output folder' , direction = 'Input' , datatype = 'DEFolder' , parameterType = 'Required' ) #NEWLINE# output_name = arcpy . Parameter ( name = 'output_name' , displayName = 'Output filename' , direction = 'Input' , datatype = 'GPString' , parameterType = 'Required' ) #NEWLINE# convert_4326 = arcpy . Parameter ( name = 'convert_4326' , displayName = 'Convert to WGS84?' , direction = 'Input' , datatype = 'GPBoolean' , parameterType = 'Optional' ) #NEWLINE# convert_4326 . value = 'True' #NEWLINE# convert_geojson = arcpy . Parameter ( name = 'convert_geojson' , displayName = 'Convert to GeoJSON?' , direction = 'Input' , datatype = 'GPBoolean' , parameterType = 'Optional' ) #NEWLINE# convert_geojson . value = 'True' #NEWLINE# convert_kmz = arcpy . Parameter ( name = 'convert_kmz' , displayName = 'Convert to KMZ?' , direction = 'Input' , datatype = 'GPBoolean' , parameterType = 'Optional' ) #NEWLINE# convert_kmz . value = 'True' #NEWLINE# convert_csv = arcpy . Parameter ( name = 'convert_csv' , displayName = 'Convert to CSV?' , direction = 'Input' , datatype = 'GPBoolean' , parameterType = 'Optional' ) #NEWLINE# convert_metadata = arcpy . Parameter ( name = 'convert_metadata' , displayName = 'Convert metadata to markdown?' , direction = 'Input' , datatype = 'GPBoolean' , parameterType = 'Optional' ) #NEWLINE# debug = arcpy . Parameter ( name = 'debug' , displayName = 'Debug' , direction = 'Input' , datatype = 'GPBoolean' , parameterType = 'Optional' ) #NEWLINE# return [ feature_class , field_mappings , output_dir , convert_csv , convert_4326 , convert_geojson , convert_kmz , convert_csv , convert_metadata , debug ]