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

   @PrathameshDhapodkar 
   
   Are you using the correct shapefile path? Shapefile is not a single `shp` 
file. Instead, it should be a folder.
   
   When you read it, you should specify the folder path instead of the path of 
`shp` file. See here: 
https://sedona.apache.org/1.4.1/tutorial/rdd/#create-a-generic-spatialrdd
   
   
   In a nutshell, if you have a folder called myshapefile like below. The input 
path should be `XXX/myshapefile` instead of `XXX/myshapefile/myshapefile.shp`
   
   - shapefile1
   - shapefile2
   - myshapefile
       - myshapefile.shp
       - myshapefile.shx
       - myshapefile.dbf
       - myshapefile...
       - ...


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to