Select to view content in your preferred language

Create Fishnet cannot create feature class

02-06-2019 07:34 PM
New Contributor

I was wondering if you could help me with an error with the ‘create fishnet’ routine. Here’s what I did:

env.workspace = "\\Mac\Home\Desktop"

env.outputCoordinateSystem = arcpy.SpatialReference("WGS 1984 UTM Zone 32S")

arcpy.CreateFishnet_management('test3.shp', '788391.5221 9976953.683','788327.2154 9977030.346', '20', '20', '5', '5', '#', 'NO_LABELS', '#', 'POLYGON')


The error:

Cannot create FeatureClass test3.shp


Do you have any suggestions? When I try using the GUI, it creates an empty shapefile.


0 Kudos
1 Reply
New Contributor II

Make sure you have write "administrator" privileges when you are running it from the GUI.

It happened with me on windows and I had to open ArcMap as Admin

Good luck!

0 Kudos