|
POST
|
I cannot build the EAZ in 2500 now either. Just installed 2500, get the same build failure. Has anyone been able to build an EAZ with AGX 2500? I am using VS2010. Can someone on the ArcGIS Explorer Team please respond? Thanks!
... View more
02-15-2013
02:49 AM
|
0
|
0
|
616
|
|
POST
|
YES, we're having the same problem. We have large Enterprise GDB. Registering the geodata service takes hours. Is there another way to get the service registered without waiting? This is a MAJOR problem. Thanks! I am working with a 10.1 SDE geodatabase that contains hundreds of tables, feature classes, and mosaic datasets. This geodatabase has been successfully registered with ArcGIS Server (10.1). Now I am trying to create a Geodata Service (in ArcCatalog) using the same SDE connection file that was used when the geodatabase was registered with ArcGIS Server, but the whole process grinds to a halt with no sign of progress during the Analyze/Publish step. My hope is that it will eventually finish if I leave ArcCatalog running (~1hr in at the time of this post), but what I'd like to know is what is causing this process to take so incredibly long and whether or not there is any to speed it up. On a related note, I also tried the "Stage Service" Geoprocessing Tool to try creating an SD file using an SD-Draft. This approach appears to suffer from the same performance problem as the Publish Service wizard. Has anyone else ran into a similar issue?
... View more
01-24-2013
03:43 AM
|
0
|
0
|
381
|
|
POST
|
After doing some testing, the GDB will need to be upgraded after ArcGIS Server. We could not connect from ArcGIS Server 10.0 to an ArcSDE 10.1 instance.
... View more
01-16-2013
06:28 AM
|
0
|
0
|
887
|
|
POST
|
Can someone provide the JSON or links to examples? I'm trying to use the Admin API to create new services. Thanks!
... View more
01-11-2013
01:22 PM
|
0
|
1
|
793
|
|
POST
|
Can we upgrade ArcSDE and all Desktop clients from 10.0 to 10.1 without ever upgrading ArcGIS Server? Pros/Cons?
... View more
01-11-2013
12:02 PM
|
0
|
0
|
887
|
|
POST
|
We are using Enterprise Standard ArcGIS Server/ArcSDE. What are the disadvantages of not upgrading ArcGIS Server while upgrading Desktop/ArcSDE? Is there any online documentation regarding this?
... View more
01-11-2013
03:08 AM
|
0
|
0
|
887
|
|
POST
|
What order is recommended for upgrading? Desktop, Server, ArcSDE? Do you need to upgrade all at once? Can you just do Desktop? Can you just do Desktop and ArcSDE? What are the pros/cons? Thanks!
... View more
01-10-2013
10:03 AM
|
0
|
7
|
1542
|
|
POST
|
After zooming to SITE 2 Image Service, the service disappears? This does not happen with Site 1 or 2. See code below? You should be able to copy/paste code to test. Any input would be great. Thanks! <!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" /> <!--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>GES Demo</title> <link rel="stylesheet" type="text/css" href="http://localhost/arcgis_js_api/library/2.8/jsapi/js/dojo/dijit/themes/tundra/tundra.css"> <style type="text/css"> html, body { height: 100%; width: 100%; margin: 0; padding: 0; } body{ background-color:#777; overflow:hidden; font-family: "Trebuchet MS"; } #map{ overflow:hidden; padding:0; } </style> <script type="text/javascript"> var djConfig = { parseOnLoad: true }; function OnChangeDDMapService() { var dd = document.getElementById('siteDD'); var dd2 = document.getElementById('siteDD2'); if (dd[1].selected) { map.setExtent(imageServiceLayer.fullExtent); //lockRasterID1 = 10; dd2.selectedIndex = lockRasterID1; } if (dd[2].selected) { map.setExtent(imageServiceLayer2.fullExtent); //lockRasterID2 = 10; dd2.selectedIndex = lockRasterID2; } if (dd[3].selected) { map.setExtent(imageServiceLayer3.fullExtent); //lockRasterID3 = 10; dd2.selectedIndex = lockRasterID3; } return true; } function OnChangeDDImage() { var dd = document.getElementById('siteDD'); var dd2 = document.getElementById('siteDD2'); var params = new esri.layers.ImageServiceParameters(); var mr = new esri.layers.MosaicRule(); mr.method = esri.layers.MosaicRule.METHOD_LOCKRASTER; mr.lockRasterIds = [dd2.selectedIndex]; params.noData = 0; if (dd[1].selected) { map.removeLayer(imageServiceLayer); map.removeLayer(dynlayer); lockRasterID1 = dd2.selectedIndex; if (lockRasterID1!=10) params.mosaicRule = mr; imageServiceLayer = new esri.layers.ArcGISImageServiceLayer(imgSrvURL1, { imageServiceParameters: params }); map.addLayer(imageServiceLayer); dynlayer = new esri.layers.ArcGISDynamicMapServiceLayer(mapSrvURL1, { "opacity": 0.5 }); map.addLayer(dynlayer); } if (dd[2].selected) { map.removeLayer(imageServiceLayer2); map.removeLayer(dynlayer2); lockRasterID2 = dd2.selectedIndex; if (lockRasterID2 != 10) params.mosaicRule = mr; imageServiceLayer2 = new esri.layers.ArcGISImageServiceLayer(imgSrvURL2, { imageServiceParameters: params }); map.addLayer(imageServiceLayer2); dynlayer2 = new esri.layers.ArcGISDynamicMapServiceLayer(mapSrvURL2, { "opacity": 0.5 }); map.addLayer(dynlayer2); } if (dd[3].selected) { map.removeLayer(imageServiceLayer3); map.removeLayer(dynlayer3); lockRasterID3 = dd2.selectedIndex; if (lockRasterID3 != 10) params.mosaicRule = mr; imageServiceLayer3 = new esri.layers.ArcGISImageServiceLayer(imgSrvURL3, { imageServiceParameters: params }); map.addLayer(imageServiceLayer3); dynlayer3 = new esri.layers.ArcGISDynamicMapServiceLayer(mapSrvURL3, { "opacity": 0.5 }); map.addLayer(dynlayer3); } return true; } </script> <script type="text/javascript" src="http://localhost/arcgis_js_api/library/2.8/jsapi/"> </script> <script type="text/javascript"> dojo.require("dijit.dijit"); // optimize: load dijit layer dojo.require("dijit.layout.BorderContainer"); dojo.require("dijit.layout.ContentPane"); dojo.require("esri.map"); var map; var basemapURL = "http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"; var imgSrvURL1 = "http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Portland/CascadeLandsat/ImageServer"; var mapSrvURL1 = "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer"; var imgSrvURL2 = "http://sampleserver6.arcgisonline.com/arcgis/rest/services/CharlotteLAS/ImageServer"; var mapSrvURL2 = "http://sampleserver6.arcgisonline.com/arcgis/rest/services/911CallsHotspot/MapServer"; var imgSrvURL3 = "http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/CaliforniaDEM/ImageServer"; var mapSrvURL3 = "http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/MapServer"; var imageServiceLayer; var imageServiceLayer2; var imageServiceLayer3; var dynlayer; var dynlayer2; var dynlayer3; var lockRasterID1 = 10; var lockRasterID2 = 10; var lockRasterID3 = 10; function init() { var initialExtent = new esri.geometry.Extent({ "xmin": -2920505.97, "ymin": 2930600.98, "xmax": 7215655.47, "ymax": 6834392.88, "spatialReference": { "wkid": 102113} }); map = new esri.Map("map", { extent: initialExtent }); dojo.connect(map, 'onLoad', function (map) { //resize the map when the browser resizes dojo.connect(dijit.byId('map'), 'resize', map, map.resize); }); var basemap = new esri.layers.ArcGISTiledMapServiceLayer(basemapURL); map.addLayer(basemap); var params = new esri.layers.ImageServiceParameters(); params.noData = 0; //Site 1 imageServiceLayer = new esri.layers.ArcGISImageServiceLayer(imgSrvURL1, { imageServiceParameters: params }); map.addLayer(imageServiceLayer); dynlayer = new esri.layers.ArcGISDynamicMapServiceLayer(mapSrvURL1, { "opacity": 0.5 }); map.addLayer(dynlayer); //Site 2 imageServiceLayer2 = new esri.layers.ArcGISImageServiceLayer(imgSrvURL2, { imageServiceParameters: params }); map.addLayer(imageServiceLayer2); dynlayer2 = new esri.layers.ArcGISDynamicMapServiceLayer(mapSrvURL2, { "opacity": 0.5 }); map.addLayer(dynlayer2); //Site 3 imageServiceLayer3 = new esri.layers.ArcGISImageServiceLayer(imgSrvURL3, { imageServiceParameters: params }); map.addLayer(imageServiceLayer3); dynlayer3 = new esri.layers.ArcGISDynamicMapServiceLayer(mapSrvURL3, { "opacity": 0.5 }); map.addLayer(dynlayer3); } //show map on load dojo.addOnLoad(init); </script> </head> <body class="tundra"> Zoom to Site: <select name='siteDD' id='siteDD' onchange='OnChangeDDMapService();'> <option selected>Select a Site</option> <option>1</option> <option>2</option> <option>3</option> </select> Lock Raster Ids: <select name='siteDD2' id='siteDD2' onchange='OnChangeDDImage();'> <option>0</option> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option selected>ALL</option> </select> <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"> </div> </div> </body> </html>
... View more
08-30-2012
08:58 AM
|
0
|
2
|
584
|
|
POST
|
Why would we get this over and over in our AGS logs? Thanks! <Msg time='2012-06-22T11:48:07' type='ERROR' code='100005' target='World_DEM.ImageServer' methodName='ImageServer.GetFields' machine=xxx process='26396' thread='24600' elapsed='0.00080'>Method failed.HRESULT = 0x80004005 : Unspecified error .</Msg>
... View more
06-23-2012
10:49 AM
|
1
|
6
|
3359
|
|
POST
|
Thanks for the response. Can anyone at Esri tell me if the SDK will change dramatically with the next release? Will the next release affect current customizations? Thanks!
... View more
04-28-2012
07:04 PM
|
0
|
0
|
934
|
|
POST
|
Here is a link to the web service I am trying to do an identify on. I'd like to simple click on a line and return the attributes. How do I do this with the Android API? http://www.arcgis.com/home/webmap/viewer.html?webmap=50ff9d5984604f81ac5872355162f560 What type of layer is returned in the map service so I can do an identify? Can someone provide a code snippet? Thanks! The layers from this service are not caught in any of the below: if (layer instanceof ArcGISTiledMapServiceLayer) { } if (layer instanceof ArcGISFeatureLayer) { } if (layer instanceof ArcGISDynamicMapServiceLayer) { }
... View more
04-18-2012
10:27 AM
|
0
|
0
|
1751
|
|
POST
|
I am using some code from the "Popup In Web Map For Viewing Sample" to identify features. I have a map service I authored with ArcGIS Online. I imported shapefiles into ArcGIS Online to author the map. When I try to identify features, the progressDialog never goes away. I notices that the "layer" from the ArcGIS online map service is not an instance of either ArcGISFeatureLayer or ArcGISDynamicMapServiceLayer? Any suggestions for fixing the sample code to work with my ArcGIS online service? Thanks! public void onSingleTap(float x, float y) { if (map.isLoaded()) { // Instantiate a PopupContainer popupContainer = new PopupContainer(map.getContext()); int id = popupContainer.hashCode(); popupDialog = null; // Display spinner. if (progressDialog == null || !progressDialog.isShowing()) progressDialog = ProgressDialog.show(map.getContext(), "", "Locating information..."); // Loop through each layer in the webmap int tolerance = 30; Envelope env = new Envelope(map.toMapPoint(x, y), 40 * map.getResolution(), 40 * map.getResolution()); Layer[] layers = map.getLayers(); count = new AtomicInteger(); for (Layer layer : layers) { // If the layer has not been initialized or is invisible, do nothing. if (!layer.isInitialized() || !layer.isVisible()) continue; if (layer instanceof ArcGISFeatureLayer) { // Query feature layer and display popups ArcGISFeatureLayer featureLayer = (ArcGISFeatureLayer) layer; if (featureLayer.getPopupInfo() != null && featureLayer.getPopupInfo().isInitialized()) { // Query feature layer which is associated with a popup definition. count.incrementAndGet(); new RunQueryFeatureLayerTask(x, y, tolerance, id).execute(featureLayer); } } else if (layer instanceof ArcGISDynamicMapServiceLayer) { // Query dynamic map service layer and display popups. ArcGISDynamicMapServiceLayer dynamicLayer = (ArcGISDynamicMapServiceLayer) layer; // Retrieve layer info for each sub-layer of the dynamic map service layer. ArcGISLayerInfo[] layerinfos = dynamicLayer.getAllLayers(); if ( layerinfos == null ) continue; // Loop through each sub-layer for (ArcGISLayerInfo layerInfo : layerinfos) { // Obtain PopupInfo for sub-layer. PopupInfo popupInfo = dynamicLayer.getPopupInfo(layerInfo.getId()); // Skip sub-layer which is without a popup definition. if ( popupInfo == null || ! popupInfo.isInitialized() ) { continue; } // Check if a sub-layer is visible. ArcGISLayerInfo info = layerInfo; while ( info != null && info.isVisible() ) { info = info.getParentLayer(); } // Skip invisible sub-layer if ( info != null && ! info.isVisible() ) { continue; }; // Check if the sub-layer is within the scale range double maxScale = (layerInfo.getMaxScale() != 0) ? layerInfo.getMaxScale():popupInfo.getMaxScale(); double minScale = (layerInfo.getMinScale() != 0) ? layerInfo.getMinScale():popupInfo.getMinScale(); if ((maxScale == 0 || map.getScale() > maxScale) && (minScale == 0 || map.getScale() < minScale)) { // Query sub-layer which is associated with a popup definition and is visible and in scale range. count.incrementAndGet(); alertbox("RunQueryFeatureLayerTask","dynamic"); new RunQueryDynamicLayerTask(env, popupInfo, dynamicLayer.getSpatialReference(), id).execute(dynamicLayer.getUrl() + "/" + layerInfo.getId()); } } } } } } });
... View more
04-13-2012
09:16 PM
|
0
|
7
|
6135
|
|
POST
|
When is the next release expected for ArcGIS Explorer Desktop? Thanks!
... View more
04-04-2012
09:54 AM
|
0
|
6
|
1916
|
|
POST
|
I guess this is a bug: IIdentify::Identify is always null. Can anyone provide a code sample which shows differently?
... View more
01-31-2012
11:54 AM
|
0
|
0
|
393
|
|
POST
|
I'm trying to remove layers which have zero map features. Unfortunately, the returned array from IIdentify::Identify is always null. IWMSGroupLayer wmsGroupLayer = (IWMSGroupLayer)wmsMapLayer.Layer[0]; for (int layerCount = 0; layerCount < wmsGroupLayer.Count; layerCount++) { ILayer lyr = (ILayer)wmsGroupLayer.Layer[layerCount]; ESRI.ArcGIS.Geodatabase.IGeoDataset geoDS = (ESRI.ArcGIS.Geodatabase.IGeoDataset) lyr; IIdentify id = (IIdentify) lyr; IArray idArray = (IArray)id.Identify(geoDS.Extent); if (idArray == null) { Log(lyr.Name + "; Feat Count: null (zero)"); //wmsGroupLayer.Delete(lyr); //layerCount -= 1; } else { Log(lyr.Name + "; Feat Count: " + idArray.Count); } }
... View more
01-19-2012
05:20 AM
|
0
|
0
|
393
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-19-2019 10:17 PM | |
| 1 | 06-23-2012 10:49 AM | |
| 1 | 05-11-2017 06:33 AM | |
| 1 | 03-23-2015 06:16 AM | |
| 1 | 12-19-2017 12:21 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|