You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "jiayuasu (via GitHub)" <gi...@apache.org> on 2023/01/31 18:11:04 UTC

[GitHub] [sedona] jiayuasu commented on issue #752: ShapefileReader returning empty rawSpatialRDD when containing POLYGON Z column

jiayuasu commented on issue #752:
URL: https://github.com/apache/sedona/issues/752#issuecomment-1410852538

   @sebastienbourg Thanks for reporting this issue. According to SEDONA-163, Shapefile Reader currently only supports the types marked as `true` below. Geometries that are in other types will be automatically skipped. If you check your log, you should be able to see a number of WARNING log. For POLYGONZ shapefile, I suggest you use GeoPandas to convert it to WKT/WKB.
   
   ```
   	NULL(0, false),
       POINT(1, true),
       POLYLINE(3, true),
       POLYGON(5, true),
       MULTIPOINT(8, true),
       POINTZ(11, false),
       POLYLINEZ(13, false),
       POLYGONZ(15, false),
       MULTIPOINTZ(18, false),
       POINTM(21, false),
       POLYLINEM(23, false),
       POLYGONM(25, false),
       MULTIPOINTM(28, false),
       MULTIPATCH(31, false),
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org