Re: [Qgis-user] How to make a raster or grid from a shapefile

2010-11-01 Thread Borys Jurgiel
 I want to make a grid or raster from a land us / land cover shapefile, a
 polygon with 9 categories.  I want this to model a species distribution,
 based on animal ocurrence.

You can also use menu Raster - Rasterize, unfortunately you first need an 
empty raster to burn the polygons. It calls a GDAL utility program:

http://www.gdal.org/gdal_rasterize.html

From GDAL 1.8 it will create raster files from scratch.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How to make a raster or grid from a shapefile

2010-11-01 Thread Borys Jurgiel
Dnia poniedziałek 01 listopada 2010 o 05:06:38 Tom napisał(a):
 Why would one want to convert from vector(shape) to raster?
 Tom

Because most landscape and ecological analyses work on raster data.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How to make a raster or grid from a shapefile

2010-11-01 Thread Manuel Spínola

Thank you very much Borys.

Is there any example in a tutorial on the use of Rasterize?

Best,

Manuel

On 01/11/2010 03:30 a.m., Borys Jurgiel wrote:


 I want to make a grid or raster from a land us / land cover shapefile, a

 polygon with 9 categories. I want this to model a species distribution,

 based on animal ocurrence.

You can also use menu Raster - Rasterize, unfortunately you first 
need an empty raster to burn the polygons. It calls a GDAL utility 
program:


http://www.gdal.org/gdal_rasterize.html

From GDAL 1.8 it will create raster files from scratch.




--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.ac.cr
mspinol...@gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río 
https://sites.google.com/site/lobitoderio/

Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How to make a raster or grid from a shapefile

2010-11-01 Thread Borys Jurgiel
Dnia poniedziałek 01 listopada 2010 o 12:23:30 Manuel Spínola napisał(a):
 Thank you very much Borys.
 
 Is there any example in a tutorial on the use of Rasterize?

Unfortunately I don't know any and believe there's nothing like that, as 
there's no simple way to do it. You can follow this way:

1. Use Interpolation plugin to create a raster file based on your vector (I 
suppose the values will be interpolated among polygon centroids)

2. Use RasterCalc to remove values from it. You can e.g. multiply it by 0:
[your_rast...@1 * 0

3. Now use your empty raster in the Raster-Rasterize
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] labelling

2010-11-01 Thread Ghislain Picard



Hi all,

Why the Layer/Labeling is not directly accessible via the properties of 
the layer ? This is confusing to me.


Ghislain

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] labelling

2010-11-01 Thread Andreas Neumann
Hi Ghislain,

You are correct - this is confusing.

It is my understanding that the layer settings will eventually be merged
back into the layer properties.

There are historic reasons: it started as a separate plugin, in parallel
with the old label engine.

Probably something for QGIS 1.7 or whatever follows QGIS 1.6.

Andreas

On Mon, November 1, 2010 2:09 pm, Ghislain Picard wrote:


 Hi all,

 Why the Layer/Labeling is not directly accessible via the properties of
 the layer ? This is confusing to me.

 Ghislain

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
Andreas Neumann
http://www.carto.net/neumann/
http://www.svgopen.org/

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user