-
Webhooks, Microsoft Flow and the ArcGIS Rest API Not working
Hi! I'm actually having trouble with this flow and cannot figure out what I'm doing wrong here. maybe you can help. The flow we're trying to implement here is updating a parcels layer with from a damage assessment survey. We're using html in the popups in the fieldworkers map to pass values automatically to the survey123…
-
I have gone through API repository and found state & county data but did not found any api which will return boundary coordinates for city , town and district. I have search data on https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services this
I have gone through API repository and found state & county data but did not found any api which will return boundary coordinates for city , town and district. I have search data on https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services this link. Example :- If I want to get boundary coordinates for Gilbert in…
-
arcpy.usage giving error 999999
When I try to run any arcpy.usage(...) in the pycharm console it comes back with the following: Traceback (most recent call last): File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\IPython\core\interactiveshell.py", line 3326, in run_code exec(code_obj, self.user_global_ns, self.user_ns)…
-
Enable offline mode with Python exportTilesAllowed":true
Sorry for the general question, is there the ability to enable offline mode for hosted vector tile layers through the arcgis API for python, I can see in the restapi there is exportTilesAllowed:True which i guess is it being enabled but how would i go about enabling this through the api?
-
Issues with publishing a Map in an ArcGIS Pro project as a Map Service to ArcGIS Server
Hi, I'm trying to get the following code running. This code is a copy from this link: CreateSharingDraft—Sharing module | ArcGIS Desktop <SPAN class="keyword token">import</SPAN> arcpy <SPAN class="keyword token">import</SPAN> os <SPAN class="comment token"># Set output file names </SPAN> outdir <SPAN class="operator…
-
Layer symbology is not rendered as expected
I am developing an ArcGIS Pro python tool. I am using "JSONToFeatures_conversiontool" to convert Esri GeoJson to feature class. After adding a layer to map I am changing the symbology. 1. on the output layer (Point Layer ) - scriptPath = sys.argv[0] toolSharePath = os.path.dirname(os.path.dirname(scriptPath)) dataPath =…
-
Using Windows reserved words ruined my ArcMap and ArcGIS Pro
I created an Arcpy script to generate point shapefiles for different watersheds. I used split by features to create single watersheds. Each watershed has unique 3 letter code and I used that code to split features. I was not able to create single watershed shapefiles but I was able to create feature class in a geodatabase.…
-
JS API 4.2 - How to show navigation controls for popups attached to stacked point graphics?
I have a MapView with two point graphics: ``` var view = new MapView(...) view.graphics.add(new Graphic({ geometry: { type: "point", longitude: "-90", latitude: "40" }, symbol: { type: "simple-marker", ... }, popupTemplate: { title: "some title" } }); view.graphics.add(new Graphic({ geometry: { type: "point", longitude:…
-
Bring in External Database
Is there a way to host external database as open data on ArcGIS online (set it up in a way that it will automatically sync future updates)? The developer who builds this database told me that he would need to know the endpoints for the API calls and the schema. I am relatively new this ArcGIS tools and would appreciate…
-
Fatal Error on Add Layers function
Hi, I keep running into this issue where I am unable to open my properties dialogue box after running a script I wrote to expedite a KMZ creation task I have. The real crux of this issue is that the script performs without error. I can see the new layers I want to create in the TOC, I can see that the data I want loaded…
-
How to speed up the export of attachments using arcpy.da.SearchCursor?
I have a feature layer in SDE with 41 points and 181 pictures and each picture is about 3-5 MB. When I use the arcpy.da.SearchCursor to export attachments to local folder, I found the first loop time is too long, for example, for my data, the time is about 90s, but the next loops is about 0.5s. So, my question is why the…
-
It does not work
I am tring with this python code in arcmap but it doesn't work, who can help me.
-
Autonumber for Arcade Expression
I am trying to get a FacilityID to autopopulate based off of an ID field. My problem is getting the ID Field to autonumber as a new feature is created. Anyone have any suggestions on creating a Arcade Expression similar to what the autonumber in Attribute Assistant did in Arc Desktop?
-
Need help for the 1st Esri .Net WPF project
Dear Jennifer Nery, I'd appreciate if you clarify something about my 1st Esri use in .Net WPF project. I have 4 "Runtime.Core.Net.dll" on my laptop after its installation. Yet it keeps companining that Runtime.Core.Net.dll file is not found, if I try to use <esri:Map or <esri:MapView in my XAML. I do have…
-
Dear Gurus, please help me find dll for Esri ArcGIS WPF after successful nuget installation
With about 30 years of software development expertise (15 years in .Net) and recently earning certificate ArcGIS for Server REST API, I tried to use code samples based on Esri.ArcGISRuntime and Esri.ArcGISRuntime.WPF. After successfully installing the Esri.ArcGISRuntime and Esri.ArcGISRuntime.WPF through NuGet, I didn't…
-
Update attribute table using Arcpy
Hi All, This python code seems to work for updating two tables saw it online, with my low arcpy code skills This seem to update the two tables import arcpy ... from arcpy import env ... env.workspace = "C:\Users\L0505857\Data" ... print 'Processing...' ... fc = "Updated_subset.dbf" ... cursor = arcpy.da.SearchCursor(fc,…
-
arcpy.da.InsertCursor only inserting last row in list of data
Hello, I'm working on a script that gathers a bunch of line geometry (created using arcpy.Polyline function) into a list (called lines in the script), and then inserts this geometry into an empty polygon featureclass (called outln_m in the script). However, for some reason, only the last item in the list is there in the…
-
select feature class with checkbox arcpy
How to select feature class with checkbox arcpy ?
-
Custom Locator ArcGIS API Javascript
Hi everybody, I've built a custom address locator and I want to create a web page using it. My goal is to have a page with the "search" space as with the search widget but i want the result of the request to be an array with all results (if needed) where it's possible to select which results to show on the map. I've tried…
-
Revit - ArcMap Integration
Is it possible to open arcmap inside revit or any extension for revit like we have in AutoCAD?
-
Intersecting polygons of same feature class
Hi, I have a feature class. It has polygons, some are overlapping and some are not. I want to get the intersection of those overlapping polygon in arcmap. How can I do that? Any help will be greatly appreciated.
-
Nearest line feature from a point
In the image given below, solid lines are showing as road elements and points are showing as data collected for those road segments. I want to update road element id to the points shapefile. "Near" tool of ArcMap has almost solved this problem except for the points lying in red region (marked in the image) which is obvious…
-
Unable to read shape file in Android
I am trying to use ShapefileFeatureTable() to read shape file in android. No matter what path I give, it says, "File Not Found" exception. try { ShapefileFeatureTable shpFileFeatTable = new ShapefileFeatureTable("/storage/sdcard/map.shp"); } catch (FileNotFoundException e) { // TODO Auto-generated catch block…
-
how remove a feature class with arcpy
I'm using ArcGIS 10.3 I'm doing a script with python and I need to automate the process of deleting feature class in a geodatabase someone known to function lets me do what I need?
-
Question on how GIS works
Greetings and Hello World! I took a GIS course in my graduate MPA program and I found it to be very fulfilling, and I found that map making ability to be very useful. It adds a very technical element to what otherwise is a not so technical study, and it's a way that statistics, narratives, budgeting, policy, and other…