POST
|
How can I recalculate the spatial index for a featureclass in SQL Server programatically? I already use the interfaces IIndexEdit and IGeometryDefEdit to recalculate the index by cloning the old index, following the example "RebuildSpatialIndex" in the developer help. But I have to recalculate the extent because of performance issues. I can do it in ArcCatalog (Button "Neu berechnen" in the picture above), but how to reach the functionality programatically? Thanks for any hint! Frank
... View more
07-31-2015
12:22 AM
|
0
|
5
|
5133
|
POST
|
Hi, I followed the ESRI example and when I initialize the mapview by map = (MapView)findViewById(R.id.map); map.addLayer(new com.esri.android.map.ags.ArcGISDynamicMapServiceLayer( "http://<myServer>/ArcGIS/rest/services/android/MapServer")); it works fine and I can see the map on my mobile tablet, but I've got no popup-Info, because the popupinfo is stored in the webmap. Thus I followed the instructions "Publishing Maps to your ArcGIS Server" and extracted and stored the json of the webmap on our server. Now I initalize the mapView in my Android application by map = new MapView(this, "http://<myServer>/ArcGIS/Mobile/Content/items/ca2a3d910dc048b4ba17218ade3cdd9a", "", ""); But this fails with the following message: 09-26 16:10:34.491: E/ArcGIS(9441): Can not init the MapView from the given WebMap 09-26 16:10:34.491: E/ArcGIS(9441): com.esri.core.io.EsriServiceException: Not Found I don't know what's wrong. Any ideas? If I enter the URL of the content server http://<myServer>/ArcGIS/Mobile/Content/items into my mobile web browser it shows, that my device has access to the hosted map content.
... View more
09-26-2012
06:17 AM
|
0
|
0
|
742
|
POST
|
Hi, I've got a similar problem, but in my case PopupInfo popupInfo = dynamicLayer.getPopupInfo(layerInfo.getId()); always retuns null ( popupInfo == null). Where exactly do I have to define the popup-information for a specific layer? I started from an mxd (connected to a fgdb) and published it as a ArcGIS Server Service (Map Service). Using this MapService in my Android-App (modified ESRI example PopupInWebmapForViewing) does not show any popups because dynamicLayer.getPopupInfo always returns null. Any ideas? Thanks in advance.
... View more
09-24-2012
05:22 AM
|
0
|
1
|
581
|
POST
|
No replies until now. Do you have a solution by now? I've got the same or a similar problem, but only on a windows 7 system. Any helpful ideas are welcome. Regards, Frank
... View more
05-03-2011
01:05 AM
|
0
|
0
|
450
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|