Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console: import/export org area as csv #2100

Closed
landryb opened this issue Jun 29, 2018 · 4 comments
Closed

console: import/export org area as csv #2100

landryb opened this issue Jun 29, 2018 · 4 comments
Assignees
Milestone

Comments

@landryb
Copy link
Member

landryb commented Jun 29, 2018

would be nice to be able to export/import the code list as csv (or geojson since we have the geometry available ? but then the file is huge) so that one can replace the area by uploading a csv.

we have cases where every year, an admin has to compare a list of 300 insee codes (what's in the db/ldap, what's the new list) , with 90 to add and 20 to remove....

@fvanderbiest
Copy link
Member

would be nice to be able to export/import the code list as csv (or geojson since we have the geometry available ? but then the file is huge) so that one can replace the area by uploading a csv.

Indeed.
Can you iterate on your requirements for uploading / downloading this CSV ? (mostly: who, where, what...)

@landryb
Copy link
Member Author

landryb commented Jul 2, 2018

Indeed.
Can you iterate on your requirements for uploading / downloading this CSV ? (mostly: who, where, what...)

On the coverage page, a link would export the current codelist as csv (eventually with a heading, but the codes are not always inseeCodes..) - cadastrapp has that kind of feature for parcel exports. This should be available to anyone (i'm not sure it makes sense to keep that information secret, but right now the org pages arent available to users anyway)

On the same page an upload form/button with 'replace codelist' would allow to send a similarly formed csv (potentially removing the heading, if it's not a number ?), available for an ORGADMIN or a SUPERUSER, and per #2101 eventually available for a member user, but with a validation step.

Uploading the codelist would replace the current codelist, which is simpler than trying to mix/match/add existing vs new.

@fvanderbiest
Copy link
Member

IIUC, you mean a dumb CSV (actually without comma) like this one:

code
75001
75002
...

@landryb
Copy link
Member Author

landryb commented Jul 12, 2018

Yes, no point in having more than this, we just need a codelist. Eventually with area names but only for informational purposes, as uploading the codelist should only care about the codes/keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants