IDEA
|
"Grouping" layers is something specific to a map's configuration, and doesn't really do anything in terms of the data. In the new map viewer, layers can be grouped together. What exactly is in the GroupLayer information that is useful?
... View more
09-27-2021
06:44 AM
|
0
|
0
|
479
|
POST
|
The FeatureSetBy... functions should all work in the Field Calculate profile of Arcade. Your expression as written is only going to return a value from the first record in the relatedrecords FeatureSet, though; is that your intention? If so, you can try using First(relatedrecords) instead of a loop. Also, are you certain that every feature has related records?
... View more
09-24-2021
09:42 AM
|
0
|
7
|
2749
|
POST
|
Yes, they should. Disabling a member only prevents them from signing in and accessing resources, but those items will still be functional. EDIT: The regular documentation doesn't say anything, but the ArcGIS Python API docs do state that a user's disabled property refers specifically to their sign-on ability. disabled | The login access to the organization for the user.
... View more
09-24-2021
09:35 AM
|
0
|
0
|
493
|
POST
|
It shouldn't be doing that. Can you confirm the file format of your icon? Certain formats do not support transparency.
... View more
09-24-2021
06:18 AM
|
1
|
4
|
2375
|
POST
|
I do occasionally run into issues when geopandas and arcgis are used together; it seems to be related on where my scripts are run from. I use Anaconda to manage my python envs, and run my notebooks from there, or else through the (recently updated and much improved) notebook viewer in VS Code. As a general rule, I don't really mess with python envs in Pro. Times I've attempted to clone and modify the Pro python env, I've had nothing but trouble. If I need arcpy, I just stick to what's available via arcpy and the default env. You'll notice in my post that I don't actually use arcpy at all, just arcgis and geopandas.
... View more
09-24-2021
06:14 AM
|
0
|
1
|
7631
|
POST
|
Great minds think alike, right? Sounds like the same boat we're in over here. Speaking of Pandas, I did a guest presentation for them and a good chunk of it was actually walking through the "hosted layer update" script referenced in my post. They posted the recording here: https://www.youtube.com/watch?v=EsU4mmXlt0Y The assessments, parcel sales, and CAMA scripts aren't demoed here, but they use a lot of the same concepts. The biggest thing is getting familiar (if you aren't already) with the pandas Python library, and ESRI's spatially enabled dataframe that builds off it via the ArcGIS Python API.
... View more
09-23-2021
07:47 PM
|
1
|
0
|
1456
|
POST
|
This is a totally different solution, but what we do for our parcel fabric is maintain a separate "Hosted Fabric" layer, which you can see here (or at least the "current features" view of it): https://maps.co.kendall.il.us/portal/home/item.html?id=c500c8284edd4112a9ee1a96236a72fc There's also a separate service that collects all the boundary lines and points in a similar manner. We then have a nightly script that checks the "real" fabric for changes, then applies them to the hosted layers. We do this for a number of reasons. hosted feature services use the server's shared instance pool, so public viewers do not impact users actively editing or working with the "real" fabric through a reshaping process, the hosted features have the actual created/retired record name and recorded date, rather than simply the globalID of the records our DB machine can actually cycle down for maintenance, updates, etc., with no impact to the public layers we have a dedicated machine for the parcel fabric database. as a cloud machine, being able to turn it off outside of business hours represents hundreds of dollars in savings extra fields can be dropped the hosted layer can have extra fields not in the fabric, which get updated from our assessments database (another script) hosted records layer can have attachments, to which we attach PDF "change record" documents, etc It was a lot of work to set up, honestly, but it provides our end users with the data they really want. The updates are all automatic, so I haven't had to even think about updating the public layers in months, but they refresh every night with the latest data. It's great!
... View more
09-23-2021
03:22 PM
|
2
|
2
|
1480
|
POST
|
Oh, good! Sorry I didn't respond to your earlier post, I've been out of the office for the past week. Glad to hear that the error went away on its own, though.
... View more
09-23-2021
08:16 AM
|
0
|
0
|
2458
|
POST
|
I run it once to get the entire series to export. It's for our annual tax map book, so the per-page query format doesn't change, just the attributes. The gist of it: for feat in features:
some_map.listLayers()[1].definitionQuery = f"some_attribute = {feat.attribute1} or some_attribute = {feat.attribute2}"
# other layout things
# export to PDF
... View more
09-23-2021
07:07 AM
|
0
|
1
|
763
|
POST
|
You get No Data when the indicator is actually looking for a value in the data, such as an attribute. Count is a special case, because it's not looking at the data's contents, simply the number of records present. Put another way, asking "what's the average value" of no records can't be answered definitively, thus the No Data response. Asking "how many are there" of no records can be answered. You can use conditional formatting, if all you want is something else to display when the count is 0. Set a reference value of 1. Then set the "below reference" style to whatever you want. Now a count of 0 will display with whatever message you enter, rather than a 0.
... View more
09-23-2021
07:04 AM
|
1
|
0
|
730
|
POST
|
We do this in a Map Series of ours, but have to use the arcpy.mp to do it. A built-in solution would be nice, though. I'll definitely upvote your idea on this.
... View more
09-23-2021
06:35 AM
|
1
|
3
|
767
|
POST
|
Building off this, you can use left, right, and count together to get the various date parts out regardless of whether the leading zero is present or not. By returning a true Date object, you can then modify that to output to any format you like, so if you prefer the long date style of "July" instead of "7", you can do that. var dateNum = Text(7012021)
var y = right(dateNum, 4)
var d = left(right(dateNum, 6), 2)
var m = left(dateNum, 8 - count(dateNum)) - 1
// month is returned as the number - 1, as Date function takes month as a 0-indexed value, i.e., January = 0
var dt = Date(y, m, d)
return Text(dt, 'MMMM DD Y')
... View more
09-22-2021
12:34 PM
|
0
|
1
|
1170
|
POST
|
It almost seems like it's selecting a totally different feature from the table, since the two cells pictured are consistent. Could you try this on the objectID column to see what row is being selected? If you try it on other rows, is the "offset" consistent?
... View more
09-22-2021
12:16 PM
|
0
|
5
|
2161
|
POST
|
We published ours according to the same settings and have experienced no issues with it. I suspect that the z-value settings are this way because the parcel fabric has the potential for being 3D, such as with condo units. Auto-assigning an attribute that is normally legally defined seems like a bad idea, in my opinion. For syncing, that is related to branch versioning, rather than the parcel fabric itself. See this page for more information. We don't use that capability, so I don't have any insights on its actual use. Exporting data, as far as I can tell, is just a personal choice as to whether or not you want users to be able to export.
... View more
09-22-2021
12:10 PM
|
0
|
1
|
539
|
POST
|
Do you need the table editable? Just turn that feature off and double-clicking will just highlight the cell contents. If you need the table editable, you'll have to work around double-clicking as the "edit cell" shortcut. Do you have a screenshot of this behavior? Is it changing another cell in the same row, or a different row?
... View more
09-22-2021
10:34 AM
|
0
|
7
|
2177
|
Title | Kudos | Posted |
---|---|---|
1 | 03-07-2023 06:28 AM | |
1 | yesterday | |
1 | yesterday | |
1 | a month ago | |
1 | Tuesday |
Online Status |
Online
|
Date Last Visited |
an hour ago
|