POST
|
Thanks for the reply Hope. I would guess that this works for the layers whose symbology manipulation is supported, which are listed under the Symbology class description for ArcGIS Pro. I believe the two you listed are on there. However, the following exception is raised when I try this for stretched or RGB symbology, NameError: The attribute 'symbology' is not supported on this instance of Layer. When simply getting the symbology attribute, things work (although it has no real properties to look at for non-supported symbologies). This error is coming from setting the symbology attribute, where ArcPy catches an exception stemming from, gp.getIDMessage(89013,"The attribute %r is not supported on this instance of %s.") % Please let me know if you think I am doing something wrong here.
... View more
01-18-2018
08:08 AM
|
0
|
2
|
427
|
POST
|
Thank you for the reply Jeff, a lot of interesting information. In terms of improving capabilities of symbology manipulation directly rather than something like UpdateLayer, certainly the former is a welcome addition. However there does not appear to be support for manipulating RGB or Stretched symbology for rasters (unless I am misunderstanding the docs), which seem likely to be the two most popular raster symbologies. Are there any near term plans to add such support? In terms of UpdateTime making a come back in 2.2, great to hear and I definitely think that would be useful along with the capability to again access the time properties at-all (e.g. layer's time attribute).
... View more
10-27-2017
06:36 AM
|
0
|
2
|
1073
|
POST
|
I am working on supported data formats: simple rasters and mosaic datasets, where ESRI has been especially pushing the latter. Yet basic functionality that use to be in ArcPy appears missing, and has not been replaced by anything I can find. Most of the functionality you mentioned is likely not coming back as those data formats are essentially deprecated, but how can basic features of the API be deprecated. Non-backwards compatible changes in Python 2.7 to 3.x are likely to more minor than changes in ArcPy for most codes written specifically for the latter, in my opinion. I am trying to rewrite a code that works in ArcPy for Desktop to also work for Pro, and am stopped by the fact that basic functionality does not appear to be there for ArcPy in Pro.
... View more
09-08-2017
11:33 AM
|
0
|
1
|
1073
|
POST
|
I have looked at it, carefully, prior to making the post. I cannot find any replacement to the functionality described above. There seems to be no functionality to replace symbology based on a template (aside from what was mentioned in the original post), no real additional functionality to manipulate symbology directly, and essentially nothing at all to deal with time. If I missed some, please let me know. This functionality was there before.
... View more
09-08-2017
11:09 AM
|
0
|
3
|
1073
|
POST
|
ArcPy for ArcGIS Pro seems more limited than the Desktop ArcPy in crucial ways. The older ArcPy had the ``arcpy.mapping.UpdateLayer`` function, which could (with the last parameter set to true) update symbology on a layer from a template layer. No such function (or replacement for it) appears to exist in the new ArcPy, unless I am missing it? This is a crucial capability given how limited ArcPy is in terms of directly manipulating symbology, for example for rasters there seems to be essentially no way to modify any symbology now. There is still the ``arcpy.ApplySymbologyFromLayer_management`` tool. However this tool does not work for all layers (nor did it in Desktop), for example it executes without error but seems to do nothing for symbology of a raster layer of a mosaic, whether you apply symbology from a raster layer to the mosaic raster layer or symbology from an entire mosaic to the entire mosaic. Separately but related, the functionality of ``arcpy.mapping.UpdateLayerTime`` is also gone, and seems to have no replacement. The entire ability to deal with time appears to be gone, for example layer.time no longer seems to exist for time-enabled layers (also according to the docs). I am surprised to find such crucial features removed. Has something replaced them that I was not able to find, or is something slated to?
... View more
09-08-2017
10:05 AM
|
3
|
15
|
2887
|
POST
|
Thank you for the response. The information can be downloaded, including in an ESRI prj file, however upon import (into 10.5.1) it will say failed to get coordinate system, file is corrupt. There is no geostationary projection name/type that I can find when manually creating it a projection in Arcgis, and it does not seem to recognize it.
... View more
07-12-2017
02:23 PM
|
0
|
1
|
943
|
POST
|
The PROJ4 library supports a Geostationary Satellite View projection. Does Arcgis have any support for this coordinate system, or a way to add support for it?
... View more
07-12-2017
01:38 PM
|
0
|
9
|
1897
|
Title | Kudos | Posted |
---|---|---|
3 | 09-08-2017 10:05 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|