IDEA
|
If you have your own API deployed on your server go to the file (https://js.arcgis.com/3.18/esri/dijit/editing/Editor.js - on your server ) and find: function(a){return"esriGeometryPolygon"===a.geometryType&&a.visible&&a._isMapAtVisibleScale()} To fix the bug with merging the above must be replaced with: function(a){return a.geometryType&&a.visible&&a._isMapAtVisibleScale()} For some reason Esri is checking if the geometry type is polygon before UNION function is used on the geometry server? WHY??? Removed "esriGeometryPolygon"===a.geometryType Everything working as expected. Hope this helps someone...
... View more
12-14-2016
02:01 AM
|
1
|
0
|
1194
|
POST
|
If you have your own API deployed on your server go to the file (https://js.arcgis.com/3.18/esri/dijit/editing/Editor.js) and find: function(a){return"esriGeometryPolygon"===a.geometryType&&a.visible&&a._isMapAtVisibleScale()} To fix the bug with merging the above must be replaced with: function(a){return a.geometryType&&a.visible&&a._isMapAtVisibleScale()} For some reason Esri is checking if the geometry type is polygon before UNION function is used on the geometry server? WHY??? Removed "esriGeometryPolygon"===a.geometryType Everything working as expected. Hope this helps. Regards, Andrzej
... View more
12-12-2016
09:21 AM
|
1
|
0
|
736
|
IDEA
|
We are working on a project when we would like to link the ArcGIS Online Web Map to the Excel Spreadsheet. The web map and standard feature layers (hosted service on ArcGIS Online) - are coming over fine (see attached) however it would be very useful if the "Map Notes" Layer could be supported as well. Regards, Andrzej Bieniek esri for office webmapp map note
... View more
12-08-2016
04:04 AM
|
3
|
0
|
662
|
POST
|
Hi Dan, thanks for the code... I have created sample app using your code (slightly modified): I have created sample app showing how to get the ArcGIS Online token without the Android SDK - http://github.com/osedok/AGOLAuth Please remember to set valid CLIENT_ID in ArcGISOAuth activity before running the sample.
... View more
02-18-2016
05:07 PM
|
0
|
0
|
607
|
POST
|
Make sure you specify the f and features parameters in the post body (The url has been changed in the code below, so do not try to use it): $scope.addFeature= function(){ var url = "http://services6.arcgis.com/dD0xfCNJ6/arcgis/rest/services/US/FeatureServer/0/addFeatures"; var newFeature = { "geometry" : {"x" : -122.679186, "y" : 45.539699}, "attributes" : { "CandidateName" : "Hillary Clinton" }, "spatialReference" : { "wkid" : "4326" } }; var features = []; features.push(newFeature); var featuresString = JSON.stringify(features); data = "f=json&features="+featuresString; var config={ headers : { 'Content-Type' : 'application/x-www-form-urlencoded; charset=UTF-8' }}; $http.post(url, data, config) .then( function(response){ console.log(response); }, function(response){ console.log(response); } ); }
... View more
02-05-2016
08:16 AM
|
2
|
1
|
2318
|
POST
|
In case of updating existing Alias only second query can be run. If the Alias does not exist yet both queries have to be run - please remember to change your ObjectIDs: /*remove the node in case there is no value yet in the database for the Allias name */
update sde.GDB_ITEMS
set Definition.modify('delete(/DEFeatureClassInfo/AliasName)')
/*Provide the ObjectId of the feature class - can be checked in properties ArcCatalog 10.1 */
WHERE ObjectId = 1218 /* Provide new alias name in the variable below */
DECLARE @AliasName VARCHAR(1024) = 'Area Committees'
UPDATE sde.GDB_ITEMS
SET Definition.modify('insert <AliasName>{sql:variable("@AliasName")}</AliasName> into(/DEFeatureClassInfo)[1]')
/*Provide the ObjectId of the feature class - can be checked in properties ArcCatalog 10.1 */
WHERE OBJECTID=1218
... View more
11-05-2013
02:00 AM
|
0
|
0
|
1403
|
POST
|
Hi Andrzej, Are you using an earlier version perhaps? Yes, we are still having SDE 9.3.1 on production server. The table might be gone in 10... Regards, Andrzej
... View more
07-19-2012
01:31 AM
|
0
|
0
|
355
|
POST
|
In SDE schema there is a table SDE.GDB_FEATURECLASSES - you do select (ORACLE) like: SQL> select id,name,aliasname from gdb_objectclasses where name like '%COUNCIL_WARDS_2012_RESULTS'; to find ID then update the alias and commit the changes: SQL> update gdb_objectclasses set aliasname='NLC Councillors 2012' where id=1173; 1 row updated. SQL> commit; You need to refresh the connection in Arc Catalog to see your alias updated. Have used that method several times - no problems so far. Regards, Andrzej
... View more
06-01-2012
05:31 AM
|
0
|
0
|
355
|
POST
|
Hi guys, I have written an article to illustrate the problem. http://osedok.wordpress.com/2012/01/17/conversion-of-british-national-grid-wkid27700-to-wgs84wkid4326-and-then-to-webmercator-wkid102100/ I have created as well a sample application using custom JS script to convert coordinates using the Helmert datum conversion - check it out... Regards, Andrzej
... View more
01-18-2012
08:25 AM
|
0
|
0
|
2505
|
POST
|
Below is working geoportal.xml file (using Oracle Service name) server_name must be replaced by your real server name service_name must be replaced with your real service name like ORCL
<!-- Context configuration file for the Geoportal Web App -->
<Context docBase="geoportal" path="/geoportal" debug="0" reloadable="true" crossContext="true">
<Resource name="jdbc/gpt" auth="Container"
type="oracle.jdbc.pool.OracleDataSource"
driverClassName="oracle.jdbc.driver.OracleDriver"
factory="oracle.jdbc.pool.OracleDataSourceFactory"
url="jdbc:oracle:thin:@//server_name:1521/service_name"
user="geoportal"
password="geoportalpwd"
maxActive="20"
maxIdle="10"
maxWait="-1" />
</Context>
Depending if u are using SID or ServiceName URL is different:
jdbc:oracle:thin:[USER/PASSWORD]@[HOST][:PORT]:SID
jdbc:oracle:thin:[USER/PASSWORD]@//[HOST][:PORT]/SERVICE
Sample connect string:
url = "jdbc:oracle:thin:@//myhost:1521/orcl"
url = "jdbc:oracle:thin:@myhost:1521:orcl"
I hope it helps. regards
... View more
11-23-2011
04:52 AM
|
0
|
0
|
197
|
Title | Kudos | Posted |
---|---|---|
1 | 12-12-2016 09:21 AM | |
1 | 12-14-2016 02:01 AM | |
2 | 02-05-2016 08:16 AM | |
3 | 12-08-2016 04:04 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|