On 16/09/2010 11:02, Julio Cesar Canales DElgadillo wrote:
Hello everybody,
 
I'm experiencing some problems with the GDAL tools package on Quantun Thetys (1.5.0). When I try to run the applications of GDAL tools (any of them) I recieve a error message, first: "gdal(name of app).exe stopped working" and then another one: "The process was interrupted some time after starting successfully". Somebody knows how to solve this problem?
 
Very large layers? Enough memory in the computer?
I also have other question, any of you could please tell me how to cut a shp in a different extent (smaller) and then convert it into raster? Thank you in advance.
For clipping, two ways come to mind. The GDAL utility ogr2ogr has an option -clipsrc. Here you specify the xmin, ymin, xmax and ymax bounding box. So something like:
ogr2ogr -clipsrc 200000 500000 210000 510000 original.shp clipped.shp

Alternatively, if you create a polygon shapefile identical to your new extent, then in QGIS select Vector->Geoprocessing Tools->Clip. This will "cookie cut" your original with the extent polygon.

Converting to raster is a different issue altogether. If you want to interpolate between vector features, then you have to choose the interpolation method and parameters. If you simply want raster cells to have some value from the shape features, and NULL everywhere else, then you can use the v.to.rast modules from the GRASS plugin.
HTH

 
Biól.MCF. Julio César Canales Delgadillo.
Verhaltensbiologie
Barbarastr. 11
Fachbereich 5 Biologie/Chemie
Universität Osnabrück
49076 Osnabrück
Phone: +(49) 0541 969 3803
Movil: +(49) 0152 043 87082
Alternative E-mail: [email protected]

 

This mail was received via Mail-SeCure System.
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user

This mail was received via Mail-SeCure System.


  


-- 
Micha Silver
http://www.surfaces.co.il/
Arava Development Co.  +972-52-3665918
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to