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
21 views

Publishing Layers from ArcMap to ArcGIS Online?

In ArcMap (and once signed into ArcGIS online within ArcMap) I was trying to publish or Share As A Service only a few Layers therefore keeping my symbology and getting it to AGOL. When you do that ...
0
votes
0answers
29 views

Large 3d features layer in cesium

I'm trying to show a huge feature layer 3d from arcgis on Cesium. I tried to generate a KML with Layer To KML option - which generated me a 3gb KML (Which of course will make Cesium to crash). I read ...
2
votes
1answer
34 views

How can i add coordinates of Polygon nodes on a Polygon data table?

I'm new in this domain and I want to know if I can add to data table of a Polygon.shp, coordinates of node. I have this table pkuid/ name_poly/ area/ lenght/ (here nr_point ex:1,2,3,4 it' about order/ ...
0
votes
1answer
65 views

Copy query feature layer into a feature class - error 000732

I am trying to create a python script to copy data from a MSSQL view (includes a geometry field) into a feature class. They are both held within the same database. I have tried arcpy....
1
vote
1answer
42 views

ArcGIS- Add feature names to coded value list for domain

I've got two feature classes, "Points" and "Lines", the first is a feature point class, the other is a line class. I've got a coded value domain field for the "Points" class, that I'd like to add the ...
1
vote
1answer
39 views

How can I test if a layer is using SDE

