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.
14
votes
5answers
4k views
What's the difference between feature class and feature layer?
This may be very trivial question. To me they seems very similar in concept. What's the difference between feature class and feature layer?
7
votes
1answer
302 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
664 views
what is the right way to delete all features from featureLayer
I have a feaureLayer 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 ot use it I ...
6
votes
3answers
174 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
270 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
754 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]));
...
4
votes
0answers
2k 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 ...
4
votes
0answers
1k 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 ...
3
votes
1answer
125 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
201 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
383 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
2k 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 ...
2
votes
3answers
309 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 ...
2
votes
2answers
35 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
127 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
36 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
3answers
3k 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 ...
2
votes
1answer
38 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
80 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 ...
2
votes
2answers
500 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, ...
2
votes
1answer
744 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
219 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
3k 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 ...
2
votes
2answers
838 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
1answer
88 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
614 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
0answers
1k views
Choosing between Dynamic layers and Feature layers
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
0answers
98 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
275 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 ...
1
vote
1answer
38 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 ...
1
vote
1answer
132 views
Cannot input new data into FeatureDataForm
I am wanting to update the fields on my server using a FeatureDataForm. I have followed the documentation, but it still does not work. It also does not have the buttons in the form that say 'OK' and ...
1
vote
1answer
151 views
Does a graphic or graphicsLayer support time-awareness?
In the ArcGIS Server JavaScript API 2.6 I'm looking to implement map graphics. I can't see whether they support time-awareness.
The help entry for graphicsLayer doesn't mention timeInfo, which is ...
1
vote
1answer
1k views
Feature Layer with ONDEMAND mode
I can't understand how to display all features from the feature layer. In the code bellow I specified 2 features in the layer and set in feature layer's mode to esri.layers.FeatureLayer.MODE_SNAPSHOT. ...
1
vote
1answer
54 views
Querytask/query - executed select
Is there a way to get to the query condition, which is executed under the querytask ?
I have an example, which is actually a copy of this ArcGIS example ...
1
vote
1answer
55 views
What ArcGIS Online feature layer can I use to display European states with unique country codes?
I'm writing a web page to display ECB statistics on an ArcGIS JavaScript API-based web map.
I'm a bit lost when selecting a feature layer so that I can use the UniqueValueRenderer to make the states ...
1
vote
1answer
167 views
Unable to see the featureLayer but it is present on the map
I have created a featureLayer from featureCollection and I am able to add it to the map and when I execute, map.graphicsLayerIds, it also returns the id of the featureLayer, ["resultLayer"]. But I am ...
1
vote
1answer
375 views
Adding layers using ArcGISDynamicMapServiceLayer
I am right now adding individual layers using FeatureLayer but it takes quite some time to load as the map is for US Counties (3076 count). I tried to load it using ArcGISDynamicMapServiceLayer but I ...
1
vote
1answer
94 views
Custom Layer Properties
I am coding a custom layer for ArcMap using C#. I want the eleven standard property pages to display for the layer (General, Source, Selection, ... , HTML Popup), when the user selects Properties from ...
1
vote
1answer
224 views
Unable to removeLayers from Map
I was trying to create a FeatureLayer from the features returned from the ViewShed GP and I was successful at doing it. So when I click on the map, that featureSet is sent to the GP Tool and the ...
1
vote
1answer
320 views
Overlaping graphics not visible in featureLayer
I have constructed featureCollection from Json and feature collection has 44 features. I have given this feature collection as input to the Featurelayer which is showing only 32 graphics objects of ...
1
vote
1answer
1k 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 ...
1
vote
0answers
42 views
Interpreting Firebug results on ESRI Javascript feature layers in the NET tab
This was cross-posted to the ESRI Javascript API forum yesterday.
I need help in interpreting what I am seeing and wondering why I'm seeing duplicate features.
I'm using this example: ...
1
vote
0answers
186 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 ...
0
votes
1answer
433 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
2answers
336 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 ...
0
votes
1answer
545 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");
...
0
votes
1answer
37 views
Legend is stuck on startup()
All my layer URLs and Feature Layers are stored in an array.
with an foreach loop, I am creating the FeatureLayers from the URLs,
dojo.forEach(window.layerUrls, function (info, idx) {
...
0
votes
1answer
662 views
Feature Layer from JSON file
I would like to project my shapefile information on the maps. I converted my shapefile into a JSON file. How can use the Json file to create a featurecollection object in the ARCGIS Javascript API. ...
0
votes
1answer
24 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 ...
0
votes
0answers
14 views
Does the ArcGIS Flex API simplify polygons by default?
I have a feature access map service that I use on an ArcGIS Flex web application.
Some polygons published by the feature service, seem to be "simplified" by the Flex API before they are drawn on the ...



