POST
|
Correct. Right now I am looking for a method of creating a RGB raster. I suppose with a lot of work I could do it manually but ArcMap provides a lot of help for example specifying the # of breaks and calculating the break points. I haven't seen any programmatic functions similar to this so I am wondering if it is even possible. Right now I have a application (ArcGIS Runtime 10.2.7) that does not support Raster Renderers (where color ramps would be possible). So I have a wonky workaround where I convert a kernel density to a shape file and then I can apply a Feature Renderer to it in ArcGIS runtime to support the color ramp. I think we would get better results if the density could be outputted to a image file with the color ramp settings applied.
... View more
01-04-2018
07:52 PM
|
0
|
0
|
1019
|
POST
|
I guess I don't understand the applying color ramp to the tif that is generated. I know this can be applied after adding it to arcmap. I would like to know if it is possible to apply the color ramp to the tif file that is generated.
... View more
01-04-2018
07:28 PM
|
0
|
1
|
1019
|
POST
|
Is it possible to run a density tool in ArcPy and have the result rendered to a TIF file using a chosen rendering settings. Say for example run a kernel density with color ramp green to red and have the output be a TIF file with the chosen density / color ramp?
... View more
01-04-2018
12:54 PM
|
0
|
4
|
1325
|
POST
|
We have a requirement to be able to connect to a feature layer hosted in enterprise SDE server. The user will load the layer on demand. There is some documentation on connecting to SDE layers but not really. WorkspaceInfo.CreateSDEConnection Method (String, String) How can we do this? I did find this post: ArcSDE and Runtime 10.1.1 Where they tried to connect but were not successful. The example code in the above link is: ``` final WorkspaceInfo info = WorkspaceInfo.CreateSDEConnection("test", "feature.sde"); // try to create a new feature service using the blank map pack final LocalFeatureService lfs = new LocalFeatureService("mpk_blank.mpk"); lfs.getDynamicWorkspaces().add(info); lfs.start(); // create a feature layer using the local service final ArcGISFeatureLayer layer = new ArcGISFeatureLayer(lfs.getUrlFeatureService()); ``` But it does not show how to specify a layer to display. I don't need write access to the layer just read access. Creating a MPK file and adding it there is not sufficient. Just need a example to provide a absolute path to a sde layer and add to the map.
... View more
02-16-2017
12:08 PM
|
0
|
1
|
1039
|
POST
|
I would also like to know the road map for these two items. I understand the .Net renderer can handle more items on the map, and clustering may be less priority now for some. But it also reduces the visual clutter on them map and I would like to see it in the SDK at some point.
... View more
04-23-2015
09:48 AM
|
0
|
0
|
1665
|
POST
|
I am having trouble adding raster output to the runtime map. I am running the GPK from the vehicle commander sample to create a raster viewshed (Local Geoprocessor). This GPK returns a GPRasterData parameter which has a URL to a TIF file. I then download the TIF file to a temporary location and then using the Add shapefiles and raster data sample I add it to the map. The problem is that the local server is not reading the TIF file correctly and errors out. It appears to open a stream of only ~125 bytes when the tif is ~33k. I am on 10.2.2 of Runtime. Is there a better way of taking a Raster output from a gpk and adding it to the map? The GPK appears to work fine in ArcDesktop 10.2. The java samples seem to be a bit easier as there are methods that allow you to directly get a layer from the result.
... View more
11-25-2014
08:29 AM
|
0
|
1
|
3348
|
POST
|
Did you figure out what was going on? I seem to have the same problem: Geometry has a spatial reference before the edit. Geometry does not have a spatial reference after the edit.
... View more
08-13-2014
09:12 AM
|
0
|
1
|
426
|
POST
|
What methods are there to specify elevation / raster input (DTED) to a gpk file that will run locally? Id like to calculate a viewshed based on: A layer in the table of contents, this is likely to be a mosaic DTED layer. (Given a mpk file that already has the DTED layer added.) A directory containing files on the file system. More questions: Given a directory of DTED data can we run a model / gpk that will create a mosaic layer that can be added to the Runtime Map? Can we specify a layer on the runtime map as a parameter to the viewshed model we build? The idea is that either the user will start with a mpk file that has elevation data or they will add the elevation data at runtime via a add data functionality similar to Arc Map (even if we have to build the mosaic at runtime as well). They will then create a viewshed based on the data that is either present in the mpk or added later.
... View more
07-29-2014
02:34 PM
|
0
|
1
|
4235
|
Online Status |
Offline
|
Date Last Visited |
05-31-2024
04:28 PM
|