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.

1
vote
1answer
21 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
33 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
15 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
33 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 ...
1
vote
1answer
68 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
45 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
70 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
61 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
18 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
46 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
232 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
87 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
45 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
146 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
441 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
128 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
277 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
63 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
50 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
49 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
95 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
140 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
324 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
146 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
185 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
59 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
57 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 ...
0
votes
0answers
13 views

Pathfinder export created one shapefile containing multiple features I need split into separate layers [duplicate]

I don't do python, so I don't seek python answers. Pathfinder exported my collection data as a single shapefile. I now need to separate each attribute into separate layers. ie. this was a utility ...
1
vote
1answer
176 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
59 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
63 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
77 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
254 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
438 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
347 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
234 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
67 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
522 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
106 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
183 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 ...
2
votes
1answer
140 views

arcpy dissolve throws error 000369 in already successfully tested script

So I'm running a simple line FC through this: # geh = inputFC # fields = ["list","of","fieldnames"] def clause(fields,br_cl_val): clause = """{0} = {1}""".format(arcpy.AddFieldDelimiters(geh,...
2
votes
1answer
208 views

arcpy.MakeFeatureLayer_management: query throws error 000230/000358 [duplicate]

Im trying to create a feature layer on which i want to perform a select by location, however: arcpy.MakeFeatureLayer_management (perp, "selected","LINK_ID = 23002109") throws: ExecuteError: ERROR ...
2
votes
1answer
66 views

Why are ArcGIS Online Feature Layers so Big Compared to their Source?

I am uploading a file geodatabase to ArcGIS Online that is 40MB when unzipped. The resulting feature layer is 170MB. Why is the feature layer so much bigger than the source data? I don't remember ...
1
vote
1answer
254 views

Unable to get Feature Layer to apply Unique Value Renderer in ArcGIS Javascript API

I am trying to make a unique value renderer on a map using the JavaScript API. I am using a layer that represents continents. I have used the samples and modified the code for my own layer, but I can ...
1
vote
2answers
456 views

make feature layer of shapefile

I'm trying to use polygons in arcpy. The polygons are stored in a shapefile. When running the following: import arcpy gdb = 'path//to//gbd' inshape = os.path.join(folder,'Ameland_1968.shp') poly = ...
1
vote
1answer
2k views

OpenLayers adding circle feature with same vectorSource increases opacity of all

Background Specs OpenLayers 4.4.1 OSM I'm fairly new to OpenLayers and have never used vectors before (primarily because I found out that I was using OpenLayers version 1, and had to relearn ...