Giter Site home page Giter Site logo

Comments (5)

tschaub avatar tschaub commented on June 12, 2024

I'd be in favor of removing this removing this language from the spec:

In case of 3D geometries, a " Z" suffix gets added (e.g. "Point Z")

I suppose someone could check the length of the bbox if they wanted to know how many dimensions they might encounter in coordinate values.

from geoparquet.

rouault avatar rouault commented on June 12, 2024

`` if they wanted to know how many dimensions they might encounter in coordinate values.

if M support is added someday, checking the bbox length will not be enough to distinguish Z from M.

from geoparquet.

tschaub avatar tschaub commented on June 12, 2024

@rouault - Do you think it is important to know if the geometry includes Z? Curious if there are cases where not all positions have Z (and uncertain what this would mean for parsers that use this hint).

from geoparquet.

rouault avatar rouault commented on June 12, 2024

Do you think it is important to know if the geometry includes Z?

With my GDAL hat on, yes. There are definitely formats to which you could convert GeoParquet that need to distinguish upfront if geometries are going to be 2D or 3D. PostGIS is a prominent one. If that's not communicated upfront, the OGR Parquet driver would need to read the first feature (and possibly more features if the first ones have NULL geometries) to be able to guess the dimension.
Mix of dimensions inside a layer is probably less common, and could be solved by declaring [ "Polygon", "PolygonZ" ] as geometry_type.

from geoparquet.

cholmes avatar cholmes commented on June 12, 2024

Call 117 - We need to update the schema to reflect the spec, but general consensus seems to be we should do this.

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.