The ArcGIS JavaScript, Flex and Silverlight Web APIs offer a feature layer class for working with client-side graphic features. Feature layers are also used in various forms in ArcGIS Desktop, ArcGIS Explorer and other APIs.

learn more… | top users | synonyms

1
vote
0answers
18 views

ArcGIS Android negative feature OID

I am attempting to add a feature to an existing feature layer hosted on the ArcGIS for developers website. However, when I attempt to apply edits to the map, it does not ever actually add it, and when ...
0
votes
1answer
8 views

Esri JavaScript API ApplyEdits update not working

When I attempt to applyEdits as an update to my application I receive the following errors: I uploaded my most recent revision on Github at: ...
0
votes
2answers
421 views

evt.layers undefined while trying to display Legend widget in Javascript API

I cannot get an ArcGIS Javascript API Legend widget to show up. An excerpt of my code is as follows. I believe I'm failing somewhere near the console.log that I call...undefined comes up in the ...
1
vote
1answer
184 views

ArcGIS javascript API setDefinitionExpression returns wrong result set

New to GIS and ArcGIS. I am trying to use the javascript API setDefinitionExpression to limit the output of a FeatureLayer on the map; however, the result set returned by the function is incorrect. ...
0
votes
1answer
161 views

arcgis javascript api featureLayer not available immediately upon show click event

