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

21
votes
5answers
12k views

What is difference between map layer and spatial dataset (e.g. feature class, shapefile)?

This may be very trivial question. To me they seems very similar in concept. What is the difference between feature class and feature layer?
9
votes
4answers
1k views

what is the right way to delete all features from featureLayer

I have a featureLayer and I don't want to kill it and create another one. I want to delete all features from the current featureLayer. I found that I can use applyEdits method but in order to use it I ...
8
votes
1answer
356 views

Will hundreds of attributes cause performance problems in an ArcGIS Server layer?

This relates to ArcGIS Server 10.0 SP1, with data served from a file geodatabase polygon featureclass. 1) For performance reasons, is it a bad idea to have a featureclass with hundreds of attributes? ...
7
votes
3answers
2k views

Why is it important to use feature layers in ModelBuilder?

I am trying to understand creation of a geoprocess with ModelBuilder, but I don't know why it's important to use feature layers instead of feature classes when creating a geoprocess with ModelBuilder. ...
7
votes
1answer
347 views

Difference between Make Feature Layer (Data Management) and using in_memory workspace?

I was wondering the difference is between Make Feature Layer (Data Management) and using an in_memory workspace? To me, one can use either to do some steps in memory, instead of writing data to a ...
5
votes
1answer
2k views

How to change a FeatureLayer's symbols?

