|
POST
|
Is it possible to define case sensitive coded domain attribut values in one feature class in ArcGIS Desktop (10.2.2) for editing? For example I have species 1 with possible habitats A, B, C and species 2 with the possible habitats A, D, E. Or is this only possible if I use one feature class for each species?
... View more
11-20-2017
11:15 PM
|
0
|
2
|
1437
|
|
POST
|
Perfect thank you ! Only a very small thing - it's not arcpy.CopyFeatures_management(infileL, outFeature)
must be:
arcpy.CopyFeatures_management(infileL, fc_pathname ) I think?
... View more
11-08-2017
04:56 AM
|
1
|
1
|
3466
|
|
POST
|
Because I want to tile the "bigger" shape into "shapes" with exactly 99 features and therefore need to give different names for the output feature class.
... View more
11-08-2017
04:21 AM
|
0
|
5
|
3466
|
|
POST
|
I've got a problem with the following script: import arcpy, os
infile = r"C:\temp4\ALK_Merge.shp"
infileL = "infile_Layer"
count = int(arcpy.GetCount_management(infile).getOutput(0))
x = 99
xC = count/x
xC1 = xC + 2
for i in range(1, xC1):
print i
sPath = infile.split(".shp")
print sPath
xRange = i * 99
xRange1 = (i*99)-99
print xRange
print xRange1
outFeature = sPath + "_" + i + ".shp"
arcpy.MakeFeatureLayer_management (infile, infileL)
arcpy.SelectLayerByAttribute_management (infileL, "NEW_SELECTION", "\"FID\" <= " + xRange + "AND" + "\"FID\" >= "+ xRange1 + "")
arcpy.CopyFeatures_management(infileL, outFeature) The problem is in line 25: outFeature = sPath + "_" + i + ".shp" TypeError: can only concatenate list (not "str") to list Any ideas how to solve this?
... View more
11-08-2017
04:13 AM
|
0
|
8
|
7587
|
|
POST
|
Das geht anscheindend nur wenn du den join in einem Modell machst, dann kannst du die echten Feldnamen verwenden.
... View more
08-25-2017
03:14 AM
|
0
|
1
|
3426
|
|
POST
|
Du hast recht, vorgeschlagen wird trotzdem der Alias beim Beschriften. Wenn ich aber über Ausdruck gehe kommen die echten Feldnamen, zumindest bei mir?
... View more
08-25-2017
03:05 AM
|
0
|
4
|
3426
|
|
POST
|
Weiß nicht ob du das meinst, aber in den Layer Eigenschaften kannst du definieren ob der Alias oder der Feldname angezeigt wird. Layer -> Eigenschaften -> Felder -> Optionen -> Feldname anzeigen
... View more
08-25-2017
02:49 AM
|
0
|
6
|
3426
|
|
POST
|
Maybe this tutorial could help you, but it's for QGIS, a free gis software. You could use it to extract a time intervall as Geotiff? http://www.ggiuliani.ch/download/netcdf_qgis_GG.pdf
... View more
08-17-2017
06:10 AM
|
0
|
2
|
2608
|
|
POST
|
Maybe this could help you? Adding shapefile or feature class as layer in ArcGIS Desktop using Python/ArcPy? - Geographic Information Systems Stack …
... View more
08-15-2017
11:58 PM
|
0
|
2
|
8100
|
|
POST
|
Maybe cursors could help you? searchCur = arcpy.SearchCursor(inFC)
inCur = arcpy.InsertCursor(outFC)
for Row in searchCur:
inCur.insertRow(Row)
... View more
08-11-2017
03:09 AM
|
0
|
0
|
1609
|
|
POST
|
I would try to use the shapes or file geodatabase from this page: Download | Global Administrative Areas They have Kosovo as well. Maybe they are accurate enought for you - as I can remember the coordinate system is WGS 84
... View more
08-04-2017
07:01 AM
|
1
|
0
|
6123
|
|
POST
|
Thank you Luke Pinner for the explanation concerning generator expressions.
... View more
08-01-2017
12:34 AM
|
0
|
0
|
2355
|
|
POST
|
Now I use a list with: flist = open(fname).read().splitlines() And this does the job quite well 🙂
... View more
07-31-2017
05:58 AM
|
0
|
2
|
2355
|
|
POST
|
Somehow it loops through the first for ... loop without going to the second for ... loop. Can't you use two for loops in one script?
... View more
07-31-2017
04:42 AM
|
0
|
0
|
2355
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-10-2025 08:08 AM | |
| 1 | 05-13-2025 05:05 AM | |
| 1 | 04-28-2025 03:40 AM | |
| 4 | 08-13-2024 10:49 PM | |
| 1 | 08-13-2024 09:52 PM |
| Online Status |
Offline
|
| Date Last Visited |
20 hours ago
|