POST
|
I was having the same issue. After trying several of the suggestions above to no avail I ended up creating the offline map area with just the base map and it worked. Then I went back and re-added the two layers, then went back to the map area and updated. This seemed to work for no rhyme or reason because I didn't change anything in the layers properties. Good luck out there!
... View more
03-03-2023
11:27 AM
|
2
|
0
|
1104
|
POST
|
Hi all, I'm working with some satellite imagery (LS8) and need the coordinates of the center of each of cell. I clipped down the imagery to a specified spatial extent. From the clipped satellite imagery, I then convert it to a point shapefile, project it to GCS, and do a "Add XY Coordinates" to that shapefile since I need the units in decimal degrees. Is there a workaround this process? Somehow extract the coordinates directly to a raster? On average, it takes about 1.5 hours to process each clipped Landsat Scene. I attached my code below. Thanks a million, NM Water
... View more
03-08-2017
07:46 AM
|
0
|
2
|
1500
|
POST
|
Dan thanks a million! Switched to GIS pro and Python 3.4. Worked like a charm! Francisco
... View more
10-28-2016
03:04 PM
|
2
|
0
|
718
|
POST
|
Hi Dan, After running the processes on ArcMap python window. I received the following error: I clipped my images to my study area and just processed two years worth of data, the processed work. I think this is most likely a RAM issue, since I have 1 TB hard drive on my computer. Thanks a million! Francisco
... View more
10-28-2016
07:58 AM
|
0
|
2
|
718
|
POST
|
Thanks for your reply Dan! I added a couple of more print messages and it seems to be something with the .save() function. It keeps failing at that line. Would there be a possible way to get a more specified error message? Say for example, is this being caused by temp files, not enough space, etc. Regarding, NumPy and your method, I read the thread. Would the "aust_temperature_demo.py" be something that I could modify to get a mean tif of temperature? Thanks!
... View more
10-26-2016
01:53 PM
|
0
|
4
|
718
|
POST
|
Hi Dan, I tried the following three actions and still received the same error. I'm wondering if this is due to the number of inputs? It's daily data from 1984 to 2015, almost over 11,000 rasters. I also tried just limiting the process to two years, 730 rasters and still received the same results. It is completing but fails at saving. Any ideas or other suggestions? Can it possibly be some settings I'm missing in the script? print "\t- Completed Cell Statistics... \n" Thanks for all your help!
... View more
10-25-2016
03:06 PM
|
0
|
6
|
718
|
POST
|
Hi all, I was wondering if it is possible to have 10,000 inputs for cell statistics? I keep getting an error, saying that I can't save the output as a TIF. I get the following: ERROR 010240. Any ideas or suggestions on how to tackle this? Thanks a million, import arcpy import os arcpy.CheckOutExtension("Spatial") arcpy.env.overwriteOutput = True arcpy.env.mask = r'E:\Reference_ET\Verification\GCS_PRISM_4km.shp' print "Loaded Pre-processing extents..." TmaxWs = r'M:\PRISM\Daily\tmax' TminWs = r'M:\PRISM\Daily\tmin' outws = r'E:\Reference_ET\KT' TmaxList = [] TminList = [] print "Completing Lists..." for dirpath, dirnames, filenames in arcpy.da.Walk(TmaxWs, topdown=True, datatype="RasterDataset"): for filename in filenames: TmaxList.append(os.path.join(dirpath, filename)) listfile = os.path.join(dirpath, filename) print "\t- Successful \n" print "Calculating Average Max Temp from 1984-2015..." TmaxRas = arcpy.sa.CellStatistics(TmaxList, "MEAN") print "\t- Completed Cell Statistics... \n" TmaxRas.save(outws + r'\Tmax30yr.tif') print "\t- Successful \n"
... View more
10-25-2016
07:22 AM
|
0
|
8
|
1678
|
POST
|
Hi! I'm trying to aggregate daily rasters into monthly rasters. I wanted to use a wildcard, however, the date values of these rasters are in Day of Julian Calendar Year. Usually, I do two for loops: for year in range(2000, 2016): #years of models 2000-2015 for month in range(1,13): #calendar months 1-12 Ex: ModelV3_2014001, ModelV3_2014002 However, since the file names have the DOY instead of the month, how would I address this issue? Any suggestions or help would be greatly appreciated! Many thanks!
... View more
09-14-2016
09:52 AM
|
0
|
1
|
808
|
POST
|
Hi all, I was wondering if the time slider dijit is available to use in API 4.0?? Thanks a million!
... View more
08-16-2016
08:53 AM
|
0
|
1
|
1103
|
POST
|
Hi Jeff! Thanks for your response! I still haven't had much luck with this but I believe it is a syntax issue. Just to clarify, I can do this with one Feature Table and not six? Also, any idea on when 3.17 is coming out? Many Thanks!
... View more
05-24-2016
02:41 PM
|
0
|
1
|
320
|
POST
|
Hi , I have six layers, they all have the same Field names, and I want to connect them based on the feature layer that is currently visible. Do I need to add a destroy() or refresh() every time I change a layer? Thanks! var layer = function changetable() { if (CNTYmm.visible) {var layer = CNTYmm} else if (HUC8mm.visible) {var layer = HUC8mm}} myFeatureTable = new FeatureTable({ "featureLayer" : layer, "outFields": ["NAME", "Units"], "map" : map, "gridOptions" : { allowSelectAll: true, allowTextSelection: true, }, }, 'PrecipTable');
... View more
05-23-2016
01:44 PM
|
0
|
3
|
2227
|
POST
|
Did you guys ever resolve this issue? I'm trying to get the feature table to refresh after changing the visibility of the feature layer.
... View more
05-20-2016
02:20 PM
|
0
|
0
|
453
|
POST
|
Hi all, I've using the example of Feature Table from ESRI. However, I'm trying to update the table based on the feature layer that is visible. I'm trying to create a variable that is showing the visible layer and link that variable to the feature table. What is the property to get the current layer being displayed? Would I also have to create a table for each layer? All my layers have the same field names. Many Thanks for all your help!! Francisco var layer = function changetable () {
if (CNTYmm.visible || HUC8mm.visible || WPRmm.visible)
{get actual layer being displayed}
else (CNTYin.visible || HUC8in.visible || WPRin.visible)
{get actual layer being displayed}};
my FeatureTable = new FeatureTable({
"featureLayer": layer,
"outFields": ["NAME", "Units"],
"map" : map}, 'TestTable');
myFeatureTable.startup();
... View more
05-20-2016
07:56 AM
|
0
|
1
|
2775
|
POST
|
Robert! You saved the day! I know that in JS you can use two // to comment out. Is there any way to comment in the style part of the HTML? Many many thanks!
... View more
05-18-2016
10:09 AM
|
0
|
1
|
579
|
POST
|
Hi Robert, Thanks for all your help! I added the class="map." However, I kept getting the following result.
... View more
05-18-2016
09:55 AM
|
0
|
3
|
579
|
Title | Kudos | Posted |
---|---|---|
2 | 03-03-2023 11:27 AM | |
1 | 03-24-2016 01:13 PM | |
2 | 10-28-2016 03:04 PM | |
2 | 04-05-2016 10:03 AM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|