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
17 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
41 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
23 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
24 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
36 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
48 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) { ...
0
votes
1answer
28 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
83 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
0answers
18 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
30 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
62 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
46 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 ...
0
votes
1answer
76 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
93 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 ...
0
votes
1answer
36 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
43 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 ...
1
vote
1answer
145 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
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 ...
0
votes
0answers
108 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 ...
1
vote
1answer
135 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
67 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
101 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 ...
0
votes
2answers
55 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
61 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
105 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 ...
2
votes
4answers
207 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 ...
2
votes
1answer
90 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 ...
1
vote
1answer
76 views

Add annotation feature class to mxd with arcpy

From what I have researched, I'm pretty sure the answer is NO, but I want to make sure no one has found a work-around. Annotation feature classes in personal geodatabases need to be added to mxds. ...
0
votes
1answer
54 views

Selecting correct ArcGisFeatureLayer to query onSingleTap event?

My problem: I'm working on a Android (ArcGis) Attribute Editor following the sample code from their tutorials. The problem occurs when I have more than 1 ArcGisDynamicLayer and, more important, more ...
1
vote
1answer
83 views

Compare two feature layers

I have a base layer on top of which I will plot two separate feature layers, one containing polygons and the other containing points. Now I have to find the points which plot into the polygon. I tried ...
1
vote
1answer
224 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 ...
2
votes
1answer
139 views

ArcPy inconsistently accepts SQL queries for MakeFeatureLayer or SelectLayerByAttribute

I need to buffer a subset of features in a particular feature class. To do this, I am first creating a feature layer (using a SQL query to select only what I want), and then running Buffer. So my ...
1
vote
1answer
39 views

OpenLayers feature styling change by the baselayer

How can I have the style of the features on a vector layer depending on the OpenLayers' "base layer"? For example, some base layers are dark images and I need (for the contrast) the features to be ...
1
vote
1answer
89 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 ...
1
vote
1answer
79 views

How to add an IFeature to the Map and zoom to it ?

I have an ITable i cast it to an IFeatureLayerDefinition after casting it to an ILayer then to an IFeatureLayer, then i used my IFeatureLayerDefinition to get only one IFeature using the ...
2
votes
1answer
60 views

Can I convert an IFeature to ILayer and add it to the map?

I want to use FeatureClass.Search() to get a specific Feature and I want to convert this one to ILayer and set it to the Map, is there any way to do that?
2
votes
1answer
50 views

How to show a specific geometry on the map and hide the others?

I have a FeatureLayer, i used the method IFeatureLayer.Search() and the interface IQueryFilter to get a specific Feature, and i want to show only this Feature on the Map, how can i do that ?
1
vote
1answer
347 views

ESRI Silverlight API 3.1 query, edit, update issues in the code behind

Using ESRI Silverlight API 3.1, .NET Framework 4.0, ArcGIS Server 10.0 Is there a way to update an attribute in the code behind without looping through the featureLayer.Graphics? Or a way to call ...
0
votes
2answers
45 views

Copying feature layers

I am trying to copy feature layers using the following code, but get no results. Can anyone help me understand why the code does not work? import os import arcpy arcpy.env.workspace = ws = ...
0
votes
1answer
225 views

Meaning of Spatial Join ERROR 000840: The value is not a Feature Layer?

I'm using ArcGIS (ArcMap) 10.2 to determine the relative location of points of land to a regulated area. I downloaded a layer (.lyr) file that displays the regulated area, and am able to display that ...
0
votes
0answers
121 views

Add Stacked Column Chart in InfoWindow

I want to add a a dojo stacked column chart to my InfoWindow (not pop up) that displays when a user clicks on a county in my map. The chart is based on land use information in each county layer from 3 ...
0
votes
2answers
128 views

Select Layer by location does not work

I am having trouble using the "Select Layer by Location" tool. I want to select everything from shapefile A (green) that overlays with Shapefile B (red). Here is the raw data: And one example of ...
1
vote
0answers
77 views

Feature layer not loaded

I am developing an Android app using a Webmap with features created on ArcGIS Online. This webmap has a feature layer. I tried to load the basemap and then adding the feature layer, or tried to load ...
0
votes
0answers
167 views

Showing only some points in Feature Layer on ArcGIS.Com WebMap Javascript API

I am looking at creating a webmap which will allow users to place a point either by clicking on a map or selecting a point from a drop down which will then buffer the point. I've done something ...
-1
votes
1answer
42 views

Trying to use Near to relocate points to the waterways

We are trying to relocate elements that are near the water but not quite on the water and relocation them to the nearest point. I'm trying to build the parameters to use the Near tool ...
0
votes
1answer
150 views

A simple geotool app example

I've been playing around with the GeoTools libraries, but I can only show shape files and no custom layers. Requirements are that it must use the SWTMapPane and not via the static ...
1
vote
2answers
375 views

Get IFeatureLayer from ILayer using ArcGIS Engine?

I try to select object from layer by name. I think i found sollution here. First problem i got is that i use GroupLayer. So i made research how to get subLayer from GroupLayer. Sollution is here. Now ...
0
votes
1answer
371 views

add features to a featurelayer and save changes in the server

I am developping a web application with arcgis javascript api. I am using arcgis server 10.2. I declared a featureLayer, the URL of this featureLayer is a feature service on my server. Using a ...
1
vote
0answers
146 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 ...
1
vote
1answer
328 views

How do you set up XY Event Layer Parameters on ArcGIS Script Tool? (asking for user input)

I've made the XY Event Layer work through python script, but can't get it to work correctly as a python script tool on arc, asking for user input. Does anyone have any suggestions? This is the script ...