Tag Info

Hot answers tagged

3

That's possible using symbol-levels - just like when creating a road style for linear features. Here an example using Natural earth countries: it looks as if they have been dissolved - but it is only a rendering effect. The outline color and width are controlled on the symbol layer level: click on the blue symbol and there will be an option to configure ...


3

For doing that is required a script; not a command. As I don't know which operative system you have, I am going to use a bash script in my Linux system (in Windows the equivalent is a bat file) and by using only shapefiles. #!/bin/bash for i in *.shp do ogr2ogr -t_srs EPSG:4326 out_data/$i $i done The above script (named as convert and running with ...


2

Yes. Convert the grasslands data to raster and, if necessary, query that to produce a binary indicator raster of grasslands presence (1 or logical 'true' where grasslands exist and 0 or logical 'false' where they do not). The focal (neighborhood) mean of this binary raster produces a "simple" density map. Use a circular neighborhood of the desired radius. ...


2

Intersect, identity and union are the three main overlay functions that could be used in this instance. For the simplest case how many square metres (feet, inches, miles..) of LiDAR coverage are in each county?: Using Intersect overlay the LiDAR coverage over the counties shape file, calculate the areas to a field and then summarize with Summary ...


2

I think you need to read features using format. data=' your GeoJSON goes here '; var activationLayer = new ol.layer.Vector( { title: 'Activation Boundary', source: new ol.source.GeoJSON(), style: new ol.style.Style( { stroke: new ol.style.Stroke( { color: 'red', width: 2 }) ...


2

You do not say if you are in academia? If you are then the obvious place to go would be edina and digimap. If you are not then have a look here for free elevation data. Of cause you could go to OS the national mapping agency of the UK and get a 50m terrain model...


2

Free of charge i would say: Get either ASTER or SRTM from earthexplorer. Both are available at 1 arc-sec., respectively ~20m vertical rmse.


2

QGIS does already do that. Might have to check your options to see what settings are enabled.


1

Ok found it. Raster Euclidean Allocation works with both raster and vector inputs and I think will divide the space up as I need it.


1

Alright. QGis requieres several python packages such as NumPy and Matplotlib. I did not have these packages prior to installing QGis thus I downloaded them and installed them on my machine (very to recommend since the "from hand" installation is kind of hard). However, I forgot about these packages and wanted to install them again - This time not from the ...


1

Within QGIS 2.8 you can choose the following setting:


1

Rasterization depends of the field that you select. For example, in the following case I selected (in vector layer point_2) the 'field' field whose values are all 0. The result, point_2_raster.tif, is the same that you are obtaining (a black picture): However, if the 'id' field is selected, whose values are between 1 and 5, the result (point_raster.tif) ...


1

Actually you can do it by using redraw(), all you need to do is change the style of the layer first, then call the redraw function. //reset the style of the layer to the style you defined layer.style = newStyle; //then redraw the layer layer.redraw(); I created an example here on JSFiddle that does exactly what you are looking for.


1

To solve this problem, you have to look under the hood of the library. The SelectFeature control can be applied on a single layer or multiple layers. Single layer: The control's layer and handler properties receives the layer object, then you can select features from that layer. Multiple layers: The library creates a new Vector.RootContainer layer, which ...


1

Based on the answer by Adam Bioletti, further tests to the process described show that the only essential requirement is to start editing the memory layer before making any changes, such as creating attributes and features, and then commit the changes. This can be done before adding the layer to map registry. Here's an update of the Cookbook's code that ...



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