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
1 vote
0 answers
15 views

How to create/get a Feature class from a .lyrx file without using CreateLayer function?

This is regarding migrating ArcMap AddIn to ArcGIS Pro. In ArcGIS Pro, depending upon the type of file (.lyrx, .shp, Raster) I need to call the corresponding ArcGIS Pro SDK API to return a feature ...
SriMari's user avatar
  • 11
0 votes
1 answer
46 views

Error publishing feature layer using ModelBuilder in ArcGIS Pro

I've created a model in ArcGIS Pro ModelBuilder which attempts to carry out the following: Variable: Database connection (sql server) Make Query Layer (input = Database Connection, output = "...
furbaw's user avatar
  • 1
1 vote
1 answer
128 views

Display selected category from dropdown menu in sidebar in ArcGIS SDK JavaScript app?

I'd like to display the {Description} field content of a feature layer in the sidebar div of my application. One way I believe it can be done is by using a click event and the selectedIndex property. ...
Pfalbaum's user avatar
  • 911
1 vote
0 answers
22 views

Too many missing records when using Export geoprocessing tool in ArcGIS Pro [closed]

I am using ArcGIS Pro ver 3.1 and 2.9.3; GIS Enterprise 10.9.1; HANA database version 2.00.059.04.1655794895 (fa/hana2sp05). Database feature class are all branch versioned, replica enabled. When ...
Amogh's user avatar
  • 19
1 vote
0 answers
48 views

C# - Add GroupLayer to Active Map (ArcGIS Pro)

I'm trying to add a groupLayer to active map using C# and ArcGIS Pro. Devloping a plugin. This is my sample code or what I've tried so far: Esri.ArcGISRuntime.Mapping.Map myMap = new Esri....
Luiz's user avatar
  • 11
0 votes
0 answers
28 views

Masking Range-Enabled Feature Layers

Is there a way to mask features that have been range-enabled? I have a range enabled polygon feature of different project boundaries. I am using this range to show/unshow features in bookmarks similar ...
Thomas Quintero's user avatar
1 vote
1 answer
277 views

Polygons not showing when added to Leaflet map, may or may not show when page is refreshed

I am trying to create a map to which users can add layers from ArcGIS data. They click a button, which opens a modal. In the modal, they enter the URL of the ArcGIS layer, choose a colour for the ...
ysi_d's user avatar
  • 25
3 votes
0 answers
150 views

QT Designer pushButton link to QGIS

I want to build a custom Toolbar with Plugin Builder 3 for QGIS. I managed to create the necessary folders and files and I can load my UI into QGIS: The UI looks very simple with only two buttons like ...
Rolf's user avatar
  • 31
2 votes
1 answer
160 views

Having trouble adding a layer from a Geodatabase using ArcPy

I have been working on a project and have gotten to the following point: I have been able to create a Feature Class, here named GeocodedDonationLocations. This was successfully done with arcpy....
XanderXombie's user avatar
0 votes
1 answer
198 views

Schedule automated data export of ArcGIS Online Hosted Feature Layer to Cloud Storage (SharePoint/Google Drive)

I'm looking for a way to schedule an automated export of a hosted feature layer on ArcGIS Online to SharePoint or Google Drive. We've attempted to use Power Automate but there's a limit of 150 ...
R Garcia's user avatar
2 votes
1 answer
97 views

Changing value of layer attribute based on geometrical conditions of line elements through ArcPy in ArcGIS Pro

I have a feature class layer that comprise of line elements. For my purpose, I needed the start and end point coordinates of each line, so I added new columns with add field and use calculate geometry ...
rez's user avatar
  • 248
2 votes
2 answers
99 views

Open QgsColorDialog and modify feature in @qgsfunction from expressions

Is it possible to open a QDialog (here a QgsColorDialog) and modify layer's feature when executing a QgsExpression with a qgsfunction such as : @qgsfunction(args="auto") def label_annotation(...
dmjf08's user avatar
  • 1,097
