POST
|
pnt = "1.1:2.2"
coords = pnt.strip().split(":")
x, y = [float(val) for val in coords]
x, y
(1.1, 2.2) For your immediate problem, you weren't splitting the point (pnt) into its constituent parts properly, python's "split" returns a list of string values, They need to be converted to 'float' values before you pass them on to arcpy's Point object.
... View more
05-01-2020
09:57 PM
|
1
|
1
|
2459
|
POST
|
/blogs/dan_patterson/2016/08/14/script-formatting Format your code so indentation can be checked and people can answer with respect to line numbers.
... View more
05-01-2020
09:48 PM
|
1
|
0
|
2459
|
POST
|
What are the parameters you used in the tool? What is the coordinate systems involved in the inputs and outputs? That error coincidently appears to have been found with certain datasets and project raster, which isn't directly related to your problem unless there is a projection from one coordinate system to another? (ie map vs data coordinate systems.) BUG-000126924: In ArcGIS Desktop 10.7.1, the Project Raster tool ru..
... View more
05-01-2020
05:27 PM
|
1
|
0
|
1276
|
POST
|
Joe Borgione perhaps Note: This tool cannot be used to disable tracking on a field, switch tracking from one field to another, or switch between UTC and database time. To perform any of these operations, disable editor tracking on the dataset before you run this tool. Enable editor tracking—Geodatabases | Documentation
... View more
05-01-2020
04:28 PM
|
1
|
0
|
509
|
POST
|
You didn't post the full error. Could you copy and paste it here Also, you would be advised to post the issue directly on the github site GitHub - Esri/arcgis-python-api: Documentation and samples for ArcGIS API for Python
... View more
05-01-2020
02:53 PM
|
0
|
2
|
1140
|
POST
|
Are you referring to the Fields View for a table? I just created an alias with 30 characters, and saved the edits, and I didn't get what your describe. Perhaps a screen grab.
... View more
05-01-2020
10:40 AM
|
0
|
1
|
382
|
POST
|
Don't get your hopes up... or down... The table only shows the complexity of the problem, not whether it can be solved. You should read https://desktop.arcgis.com/en/arcmap/latest/extensions/network-analyst/algorithms-used-by-network-analyst.htm which describes the heuristics of the problem. Whether it can be solved for your situation will most likely be a combination of your data and its nature as well as your computing resources Jay Sandhu may have experience as to whether the simple combinations of candidates and demand points can be simplified further
... View more
05-01-2020
04:03 AM
|
1
|
0
|
1015
|
POST
|
maybe he isn't checking his mail during these times. The message you left is routed to their email
... View more
05-01-2020
03:41 AM
|
2
|
0
|
1319
|
POST
|
memory error is referring to ram not hard disk space
... View more
05-01-2020
03:40 AM
|
2
|
0
|
1319
|
POST
|
You are looking for the values, not the keys, which could be the other part of the problem. Examine the example. Dictionaries are designed to be key-driven... your driver is 2 letters from your county names... aka, the values. There is a workaround, if you must stick to dictionaries. codes = {14 : "Bradford", 15 : "Brevard", 16 : "Broward"}
kys = codes.keys()
vals = codes.values()
v = [v[1:3] for v in vals]
kys # ---- dict_keys([14, 15, 16])
vals # ---- dict_values(['Bradford', 'Brevard', 'Broward'])
v # ---- ['ra', 're', 'ro']
look_for = 'ra' # ---- Let's look for Bradford, ie, 'ra'
for k, v in codes.items():
if look_for in v:
print("found look_for")
else:
print("keep looking")
found look_for
keep looking
keep looking Of course you can skip the dictionary thing and just use nested lists l = [[14, 'Bradford'], [15, 'Brevard'], [16, 'Broward']]
look_for = 'ra'
for k, v in l:
if look_for in v:
print("found {}".format(v))
else:
print("keep looking")
found Bradford
keep looking
keep looking And numpy structured arrays are my preference because slicing is enhanced and the operation can be vectorized on whole inputs columns rather than by row... but I will leave that since I am not sure where you are going with this.
... View more
04-30-2020
08:10 PM
|
1
|
1
|
270
|
POST
|
geoprocessing extent can be set Extent (Environment setting)—Geoprocessing | Documentation If you want to derive it from an existing raster, derive it from its properties (extent of a raster is read-only) but set it using the environment settings as in the code example in the above link
... View more
04-30-2020
07:39 PM
|
0
|
0
|
1089
|
POST
|
Convert Labels To Annotation—ArcGIS Pro | Documentation maybe Some labels may not currently display on the map because there is no room. To convert these labels, check the Convert unplaced labels to unplaced annotation check box. This saves the unplaced labels in the annotation feature class, allowing you to position them later in an ArcGIS Pro edit session. check that and other tips in the above link or more generally Convert labels to annotation—ArcGIS Pro | Documentation Anything in those help?
... View more
04-30-2020
07:33 PM
|
0
|
1
|
7483
|
POST
|
If you have a laptop with a touchpad, you can simply use the mouse to point, then hit the touch pad to add the point. And you can switch up fingers on the touchpad to lessen the load
... View more
04-30-2020
03:47 PM
|
1
|
0
|
105
|
POST
|
If you have a laptop with a touchpad, you can simply use the mouse to point, then hit the touch pad to add the point. Works for me at least (Surface Book 2).
... View more
04-30-2020
03:44 PM
|
0
|
1
|
809
|
POST
|
The goal is to join point data to lines This must be the question you are trying to delete. The first line threw me off
... View more
04-30-2020
01:15 PM
|
0
|
0
|
1180
|
Title | Kudos | Posted |
---|---|---|
1 | 07-03-2019 05:13 PM | |
1 | 03-18-2015 02:48 AM | |
1 | 03-26-2018 11:59 AM | |
1 | 02-27-2020 10:52 AM | |
1 | 05-01-2018 03:13 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:22 AM
|