I did this: dojo.connect(featureLayer, "onUpdateEnd", function() { var defaultSymbol = new esri.symbol.SimpleMarkerSymbol().setColor(new dojo.Color([0,0,255])); ...
5
votes
3answers
328 views

How to visually sort the order of Points with QGIS, GDAL, …?

The following Points layer is the basis of a rendering in a Android application. Android allows to draw a shape from the provided points. I cannot use LineStrings. However, the order of points ...
4
votes
2answers
2k views

“TypeError: Unable to draw graphic (geometry:null, symbol:null)” after adding tiled and feature layers

I'm seeing the following error when attempting to add a tiled and feature layer to the same map when using the ArcGIS Server JS API 3.1: TypeError: Unable to draw graphic (geometry:null, ...
4
votes
1answer
996 views

Feature Service layer issues

What is the maximum number of records returned by WFS protocol? What is maximum number of records returned by a Feature Layer in ArcGIS Server 10.1? What is maximum number of records the ArcGIS ...
4
votes
1answer
3k views

automatic zoom to layer in arcgis js api

I'm trying to zoom to layer automatically as soon as the map finishes loading using the guide here. To be clear, I'm only loading one layer and just want to zoom in on one of the layers provided by ...
4
votes
2answers
6k views

Adding a FeatureLayer ARCGIS JavaScript API

Hi I am currently exploring ARCGIS Javascript API. I have my own map services and feature services up on my local server. I would want to use the FeatuerLayer to select and highlight feature on the ...
4
votes
1answer
115 views

How to select behind feature which is overlapped with the same layer on QGIS 1.8.0

My issue: I received data which was created without "Avoid intersection of new polygon". There a few overlapped feature with the same layer. I could fine overlapped feature by the spatial query. But ...
4
votes
1answer
2k views

How to handle add feature event in the FeatureLayer/Editor

I use a FeatureLayer created from the featureCollection. I also use esri.dijit.editing.Editor to add a feature to the map. Every time feature has been added to this layer I want to send it to my ...
4
votes
0answers
4k views

Populate an existing popup with an AttributeInspector after RelationshipQuery returns results

Here's the workflow: A user selects a feature layer polygon, views a popup. A link added to the popup will run a RelationshipQuery to view related records. How can I get the RelationshipQuery results ...
3
votes
3answers
1k views

How to count features in polygon using ArcGIS JS API?

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 ...
3
votes
2answers
120 views

Can MakeFeatureLayer Object be Passed into ExportReport Function Layer Parameter?

I'm trying to pass an in memory layer object created from a feature class using Code: arcpy.MakeFeatureLayer_management() into the Code: arcpy.mapping.ExportReport() function. It's erroring out, ...
3
votes
3answers
6k views

FeatureLayer creating in javascript ArcGIS API

I got the sample called "Feature Layer with ONDEMAND mode" in the ArcGIS for js resource center. This example just adds layer with rivers to the map. I want to use my own features instead of using ...
3
votes
1answer
421 views

How to control the rendering priority/order of feature layers?

I am displaying polygon, line and point feature layers on a button click event and adding layers in order based on their geometry type, e.g.: polygon -> line -> point. In certain cases layers are ...
3
votes
1answer
488 views

How to select several disseminate features with ArcGIS JS API?

I have a cadastral map similar to this one from an ArcGIS Javascript API example: Cadastral map What I would like to do is selecting several parcels clicking on them and show the information related ...
3
votes
1answer
972 views

Feature Layer is not showing the points on the map

I have a simple feature layer. The points will show up if I put the URL in a DynamicMapServiceLayer, but I need to use maptips, so that will not work. Below is my relevant XAML. If you need anymore ...
3
votes
1answer
1k views

How do I use a toggle button with the ESRI javascript api

I am trying to use two toggle buttons which have been added to a map to toggle layers on and off in my simple web application. I am having problems getting the toggle button to respond when clicked or ...
3
votes
1answer
7k views

How to Zoom to a FeatureLayer Using ArcGIS Javascript API

I am making a web application using the Javascript API and am trying to zoom to a feature layer from a row click in a dojo data grid. I have this working for a dynamic layer, but am having issues with ...
3
votes
0answers
91 views

Filtered SimpleFeatureCollection really slow on Map and other operations

I'm working with a shapefile having about 85.000 features. I need to select some of these using a filter and then showing these on a map. Now... If I draw the entire shapefile's features the creation ...
3
votes
0answers
2k views

Choosing between Dynamic layers and Feature layers [closed]

I'm building a client using the ArcGIS WPF libraries, that's displaying my entities on a world map. I'm using an ArcGISDynamicMapServiceLayer to display the geographic and topographic base map, and ...
2
votes
1answer
251 views

Feature Layer (Polygon) Rendering issue in ArcGIS Server 10.1

I have a feature layer consisting of 96,000 features, but we are displaying a maximum of 13,000 features in our map application. There is an issue that for some zoom levels the features are visible ...
2
votes
1answer
194 views

ArcObjects 10/10.1 Get rid of Invalid layer symbol in TOC

I've written an add-in (VS2010, C#) that finds specific invalid feature layers in ArcMap and fixes them. After the layer is fixed, the red invalid symbol still appears in the TOC. An ...
2
votes
1answer
130 views

Do FeatureLayers reproject their features to adapt them to the map projection?

I'm working with the ArcGIS Flex API. For example, ArcGISDynamicMapLayers do reproject their data in order to make it in the same projection as the map. Do FeatureLayers have the same behaviour?
2
votes
1answer
1k views

Is there any way to set polygon features fill color and outline programmatically?

By some process I am creating a polygon feature layer. Before adding the layer in the map, I want to set polygon's fill color to no color and set polygon's outline color and width. I am working with ...
2
votes
1answer
70 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
124 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
101 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 ...
2
votes
1answer
263 views

Using more than one graphics layer with a FeatureDataGrid

I am wanting to use the FeatureDataGrid to display data. The problem is I have more than one layer that contains data that needs to be displayed. This is how you use the DataGrid for one layer: ...
2
votes
1answer
2k views

How to vary the infoWindow size for different feature layers

I have multiple feature layers on the map, and I wish to display a different sized infoWindow for each layer. As far as I can tell, the map has one infoWindow, which can be resized using: ...
2
votes
1answer
66 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 ...
2
votes
1answer
45 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
46 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 ?
2
votes
1answer
688 views

HTML5 local storage for tile maps and feature layers using ArcGIS Java Script API

I am developing a mobile arcgis application I want to store data locally so that when a user is offline he/she can use the maps. I want to store tile layers,feature layers and a table data. Any ...
2
votes
1answer
1k views

ARCGIS Javascript API Feature Layer retrieval

I would want to develop an application where we could query the layer based on a result set of certain attributes of the features and highlight features. Approach Currently I tried using the feature ...
2
votes
2answers
2k views

Populating a Dojo widget with country names based on an ESRI hosted layer

Wow, Javascript is not that easy - can someone help me make a simple breakthrough just to understand some basic concepts. Does anyone know how to populate a filteringSelect Dojo dijit with the names ...
2
votes
0answers
124 views

Jsonp Callback error

Recently we have started migrating application from Javascript API 3.1 to 3.5 and we are finding this jsonp error coming sometimes during adding the layer.When we add the layer we also zoom to the ...
2
votes
1answer
316 views

How can I select features by map clicks

I'm developing a flex web application using the ArcGIS flex API 3.1. I have a map with a polyline feature layer. I'd like to be able to select polylines from the map by clicking on the features on ...
2
votes
0answers
126 views

Proper disposal of layers

I have a group layer. Its purpose is to show feature layers over a base map. Those feature layers are logically grouped into categories and we provide the ability to add/remove whole categories ...
1
vote
1answer
78 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
5answers
365 views

Only Capability appearing is Feature Access

I was wanting to know if anyone could explain why the only capability showing when I try to publish an ArcGIS Service is Feature Access (Picture Below). I am needing to create a service that will ...
1
vote
1answer
35 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
171 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 ...
1
vote
1answer
177 views

Adding feature layer to ArcMap from url

Is it possible to somehow load feature layer from REST (like: ArcGIS Example Service) to ArcMap? No need to edit that layer, we just need to select data from it and then create a local FeatureClass.
1
vote
1answer
153 views

Need iterator help in create near feature script

I'm having two specific problems with this python script I'm developing. Background: I am trying to generate near_tables from fc's stored in fgdb, join the near table back to target feats, and save ...
1
vote
1answer
1k views

Can Arcmap 10 do change detection?

I have an assignment to find out changed areas of the two different maps (2000 and 2010) by using Arcmap 10. Is it possible to use it?
1
vote
2answers
244 views

Polyline will not turn into a feature layer via MakeFeatureLayer_management (arcpy)

I've got a python script that is connecting a sequence of points to make lines (script is based on answers to my previous question). To attempt to make subsequent processing more efficient, I would ...