2,764 questions
0
votes
0
answers
88
views
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 ...
0
votes
1
answer
74
views
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 ...
0
votes
0
answers
48
views
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
votes
1
answer
46
views
How to accurately locate coordinates (X:2251400, Y:1389400) in Idaho Trans Mercator [closed]
I was reading a paper where they performed a dampened cubic spline of satellite derived ETrF. I'm trying to reproduce the example provided, for better understanding. I just want to locate this wheat ...
1
vote
0
answers
42
views
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
votes
0
answers
148
views
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
votes
0
answers
44
views
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
votes
0
answers
35
views
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
votes
0
answers
112
views
"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
...
0
votes
1
answer
216
views
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 ...
0
votes
0
answers
31
views
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 ...
0
votes
1
answer
123
views
Convert large txt file to csv for GIS [closed]
I have a 7GB file with coordinates for observations of birds, which I downloaded here: https://www.gbif.org/occurrence/download/0020030-250402121839773
It's tab-delimited with a lot of columns that I ...
0
votes
0
answers
26
views
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 ...
0
votes
0
answers
48
views
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 ...
0
votes
0
answers
18
views
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
votes
0
answers
36
views
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 (./node_modules/css-...
1
vote
1
answer
99
views
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 ...
0
votes
0
answers
34
views
Arcgis layer does not render until I wiggle the mouse
I ran a script in Arc Pro which edits a lot of layer fields, labels, and symbology, from a lyrx. It tries to save the layout to a PDF but it turns out blank because the layer does not render until I ...
0
votes
0
answers
30
views
How do I label unique polygon values in arcpy and store their colors?
I have a polygon layer with 10 features with unique IDs. I want to color them deterministically based on this unique ID values field and store the RGB values of their colors, like in a dictionary. ...
1
vote
0
answers
47
views
Is there a way that I can spatial join two line features without any common column in ArcGIS pro
I have been doing a spatial analysis. I have two regions, A and B, and I want to determine whether the roads crossing from A to B maintain the same classification or if the classification changes.I ...
0
votes
0
answers
28
views
Arcobjects don't show .shp layers from Visual Studio project
12 years ago I wrote programs using argobjects 10.1 in c# in VS 2010. Those programs still work without problems. Now I'm trying to repeat from scratch to create a simple program on the same computer ...
0
votes
0
answers
36
views
How to calculate the origin of ArcGIS tiling scheme
I use ArcGIS for slicing, cutting the dataset into tiles. But I don't understand how the default tiling scheme origin is calculated based on the coordinate reference system. If there is no coordinate ...
1
vote
2
answers
183
views
Importing GeoAccessor from ArcGIS python library fails
I'm trying to import the GeoAccessor class so I can use it to convert a pandas dataframe, but I get a message saying ImportError: cannot import name 'GeoAccessor' from 'arcgis.features'.
I have the ...
0
votes
0
answers
41
views
ArcGis - FrameworkApplication.SetCurrentToolAsync does not activate tool
I was working on updating our older app to Arcgis Pro 3.3.
The code is set of AddIns which are added to Arcgis Pro. Its set of like 10 addins. Across the whole solution, FrameworkApplication....
0
votes
0
answers
104
views
ArcGIS Pro ModelBuilder - ERROR 000211: Cannot Create Route Event Source
I am encountering 'Error 00211: Cannot Create Route Event Source' with the 'Make Route Event Layer' process in ArcGIS Pro ModelBuilder which I am unable to solve. I'm working with a very large dataset ...
0
votes
2
answers
1k
views
How to setup Snowflake ODBC driver
I am trying to setup the Snowflake ODBC driver and get the following error when I test the connection:
[Snowflake][Snowflake] (4)
REST request for URL *** failed: HTTP error (http error) - code=404 ...
0
votes
1
answer
41
views
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
vote
1
answer
144
views
How to plot coordinates on a map object in Jupyter notebook?
I'm new to working with the ArcGIS library. I've looked over the ArcGIS 2.4.0 documentation but still confused on how to plot coordinates onto a base map.
I tried finding examples of implementing ...
2
votes
1
answer
51
views
Angular 17 with ArcGIS Item-id
Ref: https://developers.arcgis.com/javascript/latest/get-started-angular/
I am trying to implement Arcgis with angular, everything is working fine map is displaying and layers are working until Item-...
0
votes
1
answer
39
views
Moving data for points on ArcGIS
I am working on a project to show the traffic flow on the US-Mexico Border Entry Points. I have the latitude and longitude points and they are mapped on ArcGIS pro. However, I have the traffic flow ...
1
vote
0
answers
56
views
Conflicts loading ArcPy and arcgisbinding packages simultaneously
After working fine for the last couple of months I have encoutered a problem when loading the ArcPy and arcgisbinding packages in R simultaneously.
The inital error message was returned when I ran ...
0
votes
1
answer
65
views
Downloading Imagery Tiles from Amazon S3
So....NOAA used to host post-hurricane tiles in-house where they were really easy to download using a Python script and the appropriate tile index layer. Recently, NOAA has moved those imagery ...
1
vote
0
answers
64
views
Communication between Web Browser and ArcGIS Pro addin
My company has a AutoCAD Map 3D addin written in C# which is loaded when AutoCAD starts up. It has capabilities like linking a map object with actual SQL Database records. We had a legacy application ...
0
votes
1
answer
310
views
"The oauth state was missing or invalid" when signing out due to invalid redirect (ASP.NET Core, OAuth, AspNet.Security.OAuth.Providers)
We have a web app (SPA + ASP.NET Core 6) using ArcGIS Portal configured with Microsoft Entra Id via SAML for authentication. ASP.NET Core uses the ArcGIS provider from AspNet.Security.OAuth.Providers ...
0
votes
1
answer
108
views
Can you use self-hosted (or otherwise non-arcGIS) data with the esri leaflet feature layer api?
I am using a third-party application which allows the user to add custom map layers to a Leaflet map. All I am able to input is a url to the map layer. I've taken a look at the source code and they ...
0
votes
0
answers
118
views
How can I mimic 'Intersect' arcGIS tool, using geo-spatial packages in python, for large linestring geometry GeoDataFrames?
I have two GeoDataFrames, one is composed of LINESTRINGs ('orig_layer'), and the other of MULTILINESTRINGs ('model_layer'). Both are completely overlap each other - only their line attributes are ...
0
votes
1
answer
128
views
Failed to build iOS app when try to build flutter Ios App
Failed to build iOS app
Error (Xcode): Undefined symbol: _RT_GeoView_draw
Error (Xcode): Undefined symbol: _RT_GeoView_hasValidSize
Error (Xcode): Undefined symbol: _RT_GeoView_pause
Error (Xcode): ...
2
votes
3
answers
562
views
Simplify Polygon shapefile to reduce file size in python
I have a polygon shapefile which was vectorized from a raster layer (second image). This shapefile contains thousands of features with just one column which represent polygon level (ranging 1-5). The ...
0
votes
2
answers
61
views
ValueError: not enough values to unpack (expected 4, got 3), gps time to UTC
Trying to convert GPS times to a date and time of day in UTC. Inputs are space separated stream of x y seconds and output is a stream of x y z date time
This was designed to work with lidar data and ...
0
votes
1
answer
190
views
Angular 17 with ArcGIS Javascript SDK
I am attempting to use the ArcGIS Javascript SDK. I am following the documentation outlined here:
https://developers.arcgis.com/javascript/latest/get-started-angular/
In doing so, I keep getting the ...
1
vote
1
answer
113
views
ESRI Search Widget - Edit Arcgis map js search input with multiple sources(version 4.30)
Currently I want to edit the dropdown source, and add a check box to select as shown, instead of displaying it as default. Anyone who knows please help me.
const searchWidget = new Search({
...
1
vote
1
answer
66
views
Appending Existing Feature Service using detect_objects ArcGIS API for Python
In the official documentation, detect_object said to be able to use existing Feature Service for the output_name variable.
output_name
Optional. If not provided, a FeatureLayer is created by the ...
1
vote
1
answer
220
views
How to change decimal points in GPS coordinates to DMS (degrees, minutes, seconds) using R
Problem:
I have a data frame containing GPS coordinates where instead of using the symbols for degrees and minutes, they are written in the format where decimal points have been used instead, which is ...
1
vote
0
answers
47
views
Relative Imports of Local Modules in ArcPro (3.2+) Python Script Tool from .atbx Toolbox
I have a library and associated ArcGIS Toolbox set up such that:
/root
├── Toolbox.atbx
├── mylib
│ └── my_function.py
├── my_tools
│ └── my_gp_script.py
I keep my development clone of the code ...
0
votes
2
answers
62
views
The database connection type in the script parameter
With ArcGIS Pro, I am creating a customized geoprocessing tool with python script and the PostgreSQL database connection is required. I could set four parameters to input string for "host", &...
0
votes
1
answer
171
views
ArcGIS Pro SDK - First Edit Operation Fails
I have created an Add-in - In which whenever the button is active, when you create a polyline(Plan_Kabler) point features are placed along the line alongside with polygons. These are directional ...
0
votes
1
answer
65
views
assign rank and maintain sequence across duplicates
I'm assigning an incremental rank based on a value, but need to assign the same rank to duplicate values and maintain the overall sequence.
Instead of this:
Value
Rank
400
1
500
2
175
3
250
4
120
5
...
0
votes
1
answer
198
views
Timeout Error - Python script to update AGOL attributes
I'm trying to build a python script that will update attributes on feature layers on AGOL, end goal would be to have scheduled tasks to update the attributes nightly (without effecting geometry). My ...
0
votes
1
answer
419
views
Using Dojo with ArcGIS Map SDK for JavaScript 4.29
Error Screenshot Here, I want to use dojo in ArcGIS Api for JS , but it give me script error when i import dojo through cdn link. Added SS of the code and Error.
I am using the ArcGIS Map SDK for ...
0
votes
1
answer
95
views
How to convert a start point and end point in Polyline to WGS84 in arcgis pro sdk
I have a code as shown below and co ordinates are in meter and need to convert to WGS system
private async void ShowBalloonCallout(Geometry geometry)
{
if (geometry is ...