I am searching for C#/Java libraries that can import and export geographic information (gml/csv file formats) from and to geodatabases.
If not yet available, is there other way to do this task?
Any guidance on the right direction is appreciated.
|
I am searching for C#/Java libraries that can import and export geographic information (gml/csv file formats) from and to geodatabases. If not yet available, is there other way to do this task? Any guidance on the right direction is appreciated. |
|||||||||
|
|
In ArcPy, you can do a table to table conversion, which supports csv. from ESRI: "For file input (.csv or .txt), the first row of the input file is used as the field names on the output table. Field names cannot contain spaces or special characters (such as $ or *), and you will receive an error if the first row of input file contains spaces or special characters."
TableToTable_conversion (in_rows, out_path, out_name, {where_clause}, {field_mapping}, {config_keyword}) in_rows - The input table to be converted to a new table. out_path - The destination where the output table will be written. out_name - The name of the output table. If the Output Location is a folder, convert the Input Rows to a dBASE table by specifying a name with the extension .dbf, or convert the Input Rows to a INFO table by specifying a name with no extension. If the Output Location is a geodatabase, convert the Input Rows to a geodatabase table by specifying a name with no extension. |
|||
|
|
|
You can use the DataInteroperability (DI) - Import/Export tool (using IGPTool) for the same. The extension is enabled by default for ArcEditor for certain formats (including CSV and GML) and allows data to be read/written. I've done a similar export (to GML) some time back and it works perfectly! |
|||||||
|
|
Geodatabase API supports inputs from multiple sources including gml and csv files: http://resources.arcgis.com/content/geodatabases/10.0/file-gdb-api |
|||