Page 1 of 1

About Reading .shp Files

Posted: Tue Dec 07, 2021 8:24 am
by suyufeng
Can cc not load 3D shp files?

An error occurs when I load it.
[15:54:13] [SHP] Shape -127539384 has an invalid shape code (951281200)
[15:54:13] An error occurred while loading 'traffic_sign_merge': reading error (no access right?)

Re: About Reading .shp Files

Posted: Tue Dec 07, 2021 9:52 am
by suyufeng
I was wrong. I know that cc can load it, but when I use geopandas to convert geojson to an shp file, the generated shp file will be loaded into cc, the error is reported, which is my above error.

Re: About Reading .shp Files

Posted: Mon Dec 13, 2021 1:37 pm
by daniel
Have you tried to load the output SHP file to another software? (like QGis, etc.)

Re: About Reading .shp Files

Posted: Tue Aug 08, 2023 1:28 pm
by GrandSam
Hello
I've got the exact same problem.
I generate a shp file for a GeoDataFrame with GeoPandas in Python, I can open it in QGis but not in CloudCompare.
More precisely, it works when my GeoDataFrame contains only one line, but when it contains more this error occurs :

An error occurred while loading 'bordures': reading error (no access right?)

with this display

[15:20:07] [SHP] Record #1 - type: 3D polyline (38320 bytes)
[15:20:07] [SHP] Shape 411478491 has an invalid shape code (-1108095171)
[15:20:07] An error occurred while loading 'bordures': reading error (no access right?)

Others shp files with multiple polylines, from other sources, open correctly...
Does the the conversion from GeoDataFrame to shp file require a specific treatment ?

Re: About Reading .shp Files

Posted: Wed Aug 16, 2023 1:44 pm
by daniel
Can you share the SHP files with us? (to admin@cloudcompare.org)