Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
38 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
27 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
38 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
53 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
40 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
29 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
30 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
25 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
60 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 ...
0
votes
1answer
35 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
44 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
176 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
70 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
71 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
90 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
36 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
22 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
55 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
309 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
132 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
52 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
172 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
561 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
166 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
349 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
67 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
71 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 ...
0
votes
1answer
57 views

Error in Geotools renderer

Here is my Java code that generates an error from Geotools renderer: public class LandmarkLayer { protected static final String LANDMARK_FEATURE_NAME = "landmark"; protected static final StyleFactory ...
0
votes
0answers
142 views

FeatureLayer selectFeatures hides the feature only on one layer

I am using arcgis 3.23. I have defined the following SimpleLineSymbol to use to highlight selected features in different FeatureLayers. app.selectionLineSymbol = new SimpleLineSymbol(); ...
0
votes
0answers
185 views

Filtering a map in print composer

Is it possible to filter a map's layer inside Print Composer, like it is possible to filter a layer in Qgis main window? I have a layer with several points, and I'd like to create several layouts ...
1
vote
1answer
374 views

Downloading ArcGIS Online data, and editing in ArcGIS as layers, not separate geodatabases?

My goal: I'm trying to download layers from ArcGIS Online and put them into ArcGIS Desktop (10.3.1) as layers and edit them. One is a feature layer, another is a hosted feature layer. Most of the ...
0
votes
1answer
185 views

ArcGIS Javascript API - Update Renderer when a Feature Layer record is selected

I'm using ArcGIS JavaScript API to display a map with a feature layer with multiple records. I wrote code to display a pop up when a record is selected on the map. Is it possible to change the color ...
1
vote
0answers
26 views

ArcGIS API maximum distance in feature layer [closed]

I use ArcGIS API of JavaScript to show a feature on the map. I use FeatureLayer and set definition Expression but I want to show results with maximum distance, for example show to use only the feature ...
0
votes
0answers
31 views

How to issue http-request as soon a feature is clicked in ArcGIS map-viewer

I'm investigating ArcGIS 10.5 web client (map viewer, not sure what to call it). I've seen information how to populate a popup menu with data merged with template, or how to add custom actions to the ...
1
vote
1answer
232 views

Changing Layer DataSource using ArcObjects?

I want to change data source information of a layer. Lets say I have a MXD file in dev env configured with dev environment datasource details like server,database,username,password and I want to use ...
0
votes
0answers
69 views

Change Layer Field DataType

I want to change data type of a field to type esriFieldTypeOID in a layer. So i copy existing field into a new field than delete existing field first and than change datatype for copied field and than ...
0
votes
2answers
59 views

How do I make an attribute that will show the size of my polygon

Im trying to Create a feature layer for the scaring (Area burned) for hazard reduction burns on Arcdesktop and would like to have an attribute that shows the size of the polygon used. Eg: I finish ...
1
vote
1answer
194 views

Drawing point not under mouse cursor

I'm trying to draw on a map using this OpenLayer tutorial. initDrawEvent() { var draw; var source = new VectorSource({ wrapX: false }); var vector = new VectorLayer({ source: source }); ...
0
votes
0answers
65 views

Any way to use the range slider in ArcGIS Pro with a floating point raster?

So I've created these classified floating point rasters showing specific heights. However, I need to enable range properties for them so that they can function with the range slider in ArcGIS Pro. I ...
0
votes
0answers
69 views

Feature Layer Information not showing in SQL table

I have a layer in ArcMap to which data is added via my platform. When the data is added I can see the added feature information by either right clicking on the layer open in arcmap and opening the ...
1
vote
0answers
89 views

Republishing feature layers in ArcGIS Online but getting ERROR 001270?

Trying to republish feature layers in ArcGIS online but getting an ERROR 001270. Basically, we were having issues exporting/downloading a feature layer to FGDB from Arc GIS Online. ESRI support ...
3
votes
1answer
282 views

Missing Symbology Categories after performing join using ArcObjects?

I am trying to join a table to a feature class in , and use the joined fields to create custom symobology based on the joined fields as the picture 1 below for Arcmap using ArcObjects. I am ...
0
votes
1answer
56 views

why feature hides in map after move it?

I have a function that allows move a point by angle and distance The problem is that after move the point, this doesn't show in map: Sometimes the line also disappears This is a summary of the code ...
4
votes
1answer
517 views

Getting popuptemplate from feature layer to pop up when selecting row from table using ArcGIS API for JavaScript?

Using esri javascript api 4.3 in an Angular 2 application. I initially generate the map using this code: OnInit() { this.map = new Map({ basemap: 'streets' }); this.map.layers.add(new ...
2
votes
1answer
388 views

Can QGIS add, via WFS, a layer of “Complex” features from GeoServer?

I’m running QGIS 2.18.15 against Geoserver 2.12.1 (full version details below). I have a custom layer serving a single feature type with an Id, Location (geometry) and name (see GML below). When I try ...
0
votes
1answer
273 views

Highlighting clicked feature of TILEWMS?

Using OpenLayers 4.4.1 and GeoServer 2.8. I am new to the GIS world, and when I say layer/feature on a map, I am thinking table/row on the corresponding database. I have not been able to find a ...
-1
votes
1answer
72 views

SQL query new feature within definition within loop of cursor

I am using ArcGIS 10.4.1.5686 and running code within ArcMap. I thought that this question is similar to SQL query new feature with loop, or even Using a for loop to execute a query in arcpy, but ...
1
vote
1answer
629 views

Creating FeatureLayer from JSON data using ArcGIS API for JavaScript 4?

I am trying to create a FeatureLayer from a JSON object that will be fetched from another service. I am not looking for something complicated, just something that works. var layer = new FeatureLayer({...
1
vote
1answer
113 views

How to set Barriers route parameters

I am using the ArcGIS Javascript3.22 API routeTask to determine the route around polygon barriers. How do I properly define the polygon barriers? What I have tried is: routeTask = new RouteTask("...
1
vote
2answers
237 views

What is difference between ArcGIS feature layer and layer?

In the ArcGIS help documentation, they tend to use the terms "layer" and "feature layer" interchangeably (see for example "What is a layer?" or Make Feature Layer documentation). Is "layer" simply ...