Giter VIP home page Giter VIP logo

Comments (4)

jorisvandenbossche avatar jorisvandenbossche commented on June 18, 2024

I opened a PR to correct that omission last week: #88

But so that actually does include Z. I personally don't have a strong opinion on whether we should include it or not.

from geoparquet.

paleolimbot avatar paleolimbot commented on June 18, 2024

Ah, sorry I missed that. For now I've dropped it from the metadata since a length-4 bbox is unambiguous regardless of dimension.

from geoparquet.

jorisvandenbossche avatar jorisvandenbossche commented on June 18, 2024

Do other people have thoughts about including Z values in the bbox or not?

I think there are three options (in case of >2D data):

  1. The bbox is always 4 values (only x, y dim), regardless of the dimension of the data
  2. The bbox can be 4 or 6 values, so optionally including z values (leaving it to the data producer to decide whether it is useful)
  3. Require that the bbox strictly follows the dimensionality of the data, so 4 values for 2D geometries and 6 values for 3D geometries.

Personally I agree that just having x,y bbox will typically be sufficient, so I would prefer 1 or 2.
Option 2 might become ambiguous, though, if we would allow M values at some point.

Another complicating factor is that we currently actually allow mixed dimensionality (in practice you can have WKB values with a mixture of 2D and 3D geometries). So at least allowing to only specify 4 values even if you have >2D data seems best. But I am also fine with for now only allowing 4 values.

from geoparquet.

jorisvandenbossche avatar jorisvandenbossche commented on June 18, 2024

Closed by #88 and #145
The spec now clearly says the bbox has values for each dimension of the geometries.

from geoparquet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.