0 votes
1 answer
308 views

In ArcGIS Online, how to configure layer actions to use a map to filter a table for a chart?

In ArcGIS Online, I've created a dashboard. In the Dashboard, there is a webmap. I also have a chart. It IS possible to use the map to filter the chart, using Layer Actions (configure gear, layer ...
Mox's user avatar
  • 1,038
3 votes
1 answer
182 views

Changing color of newly created line feature on mouseover in Leaflet?

How to highlight one feature on hover from a featureGroup layer? It's easy when the layer is predefinied and static - I could write a highlighFeature and onEachFeature functions and pass them as ...
Maryla's user avatar
  • 148
0 votes
1 answer
364 views

List all maps in my Portal and list their corresponding layers

I am trying to list all of the maps inside of my Portal with the corresponding features that are inside. So far this is my code: # Import necessary modules import arcgis import openpyxl # Create an ...
DoctorBo's user avatar
0 votes
1 answer
75 views

Using a variable in a SQL expression within Make Feature Layer function

I need to make a function to call in another script to count the buildings within an area using a field value UseCode Here is what I have with my test script. I know the make feature layer is not ...
PieCharmer's user avatar
0 votes
0 answers
49 views

How to select from the layer name specific character not whole the name in ModelBuilder in ArcGIS Pro

I am not pro in coding and just recently started using ModelBuilder in ArcGIS Pro. I would like to fill some fields in some attribute tables with the layer name but not the whole name just part of it. ...
Marmar's user avatar
  • 11
1 vote
1 answer
166 views

How to control the highlight effect when opening a feature layer's popup?

By default, when a featureLayer has a popupTemplate specified, clicking on the feature will open the popup and also apply a highlight effect to the feature, as in the Intro to PopupTemplate example - ...
Stephen Lead's user avatar
  • 21.1k
0 votes
1 answer
152 views

Filter Feature Layer by bookmark in ArcGIS Instant App

I have an app built from the Instant App templates. It's using a webmap that has bookmarks set for certain areas of interest. The client I made the app for has asked if I'm able to filter the hosted ...
Pfalbaum's user avatar
  • 911
0 votes
0 answers
44 views

ESRI - ERROR 000358: Invalid expression. Connect Public Transit Data Model To Streets

Having some issues running the Connect Public Transit Data Model To Streets (Public Transit) tool with arcpy. Getting an error code when completing a script provided by Esri - located here. I modeled ...
MattMDL's user avatar
  • 21
1 vote
0 answers
30 views

QGIS: Point object is not displayed, then layerstyle disapperas as well

I have a windturbine displayed as a point layer with a style for visibility. If the window doesn't show the point feature, then the style disappears as well. It would be better, if the style stays, ...
Jonas's user avatar
  • 11
-1 votes
1 answer
417 views

Batch exporting files from one gdb to another with source file name as exported name

Is it possible to batch export these files from one geodatabase (test.gdb) into another and name them as the source file name even though the feature layer name is not the same as the source file name?...
hbk's user avatar
  • 434
0 votes
0 answers
134 views

Leaflet leaflet.groupedlayercontrol plugin does not show layers

I´m using [leaflet-groupedlayercontrol][1] plugin but failing to see layers in map. I manage to add layers to map with normal var lc = L.control.layers(baseLayers).addTo(map); lc.addTo(map); lc....
Bruno's user avatar
  • 45
0 votes
1 answer
319 views

ArcGIS Python - Upload Layer from .lyrx file to AGOL with Symbology within standalone Python Script

I have a script which creates a new shapefile from a text file, and I symbolize it by type from another template layer. This allows me to toss the shapefile into ArcGIS Pro with all the proper ...
Barnard87's user avatar
  • 131
1 vote
0 answers
444 views

Draw line path based on location's coordinates and attach icon features on it