I am adding a feature layer as such in my index.html file. featureLayer00 = new FeatureLayer("http://webadaptorserviceurl/MapServer/0",{ mode: FeatureLayer.MODE_ONDEMAND, id: "0", ...
0
votes
1answer
324 views

Attribute Inspector for points - JavaScript API

I am attempting to get an application working where editors can click on a point feature and edit a form. I need the form to have a save button that when clicked will apply the edits to the feature. ...
3
votes
4answers
246 views

How to perform relational queries against an ArcSDE geodatabase using the ArcGIS API for JavaScript?

I have a geospatial database which contains both spatial and not-spatial tables I would like to publish my data on ArcGis for server and perform both simple and spatial queries. Also, foreign key ...
0
votes
0answers
8 views

How can I find that which user edited my layer by GeoExplorer?

How can I find that which user edited my layer by GeoExplorer? I have Geoserver with a number of user that are able to edit my layers. Is it possible for to understand which user edited a specified ...
0
votes
0answers
10 views

A New Query Option In GeoExplorer To Calculate All Of Features In A Layer

Is there a tool to do this? A query option to calculate the number of exist features in a layer! For example on this picture I have 220 point in my layer, but is there a query option to do this that ...
1
vote
1answer
240 views

ESRI JS API : FeatureLayer : pure client side query?

so I've created this wrapper around feature layer where I create the empty feature layer as is in the API help page : new FeatureLayer(featureCollectionObject, options?) providing the first ...
0
votes
2answers
421 views

Update multiple features attributes in loop - JavaScript

I am trying to update multiple features in a feature layer through a loop. I have a feature layer that I would like to select and then assign someone to the features (through an attribute update. I ...
1
vote
0answers
135 views

Cannot enable “Track Edits” on ArcGIS Online Feature Layer

I have a feature layer that is published to ArcGIS Online and being edited by users there. I am not able to enable "Track Edits" for this feature layer. Under the feature layer properties, when I ...
0
votes
0answers
18 views

Disabling Extent Based Rendering using ESRI Javascript API

I am using ESRI's javascript API to generate a heatmap renderer for my feature layer. I am noticing that the heatmap calculation/visualization is dependent upon what is in the current zoom extent. For ...
0
votes
0answers
17 views

Is it possible to catch mouse events from a hidden feature layer?

I want to avoid drawing a feature layer. I want it to be hidden and load as fast as possible. I have tried with opacity zero but i think it still draws. Is there any way to minimize the time of being ...
-5
votes
2answers
333 views

How to copy table in ArcGIS for Desktop and keep same feature ID (objectID)?

What geoprocessing tool I can use to copy a table from SDE geodatabase to personal geodatabase, keeping the feature ID (objectID)?
1
vote
0answers
24 views

Restricting values to domain for Enterprise Geodatabase?

For an Enterprise GeoDatabase, I'd like to restrict the values of a feature class' field to a range of values. Essentially, I want validation at the database level, so that regardless of how the data ...
0
votes
3answers
45 views

Creating layers for each attribute value via Arcpy script

I'm having some trouble starting this script. Not sure how to start, as I have to create/output layers for each attribute value from a certain column named that has integers. They are all unique ...
-1
votes
1answer
1k views

Creating an AttributeInspector via JavaScript API v2.7

I'm trying to display an AttributeInspector when I click on an object from a layer. I'm following this sample, but I cannot get it to work. Here is my sample code: dojo.require("esri.map"); ...
1
vote
0answers
28 views

Unable to submit changes in feature layer using applyEdits arcgis for android

After fetched my webmap from portal and found the layer I want add a polyline to, I'm trying to use the applyEdits method to update it in portal. Unfortunately, it doesn't work. My code goes as ...
0
votes
1answer
53 views

Select by location-arcpy

i work with arcview 10.3 on 20 mxd's (each mxd has 25 layers) and i try to do select by location (with arcpy) and want to see a layers that are visible in the current map extent only. All Other layers ...
0
votes
0answers
26 views

Inserted feature attributes always null

I'm using Arcgis Silverlight API 3.3, connected to Arcgis Server 10.0, connected to a Map Service with Feature access (Edit is enabled). Using the Drawer object, I let the user draw some features ...
0
votes
0answers
33 views

how to get the features of a definition expression without having to project them on the map

I want to perform a definiton expression on a feature layer and get the graphics/features. If I set the visibility of the layer to false, the features cannot be retrieved. Is there any way to get the ...
0
votes
1answer
53 views

Adding features to a vectorlayer using checkbox

I'm trying to add features to a vector layer using a checkbox. var featureOverlay = new.ol.FeatureOverlay; $("input:checkbox").each(function(){ var $this = $(this); ...
1
vote
1answer
1k views

Overlaping graphics not visible in featureLayer?

I have constructed a featureCollection from JSON and the feature collection has 44 features. I have given this feature collection as input to the Featurelayer which is showing only 32 graphics ...
1
vote
1answer
54 views

Can't retrieve data from featureLayer

I can't get any value from featurelayer. This is the code: function testarvin1() { require([ "esri/Map", "esri/layers/FeatureLayer"], function (FeatureLayer) { ...
1
vote
1answer
732 views

arcpy.mapping Graduated Colors Symbology

I'm trying to figure out how to apply graduated color symbology to a feature class by using arcpy.mapping in ArcMap 10.1. To start, a script runs and a feature class is added to a map document, no ...
0
votes
1answer
38 views

Autopopulated combobox value passed to definition query - results won't display on map

I have a dojo combobox that is populated with unique values. The user chooses a value, and the value is passed to a definition query, and the results displayed on the map. I can't get the results to ...
0
votes
3answers
102 views

How to remove a feature class or table from the TOC? C#

This seems like a really simple process or snippet of code but the only thing I can find is the ClearLayers() method to clear all of the layers from the TOC. Basically what I want to achieve is to ...
0
votes
1answer
3k views

ESRI Javascript API: setting feature layer selection symbol

This seems like it should be a relatively simple thing to do, but for whatever reason I can't figure it out. I'm trying to add functionality to select a group of parcels as laid out in this example, ...
0
votes
0answers
25 views

Cluster multiple feature server

I want to cluster different servers at a time, what I mean is this I have this feature servers: ...
1
vote
1answer
47 views

Feature Layers fail every second time the page loads, with “Error: Unable to complete operation”

If I create a very simple map based on the Feature Layer On Demand sample, and change the URL to my own feature layer, the map consistently fails every second time: Error: Unable to complete ...
1
vote
1answer
78 views

Error Creating Feature Layer from Parcel Fabric, Error 000732

Currently I am writing a python script that creates a feature layer from our parcel fabric and then appends that data into a different SDE feature class. The problem is that when executing ...
1
vote
1answer
53 views

ArcGIS JS api - how to hide attributes editor when new graphic is added

I use ArcGIS Javascript api in 3.12 version. I have followed this sample in order to display editing toolbar plus template picker. It works pretty good. However I would like to hide popup window with ...
1
vote
1answer
1k views

Can Arcmap 10 do change detection?

I have an assignment to find out changed areas of the two different layers ( let's say 2000 and 2010).the layers are vector. Is it possible to detect the changed areas by using Arcgis?
0
votes
1answer
114 views

query featureLayer using date field and Esri JS api

I can query a featureLayer in my javascript map to only show features meeting criteria for normal attributes (strings/integers), as below for example featurelayer.setDefinitionExpression("status = ...
1
vote
1answer
109 views

Creating layers using definition query for each field in ArcPy?

I have a shapefile that contains a text field "Company" that i would like to use to run a definition query to create a layer file. I want to be able to create a layer for each company. I had a look ...
3
votes
3answers
1k views

How to count point features in polygon using ArcGIS API for JavaScript?

I have published in my ArcGIS Server two layers: A polygon one and a point feature one. Points are contained in polygons. I would like to know how to count the number of points belonging/contained to ...
0
votes
1answer
37 views

Is it possible to use the symbology of an already published map service, so as to create a renderer in javascript api?

I have created a map service with fixed symbology. I want to create a graphics layer which will use the same symbology, through a renderer. In other words, I want to use the already existing ...
1
vote
2answers
65 views

how can we save vector layer as a file in openlayers

Im using mapserver + openlayer for GIS API and im new to GIS. I'm done with drawing line, point and polygon features in openlayer. but not being able to save it in some shapefile afterwards i got to ...
0
votes
0answers
13 views

Cant find any feature event in Andriod arcgis as in JS or Flex

I have a feature layer containing only few feature points.I want to open a dialog on clicking these features as the layer contain only few points for optimization I used snapshot mode Now my problem ...
1
vote
1answer
603 views

ArcGIS API Javascript - FeatureLayer from json: problem with queries and popup

Hello everybody I've tried this code proposed by Derek Swingley in JSFIDDLE: JSFIDDLE-FeatureLayer from JSON Everything "seems" to work fine, but not always. If you go down to the closer scale (level ...
1
vote
0answers
152 views

Customizing map.on(“click”) while using default editor widget

My question is whether or not it is possible to use the default editor widget in my case given the needs of my application. My map consists of points displayed from four different FeatureLayers. They ...
0
votes
2answers
61 views

Cannot get my ArcGISLocalFeatureLayer to update when adding features

I have C# and XAML code that I would like to use to add features to a feature layer that is in a file geodatabase. This is how the feature layer is defined in the XAML code: ...
1
vote
1answer
172 views

how to allow null values in a feature-layer

I'm using ArcDesktop 10.2. I have 30 x,y locations that have 20 fields of numeric data, stored in an Excel spreadsheet. Some cells have no data, and I want those cells to be represented as null values ...
1
vote
1answer
78 views

ArcGIS feature class interprets Latitude/Longitude in meters instead of degress

I wanted to tie toegther some data from my database table to an ArcGis map. The table contained an Object_Id, GIS_LATITUDE and GIS_LONGITUDE column. I added the feature layer based on the table (x as ...
1
vote
1answer
117 views

Remove selected feature symbol

Background: I am dynamically populating a feature layer. On this feature layer I have set the symbol (as you can see) to a nice little .png image. Everything seems to work fine around the layer except ...
1
vote
1answer
65 views

Make FeatureClass that has a FileGeodatabase data source editable?

I wasn't able to find any documentation on this, but is it possible to use the Editor widget in the Esri JS API to edit a FeatureLayer whose data source is that's stored in a FileGeodatabase? I've ...
3
votes
1answer
112 views

Updating fields of feature layer and reflecting changes in original data

I am trying to write a script that will select points from a feature class that are within a polygon and update the fields within the original point feature class. The problem I'm running into is ...
1
vote
1answer
103 views

Sending e-mail on feature update in ArcGIS JavaScript application?

We have an ArcGIS feature service that users can edit to change a "project status" attribute. An example would be a change from "pending" to "in-progress". Certain groups need to be notified when ...
2
votes
1answer
93 views

Get feature data from lat long input QGIS

In QGIS, I have a polygon dataset with feature data. I would like to extract data from this dataset using a latitude and longitude. To be more clear, I have a list of 1000 coordinates. I would like ...