|
POST
|
So theres an OLS table for each row in the table in the second image?
... View more
02-17-2020
12:29 PM
|
0
|
4
|
2438
|
|
POST
|
Hi Jo, Would you not want to 'chunk' your incidents rather than schools?
... View more
02-17-2020
12:04 PM
|
0
|
0
|
942
|
|
POST
|
I'm sorry it's easily codeable but I still don't get the whole picture.
... View more
02-17-2020
11:58 AM
|
0
|
6
|
2438
|
|
POST
|
If you send some pictures of the tables and a comprehensive explanation of what you want to achieve, I can write it out.
... View more
02-17-2020
10:44 AM
|
0
|
8
|
2438
|
|
POST
|
Is this your export web map service? If soRepublishe it with info level warnings and make sure its synchronous and you have added the get map template info result. Completely remove the widget, save, exit. Restart web editor and add the widget again.
... View more
02-17-2020
10:20 AM
|
2
|
1
|
11350
|
|
POST
|
Is this a default tool or one of your own? Perhaps resetting the normal.mxt might solve it.
... View more
02-16-2020
04:09 PM
|
0
|
1
|
1372
|
|
POST
|
Exactly, I would test this with another script tool with only a feature and the field map and see if you can grab a class attribute or type. Something like fieldmap = arcpy.GetParameter(1) property = fieldmap.inputFieldCount arcpy.AddMessage(property)
... View more
02-16-2020
08:34 AM
|
0
|
0
|
8369
|
|
POST
|
Would it be a field mapping object you would call as arcpy.GetParameter()? Good luck, field mapping objects give me nightmares.
... View more
02-16-2020
07:13 AM
|
0
|
2
|
8369
|
|
POST
|
Raster calculator the difference between the true DEM and your interpolated one, square it, the run something like zonal stats as table to grab the mean, then take the root. here's some code. I've not tested it. may have to save the raster objects as interim data. let me know if it doesn't work and i'll amend the code. import arcpy
#path to your original accurate DEM - make sure path is enclosed by r' '
original_dem = r'c:\\myproject\mygeodatabase\originalDEM'
#change the below paths to your interpolated DEM paths
# - make sure path is enclosed by r' '
#interpolated DEM 1
interp_dem1 = r'c:\\myproject\mygeodatabase\interpDEM1'
#interpolated DEM 2
interp_dem2 = r'c:\\myproject\mygeodatabase\interpDEM2'
#interpolated DEM 3
interp_dem3 = r'c:\\myproject\mygeodatabase\interpDEM3'
#interpolated DEM 4
interp_dem4 = r'c:\\myproject\mygeodatabase\interpDEM4'
#interpolated DEM 5
interp_dem5 = r'c:\\myproject\mygeodatabase\interpDEM5'
#make a list of the interpolated DEM paths
interp_dem_list = [interp_dem1, interp_dem2, interp_dem3, interp_dem4, interp_dem5]
#turn the original DEM into a raster object,
#iterate through the list, turn paths into raster objects to perform
#raster algebra on them, output raster cell values will be
#(interp_dem - original_dem) ^ 2
original_dem_rasobj = arcpy.Raster(original_dem)
#set a counter to label result with iteration number
iteration_counter = 1
for interp_dem_path in interp_dem_list:
ras_object = arcpy.Raster(interp_dem_path)
ras_diff = (ras_object - original_dem_rasobj) ** 2
#get the mean of this raster
ras_stats = arcpy.CalculateStatistics_management(ras_diff)
ras_prop = arcpy.GetRasterProperties_management(ras_stats, "MEAN")
ras_mean = ras_prop.getOutput(0)
rmse = float(ras_mean) ** 0.5
#print out the rmse in the python window
print("RMSE of Interpolated DEM Raster " + str(iteration_counter) + " = " + str(rmse))
#add 1 to the iteration counter
iteration_counter += 1
print("Processing Complete")
... View more
02-15-2020
01:42 AM
|
0
|
0
|
2170
|
|
POST
|
You likely just need a return statement. Myscript() Return outputpath
... View more
02-14-2020
02:39 PM
|
0
|
1
|
3805
|
|
POST
|
You could add the xls as a gdb table then use search and update cursors to do the calculations.
... View more
02-14-2020
01:51 PM
|
0
|
10
|
2438
|
|
POST
|
Theres a tool called Add X Y Coordinates, running this on your current feature will give you their true locations in new fields to your table. Then run Table to Excel to export the current table to a spreadsheet, at least then you dont have to recreate all the coordinates and can add in new rows easily. When done, add the sheet back in thru Add X Y data.
... View more
02-14-2020
11:12 AM
|
1
|
2
|
3657
|
|
POST
|
Hi Stephen, There is often alot of confusion with tables which hold lat long figures. A table can exist but hold no geospatial location. Changing these values in the table will not create or update the location of points. You need to add the table as xy data, then save it as a feature class or shapefile. Search for adding xy data in the help files or Google and you will find a trove of info.
... View more
02-14-2020
10:44 AM
|
0
|
4
|
3657
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-13-2025 01:08 PM | |
| 1 | 09-25-2025 03:19 PM | |
| 1 | 09-24-2025 02:35 PM | |
| 1 | 09-17-2025 02:42 PM | |
| 1 | 09-10-2025 02:35 PM |
| Online Status |
Offline
|
| Date Last Visited |
01-14-2026
12:10 PM
|