Stack Exchange Network

Stack Exchange network consists of 174 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
15 views

Constructing “publish_parameters” argument for publish() method in 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
31 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
66 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
35 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
33 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
17 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
33 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
119 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
62 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
44 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
114 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
300 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
97 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
191 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
53 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
36 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
47 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
74 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
96 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
245 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
105 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
24 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
129 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
50 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
53 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
157 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
53 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
58 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
56 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
202 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
55 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
359 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
309 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
0answers
99 views

Reshaping ol.source.Vector feature to same as ol.source.TileWMS feature?

Using OpenLayers 4.4.1 and GeoServer 2.8 I have the following map: function getEX_GeographicBoundingBox(result) { return result.Capability.Layer.Layer .find(l => l.Name === '...
0
votes
1answer
210 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 ...
0
votes
0answers
126 views

Show Popup on layer Click (Leaflet)

I have multiple layers (overlay), and I want to show a popup when clicking on the layer, I'm using Leaflet. This is my code : var alhouda6_layer = L.tileLayer.wms("http://localhost:8082/geoserver/...
-1
votes
1answer
61 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
407 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
93 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
139 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
127 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
182 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
60 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
204 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
353 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 = ...
0
votes
1answer
1k 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 ...
0
votes
2answers
362 views

Get features inside a polygon from a WMS Layer in OpenLayers2

i have found some answers for this and that and the most promising approach seems to be this one here: OpenLayers - Get features inside a polygon But i have no clue how to rewrite this to suite a ...
1
vote
1answer
826 views

ArcGIS JS API 4.4 - mouse over (hover) event

I'm trying to write a handler for a mouse-over event on a FeatureLayer in ArcGIS JS API 4.4. It seems in the previous API this was built in, but I'm not finding it anywhere in the new API. Am I ...