Giter Club home page Giter Club logo

Comments (3)

yohanboniface avatar yohanboniface commented on August 23, 2024

Good point :)

I'm just wondering if we'll not find the case where attribution and licence are different per result, for example mixing Open Licence and ODBL data in the same instance :s

from addok.

richterb avatar richterb commented on August 23, 2024

Yeah, that will probably happen one day :)
We could add it at the single result level; and when importing BANO, Nominatim, or other sources, it could a single value hardcoded in the specific importer, and later a command-line option if we have a generic importer; the license and attribution would be added to each imported address.
I'm a bit worried about the impact on the size of the index though?

As a first step we also could just add the two keys in the configuration, and add them to each result on the fly; the day we need to be smarter, at least the result format won't change. It probably makes sense.

from addok.

yohanboniface avatar yohanboniface commented on August 23, 2024

Yep, let do something like this:

  • keep the attribution on the root of the results GeoJSON
  • (optionally) add the source of the data of each documents
  • and make that the attribution can be a dict like source1: attribution, source2: attribution (so we only add the source key to the document in the index)

from addok.

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.