|
POST
|
Your data frame name is "Mexico," you are never going to find your 'states' layer if it is nested within your df.name == 'states' statement.
... View more
03-30-2016
06:48 AM
|
0
|
0
|
3352
|
|
POST
|
I assume AssetID is unique in TRF_Signposts_VW and not in SignsGISMapping, right? Since you are doing a left join back onto SignsGISMapping, the AssetID isn't really unique anymore, but you are telling the software to make it unique. It does this by selecting the first record it finds with an AssetID. If you make a multi-field unique identifier, possibly AssetID and AssetReferenceID, you should get more or all of the records.
... View more
03-29-2016
10:22 AM
|
1
|
0
|
5146
|
|
POST
|
Can you provide the queries themselves, or at least an abridged query that demonstrates the issue with your data? Also, when setting up your query layer, what did you select for the Unique Identifier?
... View more
03-28-2016
07:25 AM
|
0
|
2
|
5146
|
|
POST
|
Check out the Coordinate Conversion Addin (.NET). It is put out by one of the Esri teams on GitHub. It has a version for ArcMap and ArcGIS Pro. It doesn't integrate into the Explore tool like you would like, but it does provide a quick way to get coordinates of screen cursors/locations and even have them in multiple formats.
... View more
03-28-2016
06:57 AM
|
2
|
0
|
5932
|
|
POST
|
If you pick a different angle than 0 degrees, you will see that "GEODESIC" results don't always match "PLANAR" results. That said, Esri does seem to be using a different definition of "PLANAR" than one expects when seeing the word. At a minimum, the software is working as designed and their documentation is inaccurate/incomplete. I would open an Esri Support incident. Since 2D math is straightforward, or at least more so than 3D math, you could just role your own function. Prior to the release of ArcGIS 10.3 where pointFromAngleAndDistance was introduced, I presented a related function in the Calculating distance along a line from beginning to first intersection: def linefromPolarCoord(angle, distance, point, spatialReference=None):
X = distance * math.cos(math.radians(90 - angle))
Y = distance * math.sin(math.radians(90 - angle))
return arcpy.Polyline(
arcpy.Array([point, arcpy.Point(point.X + X, point.Y + Y)]),
spatialReference
) The above function assumes basic 2D/projected data. The angle is degrees, distance is in units of the projection (meters for UTM), point is an arcpy.Point, and spatialReference is an arcpy.spatialReference for the projection being used.
... View more
03-27-2016
06:32 PM
|
3
|
1
|
7190
|
|
POST
|
OK. Seeing a parcel fabric is not involved, and the performance does degrade over time, this seems to generally fit into other discussions/complaints on GeoNet about update cursors on medium to large datasets. A couple of ideas come to mind. First, can you go with multiuser_mode as False? If so, does that make a difference. Second, even though you have with_undo as False, you are still trying to update ~10,000 in one operation. You could use one edit session but chunk it up into multiple edit operations. In effect, iterate over the records committing the updates after every 1000-2000 records. Unfortunately with such an approach, the update cursor needs to be instantiated and released with each edit operation, so there is some work to ensure the records are ordered properly and divided up so records aren't missed.
... View more
03-25-2016
08:38 AM
|
0
|
0
|
802
|
|
POST
|
Is the time to update a record linear, i.e., does it stay constant over time or get progressively slower? There have been discussions on GeoNet about the degraded performance of update cursors over time on large record sets. That said, the performance usually starts out reasonable and gets worse over time. Also, 10,000 records isn't that large, but it is starting to enter the range where some people say they have issues. Also, are you using a Parcel Fabric? I have also heard of slow update performance with parcel fabric over regular feature classes in enterprise geodatabases. Overall, I think you should open an incident with Esri Support. If it is taking 1 sec/record from the start, something else is going on either in the application or backend database.
... View more
03-25-2016
06:26 AM
|
1
|
2
|
3171
|
|
POST
|
Without an explicit error message, it is difficult to offer suggestions. I would add some additional print statements to see what part of the code in the update cursor is getting hung up.
... View more
03-24-2016
01:11 PM
|
0
|
0
|
3171
|
|
POST
|
I haven't had time to look at the GitHub page yet, but the error message is indicating the crJson dictionary does not have an entry for 'URL'. I would look at the raw/returned JSON. The code wants a key labeled 'URL', and it appears one isn't getting returned from your crRequest.
... View more
03-24-2016
10:20 AM
|
0
|
1
|
4158
|
|
POST
|
There are multiple ways to do it. The following StackOverflow thread is a bit dated, but I believe all of the content still applies: How to change the version of python that pyscripter uses.
... View more
03-24-2016
07:19 AM
|
1
|
0
|
1558
|
|
POST
|
Given your response, the responses from others above apply. The only thing I have to add is that in the world of spatial relations, intersects is the broadest spatial predicate. Intersects simplifies the discussion here because it doesn't differentiate a point on the boundary versus a point in the interior of a polygon, either point intersects the polygon. If you were talking about contains or within, there would be more rabbit holes to go down.
... View more
03-24-2016
07:05 AM
|
0
|
0
|
488
|
|
POST
|
Multiple Python installs are typically more confusing for the user than ArcGIS or any IDEs. ArcGIS for Desktop, I am not talking Pro just the "originals," has its own Python install and is configured to use that one. As long as you don't go monkeying in the registry or config files, it will always use that bundled install no matter how many other installs you put on the machine. What typically confuses users is having the Python file type associations changed by subsequent Python installs. A user will have ArcGIS for Desktop installed but then install another Python installation. When the user clicks on a Python file to run it, it might fail to import ArcPy because the Python file type association in Windows has been updated to the new non-bundled Python install. What can also confuse users is installed 64-bit Background Geoprocessing because that changes the Python file type associations. Although the 64-bit Python install is similar to the 32-bit one, there are differences in ArcPy that cause issues. For example, 64-bit ArcGIS (including the bundled Python installs) don't read personal geodatabases so code that access data in personal geodatabases can bomb. Overall, you will be fine. As I mentioned above, the confusion is usually on the user end and not the application end.
... View more
03-24-2016
06:46 AM
|
1
|
2
|
1558
|
|
POST
|
Looking over the original question, I have some questions on terminology. "Ring Buffer boundaries" By "ring", I assume you mean LinearRing. Then you mention "buffer", which gets us into Polygon realm. Then you mention "boundaries," which gets us back to a LinearRing. So what exactly are you asking about, a Polygon or a LinearRing? "which 'Ring' does a point at exactly 50 miles fall in?" Fall in? That isn't really a standard term. Do you mean intersect, within? There are quite a few standard spatial predicates, "fall in" isn't one of them. "Are the boundaries inclusive or exclusive limits?" Is this focused on the boundaries of a Polygon or LinearRing, both have boundaries. For geometry models that support OGC simple feature standards, the DE-9IM topological model describes the type of nuanced situation you are putting forward. That said, Esri's spatial predicates don't line up exactly with the DE-9IM in all cases. I don't mean to get hung up on semantics, or sound pedantic, but being precise matters when talking about specificities like this question. Additionally, there isn't one universally correct answer. Different geometry models or geometry implementations can treat edge cases differently, so it is important to frame the question in the context of the geometry model you are interested in. Since you are posting on GeoNet, it is likely Esri's ArcGIS Desktop geometry model, but even that is complicated by Esri supporting OGC simple features.
... View more
03-23-2016
03:54 PM
|
2
|
2
|
2585
|
|
POST
|
Dave Tenney, what have you tried thus far and what worked best for you? If someone's comment worked better than everyone else's, please mark it correct to close out this discussion.
... View more
03-21-2016
10:07 AM
|
0
|
0
|
2843
|
|
POST
|
Where is "@value" coming from, i.e., is it another field, a constant from somewhere? If both values in question are coming from different fields from the same record, the syntax would be [value] * [Field value].
... View more
03-20-2016
12:36 PM
|
1
|
0
|
1227
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-11-2026 07:04 AM | |
| 1 | 07-17-2026 06:54 AM | |
| 2 | 07-06-2026 12:29 PM | |
| 1 | 07-06-2026 12:00 PM | |
| 2 | 06-05-2026 10:30 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|