Thank you so much Dietrich. I followed your procedure and the result looks great (I just had to multiply the result by my mask). The max distance is exactly the same that I got using Arcmap. <div><br></div><div>Regards, André.<br>
<br><div class="gmail_quote">2012/10/3 Simon Cropper <span dir="ltr"><<a href="mailto:simoncropper@fossworkflowguides.com" target="_blank">simoncropper@fossworkflowguides.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 03/10/12 00:26, Andre Pais wrote:<br>
><br>
><br>
> ---------- Forwarded message ----------<br>
</div><div class="im">> From: *Andre Pais* <[hidden email]<br>
> </user/SendEmail.jtp?type=node&node=5005887&i=0>><br>
> Date: 2012/9/29<br>
> Subject: [Gvsig_english] raster buffer<br>
</div><div class="im">> To: [hidden email] </user/SendEmail.jtp?type=node&node=5005887&i=1><br>
><br>
><br>
> Hi there,<br>
><br>
> So I need to generate a raster theme that represents the distance to the<br>
> road network of a certain area. I started with the shapefile that represents<br>
> the road network, then I converted it to raster using "rasterize vector<br>
> layer". Now, I need to use a function that makes buffers to the road network<br>
> similar to "Euclidean Distance" of Arcmap. I´ve tried "raster buffer" of<br>
> Sextante but it doesn´t return what I need. For example, in the function´s<br>
> options I defined my input (the road network raster) and the buffer distance<br>
> as 100 (my cell size). The output varies from 0 to 2 and I cannot understand<br>
> what it represents nor its appearance looks minimally similar with what I´ve<br>
> done with Arcmap.<br>
><br>
> I would bery much appreciate an answer<br>
><br>
> Regards, André Pais.<br>
><br>
><br>
><br>
</div>[snip]<br>
<br>
André,<br>
<br>
Is this what you are trying to do?<br>
<br>
Using Sextante...<br>
<br>
1. Buffer road (1 concentric ring at 500m)<br>
2. Convert buffer from Polygon to Polylines<br>
3. Merge Line Layers and simplify<br>
4. Assign Double Number representing distance (0 for road, 500 for buffer)<br>
5. Convert Merged Line Layer to Raster, i.e. {Rasterize vector layer}<br>
6. {Void Filling}<br>
<br>
Gives you a raster, similar to a DEM generated from contours but instead<br>
of elevation you are using distance from road as the variable.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Cheers Simon<br>
<br>
Simon Cropper - Open Content Creator<br>
<br>
Free and Open Source Software Workflow Guides<br>
------------------------------------------------------------<br>
Introduction <a href="http://www.fossworkflowguides.com" target="_blank">http://www.fossworkflowguides.com</a><br>
GIS Packages <a href="http://www.fossworkflowguides.com/gis" target="_blank">http://www.fossworkflowguides.com/gis</a><br>
bash / Python <a href="http://www.fossworkflowguides.com/scripting" target="_blank">http://www.fossworkflowguides.com/scripting</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Gvsig_internacional mailing list<br>
<a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
<br>
To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:<br>
<br>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
</div></div></blockquote></div><br></div>