Skip to content
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

docs(blog): ibis, duckdb and lonboard for overture maps #10143

Closed
wants to merge 107 commits into from

Conversation

ncclementi
Copy link
Contributor

This is still a draft, there are a few comments and things to decide

  • Unfortunately there is a bug in the new duckdb 1.1. release where writing to_parquet geoparquet files, there is a PR open to fix this Fix data race when writing GeoParquet duckdb/duckdb#13962, not sure if there will be a bug fix release or if we will encourage downloading the nightly when it goes out.
  • Unfortunately I had to use screenshots of the visualizations otherwise the html file gets huge to host.
  • @kylebarron I know it's been a long time since the original issue, if you are still interested in co-authoring there are couple of places where we can fit in some lonboard content.

@ncclementi ncclementi added the docs-preview Add this label to trigger a docs preview label Sep 16, 2024
Copy link
Contributor

ACTION NEEDED

Ibis follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message.

Please update your PR title and description to match the specification.

@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Sep 16, 2024
@ncclementi ncclementi changed the title docs(blog): Ibis, duckdb and lonboard for overture maps docs(blog): ibis, duckdb and lonboard for overture maps Sep 16, 2024
@Maxxen
Copy link

Maxxen commented Sep 16, 2024

Bug fix release is scheduled for monday if everything goes as planned!

@ncclementi
Copy link
Contributor Author

Thanks @Maxxen that would be awesome. If you are interested in being part of the blog too, I'd be happy to get include a paragraph or something related to the duckdb geoparquet support that you added and list you as a co-author.

At the moment is a very rough draft, but I'll leave the invitation open in case you are interested.

docs/posts/ibis-overturemaps/index.qmd Outdated Show resolved Hide resolved
docs/posts/ibis-overturemaps/index.qmd Outdated Show resolved Hide resolved
docs/posts/ibis-overturemaps/index.qmd Outdated Show resolved Hide resolved
```

## Motivation

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd start with a sentence intro about what Overture Maps is. Like

Overture Maps is a project to build map data products on top of a variety of sources, like OpenStreetMap.

(not sure that's the best one-liner description of what Overture Maps is, any zingers @jwass ?)

docs/posts/ibis-overturemaps/index.qmd Outdated Show resolved Hide resolved
docs/posts/ibis-overturemaps/index.qmd Outdated Show resolved Hide resolved
docs/posts/ibis-overturemaps/index.qmd Outdated Show resolved Hide resolved
Comment on lines 163 to 164
plants_CA = plants.filter(_.bbox.xmin.between(-118.6, -117.9),
_.bbox.ymin.between(34.5, 35.3))[_.names.primary, _.geometry]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I'd suggest using standard black/ruff code formatting for all Python code blocks

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I'll fix this.

and that's how you can visualize ~7 million points from the comfort of
your laptop.

Note: I got the ~7M by adding the number of points in power_lines and minor_lines. I'm not sure if plotting the lines that connect these points add points to this.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is more effort for the GPU to render lines than to render points, but a line isn't rendered as a collection of points.

It might be clearer to say 7 million coordinates rather than points.

docs/posts/ibis-overturemaps/index.qmd Outdated Show resolved Hide resolved
Co-authored-by: Kyle Barron <kylebarron2@gmail.com>
@ncclementi
Copy link
Contributor Author

duckdb 1.1.1 is going out on Monday, I'll revisit changes, cleanup code and update text accordingly once the release is out.

ncclementi and others added 18 commits September 24, 2024 18:58
…ject#10072)

Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
## Description of changes

Simplifying the previous implementation from `sge.Case(ifs...)` per
ibis-project#10060 (comment).
Co-authored-by: Guilherme Martins Crocetti <24530683+gmcrocetti@users.noreply.github.com>
@github-actions github-actions bot added docs Documentation related issues or PRs tests Issues or PRs related to tests impala The Apache Impala backend postgres The PostgreSQL backend sqlite The SQLite backend ci Continuous Integration issues or PRs clickhouse The ClickHouse backend mysql The MySQL backend pyspark The Apache PySpark backend datafusion The Apache DataFusion backend dependencies Issues or PRs related to dependencies bigquery The BigQuery backend datatypes Issues relating to ibis's datatypes (under `ibis.expr.datatypes`) duckdb The DuckDB backend polars The polars backend snowflake The Snowflake backend mssql The Microsoft SQL Server backend nix Issues or PRs related to nix trino The Trino backend druid The Apache Druid backend oracle The Oracle backend flink Issues or PRs related to Flink exasol Issues related to the exasol backend risingwave The RisingWave backend labels Sep 24, 2024
@ncclementi
Copy link
Contributor Author

Oh no, I have no clue what git shenanigans happen that this got so messed up. I will close this in favor of a new one.

@ncclementi
Copy link
Contributor Author

closing in favor of #10215

Apologies for the mess, no clue what happened.

@ncclementi ncclementi closed this Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bigquery The BigQuery backend ci Continuous Integration issues or PRs clickhouse The ClickHouse backend datafusion The Apache DataFusion backend datatypes Issues relating to ibis's datatypes (under `ibis.expr.datatypes`) dependencies Issues or PRs related to dependencies docs Documentation related issues or PRs druid The Apache Druid backend duckdb The DuckDB backend exasol Issues related to the exasol backend flink Issues or PRs related to Flink impala The Apache Impala backend mssql The Microsoft SQL Server backend mysql The MySQL backend nix Issues or PRs related to nix oracle The Oracle backend polars The polars backend postgres The PostgreSQL backend pyspark The Apache PySpark backend risingwave The RisingWave backend snowflake The Snowflake backend sqlite The SQLite backend tests Issues or PRs related to tests trino The Trino backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs(blog/how to): Ibis + duckdb spatial + geoparquet + lonboard