osmose-backend icon indicating copy to clipboard operation
osmose-backend copied to clipboard

Incorporate glass containers

Open adrienandrem opened this issue 1 year ago • 5 comments

Hi!

How can glass container data be incorporated in Osmose Integration category?

Data is on the agglo community website, on data.gouv.fr and available through an API.

I guess it would be part of one of these item categories: 8120, 8121, 8122.

Thanks!

adrienandrem avatar Mar 11 '23 15:03 adrienandrem

It require a new configuration like this one https://github.com/osm-fr/osmose-backend/blob/master/analysers/analyser_merge_recycling_FR_nm_glass.py

An other one is already in progress at https://github.com/frodrigo/osmose-backend/blob/master/analysers/analyser_merge_recycling_FR_sitcom40.py

cc @vinber

frodrigo avatar Mar 11 '23 19:03 frodrigo

hi @adrienandrem , do you know how to personalize analyser or (if not) we can try to make it together and when we have a problems, we ask :)

vinber avatar Mar 14 '23 08:03 vinber

Hi @vinber , no but I sure would like to learn!

I guess I have to set up a dev environment, I'll tell you when I'm done.

I've read your try, as I see it, the operator value would be "C.A.C.L.".

Do you have some experience with their publication platform? (namely OpenDataSoft) I wonder why this dataset seems to be published only as json and not GeoJson, maybe they missed some checkbox or something.

adrienandrem avatar Mar 15 '23 00:03 adrienandrem

For OpenDataSoft there is already a data source adapter, like this one : https://github.com/osm-fr/osmose-backend/blob/master/analysers/analyser_merge_parking_FR_bm.py#L40 You can also use CSV.

I guess I have to set up a dev environment, I'll tell you when I'm done.

If you want, or cannot, you can also just make a PR with the configuration file. We will test and finish it.

frodrigo avatar Mar 15 '23 19:03 frodrigo

i try this https://github.com/vinber/osmose-backend/blob/master/analysers/analyser_merge_recycling_FR_CACL.py

vinber avatar Mar 15 '23 20:03 vinber