|
POST
|
Have you ensured that there are no spaces after the FIPS number in both datasets? '47005 ' will not join to '47005' R_
... View more
05-06-2024
10:13 AM
|
1
|
0
|
4217
|
|
POST
|
Depending on the data, one way without using regular expressions. would be to iterate over the string, and if the values match your 'keeplist', then join them to new string, then split that string into the list. instring = 'your99number/textvaluses-4testing'
keeplist = '0123456789.-'
numList = [i for i in (''.join((num if num in keeplist else ' ') for num in instring)).split()] R_
... View more
05-06-2024
10:09 AM
|
1
|
0
|
7299
|
|
POST
|
Weird, have not seen that one before. If you haven't already, you could try to reset your normal template and see if that fixes it. Keep in mind that you will lose any menu customizations if so, but could get you back and working (make sure you rename it, not delete so you have a backup just in case). R_
... View more
05-06-2024
07:34 AM
|
1
|
1
|
1932
|
|
POST
|
Quick modification to accomplish that. var intpoly = FeatureSetByName($datastore, "Polygons_1") // load polygon dataset
var pointvals = FeatureSetByName($datastore,"Dedications",['ID'],false) // load point dataset
var polyname = ''
var polyvals = ''
for( var f in intpoly){ // loop through polys and see which one intersects
if(Intersects($feature, f)){
var polyname = f.TITLE_NAME} // set polyname variable to the TITLE_NAME of intersecting polygon
}
if (!IsEmpty(polyname)){
var polyvals = Filter(pointvals, `TITLE_NAME = '${polyname}'`) // If not empty, filter points by intersecting poly name
}
var numarray = []
for (var n in polyvals){
Push(numarray, n.ID) // push all ID for points with TITLE_NAME matching they polygon name
}
var newID = Max(numarray)+1 // get the max ID number and add 1 to it
return { // return a dictionary that updates TITLE_NAME and ID in the points layer.
"result": {
"attributes": {
"TITLE_NAME": polyname,
"ID": newID
},
}
} Also, since this gets the values from the ID field from the Dedications point layer by polygon, you will need to have at least one point with the polygon name and an ID >= 0. Otherwise, if you click on 'PolyA', and there is no entry for PolyA in the point file yet, the array of ID's will be empty, so it can't increment it by 1. Suspect you could also do some error checking here where it appends the TITLE_NAME and if the newID is null, set it to 1, but I normally don't have that many polygons, so I just create one point in each with TITLE_NAME for each polygon, and ID of 0. These 'dummy' points don't really need to fall within the polygons. I normally make them off the side of my map area, and can be deleted once there are ID's for each TITLE_NAME. (Also, no error checking here. This assumes that each point added intersects ONLY 1 polygon (no overlapping polygons) Hope this makes sense and gets you going in the right direction. R_
... View more
05-03-2024
02:54 PM
|
1
|
1
|
2149
|
|
POST
|
Not sure I understand the question, but You might look at this post to see how I have dealt with similar need. This shows one way to increment sequential numbers with a text component. R_
... View more
05-03-2024
11:44 AM
|
0
|
0
|
2190
|
|
POST
|
With just one feature, and you want to add text to label: R_
... View more
05-03-2024
09:23 AM
|
1
|
1
|
5522
|
|
POST
|
Also, the setting for using on device basemap in the offline settings is just to make it use that one automatically. If you have tpk(x) side loaded to the basemaps folder on your device, you can always select them as a basemap, regardless of what is in the offline settings. I.e. the mmpk map opened in Field Maps app will also let me use any sideloaded basemaps. R_
... View more
05-02-2024
02:53 PM
|
0
|
0
|
4132
|
|
POST
|
Normal.mxt is the template where ArcMap stores all the file/menu/etc. customizations. ArcMap reads this information on startup, but if it is missing (has been deleted), it will re-create it with default options, thus, will move all the panels and such back where they were initially. Keep in mind, if you have installed third party tools and such, deleting the normal.mxt will likely break them, or at least un-do any customizations to the toolbar(s). You should expect ArcMap to eventually corrupt it's normal.mxt (as it eventually does) and suddenly your toolbars/windows/menus/etc. either move or disappear. This is such a common issue, I have a scheduled task that saves a copy of my normal.mxt every night. That way, when I open a map document and see that the template is corrupted yet again, I just close ArcMap, and replace the normal.mxt with the last 'good' copy, then restart ArcMap and you are back where you were before it decided to corrupt. R_
... View more
05-02-2024
02:04 PM
|
0
|
1
|
1742
|
|
POST
|
are you able to drag the Create Features window down and drop on the arrow that appears at the right of the screen? R_
... View more
05-02-2024
01:54 PM
|
0
|
3
|
1962
|
|
POST
|
Have you seen this post How to override values for fields with calculated expressions? Shows a way to toggle the ability to manually edit a calculated field. Might be able to tie it to you existing data rather than a toggle, but figure it might help you get started. R_
... View more
05-01-2024
02:09 PM
|
2
|
0
|
3055
|
|
POST
|
Never tried a mmpk as a basemap, but I have sideloaded tpk(x) files to my iOS device and can use them as a basemap with a web map OR a mmpk in Field Maps app. R_
... View more
05-01-2024
11:19 AM
|
0
|
0
|
4174
|
|
POST
|
One way is to put a copy of the SDE connection file on a network drive that everyone has access to, then use the full network path to that SDE connection file as input to the toolbox. R_
... View more
05-01-2024
11:10 AM
|
1
|
0
|
1975
|
|
POST
|
I deal with this all the time and am also normally just interested in the polylines data. Also, I get CAD files from numerous sources so the format/layers/etc. is never the same. I have a separate project set up in Pro connected to a bunch of output layers in a FGDB. In Pro, I use the feature class to feature class GP tool, and for the input, I navigate to the Polyline data 'inside' the dwg files. Since there is no consistency from designers, I use CAD or Pro (think you can use TrueView also) to find out what "Layer(s)" in the dwg holds the lines that I am interested in and set a Where clause in the fc2fc tool to Layer includes the value(s), and pick all the layers that hold the desired data. I run this tool for the data I'm interested in (sewer, water, storm lines), then close that project. I then open my AsBuilt editing project that is already connected to the layers I output above. It's been a while since I tried the GP tool that @Eugene_Adkins suggested as I was only interested in a small subset of the lines from the dwg. Might have to take another look at that, but thought I'd chime in about one method that has been working well for me. R_
... View more
05-01-2024
11:03 AM
|
1
|
0
|
2160
|
|
POST
|
By the look of your first image, it looks like you only have a single template for the Distress Points, but not sure what the second photo is unless is selecting the distress type in the form (but I only see 4 in there and a huge list in the legend). If I set up a form with a single template item (I have two layers here, both with single template item, Try This now and Post): Then select one of the feature buttons, it will take me to the form for that layer (Try This now): And lets me populate the form values and I have a Domain (pick list) for all the acceptable values for this field (I have a huge list, so either need to scroll to find the value I'm after or start typing in the 'Filter' box. Will also show the most recently used values at the top of the list so no need to scroll/filter: In the map, I have symbolized on the MUTCD Code field (you would use your distress type field): Does this help resolve your issue or am I still missing something? R_
... View more
05-01-2024
10:36 AM
|
1
|
0
|
1255
|
|
POST
|
Not sure I understand, but sounds like maybe you have a template for each of the "symbiology's" that you are selecting to create that type of feature (one button for Hydrant, one for Valve, one for blow off, etc. etc)? Another way would be to just have basic template for a point, then a form to add/edit the field values. Then, you would just symbolize the map based off of the field value(s). As new points are added, they would take on the symbology defined by filed values for the point layer. If this isn't the case, maybe a screenshot or two to help describe the desired process. R_
... View more
04-30-2024
03:50 PM
|
0
|
1
|
1299
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:00 PM | |
| 1 | 09-14-2022 07:53 AM | |
| 1 | 09-14-2022 08:23 AM | |
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|