POST
|
You are right. That was geometry issue. I added XY, it turned out 151 out of 1470 were NULL. Thanks, Dan!
... View more
06-09-2016
02:40 PM
|
1
|
0
|
3022
|
POST
|
I don't quite understand what you point out...You mean table record? None of the value of in the field "BuffDis" is null or 0 (see the screenshot).
... View more
06-09-2016
02:00 PM
|
0
|
1
|
3022
|
POST
|
I got warning message "WARNING 000635: Skipping feature because of NULL or EMPTY geometry" while doing Buffer_analysis {arcpy.Buffer_analysis("StreetLights",r"C:\MyExercises\Scratch\Temporary Storage.gdb\bf5","BuffDis")}. The input was point feature "StreetLights", The buffer distance was "BuffDis" (which is field of StreetLights). Does anyone know why warning message happened?
... View more
06-09-2016
09:28 AM
|
0
|
4
|
6607
|
POST
|
I just did another screenshot. The same feature with highlight in Table.
... View more
06-02-2016
04:32 PM
|
0
|
0
|
382
|
POST
|
I just tried both (setting gaps/no-gaps). It did not make any difference. 3 screenshots have been enclosed down. Scenario: FireBoxMap layer is polygon (figure #1); FireBoxMap was converted to line; FireBoxMap_PolygonToLine_Buf layer was generated from FireBoxMap using 50 ft as buffer distance (figure #2); union_gap layer came from Union_Analysis of (FireBoxMap layer and FireBoxMap_PolygonToLine_Buf layer) with Gap Allowed (figure #3). The identify info shows the gap (highlight with green on the map). As seen, FID_FireBoxMap is 32, while FID_FireBoxMap_PolygonToLine_Buf is 52.
... View more
06-02-2016
03:08 PM
|
0
|
1
|
382
|
POST
|
I used union_analysis on 2 polygon features. The resulting table did show -1 for some of FID attributes. But when I checked the details on ArcMap, I found out that FID attributes for a lot of gap features were not -1 (instead 18, 22, etc). Does anybody know why? Thanks.
... View more
06-02-2016
12:26 PM
|
0
|
5
|
3030
|
POST
|
Thanks for telling me, Rebecca. I already marked "best answer". I am new to this forum. Are there any restrictions or policies?
... View more
12-21-2015
04:18 PM
|
0
|
4
|
671
|
POST
|
Many thanks, Neil! The code worked fine after a minor change. I am trying to make it clear for anybody who might have the same question in the future. For the output, I had to remove .gdb from "Default.gdb" in order to make it work. So, the output would be "C:/Documents/ArcGIS/Default". I also noticed one interesting thing. All output files were shapefiles (ended with .shp), instead of feature class. Meanwhile, All output files fell outside .gdb. I would definitely like to find out while I get to know more about Python for GIS. Again, thank Neil, thank Dan!
... View more
12-21-2015
04:14 PM
|
0
|
1
|
671
|
POST
|
import arcpy from arcpy import env env.workspace = "C:/Data/City of Oleander.gdb/FireBoxMaps" fcFireboxmaps = arcpy.ListFeatureClasses() for fc in fcFireboxmaps: arcpy.PolygonToLine_management(fc,"C:/Documents/ArcGIS/Default.gdb","IDENTIFY_NEIGHBORS") The above was code. FireBoxMaps is feature dataset, containing about 50 feature classes. I wasn't able to figure out the output feature for PolygonToLine_Management. The above code only output one feature class, not all feature classes. Thanks, Dan
... View more
12-20-2015
09:27 PM
|
0
|
3
|
671
|
POST
|
I have a feature dataset, polygons,containing about 50 feature class. I need to convert them to lines. I was able to do it using PolygonToLine_management to perform the task for individual feature class in ArcMap 10.0 python window. Does "PolygonToLine_management" only work for individual feature class, or can work for the dataset at once? I tried to use for-in loop, it did not work. Any advice appreciated!
... View more
12-20-2015
11:42 AM
|
0
|
13
|
3386
|
Title | Kudos | Posted |
---|---|---|
1 | 06-09-2016 02:40 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|