[GRASS-user] import e00? sorry for repeat topic, but...
Moritz Lennert
mlennert at club.worldonline.be
Tue Nov 27 03:30:08 EST 2007
On 26/11/07 17:58, Maciej Sieczka wrote:
> Moritz Lennert wrote:
>
>> Isn't this just due to the fact that ogr ignores the file you point to
>> and just takes account of the directory if the datasource should be a
>> directory (i.e. for shapefiles) ?
>>
>> So, the original description is correct (i.e. that for shapefiles dsn is
>> a directory), but in practice it doesn't matter since ogr takes care of
>> that.
>
> If you point OGR at a directory, it takes it for a "data
> source", and the OGR supported vector files inside for
> available "OGR layers" (at least in case of ESRI Shapefiles
> and MapInfo files).
>
> If you point it directly at an *.shp file, the whole "data
> source" is that single shapefile, and the only "layer"
> available at the same time.
>
> Try "ogrinfo -al -so /path/to/dir/with/shapefiles" or
> "v.in.ogr -l dsn=/path/to/dir/with/shapefiles".
Yes, I get it. Thanks for the explanation.
Moritz
More information about the grass-user
mailing list