Reputation
9,363
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
18 51
Newest
 Nice Answer
Impact
~301k people reached

1d
awarded  Nice Answer
Apr
25
awarded  Enlightened
Apr
25
awarded  Nice Answer
Mar
17
comment ListBookmarks does not output any features
@Kwan I think you need to separate your task into the two parts: 1) parsing the points from the bookmarks, and 2) using the insertCursor to output polygons. Double check that 1) is being done correctly by printing the coordinates within the for loop with arcpy.AddMessage(bkmk.extent.JSON). If the coordinates are correct, then something is wrong with 2) your use of the cursor. Perhaps you need to specify the spatial_reference within your arcpy.Polygon() constructor?
Mar
17
comment ListBookmarks does not output any features
Have you tried specifying the DataFrame object in the ListBookmarks() function, as specified in the function documentation? You can get this easily from the mxd object: for bkmk in arcpy.mapping.ListBookmarks(mxd, "Layers", mxd.activeDataFrame)
Mar
15
comment Full list of objects not showing up after using Zonal Statistics as Table tool?
@Dalal_EL_Hanna If you want confirm, do a spot check compare the results of a few non-overlappping polygons with the regular Zonal Statistics as Table tool to what you get from the supplemental tools.
Mar
15
answered Full list of objects not showing up after using Zonal Statistics as Table tool?
Mar
13
answered Calculating Geometric Mean in Raster calculator
Mar
11
comment Fuzzy membership output different in arcpy and desktop
A good way to troubleshoot differences between ArcMap tools and Python tools is to go to the Results pane, right click on your tool run and press Copy as Python snippet. If you compare this code to what you wrote, you should see something different.
Mar
11
comment Slope tool gives wrong degree values
@GeorgiosAlevizos The 0.00001171 z-factor is a short term fix for your raster with the geographic coordinate system. Projecting your raster is a longer term fix and would require a different z-factor, as I explained in my answer. Mercator is a bad choice--better to use UTM, Gauss-Kreuger, or something more local. And reading through the Esri help page should clarify things.
Mar
11
revised Slope tool gives wrong degree values
added 254 characters in body
Mar
11
answered Slope tool gives wrong degree values
Feb
1
awarded  Nice Answer
Jan
22
awarded  Enlightened
Jan
22
awarded  Nice Answer
Dec
12
awarded  Nice Question
Dec
1
revised What Algorithm is used by ArcGIS Watershed tool?
Fixed broken link to paper
Oct
31
awarded  Yearling
Oct
15
revised Where can I find global spatial data for net primary productivity (NPP)?
Fixed LPDAAC URLs
Oct
15
revised How can I parse modis MOD13Q1 quality layers in R?
Fixed LPDAAC URLs