|
POST
|
Sadly, I ended up having to install Portal 10.3 on a workstation just to access the documentation on licensing Pro through Portal! Seems ridiculous, but I have yet to find another place where the information is readily available.
... View more
10-21-2014
06:29 AM
|
0
|
0
|
1883
|
|
POST
|
We already have 10.2 Portal running with named users, will hopefully have 10.3 up and running in test environment shortly. Thanks for the pointer about Pro licensing information, I will take a look. Will this same information be available on ArcGIS Resources so users don't have to download and extract files to look at higher level information like licensing?
... View more
10-15-2014
08:26 PM
|
0
|
2
|
1883
|
|
POST
|
If my memory serves me, SDC files are not supported in Pro, that may be your problem.
... View more
10-14-2014
09:36 AM
|
0
|
2
|
1495
|
|
POST
|
Single vs. multiple exit points can be one of those discussions that turns into a holy war of sorts. I do use multiple exit points at times in specific situations, but for this small block of code I liked the single exit point. That said, others might like the way it reads with multiple exit points.
... View more
10-14-2014
09:07 AM
|
1
|
0
|
4090
|
|
POST
|
If I understand what you are saying correctly, the code could be updated to: (Not sure if 0.2 is float or if you have '0.2 PCT' as text, I went with float)
def CalcField(zone):
risk = ''
if zone in ('A', 'AE', 'AH', 'AO'):
risk = 'High'
elif zone in ('Whatever', 'Whatever2'):
risk = 'Moderate'
elif zone in ('X', 0.2):
risk = 'Low'
else:
risk = 'somedefaultvalue'
return risk
... View more
10-14-2014
08:33 AM
|
2
|
4
|
4090
|
|
POST
|
You may be able to achieve what you want just using raster extents and not getting into cursors at all. Does the following code work for you?
def rasterDim(raster, EPSG=None):
ras = arcpy.Raster(raster)
extent = arcpy.Describe(ras).Extent
if EPSG is not None:
sr = arcpy.SpatialReference(EPSG)
extent = extent.projectAs(sr)
return extent.width, extent.height
Pass the function above the text path to the raster and an optional EPSG code if you want to get the width and height based on a different projection than the raster's spatial reference.
... View more
10-14-2014
08:13 AM
|
0
|
0
|
3914
|
|
POST
|
A fairly broad question. What specifically have you tried already? Do you have specific code that is generating errors? If so, what are the parts of the code generating errors and what are the errors? Not to answer a question with a question, but it is easier to get specific and quicker feedback when more details are given, especially samples of code that aren't working for you.
... View more
10-13-2014
01:31 PM
|
0
|
0
|
1020
|
|
POST
|
Read the original post a bit too quickly, I now see we are talking about lines. I guess I don't completely understand the intent or goal of the original code. Are featX and featY different features or the X and Y component of the same feature?
... View more
10-13-2014
01:20 PM
|
0
|
3
|
3914
|
|
POST
|
The reason for the "row does not support indexing" error is tied to the data type of row. The code you posted is returning an arcpy Polygon object, and that object doesn't support indexing. Since I don't know whether you are working with points, lines, or polygons, I will assume polygons and use the centroids in the code snippet below:
for row in rows:
lenX = row.getValue(shapeName).centroid.X
lenY = row.getValue(shapeName).centroid.Y
And I agree with Greg Keith, the Data Access (arcpy.da) cursors are much more robust than the older/original arcpy cursors.
... View more
10-13-2014
12:59 PM
|
1
|
4
|
3914
|
|
POST
|
I am not saying I am a fan of how the following works, but you need to add the SDE file to your project by right-clicking and then "Add to Project." After this, the connection will show up under the "Databases" folder of the Project and you can access data and properties from there. Are you connecting to Oracle databases? If so, be aware that ArcGIS Pro needs a 64-bit Oracle client, which usually trips people up trying to run ArcGIS Desktop and ArcGIS Pro on the same machine and connecting to the same Oracle databases.
... View more
10-13-2014
12:14 PM
|
2
|
3
|
13902
|
|
POST
|
Although compact, some would argue the use of multiple compound statements isn't very pythonic. PEP8 states compound statements are generally discouraged, especially with multi-clause statements. Going with one-line statements may make the code longer, but it also improves readability, which makes debugging easier. For me, I usually use the in operator for all conditional checks because it simplifies adding additional elements down the road if the data or criteria change.
def CalcField(zone):
risk = ''
if zone in ('A', 'AE', 'AH', 'AO'):
risk = 'High'
elif zone in ('Whatever'):
risk = 'Moderate'
elif zone in ('X'):
risk = 'Low'
else:
risk = 'somedefaultvalue'
return risk
... View more
10-13-2014
11:58 AM
|
2
|
6
|
4090
|
|
POST
|
You are correct, at least with dragging and dropping between Desktop and Pro. The lack of that functionality was brought up by beta testers. I can't remember the specific response right off the top, but I wouldn't hold your breath waiting for it. Regarding the first question, ArcGIS Pro can work with AGS and SDE files. In the Project pane, you can right-click the "Folders" and add a folder connection. From the new folder connection, you can access AGS and SDE files and add them to your project.
... View more
10-13-2014
09:36 AM
|
2
|
5
|
13902
|
|
POST
|
Melissa, thanks for the update. Interestingly enough, I looked up NIM096391 on Esri Support, and it has no information about it being fixed in any SP or version. Hopefully the review you speak of will also look at updating the Status information of the bugs as well. I just downloaded 10.3 pre-release and should be able to install it this weekend. I look forward to testing the fix.
... View more
10-10-2014
07:15 AM
|
0
|
1
|
2705
|
|
POST
|
I have no clue on your last question. On the other question, yes, it surely seems Esri is moving towards a per-user licensing model. Beyond ArcGIS Online (AGOL), licensing is also supported through Portal for ArcGIS (Portal). This latter option just got enabled with 10.3 pre-release so I am still figuring out the details of making it work. The issue you are seeing with extended start-up times has been experienced by beta testers and reported to Esri. Right off the top, I can't remember if a specific issue was identified or if it was supposed to be fixed in pre-release. Hopefully they do address it soon because "problematic" doesn't quite do justice to describing the impact on affected users. The hardest part about determining whether per-user licensing will work in the enterprise is that there are still lots of undefined aspects to the cost/license structure of per-user licensing and ELAs.
... View more
10-09-2014
06:34 PM
|
2
|
0
|
3375
|
|
POST
|
No, there aren't really better options, we are stuck with workarounds until it is addressed. This concern was raised very early on by beta testers. It is a known issue they want to resolve and are working on resolving, it just isn't resolved yet. I can't say what the odds are of having it addressed by final release, but I am not holding my breath. Not to nitpick on semantics, but they are important in this case. A user can run more than one instance of ArcGIS Pro, just not on the same machine at the same time. The current per-user licensing model allows a user to run ArcGIS Pro on up to three machines, unless offline licensing is enabled, and then the limit is one.
... View more
10-09-2014
06:22 PM
|
1
|
0
|
1480
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 2 | a month ago | |
| 1 | a month ago | |
| 2 | 06-05-2026 10:30 AM | |
| 1 | 05-29-2026 08:22 AM |
| Online Status |
Online
|
| Date Last Visited |
6 hours ago
|