I find that when things are not working as they should repairing the geometry on everything is a good first point of troubleshooting so I run a few lines of python: mxd = arcpy.mapping.MapDocument("...
2
votes
1answer
35 views

applyEdits to FeatureLayer does nothing

I am trying to create a series of layers using a county map of the US. In order to save load time I am only loading the county polygon geometries once, then using applyEdits (https://developers.arcgis....
1
vote
2answers
43 views

arcpy won't return correct data types of layers

I wrote this so that arcpy would give me the data types for each of the layers in a map document. But, "Feature Layer" is the only type of data that is returned (apart from "N/A"). Shapefiles are ...
1
vote
0answers
33 views

error printing a map with feature layer with feature collection using esri jsapi

I have this single page web map app with esri js api 3.4 and arcgis server 10.1. I have added a print widget and that works fine (with two base map layers and an empty feature layer with feature ...
7
votes
0answers
62 views

How to synch a FeatureTable with a FeatureLayer's selection set?

The ArcGIS Server JS API contains a new FeatureTable class, which shows the attribute table corresponding to a FeatureLayer. There is an option syncSelection which: Enables an interaction between ...
1
vote
0answers
18 views

After Feature Layer reference is added all dojo references are not recognized

I'm creating a simple javascript management system in which I have to query 6 feature layer services, edit, add or delete data from the services. Every time I want to add the Feature Layer reference ...
0
votes
0answers
31 views

Removing Layers/Features from map

I am creating a custom Layer List Widget and I was trying to remove features (symbols) from the map. Does this have to be done from the mapserver level or client level? I tried getting the map.layers ...
1
vote
0answers
43 views

The layer was not drawn completely - ArcGIS Online

I am publishing a hosted feature service layer onto ArcGIS Online organization from ArcMap. The service has just one layer that is stored on a file gdb on my PC. I am able to publish a service with no ...
0
votes
1answer
30 views

Using a overlap with a different layer file to create a simple Y/N field in attributes of another layer

I have two layers, which I wish to use one of to educate and populate an attribute field in the other layer with a simple Yes/No for if they overlap in terms of location. Is there a simple way to do ...
2
votes
0answers
60 views

Get Styles for Feature Layer in Feature Collection, Customize Layer List

so I'm using the JavaScript API to customize an ArcGIS web app and I need to take feature layers and group them in the layer list widget. Here's the code I have that does that (in the widget.js file ...
0
votes
1answer
23 views

ArcGIS Online Web Map only showing OBJECTID for Feature Class

I published a series of Feature Layers to ArcGIS Online. When I try to open the REST endpoint in my browser, it is showing ONLY the OBJECTID field for each layer, even though all of them have ...
0
votes
0answers
29 views

ArcGIS Feature Layer Android, QueryTask not working

I am using the https://github.com/Esri/arcgis-runtime-samples-android/tree/master/QueryTask example to write the application to query FeatureLayer. The code is exactly the same, I have only replaced ...
0
votes
1answer
43 views

SelectByAttribute is not working (ArcGIS, Arcpy. Python script) -

My script is below. I use to file from filegeodatabase to select all of rows (in a loop, one by one) to create a simple map and export it to jpeg. For some reason, once I updated my script to run ...
0
votes
1answer
61 views

Writing Python Script to Iterate through several geodatabases in folder and copy feature classes to single geodatabase?

I need to go through multi GDB in 1 folder and copy all feature classes from each GDB and copy them into the single GDB. I create a piece of python code that can go through each different GDB and also ...
0
votes
1answer
51 views

Adding features dynamically to an ArcGIS Javascript FeatureLayer with applyEdits()

When attempting to add features to a featureLayer with applyEdits, the features do not get added to the layer. var featureCollection = JSON.parse(mapdata); var features = JSON.parse(mapdata)....
1
vote
1answer
38 views

Arcpy how to get field names dynamically from shape file in customized plugin?

On selection of a feature layer ArcMap tools display all the fields, Zonal Statistics is one of the example. I have entered my feature as fishnet and it has shown me all the fields in a list below. I ...
2
votes
1answer
44 views

How do I create a layer with popups that has hundreds of unique markers/symbols?

I am creating a layer in ArcGIS JavaScript API. I am looking for the best way to have a feature layer with popups and unique markers. This layer has hundreds of markers at a time. The markers are ...
2
votes
0answers
14 views

Feature templates in ArcGIS JSAPI published maps

I have an ArcGIS map which is published on ArcGIS server (10.3) and while the feature templates for each layer are set up in the map, the published map service contains totally different set of ...
0
votes
0answers
124 views

Open Layers 3, how to add a new Feature with style?

I have an open layers 3 map where in I am drawing a line in the map using given coordinates,zoom level and center. The lines are drawn up well but I want to be able to remove the path and then draw a ...
1
vote
2answers
87 views

ESRI JavaScript FeatureLayer constructor makes graphic geometry null in featurecollection object

I'm pulling point data by lat long from my SQLServer database via webservice and creating a JSON FeatureCollection object as the webservic response. When I attempt to create a FeatureLayer from this ...
1
vote
1answer
73 views

Difference between FeatureLayer and FeatureSet in ArcGIS

Could anyone please explain the difference between FeatureLayer and FeatureSet in ArcGIS?
1
vote
0answers
35 views

Trying to select some features that are at a map service not featurelayer. (arcgis api)

I am trying to select(highlight) some features that are found at a map service. The selection is based on mouse clicking on map by the user. I am using Arcgis Javascript Api 3.15 Here are my steps. ...
2
votes
1answer
61 views

Field Calculator is not calculating selection from Make Feature Layer in arcpy

I am trying to use field calculator to calculate 3 different fields in python from a Make Feature Layer variable. It calculates the first field (MATERIAL_T) but then it doesn't calculate the second ...
0
votes
1answer
39 views

Setting opacity info in ArcGis Api for Javascript overwrites featureLayer.renderer.colorInfo

I'm having trouble setting the color of a feature layer in ArcGIS api for javascript. I have a feature layer, which, on the load event I set its renderer's colorInfo and opacityInfo. Both work ...
1
vote
1answer
120 views

Stubborn geojson layer misaligned with mapbox (leaflet) tiles only in production website, not in codepen or other online sandboxes

You can see my code and expected result in this running swiftly in codepen! Other online sandboxes work as expected too. The exact same code running in my php file on my wordpress site, shows the ...
2
votes
1answer
94 views

Putting features (IFeature) into ifeatureclass with ArcGIS Engine?

I am trying to get the selected features from axMapControl and put them in a new feature class. I can get the selected features but when i'm trying to put them in a IFeatureClass and then cast it as ...
1
vote
0answers
23 views

Show FeatureLayer when some of it's objects is found by Search ESRI JavaScript Api

I'm using ESRI JS 3.15. I have many FeatureLayers, which resources are connected to Search, when user type a name of an object in search bar, it gets focused, but I want also to hide all other ...
3
votes
1answer
206 views

Using Update Cursor, populate field

I am trying to write a script where you preemptively select features and then go to the tool which calls for the feature layer and it populates fields based on certain criteria which I will design of ...
0
votes
2answers
36 views

Feature class imported table as points and now want to display

In ArcCatalog and ArcMap 10. I have set up a feature class with all the fields I want to populate. I have data in a table format which includes wasting and birthing columns. I used the load data to ...
1
vote
2answers
209 views

Appending Data to FeatureLayer in ArcGIS API for JavaScript?

I am working on a web app where I am making calls to a database api and it returns a JSON Object. I've managed to do so successfully as well as any manipulations that need be done. Is there a way to ...
2
votes
0answers
25 views

TOC layer symbol changed EVENTS in ArcMap

I want to do something when user changes one of TOC layer's symbol. I am using .NET in arcMap 10.0 . How can it possible with arcobjects ? Please , help. Specially I want to know, Is there any events ...
0
votes
1answer
82 views

Output Feature Class empty after trying to display it on map using arcpy.mapping?

I am trying display the output of my script on an mxd once it is created. To do this, i created a function at the end of my class that handles all mapping. I have tested the code up until the ...
1
vote
1answer
40 views

IfeatureLayer.search() second time return error

I have the following method in my code and have a button that when clicked run this code. In the first click all of code runs without error. but in second run I receive an error on line: ...
0
votes
0answers
78 views

ArcGis Feature layer does not display symbols consistently on web browers

I have a Feature layer that does not display symbols consistently. Symbols at certain locations are randomly not be visible. Zooming in-out will randomly show/hide a symbol at a particular location ...
6
votes
2answers
294 views

ESRI Javascript FeatureLayer Select by Attributes

I am trying to select a group of features in an ESRI javascript API featureLayer by attribute. The call errors out. My code is as follows. Here is the layer definition: var fieldDefs = [{ ...
1
vote
0answers
60 views

Use a dropdown menu to display various feature layers

I am trying to develop a dropdown menu that can display various feature layers, something similar to the following, except that I don't need the relocation function and when each option is selected, ...
0
votes
1answer
311 views

ArcGIS Feature Layer from Feature Collection using ArcGIS API for JavaScript?

I am trying to create a polygon feature layer from a feature collection using the ArcGIS API for Javascript. I have modified Esri's Flickr sample to use polygon geometries, rather than point ...
0
votes
0answers
26 views

Overwriting default applyEdits() method of ArcGIS API for JavaScript?

How to overwrite default applyEdits() method written in arcgis javascript api. and customize it . so that it checks for authorization and allows editing
1
vote
0answers
36 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
84 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
48 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
256 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 ...
1
vote
1answer
240 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
86 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
45 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 ...