|
POST
|
I don't think this is something you can do with an out-of-the-box map series, but if you're willing to use Python I can think of one possible way: Add the "pypdf" package to your Python environment. Generate the index layer for the full length. Create one map with the index layer and everything else you need. Set a definition query on the index that's MOD(page_count_field, 2) = 0 to only show the odd pages. Make a layout for this map with all of the required elements. Leave room for the other map and any other layout elements that is specific to the other map. You'll probably have to fudge the page numbers in your index layer as well. Clone the map and change the definition query from = 1 to = 0, this will only show the even pages. Create a complementary layout for the "even" map. Generate map series for both. Half the pages should be on the "odd" layout and the other half on the "even" layout. Export both PDFs, then use pypdf to merge each "even" page on top of the "odd" page to create a new PDF. The pypdf documentation is a bit sparse but it should cover all the methods uses to combine PDFs like this. Unfortunately I don't have time to validate this workflow, but the hard part with pypdf is similar to a process I've done with other projects so I'm confident you'll get something, even if it looks a bit cruddy. Let us know how it goes!
... View more
01-15-2025
03:49 PM
|
0
|
2
|
3256
|
|
POST
|
What is "API Manager" and what level of decoupling are you looking for? In general, any tool or service that supports HTTPS and OAuth2 can connect to an Enterprise deployment and route its own commands to the appropriate portal and server resources. This page is a good starting point.
... View more
01-15-2025
10:04 AM
|
0
|
0
|
1308
|
|
POST
|
I think you'll need admin access for this, then the Create Folder resource can take it from there. Can't think of a way to do this with the Python API though so you'll have to pick your preferred HTTP library and send those requests yourself.
... View more
01-13-2025
03:58 PM
|
0
|
2
|
2425
|
|
POST
|
Your last 15 days logic is backwards, you're mixing CURRENT_DATE with CURDATE() (not a real function), those MONTH and YEAR functions won't work and you're testing for inequality with != instead of <>. Putting that all together with some help from this post: AVO_LASTDATE > (CURRENT_DATE - 21) AND extract(month from AVO_LASTDATE) <> extract(month from CURRENT_DATE) AND extract(year from AVO_LASTDATE) = extract(year from CURRENT_DATE)
... View more
01-13-2025
11:12 AM
|
0
|
1
|
1527
|
|
POST
|
Offline maps need an ArcGIS tile service that has tile export enabled. If neither Google nor ArcGIS Online offer that service you'll have to grab tiles form Google's services and stitch them together to make your own tile cache -- assuming that doesn't violate any terms of service agreements. If all you need is satellite imagery in general then take a look at this collection of basemaps to see if anything fits your map.
... View more
01-13-2025
09:57 AM
|
0
|
0
|
2807
|
|
POST
|
Try running a Dissolve with all three attributes as the "Dissolve Fields".
... View more
01-10-2025
03:05 PM
|
1
|
0
|
1164
|
|
POST
|
I think the Summarize Within tool will get you the well count per watershed in one shot, among other aggregates. If that doesn't work for your needs, take a look at the Spatial Join tool, this will produce a new feature class with the watershed data attached to the intersecting well which you can process further.
... View more
01-10-2025
01:59 PM
|
0
|
0
|
1555
|
|
POST
|
If you just need the domain codes @AlfredBaldenweck's method works well and is nice & simple. If your data has subtypes, you'll have to use arcpy.da.ListSubtypes and then plug in the value of the subtype field to get the appropriate info, otherwise you might pick the wrong domain for your current record.
... View more
01-10-2025
01:18 PM
|
3
|
1
|
3262
|
|
POST
|
Dang, looks like I missed that note when they changed the implementation, good catch!
... View more
01-10-2025
09:37 AM
|
0
|
0
|
639
|
|
IDEA
|
I'm a simple man, I see "add an enum to arcpy", I hit the thumbs up button.
... View more
01-10-2025
09:17 AM
|
0
|
0
|
1452
|
|
POST
|
Dictionaries are also not guaranteed to preserve insertion order and OrderedDict requires a code block so this isn't saving much. Although an OrderedDict would probably handle lists with thousands of items a bit faster.
... View more
01-10-2025
08:58 AM
|
0
|
2
|
2836
|
|
POST
|
XLSForms don't use any workbook features beyond "sheets" and "cells with static values" so you should be able to upload the form file to Google Sheets, edit it there, then export to xlsx to refresh Survey123 Connect. Clunky, but not impossible. For faster iterations, Libreoffice is also a bit clunky but it should work as a local editor. No guarantee the cell validation stuff will work outside of Excel though. Please share how this went, I'm genuinely curious how other spreadsheet tools handle the XLSForms!
... View more
01-10-2025
08:54 AM
|
2
|
0
|
4227
|
|
POST
|
You probably want to use pulldata's @layer mode, this post should cover everything you need to know.
... View more
01-10-2025
08:45 AM
|
0
|
0
|
2076
|
|
POST
|
Python sets are not guaranteed to preserve insertion order so this could break in a future version of Pro. But it should work as of Pro 3.4 and Python 3.11.
... View more
01-10-2025
08:43 AM
|
0
|
4
|
2860
|
|
POST
|
To use the function, throw it in the "Code Block", then you can use this as your expression: dedupe(!Area!). When I said "change the strings" I meant you can replace things like "," or "" to make the function split and join the results differently. For context: the calculator runs all of the Python code in the code block before doing anything else, then for every selected record the calculator: Grabs every field that has a pair of exclamation marks (!Area! in our example). Does any data conversions it has to (usually only relevant for date or geometry fields). Converts the expression you gave it into its complete state. Evaluates the expression. Stores that result in the field you're calculating In our case, the expression will evaluate to dedupe(123.45), dedupe(23.43), dedupe(None) or whatever is in each record's Area attribute. Hope this helps you get a handle on how the field calculator runs.
... View more
01-10-2025
08:31 AM
|
1
|
0
|
2865
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 2 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 07-16-2026 11:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|