Tag Info

Hot answers tagged

3

Both variables are zonal means. The average distance to the nearest facility is the zonal mean of the Euclidean distance grid (based on the facilities). The average number of facilities is the zonal mean of a one-kilometer radius focal sum of the facilities grid. (This is merely a grid whose cell values count the number of facilities within each cell. ...


3

If you suspect the vector streams are incorrect, I'd start by trying a different data source but often this is approached the other way by burning the streams into the DEM. Convert Vector Streams to Raster with a value of 1 Use the Con tool or the "Minus" tool (under Math) in Spatial Analyst to subtract values in the DEM. This will create a DEM with ...


3

Are you sure the Shapefile contains points? Shape_Leng is a common attribute for lines. That could be the reason why you can't export X and Y coordinates from your Shapefile. In that case the new question would be how to extract points from those lines. For that, you could go to Processing->ToolBox->QGIS geoalgorithms->Vector geometry ...


2

You first need to establish what coordinate system the file sent to you is in. The presence of a .prj file indicates it does have one. If it isn't GCS WGS84, you'll need to reproject it to that (or an alternative geographic coordinate system [GCS] if another better suites your requirements). In QGIS you can do this by right-clicking the layer and choosing ...


2

In QGIS 2.8.0 you can do that with the offset option in the Style Layer Properties. In my example with three polylines (they are exactly superposed too): Click in "Simple line" of line2 to display "Offset" option (I set 1 mm): Click in "Simple line" of line5 to display "Offset" option (I set -1 mm): The result obtained (Offset of line4 unchanged; 0 ...


2

Degrees are part of a modified Sexagesimal (base 60) number system. Even though there are 360 degrees in a circle, 360 is 6 x 60. The origin of degrees as angular units is unclear (see wiki/Degree_(angle)#History.) See Coordinate Conversion: Decimal Degree to Deg-Min-Sec of lat/long Coordinates for subdivisions of a degree. In terms of fundamental ...


2

Converting your polygon to points first is a bad idea. You will not be calculating the distance to your polygon, you will be calculating the distance to the closest node of your polygons (not the edges which may be closer). You can use the NNJoin Plugin to get accurate measurements to your polygon. Make sure your layers are in the same projection before ...


1

To suggest a non-plugin solution. Use the difference tool in the vector>geoprocessing menu. You should add as input layer the layer with more points (Points 2 in image below - green circles); and as difference layer you should use the second layer (Points 1 in image below (stars). Set the output and get the result (triangles in image below). and the ...


1

You have several options. First download and install this plugin :plugin + official docs in english ! It is a very useful tool ! If this doesn't work (ie point aren't exactly at the same location), create a buffer around the points and use the same method as above. You can also use the build in qgis/saga functions using the toolbox


1

The closest tool to what you describe is the Live Statistics plugin. It can be configured to compute different statistics and shows the results in a status bar in the bottom left corner of the main window


1

First of all, you need to add the FeatureOverlay to the map and then use the onchange event of checkbox. var featureOverlay = new ol.FeatureOverlay({ map: map }); var updateFeat = function(){ var $this = $(this); if($this.is(":checked")){ featureOverlay.addFeature(feature); }else{ featureOverlay.removeFeature(feature); } ...


1

To squeeze out every little bit of your code, you should get rid of the main bottleneck, plus lower the redundancy, like here. The code can run under 200ms, which is very good compared to the original 500ms runtime. The main bottleneck is in the createCircle function. If you don't need every point to be present in a separate layer, you should pull the layer ...


1

Unfortunately, I have not found a method for creating SLD files in ArcMap for GeoServer use. There are some alternative app. options: Udig QGIS GeoExplorer GeoServer admin SLD editor


1

I was facing a similar problem, and ended up solving the equation for both circumference and area of a circle to make them equal one another like so: 2*pi*r = c <=> r = c/2*pi pi*r^2 = a <=> r = sqrt(a/pi) c/2*pi = sqrt(a/pi) <=> sqrt(a/pi) -------------- = 1 c/2*pi This index is between 0 and 1 where 1 is a perfect circle. I ...



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