killokart.blogg.se

Arcgis 10.3 feature class to feature class tool
Arcgis 10.3 feature class to feature class tool





  1. Arcgis 10.3 feature class to feature class tool install#
  2. Arcgis 10.3 feature class to feature class tool code#

We are still getting getaddrinfo failed using GIS Tools however proceeded with alternate method to to move the Building.json file size ~6.5 GB from Building Feature Class having ~48 million records to HDFS.įollowing steps were followed to load json in Hadoop HDFS using Hive in reference with document

arcgis 10.3 feature class to feature class tool

We followed all the guidelines and steps specified in following weblinks and references: Self._send_request(method, url, body, headers)įile "C:\Python27\ArcGIS10.2\Lib\httplib.py", line 1007, in _send_requestįile "C:\Python27\ArcGIS10.2\Lib\httplib.py", line 969, in endheadersįile "C:\Python27\ArcGIS10.2\Lib\httplib.py", line 829, in send_outputįile "C:\Python27\ArcGIS10.2\Lib\httplib.py", line 791, in sendįile "C:\Python27\ArcGIS10.2\Lib\httplib.py", line 772, in connectįile "C:\Python27\ArcGIS10.2\Lib\socket.py", line 553, in create_connectionįor res in getaddrinfo(host, port, 0, SOCK_STREAM): Unexpected error : getaddrinfo failedįile "D:\GIS tools for hadoop\geoprocessing-tools-for-hadoop-master\geoprocessing-tools-for-hadoop-master\webhdfs\webhdfs.py", line 91, in copyToHDFSįileUploadClient.request('PUT', redirect_path, open(source_path, "rb"), headers=)įile "C:\Python27\ArcGIS10.2\Lib\httplib.py", line 973, in request G) Got Error message 'Unexected error: getaddrinfo failed'

Arcgis 10.3 feature class to feature class tool install#

PExportOperation.We are facing issue while migrating GDB Feature Class to Hadoop HDFS using GIS Tools for Hadoop Geoprocessing tools.įollowing is the system environment details being used :ĬlusterInfo: MasterNode(Nos.1),Secondary Node(Nos.1),DataNodes(Nos.8)įollowing steps followed to install and configure ArcGIS tools for hadoop environment:Ī) Added the ‘geo processing tools for hadoop' Downloaded from GIThub weblink ' ' in hadoop.ī) Enabled webhdfs in hdfs by editing hdfs-site.xml in /opt/hadoop/etc/hadoop/hdfs-site.xml.Ĭ) Added jar 'spatial-sdk-hadoop.jar' and 'esri – geometry - api.jar' in /opt/hadoop 2.4.1/share/hadoop/tools/lib location of our Hadoop master node.ĭ) Browse for ArcGIS Geoprocessing tool Tool box having python scripts for Hadoop using ArcCatalog 10.3.1Į) Above step enables hadoop tools for ArcGIS, and converted the feature class into json file using ‘features to json’ feature in hadoop toolbox.į) ’Copy to hdfs’ Scripting tool in hadoop tool box of ArcGIS has been used in order to copy json files to hdfs. PExportOperation.ExportFeatureClass((IDatasetName)pInFeatureClassName, queryFilter, null, pGeometryDef, pOutFeatureClassName, 0) PExportOperation = new ExportOperation() QueryFilter.WhereClause = iPLANConstants.ATROBJECTID +"=0" Var queryFilter = new QueryFilterClass() PDatasetName.WorkspaceName = pOutWorkspaceName PDatasetName = (IDatasetName)pOutFeatureClassName POutFeatureClassName = new FeatureClassNameClass() POutWorkspaceName = (IWorkspaceName)pDataset.FullName PInFeatureClassName = (IFeatureClassName)pDataset.FullName IWorkspace pInWorkspace = default(IWorkspace) IExportOperation pExportOperation = default(IExportOperation)

arcgis 10.3 feature class to feature class tool arcgis 10.3 feature class to feature class tool

IDatasetName pDatasetName = default(IDatasetName) IFeatureClassName pOutFeatureClassName = default(IFeatureClassName) IWorkspaceName pOutWorkspaceName = default(IWorkspaceName) IFeatureClassName pInFeatureClassName = default(IFeatureClassName) Public void ExportFeatureClass(string strLayerName, IFeatureClass pFeatureClass, IWorkspace pOutWorkspace, ISpatialReference pSpatialReference, IGeometryDef pGeometryDef)

arcgis 10.3 feature class to feature class tool

thanks everyone for your great suggestion

Arcgis 10.3 feature class to feature class tool code#

I have used queryFilter.WhereClause = iPLANConstants.ATROBJECTID +"=0" code to control empty schema.







Arcgis 10.3 feature class to feature class tool