POST
|
If you just create a layer without specifying a group layer does it work ?
... View more
10-18-2023
09:07 PM
|
0
|
1
|
908
|
POST
|
Jeffrey, Are these extensions you are trying to add recognized by ArcGIS Pro as rasters already? if so when you find the file extension you are looking for in the add-in you can just use the create layer API to create a raster layer directly then add the layer to a group layer and so on. I did not understand why you were looking at the mosaic dataset API unless I am missing something. -Prashant
... View more
10-10-2023
02:43 PM
|
0
|
4
|
986
|
POST
|
Joe, Click on the mosaic layer in the Contents pane then click on Appearance tab->Resampling Type dropdown. Change the resampling type to Nearest Neighbor and this should produce the same results as the original. Please let me know if you have any questions. -Prashant
... View more
01-19-2022
10:07 AM
|
0
|
1
|
805
|
POST
|
Hi, Currently there is no way to access that table. Can you provide us with more context on what you are planning to do with that table so we can plan the best way to provide this functionality? What are you looking to do with that table? -Prashant
... View more
11-08-2021
07:04 AM
|
0
|
3
|
1050
|
POST
|
Than, In your code above when you create the extent envelope, you are setting MaxX instead of MaxY. Bolded below. Envelope RasterExtent =
EnvelopeBuilder.CreateEnvelope((double)rasterInfo.MinX, (double)rasterInfo.MinY, (double)rasterInfo.MaxX, (double)rasterInfo.MaxX, this._lastSelectedSR);
... View more
02-11-2020
05:55 PM
|
0
|
1
|
1512
|
POST
|
Mody, Did you get this sovled? I would suggest running the build footprints GP tool, either through the UI or through code to accomplish what you are doing. You should not need to manually edit footprints. Please let me know if this helps. -Prashant
... View more
02-11-2020
05:49 PM
|
0
|
1
|
443
|
POST
|
Than, After you set extent and height, if your new extent is different or your new height is different that will account for the change in Y cell size, i.e. (XMax-XMin)/Height = CellSize Y. Is what you are seeing not following these rules? Another thing to check if when you set the extent and height if its actually correctly being set. Try getting right after or debug through to see if its correctly set. -Prashant
... View more
02-11-2020
05:41 PM
|
0
|
0
|
1141
|
POST
|
Sam, Can you expand on what raster process you are trying to loop? If you are doing clipping, the geoprocessing call is the probably the easiest way but you can do other raster based processes by using the core raster API to open a raster, access pixels and do something with them. Some code snippets can be found here Hope that helps. -Prashant
... View more
08-26-2019
01:35 PM
|
0
|
1
|
816
|
POST
|
Max, Did you check to see if the raster can be edited using raster.CanEdit()? If you know where the raster dataset is you don't need a layer. You can just open the raster dataset, create a full raster and make your edits on it. https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Raster#opening-raster-datasets -Prashant
... View more
06-17-2019
11:00 AM
|
0
|
2
|
822
|
POST
|
Drew, Can you try adding the same image through ArcGIS Pro GP? If that works a good way to validate your code is to run the Add Rasters tool with the same data/parameters and use the History tab on the Catalog pane to Copy python command to get a valid call to the tool and compare the string with your call. -Prashant
... View more
06-17-2019
10:54 AM
|
0
|
1
|
524
|
POST
|
Chris, Did you try the same query using the layer properties to see if its valid? -Prashant
... View more
06-17-2019
10:47 AM
|
0
|
1
|
623
|
POST
|
Barbara, We totally understand and are working hard on a solution. Thanks for your feedback. Please let us know if you have any more questions or feedback. -Prashant
... View more
05-23-2019
09:18 AM
|
2
|
1
|
969
|
POST
|
Barbara, You can accelerate or decelerate the amount by which moving the mouse wheel changes height by using the Shift or Capslock key respectively. In a future release we will be providing users with more fine grained control over this. -Prashant
... View more
05-22-2019
02:40 PM
|
2
|
0
|
969
|
POST
|
Shivam, Raster Functions are currently not accessible through the Pro SDK but we are gathering information on the way people would like to use them. Can you give me some details about your workflow? Maybe I can suggest an alternate way to solve your problem. -Prashant
... View more
03-29-2019
10:45 AM
|
0
|
1
|
640
|
POST
|
Alex, I am glad to hear you are going to be working with the Pro SDK. We have had quite a few people successfully migrate their ArcMap add-ins to Pro. To answer your question about the equivalency of the Pro and Arcobjects raster API's, the current Raster API in the Pro SDK is a very small subset of the ArcObjects Raster API. 1.) The Core.Data.Raster API is not equivalent but a very small subset of the DataSourcesRaster API. Please let me know if you find something missing. A lot of the time what you need can be accomplished in a different way. If not we usually prioritize what goes into the Pro Raster SDK based off users requests. 2.) Yes you will have to use the RasterCalculator_sa GP tool in the Pro SDK to perform map algebra calculations. 3.) Yes you can execute tools from Data Management and Spatial Analyst in the Pro SDK. I would also suggest checking out the ImageAnalyst tools if you have the Image Analyst extension. The main thing to be aware of when migrating is that both SDK's are completely different and the functionality offered by the Pro SDK is still catching up in some areas. Working with the Pro SDK is not to difficult as Mathew commented (Thanks Mathew) so you should get up and running pretty quickly. I hope the above helped answer your questions. If you have any more please let us know. -Prashant
... View more
01-17-2019
11:00 AM
|
0
|
0
|
3678
|
Title | Kudos | Posted |
---|---|---|
1 | 04-21-2017 04:01 PM | |
1 | 04-24-2017 01:19 PM | |
2 | 05-23-2019 09:18 AM | |
2 | 05-22-2019 02:40 PM |
Online Status |
Online
|
Date Last Visited |
yesterday
|