Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/a/g/agol-helper-HEAD/source/agol/common.py   agol-helper(Download)
def create_feature_layer(ds, sql, name="layer"):
    """ creates a feature layer object """
    result = arcpy.MakeFeatureLayer_management(in_features=ds,
                                               out_layer=name,
                                               where_clause=sql)

src/a/r/arc-open-HEAD/arc_open/convert.py   arc-open(Download)
                    pass
 
        arcpy.MakeFeatureLayer_management(fc, 'temp_layer', '', '',
                                          field_mappings)
        arcpy.CopyFeatures_management('temp_layer', temp_shapefile)

src/o/p/OpenColorado-Tools-and-Utilities-HEAD/Scripts/ArcGIS/10.0/Python/PublishOpenDataset.py   OpenColorado-Tools-and-Utilities(Download)
    # Make a feature layer (in memory)
    logger.debug('Generating KML file in memory from  "' + staging_feature_class + '"')
    arcpy.MakeFeatureLayer_management(staging_feature_class, name, '', '')
 
    # Encode special characters that don't convert to KML correctly.

src/a/r/arcapi-HEAD/arcapi.py   arcapi(Download)
        arcpy.MakeRasterLayer_management(x, lr)
    else:
        arcpy.MakeFeatureLayer_management(x, lr)
 
    lyr = arcpy.mapping.Layer(lr)

src/a/r/arc-open-HEAD/arc_open/export.py   arc-open(Download)
    def kmz(self):
        kmz_file = self.full_path + '.kmz'
        arcpy.MakeFeatureLayer_management(self.shapefile, self.output_name)
        if arcpy.Exists(kmz_file):
            arcpy.Delete_management(kmz_file)