POST
|
Hi, You got any solution for this? If so, can you please share it?
... View more
07-01-2015
03:22 AM
|
0
|
0
|
224
|
POST
|
Here we go... LayerFile layerFile = new LayerFile(); layerFile.esri_new(fileName); layerFile.replaceContents(layer); layerFile.setDocumentVersion(esriArcGISVersion.esriArcGISVersion93) layerFile.save(); When saving a layer to a previous version, keep in mind that older versions of ArcGIS may be unable to access newer data sources in the current release. For example, a layer that points to an ArcGIS 10.2.2 geodatabase will not work in earlier versions of ArcGIS. Source: ArcGIS Help (10.2, 10.2.1, and 10.2.2)
... View more
07-21-2014
04:03 AM
|
0
|
0
|
375
|
POST
|
How to save layer file of previous version using ArcObjects Java API from ArcGIS 10.2? I was using the below code, but no option available to specify the layer file version.
ILayerFile layerFile = new LayerFile();
layerFile.esri_new(fileName);
layerFile.replaceContents(layer);
layerFile.save();
... View more
07-16-2014
01:14 AM
|
0
|
1
|
3480
|
POST
|
Thank you Xander, appreciated. I will try this later, as I am busy with my other critical tasks.
... View more
10-29-2013
07:39 AM
|
0
|
0
|
1847
|
POST
|
Hi Xander, Thanks for your response. Actually I was looking about "Feature Attachments", which involves a relationship table to store the attachments for features. Please go through "Query attachments" section in below link, which talks about performing the same task in .Net. http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000001qr000000
... View more
10-29-2013
06:07 AM
|
0
|
0
|
1847
|
POST
|
"Feature attachments" is the new feature from ArcGIS 10 on wards. How to extract feature attachments and save to disk using Python?
... View more
10-24-2013
01:13 AM
|
0
|
32
|
19905
|
POST
|
Hi, Where can I find the REST API help document for ALL the Raster Functions. I have gone through http://resources.arcgis.com/en/help/rest/apiref/index.html?israsterfunctions.html but it doesn't contain the help for ALL the raster functions. I was looking for help about "Mask Function". Basically, I want to know, how to pass the parameters for "Mask Function" using 1. REST API 2. ArcMap ("Server Functions" tab for Image Service layer properties window).
... View more
07-22-2013
04:17 AM
|
0
|
0
|
1121
|
POST
|
All basemaps must share the same spatial reference for basemapgallery.
... View more
11-04-2012
03:54 AM
|
0
|
0
|
480
|
POST
|
Is there SOE Walkthrough for ArcGIS 10.1 Java available? I am only finding it for ArcGIS 10.
... View more
09-10-2012
07:45 PM
|
0
|
2
|
390
|
POST
|
This java code works... import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; private static void clearRestCache(String server, String username, String password) { DefaultHttpClient httpclient = new DefaultHttpClient(); try { String loginUrl = "http://" + server + ":8399/arcgis/rest/admin/login"; String cacheClearUrl = "http://" + server + ":8399/arcgis/rest/admin/cache/clear"; HttpGet httpget = new HttpGet(loginUrl + "?username=" + username + "&password=" + password + "&redirect=" + cacheClearUrl); httpclient.execute(httpget); } catch (Exception e) { e.printStackTrace(); } finally { httpclient.getConnectionManager().shutdown(); } }
... View more
08-15-2011
10:43 PM
|
0
|
0
|
507
|
POST
|
This java code works... import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; private static void clearRestCache(String server, String username, String password) { DefaultHttpClient httpclient = new DefaultHttpClient(); try { String loginUrl = "http://" + server + ":8399/arcgis/rest/admin/login"; String cacheClearUrl = "http://" + server + ":8399/arcgis/rest/admin/cache/clear"; HttpGet httpget = new HttpGet(loginUrl + "?username=" + username + "&password=" + password + "&redirect=" + cacheClearUrl); httpclient.execute(httpget); } catch (Exception e) { e.printStackTrace(); } finally { httpclient.getConnectionManager().shutdown(); } }
... View more
08-15-2011
10:42 PM
|
0
|
0
|
575
|
POST
|
This java code works... import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; private static void clearRestCache(String server, String username, String password) { DefaultHttpClient httpclient = new DefaultHttpClient(); try { String loginUrl = "http://" + server + ":8399/arcgis/rest/admin/login"; String cacheClearUrl = "http://" + server + ":8399/arcgis/rest/admin/cache/clear"; HttpGet httpget = new HttpGet(loginUrl + "?username=" + username + "&password=" + password + "&redirect=" + cacheClearUrl); httpclient.execute(httpget); } catch (Exception e) { e.printStackTrace(); } finally { httpclient.getConnectionManager().shutdown(); } }
... View more
08-15-2011
10:42 PM
|
0
|
0
|
392
|
POST
|
I resolved this issue. Deleted the file D:\ArcGIS\java\manager\service\tomcat\managerappserver\work\Catalina\localhost\arcgis_rest\org\apache\jsp\www\geometryserver\geometryserver_002djson_jsp.class At my next visit to the json url of GeometryService, geometryserver_002djson_jsp.class file recreated with out any error.
... View more
08-15-2011
10:39 PM
|
0
|
0
|
509
|
POST
|
When I hit the URL http://localhost:8399/arcgis/rest/services/Geometry/GeometryServer?f=pjson in the browser or from code, got the below json response. {"error": { "code": 500, "message": "Incompatible magic value 0 in class file org/apache/jsp/www/geometryserver/geometryserver_002djson_jsp", "details": [] }} What could be the reason and solution for this. Appreciate you support.
... View more
08-15-2011
09:12 PM
|
0
|
1
|
2164
|
Title | Kudos | Posted |
---|---|---|
1 | 11-29-2020 12:16 AM | |
1 | 03-03-2024 08:18 AM | |
1 | 10-08-2023 01:21 AM | |
1 | 08-02-2023 08:25 AM | |
1 | 08-01-2023 06:49 AM |
Online Status |
Offline
|
Date Last Visited |
Thursday
|