Questions tagged [feature-layer]

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Creating Polygon Feature using ArcGIS API for JavaScript

I am trying to use ArcGIS API for JavaScript Sandbox this sample to add polygon feature, i also use codes taking from here https://community.esri.com/thread/224031-how-to-create-a-polygon-js-api-49?...
1
vote
1answer
21 views

How to locate file path to original layers from feature layers in AGOL web map?

I was given an AGOL web map that was created by someone else within my organization that is no longer here, and I have no idea where the original editable layers in the web map exist on our network ...
2
votes
0answers
33 views

What is difference between hosted and non-hosted feature layer in ArcGIS Online?

When I add a slpk to ArcGIS Online there is an option if I want to host it as a hosted feature layer but this applies to 2D feature layers as well. What is the difference between a hosted feature ...
1
vote
1answer
39 views

Ordering FeatureGroups

I'm using Leaflet right now and I have issues on ordering a list of FeatureGroups. Each feature group is either an imageOverlay or a list of Features I tried using bringToFront / bringToBack and it's ...
1
vote
1answer
35 views

Updating Feature Service that ArcGIS Online Feature Layer points at

I have a Feature Service hosted on my ArcServer and exposed to the internet (something like this Layer: Rainfall(NOAA) (ID: 0)). I added this Feature Service to my AGOL org by going to Content > ...
0
votes
0answers
13 views

What is the intended workflow for making regular updates to a feature layer on ArcGIS Online?

I've been managing a portal on ArcGIS Online now for a while and since it's inception I've probably been doing things in ways that are harder than they need to be. In addition to many static layers I ...
0
votes
0answers
23 views

Only getting service definition when uploading feature layer from ArcGIS Pro to ArcGIS Online

I have a point feature layer in ArcGIS Pro. Whenever I upload this layer to AGOL I only get to see the service definition. The feature layer itself is gone. Basically I can't do much with only this ...
0
votes
1answer
37 views

Converting feature set inputs into feature class or feature layer for Python Script tool

I want to accept feature set as input and convert it into feature layer or feature class so that I can use the input in select by location in the python script, as the select by location don't accept ...
2
votes
1answer
23 views

Combining Rotation and Graduated Colors in ArcMap

Is there a way to rotate the symbols of a point feature layer (with a given rotation out of the attribute table) that is displayed as graduated color layer? I can see the option in the graduated ...
0
votes
0answers
27 views

Arcade Script to Link to Attachment Lost in Join

I created a survey using Survey123. The survey produces a table, no points. I then join the table to my existing point feature in ArcOnline. This works great except that I lose the photo attachment ...
1
vote
1answer
32 views

What does enable sync do when uploading feature layer from ArcGIS Pro to ArcGIS Online?

Whenever I upload a feature layer from ArcGIS Pro to ArcGIS Online (AGOL), I see this option: I want to know what this option means. Does it mean there is a live connection between the feature layer ...
0
votes
1answer
89 views

Purpose of service definition for ArcGIS Online

Whenever I upload e.g. a feature layer to AGOL, I see in AGOL the feature layer AND a service definition. I am curious what this service definition is. You can ask the same thing of the scene layer ...
1
vote
1answer
71 views

Adding layer control to Mapbox.js map with data that is featureLayers, that shows only the first layer on load?

I have been tasked with finishing off an abandoned project in an area I have no expertise in. I have successfully loaded my 3 geoJSON files into a map, symbolized them and given them popups. What I ...
0
votes
1answer
24 views

ESRI-Leaflet updateFeature with a changed attribute or property

I'm updating a feature in ESR-Leaflet from a feature layer based on a call to a function. What I'm having trouble with is submitting this change to the feature service. Currently I: Get the feature ...
0
votes
1answer
33 views

Esri-Leaflet getFeature returns 'undefined'

I'm using Esri-Leaflet and whenever I try to use getFeature() the console.log returns "undefined". There are no other errors to accompany the undefined message. var service = L.esri.featureLayer({...
0
votes
0answers
34 views

SelectLayerByAttribute_management not selecting anything

I've read through most of the other similar questions and nothing so far has addressed my issue; most are about syntax. I'm trying to select by attribute from a Feature Layer. But every time, Arc ...
3
votes
1answer
207 views

Identify layers in an .mxd that are network elements feature types

I need to create new feature classes from all layers in an .mxd, and also create a new .lyr file for each of the newly created feature classes that retains the symbology of the original map layer. The ...
1
vote
2answers
44 views

