Hi all, It seems that this question raised up again in GDAL/OGR 2.3.2:
https://trac.osgeo.org/gdal/ticket/4203 I've a shapefile produced in a old version of gvSIG, that worked well in QGIS 2.18.24, compiled against GDAL/OGR 2.2.4 on Windows, and 2.2.2 on Linux. After update to QGIS 2.18.25 and QGIS 3.4, that were compiled against GDAL/OGR 2.3.2, the geometry of the shapefile is not visible, just the attributes. ogrinfo shows the ERROR 1: Error in fread() reading object of size 776 at offset 100 from .shp file ogrinfo -al Isocronas_RV_Manteigas_Linhas_gvSIG.shp INFO: Open of `Isocronas_RV_Manteigas_Linhas_gvSIG.shp' using driver `ESRI Shapefile' successful. Layer name: Isocronas_RV_Manteigas_Linhas_gvSIG Metadata: DBF_DATE_LAST_UPDATE=1918-10-22 Geometry: Line String Feature Count: 3673 Extent: (46198.599165, 72277.658265) - (60600.318227, 87974.341081) Layer SRS WKT: PROJCS["ETRS89 / Portugal TM06", GEOGCS["ETRS89", DATUM["European_Terrestrial_Reference_System_1989", SPHEROID["GRS 1980",6378137,298.257222101, AUTHORITY["EPSG","7019"]], TOWGS84[0,0,0,0,0,0,0], AUTHORITY["EPSG","6258"]], PRIMEM["Greenwich",0, AUTHORITY["EPSG","8901"]], UNIT["degree",0.0174532925199433, AUTHORITY["EPSG","9122"]], AUTHORITY["EPSG","4258"]], PROJECTION["Transverse_Mercator"], PARAMETER["latitude_of_origin",39.66825833333333], PARAMETER["central_meridian",-8.133108333333334], PARAMETER["scale_factor",1], PARAMETER["false_easting",0], PARAMETER["false_northing",0], UNIT["metre",1, AUTHORITY["EPSG","9001"]], AXIS["X",EAST], AXIS["Y",NORTH], AUTHORITY["EPSG","3763"]] IDARC: Integer64 (18.0) IDEDGE: Integer64 (18.0) COSTORIG: Real (18.6) DISTORIG: Real (18.6) COSTEND: Real (18.6) DISTEND: Real (18.6) IDFLAG: Real (18.6) ERROR 1: Error in fread() reading object of size 776 at offset 100 from .shp file OGRFeature(Isocronas_RV_Manteigas_Linhas_gvSIG):0 IDARC (Integer64) = 332 IDEDGE (Integer64) = 664 COSTORIG (Real) = 24.593620 DISTORIG (Real) = 9698.047530 COSTEND (Real) = 30.019970 DISTEND (Real) = 11416.391280 IDFLAG (Real) = 0.000000 ERROR 1: Error in fread() reading object of size 296 at offset 876 from .shp file OGRFeature(Isocronas_RV_Manteigas_Linhas_gvSIG):1 IDARC (Integer64) = 333 IDEDGE (Integer64) = 666 COSTORIG (Real) = 30.439360 DISTORIG (Real) = 11549.198340 COSTEND (Real) = 31.435480 DISTEND (Real) = 11864.636020 IDFLAG (Real) = 0.000000 The shapefile is this one: https://cld.pt/dl/download/a35d82bc-6784-4864-8737-59ecbb3a696d/Shapefile_gvSIG.zip Is this a problem from GDAL/OGR? Thank you very much! Best regards, Pedro Venâncio
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
