A feature class can be of type point, line, or polygon. Arcobjects library reference geodatabase ifeatureworkspace openfeatureclass example visual basic 6. Convert selected features to a shapefile in arcmap esri support. Select the shapefile or geodatabase to be projected. The type is defined by a geometry column shared by all features within the table. Click the browse button next to the output feature class text box. The name of the output shapefile will be the name of the input feature class. Hi, i am writing an extension for arcmap using arcobjects and vb.
Arcgis geoprocessing tool that converts the features from one or more feature classes or layers to a folder of shapefiles. Arcreader is included with any of the arcgis suite of products, and is also available for free to download. Copies the features from one or more feature classes or layers to a folder of shapefiles. Read here how to import shapefiles into arcgis pro. Downloading feature class from arcgis online web map. There are a few ways to do this though it seems to work most reliably for me from the arcmap table of contents. The field map parameter controls how the input fields in the input features will be written to the output features to remove fields during processing, delete output fields from the field map. Arcgis is a geographic information system gis for working with maps and geographic. The layer that the field will be added to must be selected in the table of contents before running the code. Free arcgis gis shapefile maps geospatial data for digital. Huwarcgis desktop help professional library data managementmanaging. Add a new field to a shapefile or a feature class using arcobjects.
Converting a shapefile into a geodatabase feature class. Converts a shapefile, coverage feature class, or geodatabase feature class to a shapefile or geodatabase feature class. How to download and view gis data office of planning. In this section, we will add the same layers we included in the arcgis online exercise into arcmap. I can successfully write the feature service to an esri shapefile, but i. I opened a feature service layer in desktop using the open in arcgis desktop tool. Instructions provide a code sample that shows how to add a new field to a shapefile or featureclass using vba. As part of this extension i would like to access the feature class to feature. Developers should be aware that calling this method on a shapefile workspace when a shapefile of the same name already exists will cause the existing shapefile to be deleted. To explicitly control the output shapefile name and for some additional conversion options, see the feature class to feature class tool. Did you just download a shapefile from the spotzi datashop and do you use arcgis pro.
Feature classes are collections of similar features such as hydrants, roads, or parcels stored as rows in tables. I tried exporting to shapefile and it gave me these errorsattachconfig34332attach i couldnt export as a shapefile from ago due to a odd restriction, but im wondering if its even possible to export as shapefile from a feature service feature class via. I also tried downloading the file geodatabase from arcgis online. Lets walk through how to convert a shapefile into a feature class for storage in the geodatabase you just made. Together, these 4 files are read as one layer by arcgis, as well as by any software that can read the esri shapefile format. Importing shapefiles into arcmap arcgis libguides at university. Creating geodatabases, feature datasets, and feature classes. Depending on the arcgis desktop license level, features can be exported to a shapefile, or to a file, personal, or enterprise geodatabase. Click the browse button next to input dataset or feature class.
It brought it in as a feature service feature class. Download arcgis online feature service to file geodatabase fails. The feature class to shapefile multiple tool is contained in the conversion tools tool box. Feature service feature class to shapefile geonet, the. Under the layers section click on the export to drop down and select whatever export format you want to export to shapefile, csv, kml, fgdb. The createfeatureclass method can be used to create a standalone feature class that is not part of a feature dataset.
927 848 827 493 377 460 1022 400 866 1331 1364 71 1309 444 776 1094 796 330 882 195 73 496 29 26 981 562 946 599 1292 10 93