POST
|
badly needed anyone's help... I'm doing this project in VS2013 with 10.3 license using Kernel Density... But getting this errors in this line pDensityOp.KernelDensity(pInputDataset, 200, 5) I did research and read what causes ERROR 010429 but I have enough disk space (29gb) and I can do Kernel Density manually in ArcDesktop which means that my SHP is not corrupted... Dim pMap As IMap = Form1.AxMapControl1.ActiveView.FocusMap Dim pDensityOp As IDensityOp = New RasterDensityOp 'Create Raster Analysis Environment and set output cell size Dim pEnv As IRasterAnalysisEnvironment = pDensityOp pEnv.SetCellSize(esriRasterEnvSettingEnum.esriRasterEnvValue, 50) Dim pWorkspaceFactory As IWorkspaceFactory = New ESRI.ArcGIS.DataSourcesFile.ShapefileWorkspaceFactory Dim pWorkSpace As IFeatureWorkspace = pWorkspaceFactory.OpenFromFile(shpKernelDensityPath, 0) Dim pFeatureClass As IFeatureClass = pWorkSpace.OpenFeatureClass(shpKernelDensityName) Dim pInputDataset As IGeoDataset = pFeatureClass Dim pOutputDataset As IGeoDataset = pDensityOp.KernelDensity(pInputDataset, 200, 5) I'm not entirely sure of what I'm doing is correct or not... Just relying on samples and google... Hope someone can help me with this... Thanks
... View more
03-22-2017
08:41 PM
|
0
|
0
|
333
|
POST
|
so after 2 weeks of headbanging on the desk... I have found out the problem... don't add this both in your code ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Engine) ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop) just use this ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop) and everything will be ok...
... View more
03-13-2017
10:28 PM
|
0
|
0
|
5
|
POST
|
Hi so for some days now I have been struggling with my application not running on a Desktop License and have made it work... for those who want to know what i have done HERE IS THE LINK TO MY OTHER THREAD ... Now here's what I'm trying to do for 4 days now... Making the same Custom Application work using ArcGIS Engine Runtime 10... The runtime is using the license I am also using on the Developer Kit... And every time I try to run the application it just stop working... Been checking the Process in Task Manager to see if it really is running... It's there for some seconds and its gone... That's what is happening if I run it as Administrator... But when I just double click the exe file... It gives me an Microsoft error but sometime it just closes... I can't catch the error using codes... Maybe someone can help me with this... Thanks
... View more
05-08-2014
01:30 AM
|
0
|
0
|
259
|
POST
|
Here's an update... Don't know if this is a bug or what... But I have made the Custom Application work on a Desktop License... What i have found out is that there is nothing wrong in the codes but in the Ax Controls... When i enable the Preview in Design Mode the applications in looking for the Developers Kit License... But when it is disabled the application will run... Hope this can help others with the same problem... Thanks for answering Brent... how can i give you the point? 🙂
... View more
05-08-2014
01:19 AM
|
0
|
0
|
20
|
POST
|
Assuming the geodatabase already exists, you can do something like this: FeatureClassToFeatureClass export = new FeatureClassToFeatureClass(); export.in_features = "PATH_TO_SHAPEFILE"; export.out_path = "PATH_TO_GEODATABASE_DATASET"; export.out_name = "NEW_FEATURE_CLASS_NAME"; Geoprocessor geoprocessor = new Geoprocessor(); // set your geoprocessor environment settings here // ... geoprocessor.OverwriteOutput = true; geoprocessor.Execute(export, null); // check return / messages / etc... Note: This code is not complete but should be good enough to get you started.
... View more
06-18-2013
04:15 AM
|
0
|
0
|
3
|
POST
|
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//0023000000nq000000 sorry but i don't see anything related to entity data model in that link... or i just don't know what you mean...
... View more
03-18-2013
01:03 AM
|
0
|
0
|
5
|
POST
|
hi, im trying to creat a custom toolbar with tools for arcmap. i have a combobox in it and added some codes in the ComboBox1_SelectedIndexChange() to remove all layers. here's the code added private sub ComboBox1_SelectedIndexChange() removeLayers() end sub sub removeLayers() Dim pMxDoc as IMxDocument = DirectCast(m_Application.Document, IMxDocument) Dim pMap as IMap = pMxDoc.FocusMap pMap.ClearLayers() pMxDoc.UpdateContents() pMxDoc.ActiveView.Refresh() end sub but when I start debugging to test if the code is working I get the error NullReferenceException was unhandled bu user code Object reference not set to an instance of an object. can someone help me with this... i'm using VS2008 and arcgis 9.3
... View more
06-08-2011
07:22 PM
|
0
|
0
|
566
|
Online Status |
Offline
|
Date Last Visited |
12-01-2020
03:33 AM
|