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

0
votes
0answers
15 views

Partial extents for ArcGIS android geodatabase creation

I know how to create and download a geodatabase copy of a FeatureServer from arcgis rest services. I also know how to pass LayerQuery to the geodatabase task to filter layer objects and features. ...
0
votes
0answers
16 views

queryFeatures Error Timeout

I have the following scenario FeatureLayer.queryFeatures in javascript sometimes executes the query and sometimes gives Timeout exceeded. How to handle the problem? Any suggestion
3
votes
1answer
24 views

Label can't access added attribute

I have a layer that gets created with a couple of attributes, one of which is NAME. Then I create a LabelLayer and add a feature layer like so: layerLabel.addFeatureLayer(layerDisplay, rendererLbl, ...
6
votes
2answers
153 views

Difference between CoordinateSystem and CoordinateReferenceSystem

What is the concept of Coordinate Reference System. You know GeoTools has a FeatureType class having getCoordinateReferenceSystem() function and also a CoordinateReferenceSystem class having ...
0
votes
1answer
27 views

What are the requirements to set “Supports Advanced Queries” true on a Feature Layer hosted on ArcGis Server 10.1

I'm trying to use the ArcGIS query feature, OrderByFields, but I've read that for that feature to work the feature layer must show "Supports Advanced Queries: true". The layer we are hosting says that ...
0
votes
2answers
36 views

arcpy MakeFeatureLayer - one workspace question, one output question

I'm trying to run a very simple python script to create a feature layer from a shapefile. The original script read as follows (I added the two print statements at the end to verify upon completion ...
2
votes
1answer
25 views

JAVA GIS create shapefile from FeatureLayer

The title kind of saids it all. I am attempting to export a featurelayer to a shapefile and am not having any luck finding a library which includes this functionality or relevant code to see where to ...
0
votes
0answers
38 views

Snapping feature nodes doesn't work after feature creation (filter involved)

I've experienced a strange behaviour during editing mode: I have set a filter to 2 features (polygons), part of on of my PostGIS layers: "name"='A' OR "name"='B' After that I have created a new ...
0
votes
1answer
19 views

OpenLayers.Filter.Comparison value charecter encoding

I am using vector layer with WFS protocol var adressVector = new OpenLayers.Layer.Vector("Adress", { strategies: [new OpenLayers.Strategy.BBOX()], protocol: new OpenLayers.Protocol.WFS({ ...
0
votes
1answer
58 views

Arcgis javascript - Set different symbol for each graphic in feature layer

I have a feature layer that contains 12 items with the same defined style. But I want to change each item to have a unique symbol when rendered. var Layer = new FeatureLayer("http://...my map ...
0
votes
1answer
34 views

(How) can I render the features of a DynamicMapServiceLayer?

I have a webmap that displays the contents of a dynamic map service. For performance reasons I'm currently using FeatureLayers for the individual sublayers (they are all point layers with relatively ...
0
votes
0answers
25 views

Android ArcGIS API, how to loop into every Feature in Geodatabase

I have an offline geodatabase in android ArcGIS which I have downloaded through gdbAsyncTask. how do I loop into every feature in that geodatabase? for example I could have collect all the IDs from ...
1
vote
1answer
33 views

ArcGIS Android SDK MapView.removeLayer method not working

I'm currently exploring ArcGIS's Android SDK. However, I've found that when adding a ShapefileFeatureTable to a FeatureLayer: FeatureLayer featureLayer = new FeatureLayer(shapefileFeatureTable); ...
1
vote
1answer
35 views

ArcGIS Android - ArcGISFeatureLayer error: EsriServiceException: Internal Server Error

I am developping an Android application using tse ArcGIS SDK for Android. I am facing a problem when querying a featurelayer: the featurelayer I am using is hosted in our ArcGIS Online, and this is ...
2
votes
2answers
108 views

Proper syntax for Select Feature Layer by Location

Can someone let me know how I can use a single feature from one layer as the "Select Features" when using the Make Feature Layer by Location tool with another layer as the input? In the code below ...
1
vote
1answer
33 views

ArcSDE feature class prefix issue

I believe this issue is is part of a bigger problem causing an issue with an arcpy script that I am trying to have run periodically to load data into ArcSDE feature classes using Append_management. I ...
0
votes
0answers
37 views

ESRI JavaScript API: Feature layer from x,y events

I am trying to create a Feature Layer on the ESRI JavaScript client using the Map Service Feature layer that was created on the map document as an XY event theme (ArcMap -> File -> Add Data -> Add XY ...
1
vote
1answer
59 views

Ratio policy for Intersect in ArcGIS Online?

I have two polygon layers in ArcGIS Online (for organizations) stored as Feature Layers; one is population block, another is the AOI polygon. They are overlapping and I want to find out what portion ...
0
votes
1answer
51 views

Layers reference from Geoprocessing using ArcObjects?

I am using ArcObjects (ArcGIS 10.1) in .NET with some geoprocessing. It works great. There is an option to add the resulting feature class to the map. That works great too. However how do I get a ...
1
vote
0answers
42 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
46 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
0answers
17 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
31 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 ...
0
votes
0answers
25 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
18 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 ...
1
vote
0answers
39 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
65 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
vote
0answers
64 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
122 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
36 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
42 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
76 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
66 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
53 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
194 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
35 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
71 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
83 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
231 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
158 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
40 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
95 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
258 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 ...
1
vote
0answers
207 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
399 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
129 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
228 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
71 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
84 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 ...