Fwd: [GRASS-user] Convert shapefile format to vector GRASS format

Hamish hamish_b at yahoo.com
Tue Jul 27 15:59:43 EDT 2010


Susana wrote:
>  I use the following command
> 
> v.in.ogr
> dsn=F:\PASO\Documentos_susana\aereo\C-MT\fotocentros_ejecutadosg.shp
> output=p1
> 
> but I obtain the following error:
> 
> ERROR: No se puede abrir el origen de datos
> <F:PASODocumentos_susanaaereoC-MTfotocentros_ejecutadosg.shp>
> 
> I do not why.

ah yes. Try "quoting" the file name, or swapping the direction
of the F:\ slashes, so like F:/PASO/ ...

the "\" character has the effect of quoting the character which
comes after it, so "\P" becomes a literal "P", etc. For plain
words they just disappear, but if you have funny characters or
spaces in the filename they can be useful.

for example sometimes you might see:
  C:/Program\ Files/
although
 "C:\Program Files"
with "quotes" around it is a bit more normal to read so I'd
usually try to use that.


regards,
Hamish


      


More information about the grass-user mailing list