Hi Miles,

What is your shape file structure? Did you follow the structure as
described here?
https://sedona.apache.org/tutorial/rdd/#create-a-generic-spatialrdd

In addition, Sedona shapefile reader has a small issue. If you put files
other than dbf shx shp, it may not read data properly. See
https://issues.apache.org/jira/browse/SEDONA-18

Thanks,
Jia

On Wed, Aug 4, 2021 at 08:27 Miles Lee
<miles....@transport.nsw.gov.au.invalid> wrote:

> Hi Sedona,
>
>
>
> Our organization has a couple of projects planning to shift from ArcPy to
> GeoSpark (Sedona). As a participant and the beginner of Sedona, I tried
> playing Sedona on Jupyter-Lab to read the geometry from shapefile into
> GeometryRDD, however, I found the read-in shape file shows no features
> (count == 0), it just shows the schema, but I am very sure that our
> shapefile has features inside. I have tried many ways and look around the
> forum, resulted in nothing. So I am coming to ask your help. If you could
> give some hints about this will be really appreciated !!
>
>
>
> Thank you very much,
>
>
>
> Miles
>
>
>
>
>
>
>
>
>
> This email is intended only for the addressee and may contain confidential
> information. If you receive this email in error please delete it and any
> attachments and notify the sender immediately by reply email. Transport for
> NSW takes all care to ensure that attachments are free from viruses or
> other defects. Transport for NSW assume no liability for any loss, damage
> or other consequences which may arise from opening or using an attachment.
>
> P *Consider the environment. Please don't print this e-mail unless really
> necessary.*
>

Reply via email to