|
POST
|
I think the merge tool will take care of Question #1. And I believe it honors a selected set, so you can select a number of polygons from one feature class, and some others from another feature class etc. You can in fact 'combine' different geometries together... Sort of... Check out the overlay tools in ArcGis Pro. When I say sort of, you can overlay points to a polygons (intersect) and either end up with polygons that have the point data within them or points with the polygon info in which they are contained. You can't mix geometries in a single feature class.
... View more
02-02-2021
02:39 PM
|
0
|
0
|
1433
|
|
POST
|
@DavidPike - I have never used continue in python and had to look it up: The continue statement in Python returns the control to the beginning of the while loop. The continue statement rejects all the remaining statements in the current iteration of the loop and moves the control back to the top of the loop. The continue statement can be used in both while and for loops. Perhaps the continue statement in Arcade does the same, although I've not used it in a loop but rather only in an if block and it works like a python pass or as you said, do nothing...
... View more
02-02-2021
01:58 PM
|
1
|
0
|
11103
|
|
POST
|
PS: here's what your code looks like in the insert/edit code window. For arcade, I use Java Script... var rating = ''
if (cnt > 0) {
for(var f in samplesBysite){
//returns ratings for each sample in a list, with date
//When(f.MPN_ECOLI < 100, 'Good', f.MPN_ECOLI > 405, 'Poor', 'Fair') + " -- " + Text(f.SAMPLEDATE, 'MMMM Y') + TextFormatting.NewLine
//returns one E.coli Rating for the site
rating = When(f.MPN_ECOLI < 100, 'Good', f.MPN_ECOLI > 405, 'Poor', 'Fair')
if(rating=='Poor') break;
if(rating=='Fair') continue}
} else {
rating = "No samples"
}
return rating
... View more
02-02-2021
07:18 AM
|
0
|
0
|
3944
|
|
POST
|
@LynnBerni - here is how break is used in python: The break statement in Python terminates the current loop and resumes execution at the next statement, just like the traditional break found in C. The most common use for break is when some external condition is triggered requiring a hasty exit from a loop. The break statement can be used in both while and for loops. I would think that a break in Arcade acts in the same way. Continue is the Arcade equivalent to Pass in Python which more or less says never mind, go on to the next line... Some pythonistas avoid a break and a pass as lazy programming. I don't think I've ever used a break, and I'll use a pass every once and a while...
... View more
02-02-2021
07:15 AM
|
0
|
2
|
11110
|
|
POST
|
That's a mistake that has been posted a time or two on the forum. The GeoAnalytics toolbox is bit different...
... View more
02-01-2021
03:03 PM
|
0
|
0
|
2370
|
|
IDEA
|
Anytime I see an idea for an attribute rule with real-world work case, it gets a thumbs up!
... View more
02-01-2021
09:23 AM
|
0
|
0
|
2821
|
|
DOC
|
...many customers requested this feature... ^ This request seems more than reasonable to me. Database links are available in Postgres as well as SqlServer.
... View more
02-01-2021
07:21 AM
|
0
|
0
|
8627
|
|
POST
|
Okay; I think it's a nomenclature issue for me. You have two records in Table1, and the respective values in the Field need to be returned to one field in Table2. I'm not much of a model builder, but in a straight python script I can see how you would do that.
... View more
01-29-2021
12:11 PM
|
0
|
0
|
4342
|
|
POST
|
Without any context, I can't really comment. Are expecting the image to be aligned with the map frame? What type of spatial reference are you using? Does the image already have a world file with it?
... View more
01-29-2021
11:08 AM
|
0
|
0
|
3199
|
|
POST
|
'Crooked' is all relative, right? What is important to georeferencing an image is you choose your control points wisely. I try to use a few as I can to get the image rectified.
... View more
01-29-2021
10:44 AM
|
0
|
0
|
3203
|
|
POST
|
two different line and polygon features with the same geometry. Lines and polygons are not the same geometry....
... View more
01-29-2021
10:20 AM
|
0
|
0
|
3406
|
|
POST
|
Perhaps you could describe your workflow; when you say you have 'georeferenced a map' does that mean you have georeferenced an image and it's not aligned correctly?
... View more
01-29-2021
08:42 AM
|
0
|
0
|
3210
|
|
DOC
|
@HusseinNasser2 ; it's great to see new functionality for attribute rules however I have a question regarding basic functionality for them. I use the Address Data Management Solution and have written additional rules that extract data a from underlying feature layers when I add a site address point. For example, I have a cities layer, a parcels layer, and a zipcode layer and all of them must be in the same data store as my address data. (Let's not forget that the centerlines need to be there too.) In my area, city boundaries are maintained by the County Surveyors Office and parcels are maintained by the County Recorders Office; both of these agencies provide current data in the form of published Feature Services. But with the common data store requirement, I have to copy data from those services to my data store periodically to ensure I have up to date information. Are there any plans to improve attribute rules such that various data layers in the form of services can be utilized? We are testing a cloud deployment of the solution, and it just seems odd to me that services are not available for rules to function when they are so prevalent today as spatial data sources.
... View more
01-29-2021
08:24 AM
|
0
|
0
|
8675
|
|
POST
|
Maybe you can clarify what the objective is as well as you data structure. Are you randomly inserting the values from Table1 into Table2 or is there some sort of correlation between the two? Does Table2 already exist (update cursor) or are you truly inserting new records (insert cursor). You mention that Table1 FieldA has two values " 1234" and "5678" ; if both of those strings of characters are within a single field, that field has one value: "1234 5678". A few more details would really help to provide a solution.
... View more
01-28-2021
03:23 PM
|
1
|
2
|
4388
|
|
POST
|
I haven't experienced what you describe, but I'm curious as to why you have move edits to base enabled. I've always avoided that in a versioned database.
... View more
01-28-2021
03:08 PM
|
0
|
0
|
3204
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-11-2018 07:12 AM | |
| 1 | 05-17-2021 11:18 AM | |
| 1 | 06-29-2021 11:42 AM | |
| 1 | 07-05-2012 07:49 AM | |
| 1 | 09-03-2016 06:16 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-19-2026
11:56 AM
|