Giter Site home page Giter Site logo

Comments (2)

jorisvandenbossche avatar jorisvandenbossche commented on June 12, 2024

What is the advantage of having the metadata without columns (in which case it is basically just a version, i.e. "geo": {"columns": [], "version": "1.0.0-dev"}), compared to just leaving out the "geo" metadata?

from geoparquet.

himikof avatar himikof commented on June 12, 2024

I think that would depend on whether the "geo" metadata would be made optional in the specification (that is, if any other parquet file would be a valid GeoParquet file, just without geo-columns). If that is true, then leaving out "geo" metadata could be indeed another solution. But if the spec would require a valid GeoParquet file to always have this metadata (as it currently does), then it would be very strange for a GeoDataFrame (or something like that) GeoParquet serialization function to write a file that:

  1. is not valid according to the GeoParquet specification;
  2. would error out due to the missing required metadata in many (if not all) readers.

It seems like a trade-off between supporting missing "geo" metadata (and possibly interpreting a totally unrelated parquet file as GeoParquet) and empty "columns" (which likely requires a bit of careful handling) in GeoParquet readers.

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.