Skip to main content
ArcGIS on Stack Overflow

0 answers

How to set the display extent of a featurelayer

const polygonLayer = new FeatureLayer My service data is quite large, so I only want to load the features within a specified extent. I tried setting the fullextent but it didn't work. I can't use ...

1 answer

Can Pixi use locally installed Python libraries?

I'm managing a Python project with Pixi, because I have both Conda and Pypi dependencies. I need to install arcpy, which is ArcGIS's Python API. It's a closed-source library, and it is only available ...

1 answer

Add polygon to the featureLayer

I tried go add a polygon to the feature layer. In getting an error in the console: Object { name: "feature-layer:missing-parameters", details: undefined, message: "'addFeatures', '...

1 answers | Oct 9 at 10:59 by Adam-KER on Stack Overflow stackoverflow.com
1 answer

Error importing "Esri.ArcGISRuntime" to Qt Creator

After running the code an error came: QQmlApplicationEngine failed to load component qrc:/main.qml:19:1: module "Esri.ArcGISRuntime" is not installed I am using Qt Creator 4.11.1 Qt 5.14.1 I ...

1 answers | Oct 7 at 20:12 by Nabil Haidar on Stack Overflow stackoverflow.com
2 answers

Why is my geopandas installation missing sjoin? AttributeError: 'GeoDataFrame' object has no attribute 'sjoin'

I need to use geopandas sjoin on a project. I have successfully created GeoDataFrame objects and used class methods readfile, crs and to_crs. However when it comes to using sjoin I am getting an ...

2 answers | Sep 27 at 13:32 by clams on Stack Overflow stackoverflow.com
1 answer

ArcGIS Flutter SDK: Unhandled Exception parsing Cache-Control header max-age=1.00:00:00

I am implementing ArcGIS Maps SDK for Flutter (version 200.8.0+4672) in my Flutter application. During runtime, I get the following unhandled exception related to HTTP header parsing: Unhandled ...

1 answers | Sep 19 at 12:31 by Ram on Stack Overflow stackoverflow.com
0 answers

In ArcGIS Pro model builder, how do I pass number output of Get Field Value to an expression in Select Layer by Attribute?

I’m trying to automate the selection of polygons from a feature layer based on polygon area. Specifically, I need to select only those polygons whose area is greater than or equal to the median area ...

1 answer

Calculating Subtypes and Coded Values in ArcGIS Attribute Table

I am working in an ArcGIS attribute table (basically an Access Table) and I have set up some subtypes for a short integer field. The subtypes give a coded for each value and an associated descriptive ...

1 answers | Aug 22 at 14:29 by Mike on Stack Overflow stackoverflow.com
0 answers

ArcPy symbology ignores ManualInterval and defaults to StandardDeviation — how to force manual breaks?

I'm using ArcPy with ArcGIS Pro 3.3.1 to apply a graduated color symbology to a raster or feature layer, using custom class breaks and labels. According to the ArcGIS GraduatedColoursRenderer ...

0 answers

Getting ORA-00942 error when running Insert Into

I am trying to insert data from a couple different tables in 2 different databases using database links. If I run the select query on it's own, it runs without error and returns the expected results. ...

0 answers

Arcpy manually assign class breaks

I want to have dynamic symbology by manually assigning values for class breaks: ≤ min min - max > max I've come up with the function below, the issue is that it does not create the number of ...

0 answers

Cannot set custom ObjectID values when inserting via FME

I'm migrating from ArcGIS Enterprise to ArcGIS Online and encountering an issue with ObjectID field control during data synchronization. Problem: When inserting data from an FME workspace into ArcGIS ...

0 answers

"ArcGIS Enterprise 10.9 - 'User does not have privileges to perform this operation' when using Add Features API with OAuth token"

I'm working with ArcGIS Enterprise 10.9 and I've registered an application to obtain a client_id and client_secret. I’m using the following endpoint to generate a token: /sharing/rest/oauth2/token ...

4 answers

Checking a checkBox in .docx form with Python using docx module

I am attempting to fill out a word document form with Python 2.7's docx module. I can modify text elements just fine but I am having difficulty figuring out how to check a yes or no checkbox. How do ...

4 answers | Jun 17 at 4:12 by PMK on Stack Overflow stackoverflow.com
1 answer

Exposing domains using R-ArcGIS bridge (package arcgisbinding)

I am using the R-ArcGIS bridge via the package arcgisbinding to access a file geodatabase in AcrGIS online. I can bring data into R using arc.select but cannot see coded domain names. For example, if ...

1 answers | Jun 12 at 18:15 by EDG on Stack Overflow stackoverflow.com
34 answers

"Uncaught SyntaxError: Cannot use import statement outside a module" when importing ECMAScript 6

I'm using ArcGIS JSAPI 4.12 and wish to use Spatial Illusions to draw military symbols on a map. When I add milsymbol.js to the script, the console returns error Uncaught SyntaxError: Cannot use ...

2 answers

Simplifying a shapefile (in Python)

I have a world political map shapefile that I want to simplify in a manner where the political boundaries are at specific angles — 0, 45, 90, or 135 degrees. An example of that would be this map. Is ...

0 answers

How to align line with many vertices?

I am trying to align a user-created centerline feature with the authoritative version of that same line. I need to keep the start and end points of the line sections generally where they are - aligned ...

1 answer

How can I make Spyder run files without a python extenstion?

Older versions of Spyder did not seem to have this problem but I'm currently running Spyder 6.0.6 and it does not let me run any files unless it has a recognized python extension. This is becoming an ...

1 answers | Apr 30 at 2:55 by Scott on Stack Overflow stackoverflow.com
1 answer

Where to find ArcGIS service url and how to create one? How upload and view content from the server

I am new to ArcGIS. I would like to know where I could find the service URL to list all the items in the MyContents tab which could be found by logging into my organization's ArcGIS URL. I want to do ...

0 answers

Integrate arcgis as a service in Visual Studio 2022 in ASP.NET MVC project, to convert address value into longitude and latitude

I want integrate arcgis as a service in Visual Studio 2022 in an ASP.NET MVC project, to convert address value into longitude and latitude. I tried too many thing that available online.but i didn't ...

1 answer

What's the role of Python in ArcGIS?

I have a series of instructions to solve a certain question using ArcGIS and Python. I have been a programmer with C# and node.js but I am absolutely zero knowledge about this ArcGIS Pro. Number 1 ...

1 answers | Apr 8 at 23:33 by user3856437 on Stack Overflow stackoverflow.com
1 answer

How to get the name of a layer without loading it into a map with ArcGIS Pro 3.1 API?

In my ArcGIS Pro-Addon I want to load a .lyr-File into a map but only if it is not already loaded. This is the code I used in ArcGIS-Desktop: public static void LoadDataToArcMap(String layerfilename) ...

1 answers | Apr 8 at 11:55 by Gener4tor on Stack Overflow stackoverflow.com
0 answers

In ArcGIS Pro, how can I use Arcade to shift a label?

I'm working on a project in ArcGIS Pro that involves labeling parks. I have set the parks to display at a certain scale (1:10,000) that works for the majority of parks, but it doesn't work for a few ...

1 answer

Adding google map layer to basemap gallery arcgis 3.32

I want to add google maps layer in my Arc Geographic Information System application version 3.32. I tried too much from many resources,but i did not have luck!! Is any way i can add google map in ...

0 answers

Small Distortions on Pennsylvania Map

Calling anyone familiar with mapping the state of Pennsylvania in the US! My map seems to be a bit distorted: the southern border curves slightly and the western border is slanted. I've seen maps ...

0 answers

Working on ArcGIS SDK for JS version 4.32.9 using React facing issue import{_ as o}from"../chunks/ While importing Map

Working on ArcGIS SDK for JS version 4.32.9 using React, facing issue import{_ as o}from"../chunks/ while importing Map ERROR in ./node_modules/@arcgis/core/views/MapView.js ...

1 answer

Don't allow user to navigate or zoom out the area ARCGIS

require(["esri/Map", "esri/views/MapView"], function(Map, MapView) { var map = new Map({ basemap: "topo-vector" }); //create mapview var view = new MapView({ container: "viewDiv", ...

1 answers | Mar 10 at 14:54 by Cadmus on Stack Overflow stackoverflow.com
1 answer

Understanding ArcPy's MakeFeatureLayer in order to edit data of a FeatureClass in ArcGIS Pro with a standalone script in VS Studio

I'm pretty new in ArcGIS and Arcpy, but experienced in Python. At the moment, I am working on an existing Python-Code in VS Studio (not my Code). I have some trouble understanding ArcPy's ...

1 answer

ArcGIS Pro SDK: Programmatically toggle whether a layer is editable or not

I was wondering if anyone would know how to toggle whether a layer is editable or not. I am building a custom Add-in and would like a way to make a layer editable or uneditable based on layer name.

1 answers | Mar 1 at 0:15 by Clive on Stack Overflow stackoverflow.com
15 30 50 per page
1 2 3