-
Notifications
You must be signed in to change notification settings - Fork 733
[DOCS] update homepage links #2353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
82b9e0e
7184cdd
dfe2e39
c7ce048
8d73adc
25cd1ed
373d5ac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,7 +89,7 @@ <h1 class="page-title">Apache Sedona</h1> | |
<div class="hljs-snippet__tabs" role="tablist" aria-label="Code tabs"> | ||
<button class="hljs-snippet__tab is-active" role="tab" aria-selected="true" data-lang="sql">SQL</button> | ||
<button class="hljs-snippet__tab" role="tab" aria-selected="false" data-lang="python">PySpark</button> | ||
<button class="hljs-snippet__tab" role="tab" aria-selected="false" data-lang="java">Java</button> | ||
<button class="hljs-snippet__tab" role="tab" aria-selected="false" data-lang="bash">SedonaDB</button> | ||
</div> | ||
<div class="hljs-snippet__body"> | ||
|
||
|
@@ -104,29 +104,23 @@ <h1 class="page-title">Apache Sedona</h1> | |
</span> | ||
</button> | ||
|
||
<pre class="hljs-snippet__panel" data-lang="sql"><code class="language-sql"><pre><code class="language-sql">-- Create a table | ||
CREATE TABLE users ( | ||
id INT PRIMARY KEY, | ||
name VARCHAR(50), | ||
email VARCHAR(100), | ||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP | ||
);</code></pre> | ||
<pre class="hljs-snippet__panel" data-lang="sql"><code class="language-sql"><pre><code class="language-sql">SELECT superhero.name | ||
FROM city, superhero | ||
WHERE ST_Contains(city.geom, superhero.geom) | ||
AND city.name = 'Gotham'</code></pre> | ||
</code></pre> | ||
<pre class="hljs-snippet__panel" data-lang="python" hidden><code class="language-python">df.withColumn( | ||
"centroid", | ||
ST_Centroid(col("geometry")) | ||
).select("id", "centroid").show(truncate=false)</code></pre> | ||
<pre class="hljs-snippet__panel" data-lang="java" hidden><code class="language-java">Dataset<Row> df = sedona.read.format("geojson") | ||
.option("multiLine", "true") | ||
.load("PATH/TO/MYFILE.json") | ||
|
||
.selectExpr("explode(features) as features") | ||
|
||
.select("features.*") | ||
|
||
.withColumn("prop0", expr("properties['prop0']")) | ||
.drop("properties") | ||
.drop("type");</code></pre> | ||
<pre class="hljs-snippet__panel" data-lang="python" hidden><code class="language-python">sedona.sql(""" | ||
SELECT superhero.name | ||
FROM city, superhero | ||
WHERE ST_Contains(city.geom, superhero.geom) | ||
AND city.name = 'Gotham' | ||
""")</code></pre> | ||
<pre class="hljs-snippet__panel" data-lang="bash" hidden><code class="language-bash">sd.sql(""" | ||
SELECT superhero.name | ||
FROM city, superhero | ||
WHERE ST_Contains(city.geom, superhero.geom) | ||
AND city.name = 'Gotham' | ||
""")</code></pre> | ||
</div> | ||
</div> | ||
</div> | ||
|
@@ -140,12 +134,11 @@ <h1 class="page-title">Apache Sedona</h1> | |
<div class="container"> | ||
<div class="section-row"> | ||
<div class="col-left"> | ||
<div class="hljs-snippet" data-initial="powershell"> | ||
<div class="hljs-snippet" data-initial="pyspark"> | ||
<div class="hljs-snippet__tabs" role="tablist" aria-label="Code tabs"> | ||
<button class="hljs-snippet__tab is-active" role="tab" aria-selected="true" data-lang="powershell">Command line</button> | ||
<button class="hljs-snippet__tab" role="tab" aria-selected="false" data-lang="pyspark">PySpark</button> | ||
<button class="hljs-snippet__tab" role="tab" aria-selected="false" data-lang="python">Python</button> | ||
<button class="hljs-snippet__tab" role="tab" aria-selected="false" data-lang="java">Snowflake</button> | ||
<button class="hljs-snippet__tab is-active" role="tab" aria-selected="true" data-lang="pyspark">SedonaSpark</button> | ||
<button class="hljs-snippet__tab" role="tab" aria-selected="false" data-lang="python">SedonaDB</button> | ||
<button class="hljs-snippet__tab" role="tab" aria-selected="false" data-lang="bash">Docker</button> | ||
</div> | ||
<div class="hljs-snippet__body"> | ||
|
||
|
@@ -159,10 +152,11 @@ <h1 class="page-title">Apache Sedona</h1> | |
<span class="active-state">✅</span> | ||
</span> | ||
</button> | ||
<pre class="hljs-snippet__panel" data-lang="powershell"><code class="language-powershell">curl https://install.sedona.apache.org | sh</code></pre> | ||
<pre class="hljs-snippet__panel" data-lang="pyspark" hidden><code class="language-python">pip install apache-sedona</code></pre> | ||
<pre class="hljs-snippet__panel" data-lang="python" hidden><code class="language-python">pip install sedonadb</code></pre> | ||
<pre class="hljs-snippet__panel" data-lang="java" hidden><code class="language-java">java -jar sedona-snowflake-1.7.2.jar --geotools-version 1.7.2-28.5 > sedona-snowflake.sql</code></pre> | ||
<pre class="hljs-snippet__panel" data-lang="python" hidden><code class="language-python">pip install "apache-sedona[db]"</code></pre> | ||
<pre class="hljs-snippet__panel" data-lang="bash" hidden><code class="language-bash">docker pull apache/sedona:latest | ||
docker run -d -p 8888:8888 -p 8085:8085 apache/sedona:latest | ||
</code></pre> | ||
</div> | ||
</div> | ||
</div> | ||
|
@@ -174,7 +168,7 @@ <h2 class="section-title"> | |
Install SedonaDB, or run Sedona on distributed systems when you need additional scale. | ||
</div> | ||
<div class="bth-group"> | ||
<a href="#" class="btn btn-red"> | ||
<a href="https://github.com/apache/sedona-db" class="btn btn-red"> | ||
<span class="caption"> | ||
Install SedonaDB | ||
</span> | ||
|
@@ -190,10 +184,10 @@ <h2 class="section-title"> | |
<div class="container"> | ||
<div class="content-box"> | ||
|
||
<h2 class="section-title">Want to appear on our use new case page (coming soon)?</h2> | ||
<h2 class="section-title">Want to share your Sedona use case?</h2> | ||
|
||
<div class="section__subtitle editor"> | ||
Submit a pull request or send a quick description of your organization and usage to <a target="_blank" href="https://sedona.apache.org/latest/community/contact/">the mailing list</a> and we'll add you. | ||
Join our Discord or create a GitHub Discussion so we can collaborate. | ||
jiayuasu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</div> | ||
|
||
<div class="industries-tabs"> | ||
|
@@ -317,41 +311,41 @@ <h2 class="section-title">Apache Sedona at a glance</h2> | |
<img src="image/home/features/scalable.svg" alt="" class=""> | ||
</div> | ||
<h3 class="feature-item__title">Scalable</h3> | ||
<div class="feature-item__description editor">Works with planetary-scale datasets in Spark, Flink, or local systems.</div> | ||
<div class="feature-item__description editor">Works with small or large datasets with Spark, Flink, or locally.</div> | ||
</div> | ||
|
||
<div class="feature-item"> | ||
<div class="feature-item__icon"> | ||
<img src="image/home/features/waves.svg" alt="" class=""> | ||
</div> | ||
<h3 class="feature-item__title">Feature Complete</h3> | ||
<div class="feature-item__description editor">300+ spatial functions, multiple file formats, full integration with data lakes to databases.</div> | ||
<div class="feature-item__description editor">300+ spatial functions, support for spatial file formats, and compatible with lakehouses and databases.</div> | ||
</div> | ||
|
||
<div class="feature-item"> | ||
<div class="feature-item__icon"> | ||
<img src="image/home/features/picture.svg" alt="" class=""> | ||
</div> | ||
<h3 class="feature-item__title">Raster + Vector Joins</h3> | ||
<div class="feature-item__description editor">High-performance joins across multiple data types.</div> | ||
<h3 class="feature-item__title">Raster and Vector Support</h3> | ||
<div class="feature-item__description editor">Analyze both raster and vector datasets.</div> | ||
</div> | ||
|
||
<div class="feature-item"> | ||
<div class="feature-item__icon"> | ||
<img src="image/home/features/cloud.svg" alt="" class=""> | ||
</div> | ||
<h3 class="feature-item__title">Portable</h3> | ||
<div class="feature-item__description editor">Run locally, on cloud, or in data platforms like Snowflake.</div> | ||
<div class="feature-item__description editor">Easy to run locally, in the cloud, or with any data platform.</div> | ||
</div> | ||
|
||
<div class="feature-item"> | ||
<div class="feature-item__icon"> | ||
<img src="image/home/features/rocket.svg" alt="" class=""> | ||
</div> | ||
<h3 class="feature-item__title">Fast</h3> | ||
<div class="feature-item__description editor">Works with planetary-scale datasets in Spark, Flink, or local systems.</div> | ||
<div class="feature-item__description editor">Optimized execution for single node or distribute cluster environments.</div> | ||
<div class="feature-item__cta"> | ||
<a href="#" class="btn-link"> | ||
<a href="https://github.com/apache/sedona-spatialbench" class="btn-link"> | ||
<span class="caption">See the benchmarks</span> | ||
<span class="icon"> | ||
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
|
@@ -368,7 +362,7 @@ <h3 class="feature-item__title">Fast</h3> | |
<img src="image/home/features/code.svg" alt="" class=""> | ||
</div> | ||
<h3 class="feature-item__title">Familiar</h3> | ||
<div class="feature-item__description editor">Works with SQL, Python, Scala, Java, and R.</div> | ||
<div class="feature-item__description editor">Supports many programming languages and runnable in the environment where you feel most comfortable.</div> | ||
</div> | ||
|
||
|
||
|
@@ -404,7 +398,7 @@ <h2 class="section-title">Deploy Sedona where you need it</h2> | |
<h3 class="info-item__title">SedonaDB</h3> | ||
<div class="info-item__description editor">Standalone runtime for local processing and development.</div> | ||
<div class="info-item__cta"> | ||
<a href="#" class="btn-link"> | ||
<a href="https://github.com/apache/sedona-db" class="btn-link"> | ||
<span class="caption">SedonaDB</span> | ||
<span class="icon"> | ||
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
|
@@ -426,7 +420,7 @@ <h3 class="info-item__title">SedonaDB</h3> | |
<h3 class="info-item__title">SedonaSpark</h3> | ||
<div class="info-item__description editor">Distributed batch processing on Apache Spark clusters.</div> | ||
<div class="info-item__cta"> | ||
<a href="#" class="btn-link"> | ||
<a href="setup/overview/" class="btn-link"> | ||
<span class="caption">SedonaSpark</span> | ||
<span class="icon"> | ||
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
|
@@ -448,7 +442,7 @@ <h3 class="info-item__title">SedonaSpark</h3> | |
<h3 class="info-item__title">SedonaFlink</h3> | ||
<div class="info-item__description editor">Real-time spatial analytics using Apache Flink.</div> | ||
<div class="info-item__cta"> | ||
<a href="#" class="btn-link"> | ||
<a href="setup/flink/install-scala/" class="btn-link"> | ||
<span class="caption">SedonaFlink</span> | ||
<span class="icon"> | ||
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
|
@@ -472,7 +466,7 @@ <h3 class="info-item__title">SedonaSnow</h3> | |
Native spatial support inside Snowflake environments. | ||
</div> | ||
<div class="info-item__cta"> | ||
<a href="#" class="btn-link"> | ||
<a href="setup/snowflake/install/" class="btn-link"> | ||
<span class="caption">SedonaSnow</span> | ||
<span class="icon"> | ||
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
|
@@ -494,7 +488,7 @@ <h3 class="info-item__title">SedonaSnow</h3> | |
<h3 class="info-item__title">Sedona in the Cloud</h3> | ||
<div class="info-item__description editor">Integrated spatial support in your preferred cloud environment</div> | ||
<div class="info-item__cta"> | ||
<a href="#" class="btn-link"> | ||
<a href="setup/overview/" class="btn-link"> | ||
<span class="caption">Explore the ecosystem</span> | ||
<span class="icon"> | ||
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
|
@@ -516,7 +510,7 @@ <h3 class="info-item__title">Sedona in the Cloud</h3> | |
<h2 class="section-title">Join the community</h2> | ||
<div class="section-description editor">Discover what our community has to say about their Apache Sedona experience.</div> | ||
<div class="btn-group"> | ||
<a href="#" class="btn btn-light-red"> | ||
<a href="https://github.com/apache/sedona/discussions" class="btn btn-light-red"> | ||
<span class="caption"> | ||
GitHub Discussions | ||
</span> | ||
|
@@ -529,7 +523,7 @@ <h2 class="section-title">Join the community</h2> | |
|
||
</span> | ||
</a> | ||
<a href="#" class="btn btn-light-red"> | ||
<a href="https://discord.gg/9A3k5dEBsY" class="btn btn-light-red"> | ||
<span class="caption">Discord</span> | ||
<span class="icon icon-lg"> | ||
<svg width="17" height="18" viewBox="0 0 17 18" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
|
@@ -633,7 +627,7 @@ <h2 class="section-title"> | |
Monthly community meetings and programming conferences | ||
</h2> | ||
<div class="btn-group"> | ||
<a href="#" class="btn btn-red"> | ||
<a href="community/contact/" class="btn btn-red"> | ||
<span class="caption"> | ||
Find Events | ||
</span> | ||
|
@@ -651,7 +645,7 @@ <h2 class="section-title"> | |
</section> | ||
|
||
<!-- Section Get Started --> | ||
<section class="section-get-started"> | ||
<!-- <section class="section-get-started"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [nitpick] Consider removing this commented-out section entirely rather than leaving it as commented code, which can create maintenance overhead and confusion. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
<div class="container"> | ||
|
||
<h2 class="section-title"> | ||
|
@@ -702,7 +696,8 @@ <h2 class="section-title"> | |
</div> | ||
|
||
</div> | ||
</section> | ||
</section> --> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [nitpick] Consider removing this commented-out section entirely rather than leaving it as commented code, which can create maintenance overhead and confusion. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
|
||
</div> | ||
{% else %} | ||
{{ super() }} | ||
|
Uh oh!
There was an error while loading. Please reload this page.