0

I am new to ArcGIS and ArcPy (just started using them on Wednesday).

I am using a model to create a Point Density plot from a Shape File, with the output being a Raster dataset.

I want to convert the Raster dataset into a new layer and modify the properties.

Is there a function that converts Raster datasets into layers, or is there another way to do it?

It is clear the the model is just a starting point, and that I have to add Python code for it to do what I want it to do.

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Jul 11, 2014 at 17:26
2
  • When you say convert it to a layer, do you mean vector data or literally just a raster layer? Commented Jul 11, 2014 at 17:30
  • Literally just a raster layer. Doing it manually, after loading the Shape File, I run the point Density tool, which results in the Raster Layer. Then I right click on the Raster Layer I choose Properties and change the properties. Running a model with the Shape file and the Point Density function only results in an output Raster, which I can display, but I want to do further processes with the Raster Layer itself. Commented Jul 11, 2014 at 17:37

1 Answer 1

1

The raster equivalent to the Make Feature Layer tool that is often mentioned on this site is Make Raster Layer (Data Management):

Creates a raster layer from an input raster dataset or layer file. The layer that is created by the tool is temporary and will not persist after the session ends unless the layer is saved to disk or the map document is saved.

This tool can be used to make a temporary layer, so you can work with a specified subset of bands within a raster dataset.

There are two ArcPy code samples included as part of the documentation linked to above.

However, I am not certain that this tool was available in ArcGIS Desktop 10.0.

answered Jul 12, 2014 at 2:18
1
  • Thank you. The MakeRasterLayer_management function is what I was looking for. Commented Jul 14, 2014 at 14:30

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.