POST
|
Hello Ismael, Thanks for reply, but currently we are using ArcGIS Sever 10.0 and therefore I have to update .Msd files. So if there an option of programatically updating .Msd files ( not from Mxds) Thanks, Ss
... View more
04-14-2014
05:46 PM
|
0
|
0
|
1333
|
POST
|
Hi, I am in process of updating ArcSDE server from 9.31 10 10.2. There are lots of MSD files that uses old SDE server connection and need to be updated with correct path and Dataset Names. I tried using IMSDHelper to update connection string but I am wondering how to update other parameter's for MSD to republish it. I will highly appreciate any help in this regard. Thanks, Sumit
... View more
04-11-2014
12:59 PM
|
0
|
5
|
5683
|
POST
|
Hi khibma, I have a geoprocessing service �??A�?� that returns output as GPRecordset. Now I want to use the returned recordset as input into another GP service �??B�?� that is created using python script. I am using following to set input type inside the python script for service �??B�?�: Arcpy.GetParameter(0) And from Script side (Gp properties) I am setting input type �??Recordset�?� as parameter type. Attached is the screenshot. But when I try to run the service �??B�?�, it fails as it is not allowing passing record set as input. The workflow I am trying to accomplish is generating tables from GP service �??A�?� and passing that tables (as recordset) to GP service �??B�?� for reporting. I am struggling with passing the data to GP service �??B�?�. I would highly appreciate any help in this regard. FYI: Working with ARCGIS Server 10.0. Thanks, Sumit
... View more
12-07-2013
11:39 AM
|
0
|
0
|
848
|
POST
|
Hi, Please try the following steps: 1. Start Eclipse, then select Help > Install New Software.... 2. Click Add, in the top-right corner. 3. In the Add Repository dialog that appears, enter "ArcGIS 4 Android Plugin" for the Name then click the "Archive" button (not local) and navigate to the .zip file that was downloaded. Cheers!! Sumit
... View more
11-20-2012
07:26 AM
|
0
|
0
|
502
|
POST
|
Hi, Please try the following steps: 1. Start Eclipse, then select Help > Install New Software.... 2. Click Add, in the top-right corner. 3. In the Add Repository dialog that appears, enter "ArcGIS 4 Android Plugin" for the Name then click the "Archive" button (not local) and navigate to the .zip file that was downloaded. Cheers!! Sumit
... View more
11-19-2012
01:10 PM
|
0
|
0
|
398
|
POST
|
Hello Charlie, You don't require EnumExt as this was something I was doing for other test inside the code solution. As this was an engine application therefore m_hookHelper is predefined inside the engine template. If you are creating ArcGIS Desktop application then you can use IMxDocument to get IActiveView. Let me know if you require some more details!! Sumit
... View more
09-24-2012
10:48 AM
|
0
|
0
|
206
|
POST
|
The following code help to add layers in Map using IMap.AddLayers method for auto arrangement of point layers above line layers above polygon layers: IMap pMap; EnumExt test = new EnumExt(); pMap = m_hookHelper.ActiveView.FocusMap; IWorkspaceFactory pWrkFac = new FileGDBWorkspaceFactory(); IWorkspace pWrk = pWrkFac.OpenFromFile(@"C:\Program Files (x86)\ArcGIS\DeveloperKit10.0\Samples\data\California\California.gdb",0); IFeatureLayer pLyr = new FeatureLayerClass(); IEnumDataset pEnumDataset = pWrk.get_Datasets(esriDatasetType.esriDTFeatureClass); IDataset pDataset; IFeatureClass pFeatClass ; IEnumDatasetName pDatasetName; pDatasetName = pWrk.get_DatasetNames(esriDatasetType.esriDTFeatureClass); IName pName; while (pEnumDataset.Next() != null) { try { pName = pDatasetName.Next() as IName; pEnumLayer = pFac.CreateLayersFromName(pName); pMap.AddLayers(pEnumLayer, true); } catch (Exception e) { MessageBox.Show(e.Message); } } m_hookHelper.ActiveView.Refresh();
... View more
09-04-2012
09:46 AM
|
0
|
2
|
670
|
POST
|
Hello Jafarov, From your post I understand that you are trying to add ArcGIS service inside your engine application and wondering if this is a possible workflow. Surely this is a possible workflow. Please refer to following forum on how to do it: --http://forums.esri.com/Thread.asp?c=158&f=2276&t=279387 Cheers!! Sumit
... View more
06-05-2012
01:13 PM
|
0
|
0
|
223
|
POST
|
Can you provide details on how many features get added or updated before you get this error? Also are you using recycling cursor or non-recycling cursor? Try releasing cursor after 40,000 or 50,000 iterations and see if that makes any difference. Cheers!! Sumit
... View more
06-05-2012
01:02 PM
|
0
|
0
|
684
|
POST
|
Hello Porter, Is it an engine application. If it is an engine application then look into this Kbb article. It is a bug in VS 2010. --http://support.esri.com/en/knowledgebase/techarticles/detail/37879 Cheers!! SS
... View more
12-19-2011
11:06 AM
|
0
|
0
|
454
|
POST
|
Hello mike, Please try the following and see if this works!! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=7,IE=9" /> <!--The viewport meta tag is used to improve the presentation and behavior of the samples on iOS devices--> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/> <title> Overview Map </title> <link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.6/js/dojo/dijit/themes/claro/claro.css"> <style> html, body { height: 100%; width: 100%; margin: 0; padding: 0; } </style> <script type="text/javascript"> var djConfig = { parseOnLoad: true }; </script> <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.6"> </script> <script type="text/javascript"> dojo.require("dijit.layout.BorderContainer"); dojo.require("dijit.layout.ContentPane"); dojo.require("esri.map"); dojo.require("esri.dijit.OverviewMap"); var map; function init() { var initExtent = new esri.geometry.Extent({ "xmin":-7413378.648884336,"ymin":1898800.4677371255,"xmax":-7031499.25557178,"ymax":2094785.0082602233,"spatialReference":{"wkid":102100} }); map = new esri.Map("map",initExtent); //resize the map when the browser resizes - view the 'Resizing and repositioning the map' section in //the following help topic for more details http://help.esri.com/EN/webapi/javas...guidelines.htm var resizeTimer; dojo.connect(map, 'onLoad', function(theMap) { //resize the map when the browser resizes dojo.connect(dijit.byId('map'), 'resize', map,map.resize); //add the overview map var overviewMapDijit = new esri.dijit.OverviewMap({ map: map }); overviewMapDijit.startup(); }); oceanBM = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer",{displayLevels:[6,7,8,9]}); map.addLayer(oceanBM); basemap = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer",{displayLevels:[0,1,2,3,4,5,6]}); map.addLayer(basemap); //{displayLevels:[10,11,12,13,14,15,16]} } dojo.addOnLoad(init); </script> </script> </head> <body class="claro"> <div dojotype="dijit.layout.BorderContainer" design="headline" gutters="false" style="width: 100%; height: 100%; margin:0;"> <div id="map" dojotype="dijit.layout.ContentPane" region="center" style="padding:0"> </div> </div> </body> </html> Cheers!! SS
... View more
12-19-2011
09:34 AM
|
0
|
0
|
249
|
POST
|
Hello swingley, You can download the API from "http://resources.arcgis.com/node/agreement/3237" to your local machine and then refer to the path in the following : <script type="text/javascript" src=" Path on your machine/jsapi/arcgis/?v=2.6"></script> Cheers!! SS
... View more
12-19-2011
08:23 AM
|
0
|
0
|
455
|
POST
|
Hey Chris, IS query.objectIds = [feature_id_string]; or query.objectIds=[feature_objectid_string]; Sumit
... View more
11-30-2011
08:16 AM
|
0
|
0
|
241
|
POST
|
Hello Tom, What kind of license do you have i.e. ArcInfo or ArcGIS engine ? Also, Can you provide details on machine specification like is it 32 bit or 64 bit etc. Cheers!! Sumit
... View more
08-18-2011
02:54 PM
|
0
|
0
|
390
|
POST
|
Hello James, If your development environment is 32 bit and are deploying on 64 bit machine then build your application with the compiler option set to x86 in visual studio solution. ESRI components have to be compiled as x86, even though they are being deployed on 64 bit machine. Sumit
... View more
08-03-2011
07:56 AM
|
0
|
0
|
283
|
Online Status |
Offline
|
Date Last Visited |
12-18-2020
12:30 PM
|