I want to draw a line on the map that indicates the path of the location based on its location coordinates and begin longitude/begin latitude, end longitude/end latitude The target result is like My ...
frankiie's user avatar
  • 121
1 vote
0 answers
39 views

Difficulties displaying JS function result based on feature field calculations in HTML web page

I am looking to display a statistic that I derived from a JS function, called "Weighted RSR". This statistic is calculated by the following equation: (Sum(SquareYards * AdjustedRSR) ) / ...
Mvonherrmann's user avatar
1 vote
2 answers
57 views

Distinguishing between shapefile and layer file using ArcMap

I have a shapefile with points and I derived from it some layerfiles with different symbologies (based on different columns of the attribute table). How can I distinguish between shapefile and layer ...
ims.weber's user avatar
0 votes
1 answer
57 views

Web AppBuilder DE - Use an uploaded shapefile to query

The shapfile is zipped and uploaded through the "Add Data" widget. I am looking to use an customized widget to read the feature layer from the upload and query another feature layer. Since ...
PacmanKX's user avatar
  • 333
0 votes
1 answer
932 views

Vector Tile Service VS. Feature Service

I've been watching the following Esri video: https://www.youtube.com/watch?v=ULhrWCIH0SQ And the following two slides confuse me: What is the difference between Features and Vectors? It seems that in ...
blades's user avatar
  • 21
1 vote
0 answers
94 views

Find min and max values of a field (column) in a feature layer

I am using ArcGIS API for Javascript in a Nuxt application and I would like to find the max and min values of a field in a feature layer hosted on ArcGIS. How to do that? Here is the code. The values ...
Maxime's user avatar
  • 111
1 vote
1 answer
1k views

Create polygon outline of raster [closed]

I have several raster images with irregular shapes. I need to make a spatial analysis in the sense of "select all polygons that are within the raster." just like I can do with vectors. In ...
Kai's user avatar
  • 349
1 vote
0 answers
71 views

ArcGIS: restrict FeatureLayer SQL access based on token

I am working on a web app using the ArcGIS API for JavaScript that fetches a FeatureLayer from ArcGIS Online. The web app has users with many different permission roles and I want users to be able to ...
devgioele's user avatar
2 votes
1 answer
4k views

Where are OSM tile servers corresponding to its supported layers?

On OpenStreetMap's main site (like here), there are 6 different layer options to choose from (like Standard, Transport Map, Cycle OSM, etc): However, on OSM's wiki on Tile Servers, not all of these ...
Zeta.Investigator's user avatar
0 votes
1 answer
153 views

Displaying all layers in ArcGIS feature service in Angular application

As you can see in the below living atlas layer, there are multiple layers inside (state,county,tract etc..) But when I add https://services2.arcgis.com/FiaPA4ga0iQKduv3/arcgis/rest/services/...
Kalana Tebel's user avatar
0 votes
1 answer
250 views

How to specify the default display style for a FeatureLayer using ArcGIS (Python) API?

Is there a way to edit the default display style of FeatureLayer on ArcGIS Online via the (Python) API? Currently I can use the gis module to publish a GeoJSON to ArcGIS Online. The GeoJSON in ...
TCR's user avatar
  • 97
4 votes
1 answer
1k views

Wildcard in if and elif statement [closed]

I am using Python to update layer names and symbology on a map layout. Some layer names may be different so I was attempting to use a wildcard, but am not having luck. I am not receiving an error, but ...
kart's user avatar
  • 41
0 votes
0 answers
155 views

Automatically create child feature when creating parent

Is it possible to create a system where there is a geospatial layer linked to a number of non-spatial child tables so that when creating a feature in the parent layer child features are also created ...
user107128's user avatar
1 vote
1 answer
426 views

Displaying featurelayer pulled from geodatabase using ArcGIS Pro SDK

