<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16625"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri>Try&nbsp;e.g "g.findfile element=vector 
file=testmap"</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Christian</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A 
title="mailto:helenaherrera1980@gmail.com&#10;STRG + Klicken, um Verknüpfung zu folgen" 
href="mailto:helenaherrera1980@gmail.com">Helena Herrera</A> </DIV>
<DIV><B>Sent:</B> Monday, September 27, 2010 12:25 PM</DIV>
<DIV><B>To:</B> <A 
title="mailto:grass-user@lists.osgeo.org&#10;STRG + Klicken, um Verknüpfung zu folgen" 
href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</A> </DIV>
<DIV><B>Subject:</B> [GRASS-user] Python Script- Check if a raster 
exists</DIV></DIV></DIV>
<DIV><BR></DIV>Hi 
<DIV><BR></DIV>
<DIV>I'm doing a python script and, in a process, I need to check if a raster 
map exists. My idea is, if this map exists I don't need to create otherwise, I 
need to create it (v.to.rast). Is there a way to check if a map exists in the 
current mapset?</DIV>
<DIV>Thanks</DIV>
<DIV>Helena</DIV>
<P>
<HR>

<P></P>_______________________________________________<BR>grass-user mailing 
list<BR><A 
href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</A><BR><A 
title="http://lists.osgeo.org/mailman/listinfo/grass-user&#10;STRG + Klicken, um Verknüpfung zu folgen" 
href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</A><BR></BODY></HTML>