Hot answers tagged

3

Once you did your analysis you can Copy your output with arcpy.CopyRaster_management. Where you can specify bit depth through the pixel_type arg. For example - arcpy.CopyRaster_management("inrast","outrast","","","-9999", "","","8_BIT") You can then delete the earlier output to cleanup.


3

Extend both the rasters and the weights to grids covering the entire area of analysis. It is essential that every NoData raster value be converted to a numeric value and that the weight in its NoData region be set to zero. These operations are best performed with Con and IsNull operations. The weighted mean is then computed exactly as in the question: it ...


3

PDAL can do this for you, and the easiest way to use PDAL is to install Docker Toolbox and then follow the PDAL Docker Tutorial to verify you have the basics working. Once you're confident things are good, run the following command on the data: docker run -v //c/Users/Howard:/data \ pdal/master \ pdal translate //data/point_cloud_classified.las ...


2

A solution, only for display purpose: change the the style of your boundary box to "Inverted polygons" (top left box in Properties > Style), then change the color of the box to white or whatever, without transparency. Note that it won't make QGIS display your area faster, since all of your raster will still be rendered "behind" the bounding box.


2

You have to change 2 things in your query: add an alias 'geom' right after 1, 1, NULL))


2

I don't do a lot of raster work with FME so this might not be entirely correct, but these are the general steps I would use: Use a RasterResampler to change the Cell Sizing of Raster B. You could extract this from Raster A first and feed it into the X/Y spacing. Or, just type it in manually if you know it. Feed the results of the above along with Raster ...


2

If I understand your specified model correctly, a separate covariate for each landcover type proportion. Yes, the spatial data structure will need to be addressed. You will need to create a separate raster for each landcover type that represents proportion of each given type at the appropriate scale. Depending on how your independent variables were derived, ...


2

It looks like your raster has some very odd low values associated with it: These values are clearly not related to the rest of the data and they fall along the very edges of the dataset. Not even setting the lower value to 0 or copying the lower value into the additional No Data value seemed to work. It is almost certainly this that is causing the ...


2

At first, as you did not tell, you want to create a raster form the points. A similar question about this can be found here: How can I create an DEM from Point-Data Second, I think there are tools in grass, callable from qgis, to make a depressionless dem, like the r.fill.dir tool. Other GIS-people tend to use saga gis functions, as described here: ...


2

A simple model can achieve this as shown below. Note the output of the get raster property was connected to the Buffer tool using the Connect tool. Usually you would do an in-line substitution but that does not seem to work for some reason, but a manual connect does...


1

You can add individual raster bands to ArcGIS and process them individually. You can also break a raster into its individual bands. This questions has instructions for both: How to extract one band from a three band raster in ArcMap?


1

I believe that you can specify an IDW with a radial basis function in the geosptdb library using the "rbfST" funciton. The package is intended for spatial-temporal IDW but should run with a single temporal dimension. This is at least a good place to start and you may be able to modify the "rbfST" function to suit your specific needs.


1

Here's an approach in R using the raster package: x <- c( 1, 1, 1, 1, 1, 2, 4, 6, 7, 1, 3, 3, 2, 5, 6, 6, 7, 8, 1, 1, 3, 2, 2, 2, 4, 5, 6, 1, 2, 2, 2, 2, 4, 4, 6, 6, 1,NA, 1, 2, 2, 2, 4, 5, 6, 1,NA, 1, 2, 2, 3, 4, 5, 6, 1, 1, 1, 1, 1, 2, 3, 4, 5, 0, 0, 1, 1, 1, 2, 4, 4, 5, 0, 1, 1, 1, 1, 2, 3, 4, 4 ) ## build the raster object ...


1

You're probably looking for something called "Majority Filter". ArcGIS You can use majority filtering also in the context of resampling a raster. In ArcGIS you will find the tool RESAMPLE in the Data Management Toolbox (check documentation). Use this tool with "resampling_type" MAJORITY. Using this you can alter cell size for the target raster. The code ...


1

Depending on the size of your area you could convert your contour lines into polygons and then colour them using a patterned fill. This might be very slow on a large area with lots of contours. I've tested it using a simple fill on a small area: Because the polygons will overlap each other you would have to use symbol levels to stack them correctly (See ...


1

Although quite old, I stumbled upon this page with the same question- How do I fill the extents of a raster to a defined tile grid? The problem I was having is that all grid squares at the edge of my raster that were partially filled by the raster extents were being missed by a gdal_translate loop. Seeing as it took me a while to figure out the issues I was ...



Only top voted, non community-wiki answers of a minimum length are eligible