|
POST
|
Hi Alexander, is there an option to save it as a new app? (I've had a few weeks away from Portal and have regressed!) I've always found stuff a bit clunky, needing to log out, log back in etc.
... View more
05-14-2020
05:12 AM
|
0
|
1
|
9581
|
|
POST
|
Hi Srinivas, how much are you offering for the work?
... View more
05-14-2020
05:07 AM
|
0
|
1
|
3719
|
|
POST
|
Firstly, that's a bad way to store coordinates as the direction to the next vertex is only assumed by the order. Also having the same delimiter to separate coordinates makes it difficult to unpack (20,30,22,32,21,31 is much more easily unpacked and readable as 20,30;22,32;21,31). Even better would be a single row for each coordinate, with a column specifying its drawing order and what feature it belongs to (this is the format it was necessary to convert the spreadsheet to). Station Name / Order / coords Las Vegas / 1 / 22.14,34.67 Las Vegas / 2 / 24.14,36.67 Las Vegas / 3 / 28.14,38.57 Las Vegas / 4 / 23.14,34.17 New York / 1 / 32.65,54.65 New York / 2 / 33.65,52.65 I needed to run some Python code to sort it this way - if you need to do this often I can talk you through the code, otherwise I've attached a spreadsheet in the needed format. The reason we need it this way is because my workflow is to create a polyline boundary using the Points To Line—Data Management toolbox | Documentation tool and then the Feature To Polygon—Help | ArcGIS for Desktop tool to basically fill inside that boundary and create a polygon (complex shapes with holes etc could mess this up). First step is also to turn that table into a point feature class, ensuring that our projection is correct. then: Points to Line: PointsToLine(Input_Features, Output_Feature_Class, {Line_Field}, {Sort_Field}, {Close_Line}) (all of your points regardless of station / output path / the field which identifies your station e.g. station name or ID / the order field which lets arcmap know how to connect the dots / close-line ticked adds an extra vertex to the start/end which will help us in the next step) then: FeatureToPolygon_management (in_features, out_feature_class, {cluster_tolerance}, {attributes}, {label_features}) this is an easy one - set the previous output line feature class as the input, then specify the path for your output polygon feature class, defaults should be fine) Hope this gives you an understanding.
... View more
05-14-2020
01:43 AM
|
1
|
1
|
2111
|
|
POST
|
Can you translate the messages? By custom widget do you actually mean loading a geoprocessing task into a geoprocessing widget?
... View more
05-13-2020
12:39 PM
|
1
|
1
|
1399
|
|
POST
|
You're mixing apples and oranges with the calculate field, just use an arcpy.da.UpdateCursor. UpdateCursor—Data Access module | Documentation Please refer to Dan Patterson 's guide to formatting code when posting here. /blogs/dan_patterson/2016/08/14/script-formatting import arcpy
fc = r"E:/filegdb.gdb/featureclass"
field_list = ["Event", "Object]
with arcpy.da.UpdateCursor(fc, field_list) as cursor:
for row in cursor:
row[1] = (str(row[0]).split('/')[1])
cursor.updateRow(row)
... View more
05-13-2020
12:04 PM
|
2
|
0
|
1352
|
|
POST
|
Either my eyes are not what they used to be or the picture is illegible. If you explain the process then people are better equiped to help you.
... View more
05-13-2020
06:43 AM
|
0
|
0
|
2088
|
|
POST
|
Can this not be done in excel first? Otherwise I would run an arcpy.da.UpdateCursor to truncate or round the figures. Field type LONG could also be used with Alter Field—Data Management toolbox | Documentation
... View more
05-13-2020
06:07 AM
|
0
|
0
|
1167
|
|
POST
|
My interpretation is: You want to iterate through your list of families as a single origin you want to add all the clinics as locations for each iteration output an OD CM for each family. It looks like your model should do this (I never use model builder), so perhaps your locations are not valid. This will require snapping and search distance options to be set. You should test to see if this works manually through the NA wizard.
... View more
05-13-2020
03:59 AM
|
0
|
2
|
2673
|
|
POST
|
I can show you how to do it if you like or just give you the data.
... View more
05-13-2020
03:19 AM
|
0
|
1
|
2111
|
|
POST
|
My AGOL skill is between 0 and incompetent, but I couldn't see any spatial filtering being possibly (could very likely be wrong). If there's no one to correct me and you do have Lat Long values in the data you could do a spatial query. Here I've limited UK volunteer lifeboat stations by Lat and Long through attributes. Throw in a bit of Pythagoras and you could do a buffer (beware it would not be truly circular).
... View more
05-13-2020
12:13 AM
|
0
|
0
|
1885
|
|
POST
|
Maybe a small script could be added to prevent re-iteration of the outputs, a simple logic test at the start. I'd need to see what the model looks like, or a fair description if you cannot share it.
... View more
05-12-2020
10:50 AM
|
0
|
2
|
2088
|
|
POST
|
I'm thinking a slope/roughness calculation might identify the gravel, and shallow areas could be identified through the difference of the point elevation to mean water level?
... View more
05-12-2020
10:04 AM
|
0
|
0
|
2353
|
|
POST
|
I thought this was solved in your post yesterday? Needs to be turned into a layer arcpy.MakeFeatureLayer_management
... View more
05-12-2020
09:59 AM
|
0
|
0
|
1092
|
|
POST
|
I'm guessing you have some bathymetric LIDAR? What influences trout spawning areas? Or do you already know the areas and are trying to infer water depth to be causal?
... View more
05-12-2020
08:12 AM
|
0
|
2
|
2353
|
| 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 |
2 weeks ago
|