|
POST
|
That's not giving you much to work with and I don't use the old style locators anymore. You may need to contact tech support and provide them some sample data with which to emulate your workflow.
... View more
06-03-2021
09:12 AM
|
0
|
0
|
2339
|
|
POST
|
Please explain "query the fields of an attribute table of a .shp file (ArcMap) from an .xlsm file " What do you want to do? Cursor though the excel file and see if some values exist in the attribute table?
... View more
06-03-2021
08:57 AM
|
1
|
0
|
5406
|
|
POST
|
Not sure if this helps, but recently I created two locators both multi-role with Address Points and Street Centerlines. One has features within our areas of jurisdiction and the other with features outside our areas of jurisdiction. I then created a composite of them. The idea is to publish this as a service that another piece of software (City Works) can consume. If the address resolves on the first (within our area of jurisdiction) the work flow continues. If the address resolves outside our area jurisdiction, the user gets an email explaining who to contact within their respective jurisdiction.
... View more
06-03-2021
08:24 AM
|
0
|
0
|
2880
|
|
POST
|
Do a quick google search on " esri error 000042" you'll get several returns worth looking into.
... View more
06-03-2021
07:15 AM
|
1
|
0
|
2389
|
|
POST
|
ArcView 3.2? Things have come a ways since then! Welcome aboard.
... View more
06-03-2021
07:10 AM
|
2
|
0
|
1158
|
|
POST
|
There have been other posts regarding published geocode services at 10.7.x Enterprise, and I wonder if this may be corrected at 10.8. @BradNiemand ?
... View more
06-02-2021
08:29 AM
|
0
|
0
|
3299
|
|
POST
|
I inherited a large number of site address points and they had ranges similar to what you describe. IMHO, a point is a discrete X,Y coordinate and therefore cannot have a range. Consequently, I wrote a python script that iterated through the range and added a point for each address, all in the same location. People who create address points like to find the path of least resistance (ranges) and those of us that actually use the data have to work around that.
... View more
06-01-2021
04:20 PM
|
2
|
0
|
1305
|
|
POST
|
You should probably get in the habit of avoiding words like shape, length, area etc as chances are you'll end up running into the same problem again and again. When doing quick and dirty work, I will use the prefix of 'my' to name fields that may be in conflict so myArea, myLength, etc... It sounds like this more than a quick and dirty application so you'll want to re-examine your database schema, and consider renaming those fields that may be in conflict. Instead of area perhaps you can include something like InspectionArea, etc....
... View more
06-01-2021
09:06 AM
|
2
|
0
|
4442
|
|
POST
|
That is really odd. What if you make the change in Pro? Does ArcMap see them? I don't have ArcMap installed or I would try to replicate the problem.
... View more
05-28-2021
01:08 PM
|
0
|
0
|
2098
|
|
POST
|
Stop using ArcMap and use ArcGIS Pro only? Just a thought! All seriousness aside; what happens if you restart your computer and then fire up ArcMap?
... View more
05-28-2021
12:50 PM
|
0
|
2
|
2109
|
|
POST
|
That's a really cool feature @ShanaBritt ; I've never known to do that but I can see how it can be very useful In the test below, I use the UniqueID field which I have set up to populate from a database sequence when a new street is added:
... View more
05-27-2021
01:02 PM
|
0
|
1
|
4413
|
|
POST
|
@BlakeTerhune looks like you retracted your post as I was replying to it. select = 'SHAPE@X is not null'
for fc in arcpy.ListFeatureClasses():
with arcpy.da.SearchCursor(fc,fields,select)as cursor:
for row in cursor:
if fc == 'APLIC':
print(row[0])
finish = time.strftime('%H:%M:%S')
Traceback (most recent call last):
File "<ipython-input-20-4b6a74596c64>", line 3, in <module>
for row in cursor:
RuntimeError: An expected Field was not found or could not be retrieved properly. [APLIC] is not Null is what I initially tried, but it errors as well.
... View more
05-27-2021
10:45 AM
|
0
|
1
|
2627
|
|
POST
|
I have a number of point feature classes that are the result of geocoding various types of permits. I have 5 different permit feature classes, and since many of them were issued to same address, they are 'stacked' when viewed on a map. I wrote a simple script that adds and subtracts 5 map units from the SHAPE@X value or the SHAPE@Y value. That works great when all the records in a feature class have values, but since this feature class is the result of geocoding, those records that did not match have <null> values for their coordinates. As a result, as I UpdateCursor through the feature class records, and try to perform an additive or subtractive operation the script errors out with something to the effect of 'Sorry Joe, I can't add or subtract from None' Below is an example of the where clause in a SearchCursor: fields = ['SHAPE@X','SHAPE@Y']
select = 'SHAPE@X is not None'
for fc in arcpy.ListFeatureClasses():
with arcpy.da.SearchCursor(fc,fields,select)as cursor:
for row in cursor:
if fc == 'APLIC':
print(row[0])
Traceback (most recent call last):
File "<ipython-input-16-18ea27620933>", line 3, in <module>
for row in cursor:
RuntimeError: An invalid SQL statement was used. [SELECT OBJECTID,Shape FROM APLIC WHERE SHAPE@X is not None] I guess I could wrap my cursor in a try/except block block but I'd rather just process those records that have valid values in SHAPE@X and SHAPE@Y . Is there a way to select for just those records that meet my criteria?
... View more
05-27-2021
10:35 AM
|
0
|
4
|
2651
|
|
POST
|
@ShanaBritt and @BradNiemand : perhaps one of you can add something to this?
... View more
05-27-2021
09:44 AM
|
0
|
0
|
4421
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-11-2018 07:12 AM | |
| 1 | 05-17-2021 11:18 AM | |
| 1 | 06-29-2021 11:42 AM | |
| 1 | 07-05-2012 07:49 AM | |
| 1 | 09-03-2016 06:16 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-19-2026
11:56 AM
|