3
I generated a bunch of data, did some queries and found some interesting results.
First, I started with 1137 hydrographic features (27,232 vertices) for New York (geographic CS, NAD83 datum), in shapefile hydro. Then I densified the vertices at a 100 meter interval to kick the vertex count up to 187,525 in shapefile hydro_100m.
Next I generated hexagon ...
2
I you copy the original shapefile (say countries_original.shp) so that you get a second shapefile (say countries_2.shp), than you can delete the countries there. This does NOT affect your original File countries_original.shp. There, you will still have all the original information. Be aware however that shapefiles consist of several files (at least three, ...
1
A KMZ/KML can store multiple geometrie-types. A shapefile just one. I guess that is the reason for the FGDB output (multiple Feature Classes). So the FGDB can theoretically contain a point, line and polygon feature class. With arcpy.ListFeatureClasses and arcpy.FeatureClassToShapefile_conversion a conversion is possible.
import arcpy
import os
def ...
1
The KML To Layer tool will always output a File Geodatabase. I don't know why that is, but the documentation for the Output Location says (emphasis mine):
Output location: The destination folder for the file geodatabase and layer (.lyr) file.
If you need a shapefile, you will need KML To Layer first, and then Copy Features (in the Data Management tools,...
1
Most probably you are using a reserved word for file geodatabase (https://support.esri.com/en/technical-article/000010906), explained as:
Using a reserved word as a column name will return an error indicating
that the column name is invalid. Copy/Paste from a data source where
the word is not reserved will add a "_" to the end of any table or
column ...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
shapefile × 4225qgis × 1144
arcgis-desktop × 581
python × 399
r × 295
coordinate-system × 262
polygon × 221
postgis × 218
convert × 196
gdal × 186
data × 181
raster × 179
arcmap × 176
arcpy × 172
ogr2ogr × 162
ogr × 132
csv × 120
kml × 119
geojson × 107
vector × 103
attribute-table × 103
postgresql × 93
merge × 92
fields-attributes × 90
pyqgis × 89