|
POST
|
Thanks Vince for the information and clarification of terms. I would like to give it a try and compare the performance to that of an event theme as I am not sure that our agency is ready to change out tables to add SQL geometry. I am using SQL 2008 R2 SP2 with ArcGIS 10.1 SP1. The existing SQL table contains the following fields [ATTACH=CONFIG]29289[/ATTACH] I appreciate any further assistance you can provide. Thanks, Mele
... View more
11-22-2013
08:01 AM
|
0
|
0
|
6058
|
|
POST
|
I was watching an ESRI video called "Web Enabling Databases with ArcGIS for Server" and I thought I heard them say that SQL Geomety could be created on the fly in a view or in ESRI terms with a Query Layer. I have a couple of SQL tables that have LAT/LONG and I would like to used this information to create SQL geometry for each row rather than creating an event theme from the LAT/LONG values. Due to restrictions on the database table, I am not able to add a Geomtry field to the table itself so I thought I would try to do it via a view/query layer and bring it into ArcMap that way. I have not been able to find any examples of doing this. Let me know if this is possible and more importantly, if there are some examples of doing so. Thanks, Mele
... View more
11-22-2013
07:05 AM
|
2
|
6
|
10655
|
|
POST
|
Just started to play around with the 3.7 API and found the refreshInterval property very interesting. I am able to set a value on a ArcGISDynamicMapServiceLayer and watch our vehicle locations update using the code below: var wtrvehMSL = new esri.layers.ArcGISDynamicMapServiceLayer("http://arcserver/ArcGIS/rest/services/WaterWO/Water_WO_Misc/MapServer",
{
[INDENT][/INDENT]refreshInterval: .05
}); Pretty cool stuff, but when I try to use a FeatureLayer, the map does not refresh. I have tried using all different modes, but no luck. Has anyone tried this yet with a FeatureLayer and if so do you have some code that worked? Thanks, Mele
... View more
10-02-2013
01:06 PM
|
0
|
0
|
2344
|
|
POST
|
I have a .NET application that uses an ITable to input into the Append Class from the DataManagementTools Namespace. I would like to send a subset of the ITable selected rows as input to the Append Class, but am not sure how to create this. I tried using the ITable.Select Method, but this returns an ISelectionSet. I would like what amounts to a view of the ITable by applying a QueryFilter. Any ideas on how to do this? Thanks, Mele
... View more
08-28-2013
03:37 PM
|
0
|
1
|
1009
|
|
POST
|
Thanks Ben, I did find the FEATURE_LAYER.fields object and its Aliases. What I would like to do is use that to substitute the field name results of getSelectedFeatures, with the Alias programmatically. Please let me know if anyone has a code sample. Thanks, Mele
... View more
07-19-2013
08:56 AM
|
0
|
0
|
1251
|
|
POST
|
I am using the selectFeatures method on a Feature Layer to select features. Upon completing the selection, I am calling the .getSelectedFeatures method which returns the features and their attributes selectecd from a FeatureLayer. I would like to get the Alias and value, rather than the field name and value to display in a form. How can I get the Field Alias and Field Value after executing the getSelectedFeatures method? Thanks, Mele
... View more
07-19-2013
08:27 AM
|
0
|
3
|
1778
|
|
POST
|
Thanks for the link to the existing thread. I ended up using this code from the linked forum post in the init function and it looks promising for fixing our issue: esri.setRequestPreCallback(function (ioArgs) {
try {
if (ioArgs.url.indexOf("FeatureServer") > -1 &&
ioArgs.content.returnGeometry == true) {
ioArgs.preventCache = true;
}
return ioArgs;
} catch (e) {
console.log(e.toString());
return ioArgs;
}
});
... View more
07-19-2013
08:07 AM
|
0
|
0
|
988
|
|
POST
|
We have a JavaScript web application running on IIS that allows users to delete and add features using an ArcGIS 10.0 Feature Server and we recently encountered a new issue. When a Feature is deleted from the map, it is removed from the SDE database and from the current view. However, when zooming out, the feature can be seen at other map extents if it existed when the application was started. Also, if a feature is added, it is shown in the current view, but cannot be seen at other views. The feature remains selectable as well. To investigate the issue, we used Fiddler and IE Developer tools to see the requests. In the IE Developer Tools, we can see that the Requested Query on the Feature Layer is getting a cached copy of the Query and not going back to the Server because the Result shows a 304 code. To test this out, I changed my IE browser to ???Always refresh from server??? and this resolved the issue, but I would like the Tiled services to utilize cached data and this is an all or nothing setting. \We are using the ON_DEMAND mode on the Feature Layers used for editing We had not seen this until a recent republish of the website. I don???t think it is practical to force our users to change their browser settings. Is there a setting in IIS that can be used to change this behavior or something in the application that is making this happen? Thanks, Mele
... View more
07-12-2013
12:16 PM
|
0
|
2
|
1688
|
|
POST
|
I would like to get the map click point, buffer it, and then use the resulting buffer polygon to Identify features with the IdentifyTask. The IdentifyTask does not execute using the code below, but if I use the evt.mapPoint, it does execute. Has anyone used a polygon as input into the IdentifyTask and can you tell me what I am doing wrong in this code? Thanks, Mele function executeIdentifyTask(evt) {
var bufferGeometry;
params = new esri.tasks.BufferParameters();
params.bufferSpatialReference = new esri.SpatialReference({ wkid: 2223 });
params.geometries = [evt.mapPoint];
params.distances = [35];
params.outSpatialReference = map.spatialReference;
gsvc = new esri.tasks.GeometryService("http://Server/Utilities/Geometry/GeometryServer");
gsvc.buffer(params);
gsvc.on("buffer-complete", function (result) {
bufferGeometry = result.geometries[0]
identifyParams.geometry = bufferGeometry;
//identifyParams.geometry = evt.mapPoint;
identifyParams.mapExtent = map.extent;
identifyTask.execute(identifyParams);
});
... View more
06-17-2013
03:33 PM
|
0
|
0
|
697
|
|
POST
|
Thanks Ken for the suggestion. I took a look at it appears that this level of control of Operation Allowed is availabe in 10.1. I did not see it in our 10.0 installation, but did see it in our 10.1 installation. This holds some promise, but like you said, I hope that the update of attributes is not disabled by un-checking 'Update'. I did notice that there is a "Allow Geometry Updates" Property but this would allow users to only update attributes. I will have to experiment with settings in the service, but it doesn't sound like we can prohibit the users from editing the geometry. Maybe there is something in the API.
... View more
06-13-2013
03:53 PM
|
0
|
0
|
590
|
|
POST
|
Is it possible to allow users to only ADD features with the Editor Widget? We don't want the users to be able to MOVE, DELETE, or EDIT VERTICES. I was looking at the the CreateOptions parameters, but didn't see how we could limit the functionality of the Editor Widget to only allow ADDs. Let me know if there is a way to do this. Thanks, Mele
... View more
06-13-2013
02:19 PM
|
0
|
2
|
900
|
|
POST
|
Kelly, Thanks for responding. I believe I may have found a fix for my issue. I had used css to set the height and width of the attribute inspector as shown: .esriAttributeInspector { height: 250px; width: 250px; } But if I change the height to 500px .esriAttributeInspector { height: 500px; width: 250px; } It appears that I can now click through the selected records. I will continue to test, but this is enouraging. Mele
... View more
05-31-2013
08:01 AM
|
0
|
0
|
814
|
|
POST
|
I am using the Attribute inspector in a DIV where users can edit attributes of selected features. If I select more than one feature, the attribute inspector shows (1 of 2) and has buttons to scroll through the selected features. The problem I am having is that only the "Last" button allows the user to click on it. The "Last" button take the user to the last record, but he other button do not move through the selected features. Any ideas as to what is preventing the buttons from being usable?
... View more
05-30-2013
02:13 PM
|
0
|
2
|
1452
|
|
POST
|
Charmalee, Thanks for the sample. This looks like just what I needed. Mele
... View more
05-14-2013
06:50 AM
|
0
|
0
|
1928
|
|
POST
|
I have a datagrid (dojox.grid.DataGrid) configured such that I can click on a row and show a symbol on the map for the "clicked" feature in the Grid. What I would like is to flash a symbol where the feature is. My thinking is to draw a graphic, pause, and then remove it to simulate a flash. Anyone have some code using the methodology above, or with a different method? Thanks, Mele
... View more
05-07-2013
03:43 PM
|
0
|
1
|
3385
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-27-2026 09:23 AM | |
| 1 | 02-26-2026 06:47 AM | |
| 3 | 10-20-2025 05:21 AM | |
| 1 | 03-13-2015 04:39 PM | |
| 1 | 09-18-2025 08:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
9 hours ago
|