[GRASS-user] GRASS 8.0.dev not reading .shp file

I created a new location using the .prj file for cross-section contour lines
and successfully input CL_33_LDYX_20210712_CS_contour_lines.shp. When I
tried to input the sounding points file (CL_33_LDYX_20210712_CS_sounding_points.shp)
GRASS responded:
ERROR: Unable to open data source
<projects/washington/project/data/bathymetry/coe/cross-line/CL_33_LDYX_20210712_CS_sounding_points.shp>

The sounding points .shp file is an ESRI Shapefile version 1000 length 19168 type
PointZ and 38336 bytes in lengh.

What might cause GRASS to read one .shp file in a directory but not another
.shp file in the same directory?

I am seeing this 'unable to read file' error frequently these past few days.

TIA,

Rich

On Wed, 29 Sep 2021, Rich Shepard wrote:

I created a new location using the .prj file for cross-section contour lines
and successfully input CL_33_LDYX_20210712_CS_contour_lines.shp. When I
tried to input the sounding points file (CL_33_LDYX_20210712_CS_sounding_points.shp)
GRASS responded:
ERROR: Unable to open data source
<projects/washington/project/data/bathymetry/coe/cross-line/CL_33_LDYX_20210712_CS_sounding_points.shp>

However, within GRASS running in a virtual console I can cd to that
directory and ask GRASS to display the contents of that file. The shell says
that it's a binary file and should it be opened anyway? I answer, 'yes', and
it opens the file for viewing.

Rich

Check the file with ogr: ogrinfo -ro -so path/to/file_name.shp file_name

Māris.

2021-09-29 22:32 GMT+03:00, Rich Shepard <rshepard@appl-ecosys.com>:

I created a new location using the .prj file for cross-section contour
lines
and successfully input CL_33_LDYX_20210712_CS_contour_lines.shp. When I
tried to input the sounding points file
(CL_33_LDYX_20210712_CS_sounding_points.shp)
GRASS responded:
ERROR: Unable to open data source
<projects/washington/project/data/bathymetry/coe/cross-line/CL_33_LDYX_20210712_CS_sounding_points.shp>

The sounding points .shp file is an ESRI Shapefile version 1000 length 19168
type
PointZ and 38336 bytes in lengh.

What might cause GRASS to read one .shp file in a directory but not another
.shp file in the same directory?

I am seeing this 'unable to read file' error frequently these past few
days.

TIA,

Rich

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

On Thu, 30 Sep 2021, Maris Nartiss wrote:

Check the file with ogr: ogrinfo -ro -so path/to/file_name.shp file_name

Māris,

Okay.

Thanks,

Rich