Skip to main content

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
0 answers
57 views

Modifying ol3-search-layer functionality in an OpenLayers map exported from QGIS2web

I have a mapping project to document my tree collection at https://whisperingweevil.com/map/map.html I am using QGIS and QGIS2web to generate code for my web map. I have a search field to search the ...
bjah's user avatar
  • 1
0 votes
1 answer
37 views

How to upsert LineString in ArcGIS python via CSV (or other suggestion?)

I have been working on an ETL process to push / upsert my data from PostgreSQL into ArcGIS Online into a lines feature layer to be included on a WebMap. I have had no problem with using essentially ...
Eric Davis's user avatar
2 votes
2 answers
76 views

Optimizing river network features queries in ArcGIS JavaScript SDK

I am working on a map to visualize river network data using ArcGIS SDK for JavaScript. The data I’m using is from this ArcGIS feature service published by the CLMS. The data includes a dozen feature ...
tvoirand's user avatar
  • 298
0 votes
0 answers
35 views

How to load GeoJSON data using ArcGIS maps SDK for Kotlin

I am using ArcGIS map SDK for Kotlin, but I have a problem while loading a GeoJSON string into the map. Here is my code: val featureCollection = FeatureCollection.fromJsonOrNull(geoJSON) val ...
Dodge_X's user avatar
0 votes
1 answer
62 views

Clipping hosted features using ArcGIS Pro

I added two input layers. I did Add Data, then in the file folder I went to the Portal. From there I added one layer from "My Groups", and another layer from "ArcGIS Online". I ...
Henry 's user avatar
  • 11
1 vote
1 answer
52 views

ArcGIS Online will not map lat longs!

I'm trying to "add new" hosted feature layer from either a .csv or .xls in ArcGIS Online. But, I cannot for the life of me get it to plot the XY data! I'm at a loss because I'm used to the ...
Heather's user avatar
  • 11
0 votes
0 answers
20 views

KML to SHP - Script error 000840: The value is not a feature layer when I add FeatureClasstoShapefile tool to script

I want to do is to convert KML files to shapefiles and I haven't seem to be able to find a straight forward script anywhere. Eventually, I would like to turn this into a script tool to use personally, ...
Ally's user avatar
  • 1
0 votes
0 answers
28 views

Calculate between features in sequence without matching ids with PyQGIS

In another question (Loop an operation in all features) I asked about calculating the time difference between features, I was told that I could use this code (this code is from BERA): layer = ...
Mestrexama's user avatar
0 votes
1 answer
49 views

How do I make my layer search pull the correct information?

I am creating a web application with a Layer Search. Currently when I search the map, it brings up a state or parish but I would like it to go into more details and bring up the candidate's name for ...
Chesouye's user avatar
2 votes
1 answer
160 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
  • 29
0 votes
1 answer
82 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
193 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
68 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
89 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
1 answer
450 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
  • 23
3 votes
1 answer
265 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
  • 33
2 votes
1 answer
247 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
355 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
104 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
  • 202
2 votes
2 answers
113 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,293
0 votes
1 answer
564 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,036
3 votes
1 answer
267 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
  • 186
0 votes
1 answer
670 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
132 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
60 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
221 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.2k
0 votes
1 answer
200 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
49 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
34 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
486 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
166 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
408 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
  • 141
1 vote
0 answers
519 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
46 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
71 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
63 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
1k 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
97 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
2k 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
  • 371
1 vote
0 answers
77 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
5k 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
165 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
302 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
  • 117
4 votes
1 answer
2k 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
176 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
474 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
2k 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
843 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,029
0 votes
0 answers
249 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
148 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

1
2 3 4 5
8