Giter Site home page Giter Site logo

Records formatting about daybed HOT 5 CLOSED

leplatrem avatar leplatrem commented on August 18, 2024
Records formatting

from daybed.

Comments (5)

almet avatar almet commented on August 18, 2024

OH, we could actually use vendor specific data in the Accept / Content-Type fields. For instance "application/geojson+json" / "application/json" ?

from daybed.

leplatrem avatar leplatrem commented on August 18, 2024

AFAIK there is no consensus for geojson mimetype.

I used application/geojson : we could use application/geo+json, but @sgillies does not seem to like it :)

How do we trigger the geojson serializer otherwise ?

from daybed.

sgillies avatar sgillies commented on August 18, 2024

You're right, I don't like application/geojson or application/geo+json :) And we can't just make up new application media types, they need to be registered.

I recommend following http://tools.ietf.org/html/rfc6906 and adding a profile media type parameter like

application/json; profile=http://example.com/profiles/geojson

We'll have a standard GeoJSON profile URI at some point, but I'm not sure what it would be. In the meanwhile, you can make one specifically for your spiral-project GeoJSON files.

from daybed.

almet avatar almet commented on August 18, 2024

Profiles might effectively be an idea. It also means we need to extend SPORE to support this concept and check cornice / pyramid allow this easily.

from daybed.

leplatrem avatar leplatrem commented on August 18, 2024

Thanks Sean for taking time to give hints on that !
It's completely new for me, but looks just the right thing :)

from daybed.

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.