I'm working on a plugin for ArcGIS Pro that when a button is clicked, it should create a new feature layer from data pulled from a geodatabase. While it does seem to create the layer, none of the ...
Roger Asbury's user avatar
1 vote
1 answer
1k views

Adding ArcGIS Online Feature Layer to Leaflet project

I have a hard time adding a simple feature layer from my ArcGIS Online account to a Leaflet project. This is my approach: <script src="https://unpkg.com/esri-leaflet/dist/esri-leaflet.js"&...
MrSalamikuchen's user avatar
1 vote
1 answer
684 views

ArcGIS Online - problem with export (backup) the layer by saving it in specified GIS format

I have the layer uploaded to ArcGIS Online as you can see below. I am wondering how to export the existing layer or new layer to various GIS format. Maybe the question is silly, although it's the ...
Geographos's user avatar
  • 4,005
0 votes
0 answers
218 views

Getting an error "Feature Layer Error", with automating ArcGIS Online Dashboard

I created a dashboard using ArcGIS online and am in the process of automating the dashboard to update on its own but kept getting this error: ''FeatureLayerCollection' object has no attribute '...
user118372's user avatar
1 vote
1 answer
131 views

editingEnabled Property is always return as True for feature layers

I have hosted two feature layers in ArcGIS Online 10.8 and consumed it as portal items in my webmap application using ESRI Javascript API 4.19. I have enabled editing for one feature layer and not ...
venkat's user avatar
  • 1,051
0 votes
0 answers
125 views

ArcMap 10.8 and AGOL - Create local copy of Hosted Feature Layer only brings in polygons

I have a hosted Feature Layer with points, lines, and polygons in AGOL that users need to be able to edit in ArcMap 10.8. Editing is enabled at the Feature Layer level and there are no identifiable ...
breaker-of-software's user avatar
0 votes
0 answers
352 views

Not able to add feature class layer into new Map Viewer, ArcGIS Online

Using ArcGIS Online When in New Map Viewer, feature class layers that I have saved in My Content do not appear when I search the Browse layers through the Add tab. Only KML files are showing in the ...
kent 's user avatar
  • 101
0 votes
0 answers
157 views

Help joining two polygon layers using ArcGIS Spatial Join

I am trying to use ArcGIS Pro to spatially join approximately 600,000 polygons in ESRI TitleInfo with the polygons in this London landuse dataset. However, the spatial join fails to match any record. ...
lasoon's user avatar
  • 1
0 votes
1 answer
154 views

ArcGIS Online Hosted Feature Layer activity log export

Is there a way to export an ArcGIS Online Hosted Feature Layer activity log? The main focus here is to establish who deleted features
R Garcia's user avatar
0 votes
1 answer
170 views

Custom Portal GP Service fails for unexplained reason [closed]

I have written a script to create a smoke plume from user inputs (it draws a giant triangle) and then update a number of structure features that are touched by the smoke plume. It works in ArcMap, but ...
Smasher's user avatar
  • 51
0 votes
0 answers
106 views

How to input a string (or any type) value to a field for multiple feature layers at once

I work in ArcMap 10.8.1. I added fields to all of my feature layers using Batch Add Field tool. Now I'm trying to find a way to enter values into those fields. Values are identical for each field. My ...
M. Tomas's user avatar
  • 183
0 votes
1 answer
407 views

Get FeatureClass name from Layer properties in ArcObjects C#

I am newbie in ArcObjects. I am trying to fetch the featureclass name from layer properties under Data Source. I am able to get the red-marked text via ILayer, IFeatureLayer, IFeatureClass. Is there ...
Vikrant Jain's user avatar
2 votes
1 answer
595 views

Creating new Feature Layer from existing feature layer on ArcGIS Online using ArcGIS API for Python

I have a folder on ArcGIS Online for a city that has few layers in it. I need to create separate folders for each city and then create new feature layers using these existing layers, preferably using ...
Shantanu Deshpande's user avatar

1
2 3 4 5
8