Tag Info

Hot answers tagged

5

if you compute the statistics of your raster, (or with zonal statistics if you look for a specific zone), you can find its maximum value (properties > source > Statistics > max) Then you can use the value in raster calculator Con("raster" == maxvalue, 1) EDIt: where maxvalue is either the raster created by zonal statistics or the value that you read in ...


4

You need to do this in a two-stage process using the Vector->Analysis Tools->Mean Coordinates tool in the second step. This tool will return the mean coordinates for sets of point within a layer if they have a unique ID field. So, if you have a polygon layer which defines your areas, do a spatial join (Vector->Data Management->Join attributes ...


3

Completely edited my previous answer. First of all, you're dealing with @52k points so whenever you're running an analysis with this amount of data, chances are QGIS looks frozen but more often than not it is still processing (can check this with Task Manager and CPU usage). To start, we need to filter out all the unnecessary points we don't want so I ...


3

A DEM (digital elevation model) is a raster and not contour lines or polylines. If the point data is a systematic grid of points (equal spacing) then it is as simple as converting straight to raster using a rasterize tool. In QGIS you can use "Raster > Conversion > Rasterize (Vector to raster)". However, if the points are irregular then the becomes a ...


2

You can use the NNJoin plugin to calculate the distance between points and its nearest line. You can download the plugin via Plugins > Manage and Install Plugins.... It is recommended, however, to not use this plugin on large datasets containing lines as it does not use a spatial index for lines.


2

The Point (geometry) object won't carry forward values for other columns. It'll let you set it but it gets ignored. It seems you're expecting the geometry object to act like the Row object from the old cursor objects. Why don't you skip the geometry list step and just use arcpy.NumPyArrayToFeatureClass to go straight from array to feature class?


1

With the advanced licence, you can select by attribute all your P lines, then use the "Near" tool in order to get the coordiantes of your nearest points (equivalent to the point on the perpendicular) on the lines (Near_X and Near_Y fields). Then you can create points from these coordinates (see here or with the "add XY event" tool.) If not, you can use the ...


1

Note: Edited answer based on additional info provided by OP Try the following: 1) Combine the county and hospitals datasets, either via a spatial join or with identify (I personally prefer identify so I have a new layer to work with, but either should work). This should give you a single point dataset with all your hospital info, but with the addition of ...


1

I realize this is a relatively old question, but as a consulting arborist I have gained much experience with tree surveys and creating graphical representations of driplines and root protection zones, using QGIS specifically. That said, I have to second CHenderson's approach, as it is the one I use for every inventory I conduct. I will qualify that ...



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