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

22
votes
5answers
15k 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?
5
votes
3answers
495 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 ...
7
votes
3answers
3k 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. ...
4
votes
1answer
4k 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 ...
7
votes
1answer
622 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 ...
3
votes
2answers
150 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, ...
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 ...
0
votes
1answer
364 views

How to get feature data by passing lat/long value to FeatureServer in ArcGIS Online?

I have created a feature layer and deployed it as a service on ArcGIS Online? Is there any way to pass lat/long values as query parameters and get respective feature layer details?
4
votes
3answers
7k 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 ...
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 ...
4
votes
2answers
7k 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 ...
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 ...
3
votes
0answers
3k 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 ...
1
vote
1answer
142 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 ...
1
vote
1answer
231 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. ...
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 ...
0
votes
2answers
879 views

Toggle Visibility of Features in FeatureLayer

How to toggle the visibility of features in a feature-layer using check-boxes .I have grid containing check-boxes in a columns representing each feature in Feature-layer and so if I check off the ...
-5
votes
2answers
387 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)?