|
POST
|
Double click the layer in the table of contents. Go to the symbology tab. Select Categories on the left under Show then select your field that stores the well type and click on the Add All Values button. You can then change each of those symbols to be whatever point symbols you would like.
... View more
05-01-2015
08:57 AM
|
2
|
0
|
1071
|
|
POST
|
If I have a basis of bearing I will compare their bearing and distance with the bearing and distance between the points in my data. I then calculate the difference in angle and distance and enter them in the ground to grid correction portion of the units tab in Editing Options dialog. If my monument data isn't that great then I just rotate the road on its beginning point to match the aerial (they are describing the center of the road after all). If I'm using the parcel fabric, I will actually enter a connection line for their basis of bearing line and join the resulting point at the other tie point.
... View more
05-01-2015
08:39 AM
|
2
|
0
|
3465
|
|
POST
|
Then you will need to add .shp to the end of your feature class name. fc = "zones-de-rattachement-des-bureaux-de-vote-en-2014.shp"
Also, your field name is too long, they need to be 10 or fewer. Since you are going to be tacking on up to two characters to the end, you will need to have a field name 8 characters or fewer.
... View more
04-29-2015
02:11 PM
|
1
|
1
|
4142
|
|
POST
|
What type of data are you working with? That is a very long feature class name, and I tend to avoid dashes in my feature class names because it has caused me problems in the past. If you are using a file geodatabase doesn't your workspace variable need to have the .gdb extension? arcpy.env.workspace = "D:/M1 Geomatique/Programmation II/Dossier.gdb" Or if you are working with a shapefile you are missing the .shp extension in your fc variable and the field name is probably too long.
... View more
04-29-2015
12:08 PM
|
1
|
3
|
4142
|
|
POST
|
It looks like it may be more of a rotation issue than a distortion. Does the description give a tie to another point at the end? Or a basis of bearing? If I enter a description like that, I figure the surveyor has his equipment set to a certain basis of bearing, so I feel I can rotate the traverse anchored at the beginning until it matches the actual road. Especially if there is no basis of bearing or tie point at the end provided..
... View more
04-29-2015
10:59 AM
|
1
|
1
|
3465
|
|
POST
|
How about import arcpy
fc = 'yourFeatureClass' #insert your feature class here
fieldRoot = 'RANK' #root name of the field
for counter in range(1,20):
arcpy.AddField_management(fc, fieldRoot + str(counter), 'LONG')
... View more
04-29-2015
07:43 AM
|
1
|
5
|
4142
|
|
POST
|
Did they accept the invitation to the group? I think I had this issue and the users hadn't noticed their invitation to the group waiting for them to accept it.
... View more
04-28-2015
01:21 PM
|
2
|
0
|
2441
|
|
POST
|
For posterity, if you are hitting a data specific error, you can throw some debugging code in the script to see which records are giving you problems. In this case, you could pass in the ObjectID to the field calculator function and put it in and arcpy.AddMessage note. This way you would see how far things get before hitting the error.
... View more
04-28-2015
01:04 PM
|
0
|
0
|
2100
|
|
POST
|
Have you tried dropping the "with" statement? That error has something to do with how the with statement catches errors and cleans up objects and it's not finding the __exit__ function for SearchCursor. Maybe try: cursor = arcpy.SearchCursor(infeatures, ['CODE_SECTE'])
... View more
04-28-2015
11:52 AM
|
2
|
1
|
3719
|
|
POST
|
After running the batch file the Web AppBuilder gets opened in a browser window, if you look at the address bar your machine name is in it. I just used that first bit of the address to fill out the registration info on ArcGIS Online.
... View more
04-28-2015
08:52 AM
|
1
|
0
|
2255
|
|
POST
|
The SearchCursor help reference has a sample for getting unique values from a field: import arcpy
fc = 'c:/data/base.gdb/well'
field = 'Diameter'
# Use SearchCursor with list comprehension to return a
# unique set of values in the specified field
values = [row[0] for row in arcpy.da.SearchCursor(fc, field)]
uniqueValues = set(values)
print(uniqueValues)
... View more
04-28-2015
08:48 AM
|
2
|
2
|
3719
|
|
POST
|
Make Feature Layer tool reference - Use the Where Clause parameter to restrict the features you want exported to the various layers.
... View more
04-27-2015
08:04 AM
|
1
|
1
|
3891
|
|
POST
|
Or you could make a feature layer with a definition query FIELD1 = 'BS' etc. and export those features to a separate feature class.
... View more
04-27-2015
07:58 AM
|
0
|
0
|
3891
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-07-2011 12:55 PM | |
| 1 | 01-13-2021 11:29 AM | |
| 2 | 06-05-2024 07:29 AM | |
| 1 | 04-26-2024 11:42 AM | |
| 1 | 02-12-2024 07:49 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-22-2026
07:16 AM
|