Comments (3)
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.
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.
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)
- Ajoût d'un healthcheck pour le fonctionnement dans un environnement kubernetes HOT 2
- Create a CI for test automation HOT 4
- addok-france: add "crs" abbreviation for "cours" HOT 6
- distance search configuration
- test_create_edge_ngrams fails on macOS HOT 1
- Re-implement multiprocessing for macOS
- Redis 6.2+ geo indexes
- Problème d'emballement de redis HOT 2
- Installation instruction : use python-venv instead of python-virtualenv
- #553 issue not resolved yet HOT 11
- Add result_type support to csv geocoding HOT 2
- Addok lets you index some data that will cause a Python error during a search... HOT 2
- Uncompatible version of addok-csv 1.1.0 with current addok 1.1.1 and falcon 3.1.1 HOT 2
- cd
- différences de score entre le endpoint /csv et le endpoint search/ HOT 2
- For multiple postcodes, score should not depend of the postcode
- Problematic behavior with street names that start with a number (when this number is also one of its housenumbers) HOT 1
- contos7报错-bash: venv/bin/activate: No such file or directory
- Python 3.12 / editdistance-0.6.2 installation error HOT 2
- BAN CSV geocoding linked to multipart form boundary
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addok.