Unable to add CSV files as a hosted feature layer in ArcGIS online

I have a hosted feature layers of 2 geometry types. 1. Geometry Type - point 2. Geometry Type - Polyline I want to export these layers and import it on another map. I used the following steps: 1 ...
1
vote
0answers
46 views

Mask out areas inside a feature collection on Google Earth Engine

I am quite new to javascript and I am trying to apply a mask on an image to exclude areas inside a feature collection, I have seen that for the case of image collections the "mask" and "mask.not" ...
0
votes
0answers
42 views

Display Feature Layer content on default popup ArcGIS Javascript API

I have a map that import a layer using the function var layer = new FeatureLayer( url: "https://xxxxxxxx" outfields: ["nom_cant", "nom_prov", "nom_distr"], ) Also I am using the default popup (...
1
vote
1answer
213 views

ArcGIS Feature layer data update using API in PHP

I'm facing an issue with update data on the ArcGIS feature layer using API in PHP. Data is updating on the feature layer as expected, But data on the map is not representing. Every time when I'm ...
0
votes
0answers
16 views

Set custom CRS for feature layer

I'm using ArcGIS server 10.3. I create a map service (map server & feature server) from a shape file that I set my custom CRS. My map server display on map perfectly, but when I view my feature ...
1
vote
0answers
23 views

Calculating areas and joining attributes between overlapping features

I am working with QGIS 3.4.8 and Python 3.6.8 on OSX El Capitan 10.11.6. I have two shapefilea, one which is a grid of cells (each cell a feature) and the other one which is urban settlements as ...
0
votes
1answer
84 views

List of small lists in Python: How to retrieve items from small list in a loop?

I would like to automate the process of making some certain feature layers. I made a list of lists that goes like that: [[feature class, subtype],[feature class,subtype],...] I'd like to loop ...
1
vote
1answer
67 views

SNAPSHOT mode of Feature Layer in ArcGIS JavaScript API 4.x

Is there any posibility to set Feature Layer in "SNAPSHOT mode", as it was in ArcGIS JS API 3.x? The main goal is to fetch features once to the client and avoid additional queries at each map pan/zoom ...
-1
votes
1answer
48 views

Making XY Event Layer into Copy Feature layer using ArcPy?

I am taking a CSV file and importing it with the XY Event feature layer. I then am trying to use the Copy Feature tool to get "Object ID" assigned to each row in order to run an attribute query. My ...
0
votes
1answer
707 views

ArcGIS JS API Failed to load feature layer

I want to add test feature on my ArcGIS map using feature layer. I create layer using Graphic as a source. After a lot of googling I create my point the following way: require([ "esri/Map", "esri/...
0
votes
1answer
236 views

ArcGIS JS API SimpleMarkerSymbol is not a subclass of Layer

I have polar ArcGIS map and want to display my own data on it. I will get data using AJAX REST queries to my server. As I understand, it isn't commonly used way to get data in ArcGIS, but presenting ...
0
votes
1answer
101 views

Trying to use layer saved as .lyr file with arcpy.mapping.Layer function results in error?

I am fairly new to the ArcGIS development world. I am attempting to write a script that will have an end result of selecting features by proximity to a selected portion of a different feature. So far, ...
1
vote
1answer
121 views

AutoCAD Map/Civil 3D Feature Data Object (FDO) layer displays but is no longer editable

Just over a week ago, one of our main GIS layers became uneditable. Our GIS layers are connected to AutoCAD Civil 3D (Fig.3) via an SQL Server Spatial Connection in the Task Pane. We were able to edit ...
1
vote
1answer
26 views

Naming exported features from attribute information?

I am new to Python and in the process of learning. As a self test I am trying to export all of the municipalities of a single county feature layer as their own feature layers. I am trying to name each ...
0
votes
1answer
160 views

Update attributes of Esri FeatureLayer from Leaflet

I have a shapefile hosted as Feature Layer at ESRI Server. I create a Leaflet application where I want to enable an attributes update of my Feature Layer (field 'Status'). I have customized a popup ...
1
vote
1answer
147 views

Invalid Primary Key error message when attempting to join table view and feature layer

I am attempting to join a feature layer to a table view in order to export a table of all non-joining features in the table view by selecting NULLS from the join field related to the feature layer. ...
0
votes
1answer
103 views

Arcpy way to access underlying feature classes contained in a web map

I am building a stand alone arcpy script, and need to connect to the specific feature classes within a published web map, query/copy from those feature classes, then after some processing update those ...
2
votes
1answer
1k views

Updating hosted feature layers on AGOL using the ArcGIS Python API?

I previously asked Adding data to a feature layer on ArcGIS Online using arcrest and arcresthelper.featureservicetools? regarding the most current process for establishing and then automating feature ...
0
votes
1answer
131 views

Adding data to a feature layer on ArcGIS Online using arcrest and arcresthelper.featureservicetools?

I'm attempting to automate some web map updates on ArcGIS Online through the use of the arcrest module. The following two methods are intended to act as the interface between local data sources and ...
0
votes
1answer
74 views

Field Value shapefile - Add values

I have a shapefile that contains three lines. I want to add a specific numeric id to the field "line_id" and a string id to the field "border_id". Basically, for the first line, I want to add the ...
0
votes
1answer
245 views

Remove L.esri.query featureLayer from map ESRI Leaflet

Using ESRI Leaflet I am adding markers to the map from an ArcGIS online feature service. I do this using the L.esri.query method similar to: function slideChange(time1, time2, service) { L.esri....
0
votes
1answer
53 views

Two parallel lines (vectors), only one feature (ID) [closed]

I have one shapefile that contains two parallel lines in yellow in the picture. Both lines have the same feature (these lines were originally both sides of a fixed distance buffer around a line). I ...
1
vote
1answer
25 views

Saving a Child Object as a Feature Class/Layer

I'm very new to arcpy, my terminology might not be the most precise/accurate. I'm having trouble saving a sublayer (named "LALines") from a Location Allocation Solve Result as a feature class. As I ...
0
votes
1answer
103 views

Can I use the Search Widget on fields related to a featurelayer?

Is it possible to point the search widget to related records? For example, I have a featurelayer of spaces, which is related to a table of names based on the spaceID. I would like to be able to ...
3
votes
1answer
582 views

Feature Layer will not refresh ArcGIS Javascript API

I am trying to integrate live point data (worker locations) from Workforce for ArcGIS into a Javascript web app that I am building. The layer loads fine and displays on the map properly, it even ...
2
votes
1answer
376 views

Creating buffer around features using GeoTools?

I want to develop a simple GIS application using GeoTools. I have looked at the tutorials but i could get to much meaningful from them. I have a simple JMapFrame to which add can add a featureLayer ...
1
vote
0answers
69 views

Use selected feature in MXD as selector in python?

I am quite new to ArcPy. However, I want to write a script that: uses an existing SELECTED FEATURE of a feature class in a data frame of an existing MXD (on an SDE Server) for a SELECT BY LOCATION ...
2
votes
1answer
221 views

Heatmap not working on FeatureLayer (ArcGIS JS API 4.8)

I tried my best but didn't get success to show heatmap on FeatureLayer with latest ArcGIS JavaScript API 4.8. My Code is located here. I used HeatMapRenderer to render the point on the map as the heat ...
0
votes
1answer
1k views

Uncaught TypeError: FeatureLayer is not a constructor

I am trying to test adding a clickable layer to a web app. I am just using a test layer from arcgis online rest services shown in a tutorial. When I try to add the layer using esri/FeatureLayer I, get ...
0
votes
1answer
252 views

Adding multipoint to feature layer using ArcGIS API for JavaScript?

I want to display a marker whenever I receive websocket message but with this code I can only display the first point and then when I receive the second message I can't display it. socket.onmessage = ...
0
votes
1answer
622 views

Get FeatureLayer Attribute by Clicking

I'm using ArcGIS API for JavaScript 4.8. My goal is to get the Census tract ID value of the clicked Feature in a FeatureLayer and display the ID value in an alert box. I got stuck when trying to use ...
0
votes
1answer
150 views

ArcGIS JS API 3.x: How to open a Info Window programmatically

I'm working on a geographic application using the ArcGIS JavaScript API 3.x. I am looking for a method that runs when a user clicks on suggestion Menu in the Search Bar for showing a specific feature ...
0
votes
1answer
115 views

Set attribute values while creating an ArcGIS Server feature in esri-leaflet?

The Esri-Leaflet sample map Editing feature layers shows how the geometry of an ArcGIS Server feature layer can be created in Leaflet, by digitising a new polygon which is inserted into the feature ...