|
POST
|
K. Lynn Martin You can use the Dissolve tool if there is a common attribute, such as a name or id number, between the polygons.
... View more
07-25-2019
05:10 AM
|
0
|
3
|
2432
|
|
POST
|
Scott, Try the following, using the Spatial Join Tool in ArcMap or Pro: 1) SetTarget Features - Buildings 2) Set Join Features - FloodZones 3) Set your output Feature Class 4) Join Operation - JOIN_ONE_TO_ONE 5) In the Field Map section ArcMap Right click on the name of your Zone attribute in your FloodZone feature Select - Merge Rule > Maximum You can also remove any fields that you do not need from the Field Map using the "X" button. Pro Select the name of your Zone attribute in your FloodZone feature Set the Merge Rule to Maximum You can also remove any fields that you do not need from the Field Map by right clicking. Set the Match Option to Intersect 6) Run the Join 10.7 ArcMap 2.4 Pro The resultant joined feature class will have the Maximum value assigned from the FloodZone to the Building.
... View more
07-24-2019
08:14 PM
|
2
|
1
|
3229
|
|
POST
|
Malcolm Little, Nothing I am aware of yet. I know there are a few items under consideration, if you look through the ideas section. It would be nice if the fields table simply supported copy so it could be pasted into excel as you do for attribute data.
... View more
07-24-2019
12:02 PM
|
2
|
0
|
6265
|
|
POST
|
Malcolm, You can use the Export XML Workspace Document tool from Pro or Catalog, select as a Schema only and uncheck Metadata. This file can then be opened using Excel. Excel may ask if you want options, I normally use "As a XML table" and just click OK if you receive the message the source does not refer to a schema.
... View more
07-24-2019
11:02 AM
|
1
|
2
|
6265
|
|
POST
|
Nikholai, How many items could this function be attempting to return from your feature service? Is it exceeding the maxRecordCount value for the service? This is typically a default of 1000 features. Take a look at How To: Update the maximum record count for feature services in ArcGIS Online. You can also perform a select on the feature to limit the possible number of returns to see if that will run.
... View more
07-24-2019
09:22 AM
|
0
|
0
|
1856
|
|
POST
|
Radomir, Have you tried to use the Join Features tool in Pro. This tool allows for spatial relationships as well as join conditions defined using an arcade expression or attribute relationships that defines the criteria used to spatially join features. You can use an Arcade expression to create a Join Condition. Only features that meet the join condition will be used in the analysis. See Join Features expressions for more information.
... View more
07-24-2019
05:33 AM
|
0
|
1
|
5350
|
|
POST
|
Nikholai O'Hara, Should the distance parameter in your code be a string or float? Try distance=5
... View more
07-23-2019
12:29 PM
|
0
|
0
|
1856
|
|
POST
|
I am glad that worked out. My first thought was the database is an older version which can be temperamental on newer systems. Sometimes they work fine other times you cannot even open them. I still have an older 10.0 version of ArcGIS running on a VM so I can sometimes upgrade the DB or export to shapefiles before working with them. If the above answer was acceptable, can you please mark it as correct. Thanks.
... View more
07-23-2019
08:04 AM
|
0
|
0
|
2522
|
|
POST
|
Can you post more information as to how it is not working, screen shots, error messages, etc.
... View more
07-23-2019
05:06 AM
|
1
|
1
|
2336
|
|
POST
|
Jackie, You can use Spatial Join using "Within a Distance of" from ArcGIS Online, ArcMap or Pro. Depending how often you have a tap within the same distance to multiple service lines you may end up with a few duplicate connection points. However, it may substantially reduce the 3,000 you have to deal with now. I typically perform the spatial join using the unique fields from each of the features. You then have a cross reference table that links the two features. You can then transfer the unique values between the features and use a typical join to access the other data. Take a look at: Join Features | ArcGIS Online Note, use "Choose a spatial relationship" Within a distance of not the "Choose the fields to match" option. Spatial Join | ArcGIS Pro Spatial Join | ArcMap
... View more
07-22-2019
05:46 PM
|
0
|
0
|
833
|
|
POST
|
Andy, You can try the following samples but there are a few holes in the logic from the sample you provided. For example "NIOBRARA A" and "CODELL", "NIOBRARA B" and "CODELL", "NIOBRARA B" and "NIOBRARA A", "CODELL" and "NIOBRARA A", etc. will all result in a return of 0. Is this what you wanted? If not, you can expand the conditional statements to include these as well. The first example use && for (and) and if was need || for (or). if ($feature.target_formation == $feature.toe_target_caps){return 1}
if ($feature.target_formation == "NIOBRARA A" && $feature.toe_target_caps == "NIOBRARA B") {return 2}
if ($feature.target_formation == "NIOBRARA B" && $feature.toe_target_caps == "NIOBRARA C" ) {return 3}
if ($feature.target_formation == "NIOBRARA A" && $feature.toe_target_caps == "NIOBRARA C"){return 4}
else {return 0} This second example has the same output but is based upon grouped and nested conditional statements if ($feature.target_formation == $feature.toe_target_caps){
return 1
}
if ($feature.target_formation == "NIOBRARA A"){
if ($feature.toe_target_caps == "NIOBRARA B") {
return 2
}
else if ($feature.toe_target_caps == "NIOBRARA C" ) {
return 4
}
}
if ($feature.target_formation == "NIOBRARA B"){
if ($feature.toe_target_caps == "NIOBRARA C") {
return 3
}
}
else {return 0}
... View more
07-22-2019
04:57 PM
|
2
|
0
|
17314
|
|
POST
|
Nick O'Day I revised the code to handle values around north, such as Reclass(350,10) and return the correct data. This can be reduced to just a few lines but for readability I left it longer. def Reclass(Direction, Bearing):
if Direction and Bearing:
delta = abs(Direction - Bearing) % 360
delta = 360-delta if delta>180 else delta
if delta <= 22.5:
return "Keep"
elif delta > 22.5:
return "Delete"
else:
return "None"
... View more
07-22-2019
02:12 PM
|
2
|
0
|
2220
|
|
POST
|
Nick, 1) When you have a question it is better to post as a question. You will get a better response. 2) looking at your logic, it needs some work as it very hard to follow and your text does not match your code. def Reclass(Direction, Bearing):
if Direction and Bearing:
if abs(Direction - Bearing) <= 22.5:
return "Keep"
elif abs(Direction - Bearing) > 22.5:
return "Delete"
else:
return "None" When you call your function use Reclass(!Direction!, !Bearing!) as you will be setting the value for !KeepDiscardFlag! using the return statement. I added a "None" return if Direction or Bearing are either None or Null. The logic also does not address bearing and direction values around north such as 350 and 10. The difference is 20 in actual degrees but the math (350-10) is 340, it would return "Delete".
... View more
07-22-2019
01:01 PM
|
2
|
2
|
2220
|
|
POST
|
Byron, 1) Create a new blank fGDB using the version you are working with. 2) Try and import the feature class from the older database to the new. This can be completed via drag and drop in Catalog or by right clicking the fGDB and selecting Import > Feature Class (Single or Multiple) as needed 3) Test on that version If that does not work, try and export the feature class(es) from the older GDB as a shapefile(s) and see if you can import those files into you new fGDB Version 9.2 fGDB was last supported in Desktop 10.2.x.
... View more
07-22-2019
09:58 AM
|
1
|
2
|
2522
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-14-2026 11:47 AM | |
| 3 | 05-14-2026 12:23 PM | |
| 1 | 09-16-2019 05:49 PM | |
| 1 | 06-11-2025 03:32 PM | |
| 1 | 12-26-2023 09:15 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|