[jira] [Created] (SEDONA-126) why always SpatialRDD saveAsWKB failed

2022-06-06 Thread libo zhang (Jira)
libo zhang created SEDONA-126:
-

 Summary: why always SpatialRDD saveAsWKB failed
 Key: SEDONA-126
 URL: https://issues.apache.org/jira/browse/SEDONA-126
 Project: Apache Sedona
  Issue Type: Bug
Reporter: libo zhang


Hello author,I opened a csv file,and transform to spatialRDD ,  do nothing,  
save it failed

code is follow:

String layerName = "landuse";
String csvFilePath1 = "D:\\GCSResult\\landuse.csv";
DataFrameReader read1 = mSession.read();
read1.option("header", "true");
read1.option("delimiter", "%");
read1.format("csv");
Dataset rows1 = read1.load(csvFilePath1);
rows1.createOrReplaceTempView("landuse");
String s = "SELECT ST_GeomFromWKB(landuse.geometry) AS shape, landuse.id from 
landuse";
Dataset rows2 = mSession.sql(s);
rows2.createOrReplaceTempView("landuse");
rows2.printSchema();
System.out.println(rows2.count());

ArrayList fieldNames = new ArrayList<>();
fieldNames.add("id");
fieldNames.add("shape");
Seq fieldNameSeq = 
JavaConverters.asScalaIteratorConverter(fieldNames.iterator()).asScala().toSeq();
geometrySpatialRDD = Adapter.toSpatialRdd(rows2, "shape", fieldNameSeq);

int nn = geometrySpatialRDD.fieldNames.size();
geometrySpatialRDD.saveAsWKB("D:/GCSResult/landuse3");



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


Re: [DISCUSS] Graduate Sedona to Top Level Project

2022-06-06 Thread Jia Yu
Dear Felix,

Thanks for reminding me of this.

I have updated the Sedona website to better document the current decision
making process.

1. Review a PR:
https://sedona.apache.org/community/rule/#review-a-pull-request
2. Vote a release:
https://sedona.apache.org/community/publish/#vote-in-dev-sedonaapacheorg
3. Vote a new PMC member:
https://sedona.apache.org/community/contributor/#nominate-a-committer-or-pmc-member

Please let me know if you have any other suggestions.

Thanks,
Jia

On Wed, Jun 1, 2022 at 3:59 PM Felix Cheung  wrote:

> Are there decision-making guidelines published?
>
>
> On Sun, May 29, 2022 at 10:49 PM Jia Yu  wrote:
>
> > Dear Sedona PMC members and users,
> >
> > We are getting ready for the graduation process.
> >
> > 1. I have summarized the community statistics and Sedona maturity model.
> > See https://issues.apache.org/jira/browse/SEDONA-81
> > 2. I have created a suitable name search JIRA ticket (may take some time
> to
> > get approved):
> >
> >
> https://issues.apache.org/jira/projects/PODLINGNAMESEARCH/issues/PODLINGNAMESEARCH-200?filter=reportedbyme
> > 3. I have updated the podling report (may need a few hours to by synced):
> > https://incubator.apache.org/projects/sedona.html
> >
> > PMC members, please double check these questions from the podling report
> > and see if you have any concerns. Otherwise, I will mark them as "NO"
> after
> > June 5th. Then I will call for a vote for graduation and sign off
> > the report.
> >
> > Collaborative Development
> >
> >- Have all of the active long-term volunteers been identified and
> >acknowledged as committers on the project?
> >- Are there three or more independent committers? (The legal
> definition
> >of independence is long and boring, but basically it means that there
> > is no
> >binding relationship between the individuals, such as a shared
> employer,
> >that is capable of overriding their free will as individuals, directly
> > or
> >indirectly.)
> >- Are project decisions being made in public by the committers?
> >- Are the decision-making guidelines published and agreed to by all of
> >the committers?
> >
> > Licensing awareness
> >
> >- Are all licensing, trademark, credit issues being taken care of and
> >acknowledged by all committers?
> >
> > Thanks,
> > Jia
> >
> > On Fri, Dec 10, 2021 at 7:51 AM Felix Cheung 
> > wrote:
> >
> > > Hi!
> > >
> > > Highly recommend the community look at and complete the Maturity mode
> > >
> > >
> >
> https://community.apache.org/apache-way/apache-project-maturity-model.html
> > >
> > > Also it is a good idea to compute some community stats: number of
> > > contributions (commits), number of contributors (and growth since
> > > incubation), email discussions, releases,  number of release managers,
> > > affiliations of committers / PPMC members, new committers or PPMC
> members
> > > since incubation etc
> > >
> > > 
> > > From: Paweł Kociński 
> > > Sent: Friday, December 10, 2021 2:12:57 AM
> > > To: Jia Yu 
> > > Cc: Jinxuan Wu ; Mohamed Sarwat  >;
> > > Netanel Malka ; Zongsi Zhang <
> > > zongsi.zh...@grabtaxi.com>; dev@sedona.apache.org <
> dev@sedona.apache.org
> > >
> > > Subject: Re: [DISCUSS] Graduate Sedona to Top Level Project
> > >
> > > That sounds awesome. Can I help you somehow with the process ?
> > >
> > >
> > > W dniu pt., 10.12.2021 o 01:56 Jia Yu  napisał(a):
> > >
> > > > Dear all,
> > > >
> > > > It has been 16 months since Apache Sedona joined the Apache Incubator
> > in
> > > > July 2020. We have made 4 Apache releases so far. I think it is a
> good
> > > time
> > > > to start the discussion of  graduating Apache Sedona from the
> incubator
> > > to
> > > > become a Top Level Project.
> > > >
> > > > For graduation, to the best of my knowledge, we need to follow the
> > > > graduation guideline [1] and podling status report [2]. After a brief
> > > > evaluation, I think most of the remaining steps are to clear up the
> > > > copyright issues.
> > > >
> > > > Please feel free to chime in if you think there are any blockers.
> > > > Meanwhile, I will start to fix the issues on our way to graduation.
> > > >
> > > > [1] https://incubator.apache.org/guides/graduation.html
> > > > [2] https://incubator.apache.org/projects/sedona.html
> > > >
> > > > Thanks,
> > > > Jia
> > > >
> > >
> >
>