POST
|
I'm using ArcGIS 10.0 flex API 3.0. I'd like to test if two geometries are equal. For that, the relation method is called like follows: var relationParameters:RelationParameters = new RelationParameters(); relationParameters.geometries1 = [geom1]; relationParameters.geometries2 = [geom2]; relationParameters.spatialRelationship = RelationParameters.SPATIAL_REL_RELATION; relationParameters.comparisonString = "IDENTICAL (G1, G2) = TRUE"; _geometryService.addEventListener(GeometryServiceEvent.RELATION_COMPLETE, onGeomCompared); _geometryService.relation(relationParameters); The service is supposed to return a boolean that tells if the two geometries are equal or not. Isn't it? The GeometryServiceEvent returned by the service doesn't contain any boolean and the result object of the event is empty. How can I get the response of the service for my request?
... View more
04-25-2014
07:44 AM
|
0
|
1
|
351
|
POST
|
Wow, what you're saying is "exciting". I'm looking forward to upgrading to the future version! Data management will be much simpler ! Thanks for the info 🙂
... View more
01-07-2014
12:16 AM
|
0
|
0
|
605
|
POST
|
No. The 10.2.x family will be the last release to have command-line (and API and application server) support for ArcSDE. Does it mean that there will be no need to install ArcSDE on the server side? Will desktop (and ArcPy) have direct access to Oracle/PostGIS/... geodatabases? What about the post-install on DB side? ArcSDE is currently accessible as a foundational technology (to both ArcGIS and developers) What do you mean by foundational technology?
... View more
01-06-2014
06:19 AM
|
0
|
0
|
605
|
POST
|
Ok thanks! I understand from what you're saying that in versions 10.1 and 10.2 there are no arcsde command lines. Is it right? I thought ArcSDE and Geodatabase were complimentary homogeneous concepts, since ArcSDE is a particular type of Geodatabase? Do you know when the support for 10.0 is going to stop?
... View more
01-05-2014
11:02 PM
|
0
|
0
|
605
|
POST
|
I'm using 10.0. It doesn't seem to exist in this version.
... View more
01-03-2014
07:20 AM
|
0
|
0
|
605
|
POST
|
Hello, I have an XML schema file of feature classes. I'd like to be able to import that schema into a geodatabase using SDE command or Python script. I don't want to use ArcCatalog. Do you know how I could do that?
... View more
01-03-2014
05:54 AM
|
0
|
9
|
839
|
POST
|
The answer is to append ?f=pjson to the end of the URL.
... View more
12-02-2013
08:22 AM
|
0
|
0
|
265
|
POST
|
Hello, I'm trying to get the JSON response of the submitJob operation launched by a restful call: http://<gp-task-url>/submitJob. I'm using Java7. The response I'm getting is an HTML response, using the code below: URL url = new URL("http://<gp-task-url>/submitJob"); HttpURLConnection connection = (HttpURLConnection) url .openConnection(); connection.setRequestProperty("Content-Type", "application/json"); connection.setRequestMethod("GET"); InputStream is = connection.getInputStream(); Do you have any idea on how to retrieve a JSON response? Thanks.
... View more
12-02-2013
07:55 AM
|
0
|
1
|
2587
|
POST
|
It seems that it's just not possible! http://blogs.esri.com/esri/arcgis/2008/08/12/the-rest-api-cache/
... View more
10-23-2013
08:12 AM
|
0
|
0
|
161
|
POST
|
Hi, I'm using ArcGIS Server 10.0. I have a geoprocessing using arcpy search, update and insert cursors. I'd like to know more about the technology behind these cursors. Does it use any driver or pool to connect to the database (I'm using Oracle 11g)? Does it open a connexion to the DB once at the creation of the cursor and close it when the cursor is deleted? What about transactions? Does the cursor open a new connexion and transaction to the DB each time a row is updated or inserted? Regards.
... View more
09-26-2013
06:44 AM
|
0
|
1
|
471
|
POST
|
I'm using ArcGIS Server 10.0. I've published a pooled asynchronous python geoprocessing service. It works correctly using the Rest API. When I configure the service not to be pooled, I can't access it via the Rest API anymore. I get the following error: Service 'myService' of type 'GPServer' does not exist or is inaccessible. Error code: 404. Is this normal? Below the Pooling tab of my service configuration: [ATTACH=CONFIG]27533[/ATTACH]
... View more
09-18-2013
02:49 AM
|
0
|
1
|
682
|
POST
|
It's 3000 lines. It won't be easy. I'd like to know in general if a geoprocessing with Java ArcObjets would be faster than python arcpy? m also using sql queries with the SdeExecuteSQL function. This function seems to take time too. Is it possible to optimize this?
... View more
09-10-2013
04:49 AM
|
0
|
0
|
444
|
POST
|
Hi, I have a python geoprocessing that takes a lot of time. The geoprocessing calculates geometries using points, polygons, buffers, and cursors. Do you have any hint of how to optimize the geoprocessing? Would it be shorter in time if I used the Java API? Thanks.
... View more
09-09-2013
11:31 PM
|
0
|
10
|
2466
|
POST
|
I found the answer: The problem comes from logger_module.debug(str(strInsert)) I deleted str() and everything runs correctly now with logger_module.debug(strInsert) Do you have any idea why it worked in Eclipse but not in ArcGIS Server?
... View more
09-06-2013
05:25 AM
|
0
|
0
|
306
|
POST
|
I have a simple python script that reads a string from a text file and inserts it into an Oracle database. When I run the script with Eclipse using Pydev plugin I get no error and the message is inserted into database. However, when I run the script using an ArcGIS geoprocessing service (using a toolbox), I get the following error in the logs, and no insertion is performed into database: [06/09/2013-10:30:39.380] ERROR - APPLICATION <module>(<type 'exceptions.UnicodeEncodeError'>, UnicodeEncodeError('ascii', u"INSERT INTO APPLI.ALERT (ID_ALERT,MESSAGE,TYPE_ALERT) values(1617.0,q'[Les coordonn\xe9es ne sont pas correctes\n]',3)", 94, 95, 'ordinal not in range(128)')) The code is the following: try: msg=open("myFile.log", 'r') a=msg.read(20) strInsert = "INSERT INTO APPLI.ALERT(ID_ALERT,MESSAGE,TYPE_ALERT) values(1625.0,'"+a.replace('\"','').decode('utf-8')+"',3)" logger_module.debug(str(strInsert)) SdeExecuteSQL(CONNEXION_FILE,strInsert ) except: python_error_handler() When I open myFile.log with Notepad++ the encoding is ANSI as UTF-8. Do you have any hint? Regards.
... View more
09-06-2013
02:20 AM
|
0
|
1
|
2204
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|