POST
|
You could use the buffer tool. It is going to create all sorts of overlaps though. You could use the buffer tool in the editing tools that allows for leaving square ends or only buffering to one side.
... View more
01-11-2023
02:41 PM
|
1
|
0
|
2099
|
POST
|
I don't see anything under the Python API or the REST API. When I check the network section of dev tools in the browser when running a rebuild index command, I see that there is an "updateDefinition" POST sent to my service at a url: https://services6.arcgis.com/[sensitive_data]/arcgis/rest/admin/services/[layer_name]/FeatureServer/0/updateDefinition There is a payload with a token and some info that specifies the shape field and to perform async. Perhaps it's something they haven't exposed yet. It might be good to suggest it as an idea.
... View more
01-11-2023
12:28 PM
|
1
|
0
|
2047
|
POST
|
Oh I am sorry I didn't realize that. It doesn't seem like something that common would require an advanced license. You could search the Code Share to see if anyone has shared an existing script.
... View more
01-11-2023
10:57 AM
|
0
|
0
|
643
|
POST
|
Oh that's a good question. The "Split a Feature" functionality is an active-editing, interactive tool where you specify the location at which you want to split the feature. This means it isn't available as a python Geoprocessing operation but I could see a way to perform geometric functions (read and write) to perform the task. However, there's also a geoprocessing tool called "Split" that chops up a set of features using another set of features. This can be run in python using parameters. I imagine you're talking about the first one though?
... View more
01-10-2023
07:48 AM
|
0
|
1
|
674
|
POST
|
I've done a similar thing using ephemeris data tables to find which cities received more sunlight during daytime hours and how time zones and daylight savings affected it. There are tables that can be generated using this software. You'll then have to parse the data and convert it to point and then line data for your purposes. Python will be your friend ;). I don't know of existing ephemeris data in GIS format but that doesn't mean it doesn't exist.
... View more
01-10-2023
07:35 AM
|
0
|
0
|
286
|
POST
|
I suspect it's due to an incorrect Spatial Reference or the lat/lon being swapped? (Lat = Y, Lon=X). If you are using WGS84 lat lon, the WKID is 4326. This snippet section leads through setting up a spatial reference and constructing a geometry.
... View more
01-09-2023
07:57 AM
|
0
|
0
|
557
|
POST
|
Design an interface that allows the user to specify a file or paste text that contains the list of points. Create a new feature class Edit the feature class, looping through each point and adding them. I'd spend some time in the documentation as well as check out this existing post that explains a similar request.
... View more
01-06-2023
09:16 AM
|
0
|
2
|
593
|
POST
|
It shouldn't as part of regular updating. That's by design. If it did, they would have to repoint all their maps everytime they update the layer. This can change but it's usually due to a redesign of the layer but I wouldn't expect that to happen. You could check the REST API to see if there's some property that could expose last update. But I'll tell you that most of my layers merely get "edits" performed which would not change the "LastUpdated" property if there is one.
... View more
01-06-2023
09:06 AM
|
0
|
0
|
909
|
POST
|
I don't know of a way to determine the most recent update but that doesn't mean there isn't a way. If individual data records were added, deleted or changed, and they store updated dates in the field values, you could loop through the field values to check for any dates newer than the last update time.
... View more
01-05-2023
09:23 AM
|
0
|
2
|
919
|
POST
|
It sounds like you want to specifically check if a map is open as a View and then work with it if it is open and if it is not open, you want to open it and then specifically add layers to a certain map correct? There's a post here where it indicates that there's not a way to tell if a map is open in a view and an ESRI employee suggests that it would be good to submit an idea that exposes that property of a map. However, despite knowing whether or not the view is open, explicitly getting a reference to each map using the aprx object that you want to interact with is totally possible and might meet your need. aprx = arcpy.mp.ArcGISProject("CURRENT")
map1 = aprx.listMaps("my first map")
if map1 == None:
print("Could not find map: my first map")
# end or raise error here
map2 = aprx.listMaps("my second map")
if map2 == None:
print("Could not find map: my second map")
# end or raise error here
Each map object could then be used to add layers as you wish.
... View more
01-05-2023
09:14 AM
|
1
|
0
|
993
|
POST
|
Yes, I would recommend running these tools through a python script. You can also call OGR2OGR through python using "subprocess" as described here.
... View more
01-04-2023
08:26 AM
|
0
|
4
|
932
|
POST
|
Do you have ESRI Desktop Software? If so, you can use the Feature Class to Feature Class tool to convert the data from the feature service to a shapefile first. Then you can use OGR2OGR to convert it to GeoJSON and then add it to your Postgres Database possibly.
... View more
01-03-2023
02:56 PM
|
0
|
1
|
944
|
POST
|
Yes there is. The ArcGIS Online Assistant has tools to do this as well as view and modify JSON. Hope that helps.
... View more
01-03-2023
02:48 PM
|
2
|
2
|
688
|
POST
|
You might also use the Divide a Polyline functionality to chop up your line into 1 m chunks and then generate points at each midpoint along that line. Or you could use the Generate Points Along Lines tool which would be faster. You could then extract values to points from the DEM and then the attribute table of your point layer would be your table.
... View more
01-03-2023
08:59 AM
|
1
|
0
|
983
|
POST
|
I don't think it's saying that STATE_ID is the column that's missing. The error message you posted says "no such column: CatTotal." So is the CatTotal column missing or did it's column name change by chance?
... View more
01-03-2023
08:53 AM
|
1
|
0
|
707
|
Title | Kudos | Posted |
---|---|---|
1 | 02-18-2021 11:26 AM | |
4 | 08-30-2023 09:09 AM | |
1 | 01-19-2023 09:33 AM | |
1 | 01-12-2023 11:59 AM | |
1 | 01-12-2023 02:48 PM |
Online Status |
Offline
|
Date Last Visited |
03-08-2024
05:20 PM
|