POST
|
I want to host my own symbols for ArcGIS online maps. Has anyone gotten this to work? I haven't been able to link images I hosted online to be used as symbology in a web map on ArcGIS Online. Ex: I hosted this image (https://ibb.co/KrvNPcp) and when attempting to add it to ArcGIS Online layer symbology, I get a grey notification "Unable to load image." it also does not work with OneDrive (https://cdmsmithonline-my.sharepoint.com/:i:/g/personal/zieglerhm_cdmsmith_com/EXoW50sjvnVAvaIQ-2_XpykB1WAheLV-B4Ro5mW29D_7aQ?e=ZytJBj) Thanks!
... View more
03-28-2019
07:34 AM
|
0
|
1
|
611
|
POST
|
Ah, the above problem was resolved by the tried and true ArcHydro Troubleshoot method of make sure you are working from the local C: drive and not a network drive and if not, move your project there, close & delete current .mxd, clear %temp% folder, create new blank .mxd to replace deleted, re-set targets, make sure geoprocessing extent is max of all features in dataframe, make sure your dataframe has the correct projected coordinate system set, and turn off background geoprocessing - then try again.
... View more
03-25-2019
06:32 AM
|
1
|
0
|
1398
|
POST
|
Hi, I'm having issues running the Longest Flow Path tool in ArcHydro. Attempting to run the Longest Flow Path tool results in the following warning error message: "Longest flow path could not be generated for input drainage area OID=1. ERROR 010088: Invalid input geodataset (Layer, Tin, etc.)." This message repeats for each drainage area Any idea what's causing this? I am using sink watersheds as my drainage area and and fdrstradj (stream flow direction adjusted flow direction raster) for input. Thank you, any help or suggestions are appreciated!
... View more
03-25-2019
06:00 AM
|
0
|
1
|
2060
|
POST
|
Not a solution to the problem, but your comment about the 'usual suspects' helped me resolve my own issues with running the Adjoint Catchment Processing tool, so I just wanted to say thank you!
... View more
03-12-2019
05:37 AM
|
0
|
1
|
2364
|
POST
|
Hi, I'm attempting to visualize a LiDAR point cloud which I have placed into an .lasd file (las dataset), but viewing it in ArcGIS Pro displays only the extent of the point cloud, not the point cloud itself. Is there anything I am missing? Update: My mistake, I neglected to make sure the .las files have imported correctly and/or paths were still active. I don't have time to look into it, but I assume that by moving the .lasd around some, the imported .las file paths got mismatched. Problem solved! Thank you!
... View more
02-12-2019
06:43 AM
|
0
|
0
|
1070
|
POST
|
Hi Asrujit, I have read through that documentation, but could not link the error to any of the items listed there. At this point, I'm still not sure what is causing the error. I have noticed that if I delete the error feature(s) in the PARENT version, reconciling will work once all features have been deleted. However, since only one OID is provided per error message, I have to reconcile CHILD, switch to PARENT, delete feature in PARENT, switch back to CHILD, and try again (start same procedure if another error). This is very frustrating.. so I'm still looking into what is causing the error in the first place. My working theory is that somehow (due to geometric network topology rules) a zero length geometry is created during reconcile and the error is thrown. I don't have enough information to confirm this though. Thank you!
... View more
01-16-2019
08:31 AM
|
0
|
0
|
776
|
POST
|
Hi, I have a versioned SDE of a stormwater network broken down into multiple versions by a grid. When attempting to reconcile from one of the child versions to the parent version, I keep receiving the following error: I have checked the feature that is being called out for zero geometry but did not find it to have zero geometry. The only thing that has worked has been to delete the affected items entirely from both parent and child and then reconcile, but this causes a host of new issues for managing the created gaps. Has anyone dealt with this error before, and were you able to resolve it? Thank you!
... View more
01-15-2019
08:26 AM
|
0
|
2
|
871
|
POST
|
Thank you, this worked! It's really disappointing that arcpy.mapping doesn't let you edit layer properties directly in script though 😕
... View more
10-23-2018
05:29 AM
|
0
|
1
|
1872
|
POST
|
Hi, I am working with a simple script that imports geo-referenced rasters corresponding to selected polygons in a featureclass layer. The rasters import just fine, but the issue is that they import as single band streched rasters and I have to go into the layer symbology tab under properties and then change the imported rasters to RGB composite individually. Does anyone have any idea how I could skip that manual step and code for this to happen automatically? The relevant code snippet looks like this: #Fetch selected rasters and add to current map document, first data frame mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd, "*")[0] arcpy.AddMessage(len(docs))#DEBUG# for i, page in enumerate(docs): arcpy.AddMessage(i) newlayer = arcpy.mapping.Layer(page) arcpy.mapping.AddLayer(df,newlayer, "TOP") Thank you!
... View more
10-09-2018
06:00 AM
|
0
|
3
|
2673
|
POST
|
I am having some issues with Adjoint Catchment Processing (step 4.14) following the Arc Hydro Stormwater guide V2 found here. I've checked and confirmed that no sink point features are located on top of stream grid cells after step 4.5. After noticing that the drainage line GridID did not match the ouput link raster GridID, I manually adjusted them to match. I also noticed that DrainID was null within the Drainage Lines featureclass, so I did a spatial join to join the HydroID from the basins - this did nothing as they are automatically reset to null values each time the Adjoint Catchment Processing tool is run. On step 4.15, the Adjoint Catchment Processing tool runs without error but gets stuck in an endless loop outputting the message without end: "Level 1: Processing 9 drainage line(s) with no associated catchment..." I had let it run for 30 minutes before stopping as the messages had not changed and been repeated over 500 times. Thank you for reading, any help or pointers are greatly appreciated!
... View more
08-22-2018
12:44 PM
|
0
|
1
|
599
|
POST
|
Hi, I'm attempting to use sklearn.ensemble.RandomForestClassifier as a regression, but when I run it, I get the following error regarding my dependent variable y: ValueError: Unknown label type: 'continuous'
... View more
08-11-2018
08:44 AM
|
0
|
3
|
8090
|
POST
|
Hmm, I guess I've gotten hung up on that part. I do need the shape field to create a featureclass again once I'm done processing. I can simply keep the SHAPE@XY data separate and then use it later on to bring the data back as a featureclass, it's not necessary in the data frame. Thank you!
... View more
07-22-2018
04:32 PM
|
0
|
1
|
3393
|
POST
|
Hi all, I'm attempting to load a featureclass into a numpy array and then a pandas data frame. Creating the numpy array has been straight-forward. However, I keep getting an error when I attempt to then create a data frame from the array: #Import libraries import arcpy, numpy, scipy, sklearn, pandas, seaborn, matplotlib, arcgisscripting, SSUtilities, os #Define input data variable in_samples = r'F:\Documents\Files\Projects\Hyperspectral_EstimateChlA\Predict_ChlA.gdb\insitu_chla_measures_points_average_cropped_bands' #Import prepared sample data from ArcGIS as numpy array in_samples_array = arcpy.da.FeatureClassToNumPyArray(in_samples, '*') in_samples_array: array([( 1, [-80.812425 , 28.68695833], '27010875', 1, 4.00564275, 28.68695833, -80.812425 , 27, 36, 34, 38, 47, 55, 48, 48, 48, 51, 53, 54, 56, 60, 68, 68, 65, 66, 63, 68, 74, 73, 74, 77, 76, 76, 79, 78, 75, 70, 69, 68, 67, 64, 57, 51, 47, 46, 45, 44, 43, 41, 41, 40, 38, 35, 32, 31, 33, 36, 37, 32, 27, 23, 19, 17, 15, 12, 6, 6, 7, 8, 10, 12, 10, 7, 6, 6, 7, 8, 8, 10, 12, 15, 15, 14, 14, 15, 18, 21, 21, 20, 20, 21, 24, 29, 34), ( 2, [-80.80071278, 28.73696694], 'IRLI02', 1, 5.62214993, 28.73696694, -80.80071278, 41, 36, 33, 42, 50, 55, 51, 52, 52, 52, 52, 54, 56, 58, 66, 68, 66, 67, 62, 65, 73, 73, 74, 77, 78, 76, 76, 76, 75, 73, 70, 69, 70, 66, 58, 52, 49, 48, 48, 46, 43, 43, 44, 44, 42, 37, 34, 33, 34, 39, 41, 38, 34, 27, 26, 27, 26, 20, 15, 13, 13, 13, 15, 15, 13, 12, 11, 11, 11, 12, 12, 14, 16, 18, 19, 20, 22, 24, 25, 26, 25, 25, 25, 27, 30, 34, 41), ( 3, [-80.80200694, 28.63580083], 'IRLI06', 1, 4.74509997, 28.63580083, -80.80200694, 26, 32, 29, 32, 41, 46, 41, 47, 46, 48, 50, 50, 54, 54, 61, 63, 60, 62, 58, 62, 71, 69, 66, 68, 70, 71, 71, 71, 70, 68, 66, 65, 67, 65, 57, 50, 46, 45, 45, 45, 45, 44, 44, 44, 42, 39, 37, 36, 36, 41, 46, 41, 35, 28, 28, 29, 26, 21, 16, 14, 12, 14, 16, 16, 14, 12, 11, 11, 12, 13, 14, 16, 18, 19, 19, 19, 20, 23, 26, 27, 28, 27, 26, 27, 29, 34, 41), ( 4, [-80.798395 , 28.60347 ], 'IRLI07', 1, 5.4798699 , 28.60347 , -80.798395 , 22, 27, 23, 30, 40, 42, 38, 40, 38, 41, 41, 44, 46, 46, 56, 57, 52, 54, 52, 55, 60, 58, 60, 60, 60, 60, 62, 62, 62, 60, 57, 55, 56, 55, 49, 46, 46, 44, 40, 38, 37, 39, 38, 37, 36, 34, 32, 30, 31, 36, 40, 34, 29, 25, 22, 21, 18, 15, 13, 14, 13, 14, 17, 19, 17, 16, 15, 15, 15, 16, 17, 20, 23, 25, 26, 27, 27, 28, 29, 29, 28, 28, 29, 32, 36, 40, 44), ( 5, [-80.74158333, 28.55636111], 'IRLI09E', 2, 4.17642997, 28.55636111, -80.74158333, 14, 25, 24, 25, 34, 39, 35, 37, 38, 37, 39, 43, 46, 46, 55, 56, 56, 60, 57, 60, 65, 66, 66, 66, 68, 71, 73, 73, 72, 70, 69, 69, 69, 68, 62, 57, 55, 53, 50, 51, 47, 45, 47, 48, 46, 41, 39, 38, 39, 45, 52, 47, 41, 36, 33, 32, 28, 22, 17, 13, 12, 14, 17, 17, 14, 11, 10, 11, 13, 14, 17, 18, 19, 20, 21, 23, 24, 24, 25, 27, 28, 27, 28, 30, 36, 42, 49), ( 6, [-80.76859389, 28.50121 ], 'IRLI10', 1, 3.92627022, 28.50121 , -80.76859389, 0, 3, 7, 18, 27, 27, 24, 28, 27, 26, 29, 30, 30, 30, 39, 39, 37, 40, 38, 40, 44, 43, 44, 47, 46, 45, 45, 46, 44, 42, 42, 41, 40, 36, 31, 26, 24, 24, 21, 21, 20, 20, 21, 21, 19, 18, 17, 17, 16, 21, 24, 21, 17, 15, 12, 12, 11, 10, 6, 5, 5, 6, 7, 7, 5, 4, 4, 4, 5, 6, 7, 9, 11, 13, 15, 16, 17, 18, 20, 21, 22, 23, 24, 26, 26, 28, 33), ( 7, [-80.73586083, 28.39306583], 'IRLI13', 1, 3.45017987, 28.39306583, -80.73586083, 30, 32, 34, 34, 37, 40, 35, 37, 36, 40, 43, 46, 47, 49, 59, 62, 61, 64, 59, 62, 69, 69, 70, 71, 71, 71, 72, 72, 70, 68, 66, 66, 68, 65, 59, 54, 52, 51, 48, 46, 46, 45, 45, 45, 44, 39, 36, 38, 40, 43, 44, 37, 34, 28, 25, 23, 19, 17, 15, 13, 13, 15, 18, 18, 15, 13, 13, 13, 14, 16, 18, 20, 22, 24, 24, 24, 23, 25, 27, 29, 30, 29, 29, 31, 35, 40, 47), ( 8, [-80.71309389, 28.335345 ], 'IRLI15', 1, 3.95554015, 28.335345 , -80.71309389, 55, 57, 48, 46, 48, 50, 46, 48, 45, 47, 49, 49, 50, 54, 64, 65, 60, 64, 62, 66, 72, 71, 73, 74, 74, 74, 75, 74, 71, 69, 67, 65, 65, 60, 53, 49, 49, 47, 44, 44, 42, 42, 42, 42, 42, 39, 37, 36, 36, 40, 42, 37, 35, 32, 29, 28, 25, 23, 19, 17, 19, 22, 27, 28, 26, 23, 22, 24, 26, 28, 29, 31, 33, 35, 35, 34, 34, 35, 38, 40, 41, 41, 41, 43, 46, 48, 52), ( 9, [-80.71723528, 28.73191722], 'IRLML02', 2, 2.50479301, 28.73191722, -80.71723528, 25, 35, 38, 37, 38, 46, 47, 48, 48, 51, 52, 54, 58, 60, 69, 71, 68, 70, 68, 72, 80, 80, 81, 82, 83, 81, 82, 83, 81, 80, 78, 77, 80, 75, 65, 59, 56, 55, 53, 52, 50, 48, 48, 49, 48, 44, 42, 41, 40, 43, 45, 38, 36, 31, 27, 27, 25, 22, 15, 15, 16, 18, 21, 21, 19, 18, 18, 18, 19, 21, 23, 24, 25, 26, 27, 28, 28, 27, 28, 28, 29, 30, 32, 33, 34, 38, 45), (10, [-80.79482083, 28.83749889], 'IRLML169', 1, 4.31573137, 28.83749889, -80.79482083, 79, 70, 56, 62, 72, 78, 73, 74, 75, 79, 78, 81, 84, 85, 93, 95, 92, 93, 90, 94, 100, 102, 103, 102, 103, 103, 105, 106, 105, 99, 94, 91, 89, 82, 70, 63, 60, 59, 57, 56, 54, 51, 52, 51, 49, 44, 41, 40, 40, 42, 44, 37, 35, 33, 29, 27, 24, 21, 20, 19, 19, 21, 24, 25, 23, 21, 21, 22, 22, 22, 23, 25, 27, 29, 29, 29, 29, 29, 30, 32, 33, 33, 33, 35, 39, 44, 48)], dtype=[('OBJECTID', '<i4'), ('Shape', '<f8', (2,)), ('Station', '<U255'), ('Cnt_Station', '<i4'), ('Ave_Value_Chla', '<f8'), ('Latitude_DD', '<f8'), ('Longitude_DD', '<f8'), ('b1_Band', '<i4'), ('b2_Band', '<i4'), ('b3_Band', '<i4'), ('b4_Band', '<i4'), ('b5_Band', '<i4'), ('b6_Band', '<i4'), ('b7_Band', '<i4'), ('b8_Band', '<i4'), ('b9_Band', '<i4'), ('b10_Band', '<i4'), ('b11_Band', '<i4'), ('b12_Band', '<i4'), ('b13_Band', '<i4'), ('b14_Band', '<i4'), ('b15_Band', '<i4'), ('b16_Band', '<i4'), ('b17_Band', '<i4'), ('b18_Band', '<i4'), ('b19_Band', '<i4'), ('b20_Band', '<i4'), ('b21_Band', '<i4'), ('b22_Band', '<i4'), ('b23_Band', '<i4'), ('b24_Band', '<i4'), ('b25_Band', '<i4'), ('b26_Band', '<i4'), ('b27_Band', '<i4'), ('b28_Band', '<i4'), ('b29_Band', '<i4'), ('b30_Band', '<i4'), ('b31_Band', '<i4'), ('b32_Band', '<i4'), ('b33_Band', '<i4'), ('b34_Band', '<i4'), ('b35_Band', '<i4'), ('b36_Band', '<i4'), ('b37_Band', '<i4'), ('b38_Band', '<i4'), ('b39_Band', '<i4'), ('b40_Band', '<i4'), ('b41_Band', '<i4'), ('b42_Band', '<i4'), ('b43_Band', '<i4'), ('b44_Band', '<i4'), ('b45_Band', '<i4'), ('b46_Band', '<i4'), ('b47_Band', '<i4'), ('b48_Band', '<i4'), ('b49_Band', '<i4'), ('b50_Band', '<i4'), ('b51_Band', '<i4'), ('b52_Band', '<i4'), ('b53_Band', '<i4'), ('b54_Band', '<i4'), ('b55_Band', '<i4'), ('b56_Band', '<i4'), ('b57_Band', '<i4'), ('b58_Band', '<i4'), ('b59_Band', '<i4'), ('b60_Band', '<i4'), ('b61_Band', '<i4'), ('b62_Band', '<i4'), ('b63_Band', '<i4'), ('b64_Band', '<i4'), ('b65_Band', '<i4'), ('b66_Band', '<i4'), ('b67_Band', '<i4'), ('b68_Band', '<i4'), ('b69_Band', '<i4'), ('b70_Band', '<i4'), ('b71_Band', '<i4'), ('b72_Band', '<i4'), ('b73_Band', '<i4'), ('b74_Band', '<i4'), ('b75_Band', '<i4'), ('b76_Band', '<i4'), ('b77_Band', '<i4'), ('b78_Band', '<i4'), ('b79_Band', '<i4'), ('b80_Band', '<i4'), ('b81_Band', '<i4'), ('b82_Band', '<i4'), ('b83_Band', '<i4'), ('b84_Band', '<i4'), ('b85_Band', '<i4'), ('b86_Band', '<i4'), ('b87_Band', '<i4')]) #in_samples_array.shape (10,) #Convert the numpy array to a pandas data frameIn in_samples_array_columns = list(in_samples_array.dtype.names) in_samples_df = pandas.DataFrame(in_samples_array, columns = in_samples_array_columns) Exception: Data must be 1-dimensional I'm not sure why the error, the array is one-dimensional as the call to .shape suggests, and according to what I have seen in other scripts, this should work.. Thank you! Any suggestions are welcome
... View more
07-21-2018
12:25 PM
|
1
|
5
|
6270
|
POST
|
Hi Joshua, so I take from this that as I guessed, only functions (or methods) are callable, where any function or method followed by () means it is being called. Usually you call a function with input parameters, but some functions don't require parameters. Variables (or properties) are not callable. Python Programming/Functions - Wikibooks, open books for an open world
... View more
05-03-2018
10:08 AM
|
0
|
1
|
674
|
Title | Kudos | Posted |
---|---|---|
1 | 09-18-2017 07:24 AM | |
1 | 10-18-2017 08:18 AM | |
1 | 10-20-2017 06:19 AM | |
1 | 03-29-2018 01:59 PM | |
1 | 08-08-2017 04:47 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|