Tag Info

New answers tagged


Follow this menu path... Vector -> Data management tools -> Merge shapefiles into one


With cursors and the csv module, this should go pretty quick: import arcpy, csv, time arcpy.env.workspace = <path to gdb> table_list = arcpy.ListTables() csv_out = <path to csv> #Get name of fields from first entry fields = [x.name for x in arcpy.ListFields(table_list[0])] start = time.time() counter = 0 with open(csv_out, "wb") as f: ...


A similar question on how to access other algorithms such as those from MMQGIS has been asked with an answer given: How to use the MMQGIS plugin through the Python console?


Two options: You could try using this python script, to merge. Add the geojson into QGIS, convert to shapefile, edit/merge features, and finally export back out to geojson.


You cannot create a single band raster dataset with multiple classes of elevation values contained within each pixel. The closest you could come to that is by creating a multiband raster using the Composite Bands tool. However, this would be a very unusual approach to your analysis. Based on your comments, there is no reason why you cannot add multiple ...


This can be done with conditional operators (Con) in the spatial analyst. I am assuming there is no overlap in the cells Con("Elev1" > 0, "Elev1", "Elev2")


You should just remove the square brackets around fClasses in arcpy.Merge_management([fClasses], "Merged"). There are already brackets included in that fClasses list variable. For a reason that is not clear to me, adding these extra brackets selects only the last feature class in the fClasses list.

Top 50 recent answers are included