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

Hotfix for Zoning Atlas Data #370

Merged
merged 1 commit into from
Jan 6, 2021

Conversation

mzagaja
Copy link
Contributor

@mzagaja mzagaja commented Jan 6, 2021

  • Because the Zoning Atlas data did not properly display for users who chose to use Excel as their CSV viewer, we are now providing a Sharepoint link that is in XLSX format for their conveinence.
  • Even more annoying was that the shapefile did not include any shapes when we exported it. So we also had to create the shapefile manually and put into sharefile.

Related to #366 and #365, but does not fix them beyond Zoning Atlas.

@mzagaja mzagaja requested a review from atomtay January 6, 2021 14:53
Copy link
Contributor

@atomtay atomtay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both links work for me on the Zoning dataset, so this seems like a reasonable workaround for now. It'll break if we change the name of the table, but I doubt we're in imminent danger of that. I'd just take out the console.log on line 72 and then ready to merge!

@@ -67,13 +67,20 @@ function downloadCsv(
queryYearColumn = ''
) {
const yearString = selectedYears.join();
if (table === 'zoning_atlas') {
return 'https://mapc365.sharepoint.com/:x:/s/DataServicesSP/Efonrnmw_kdMhmG3Dw2BkTcBIpe2sC_2ADWTWfUjOs4JhQ?e=K65BCE';
console.log('Hello Matt!');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This didn't trigger for me since it's after the return, but probably good to take out just for code cleanliness.

* Because the Zoning Atlas data did not properly display for users who chose to use Excel as their CSV viewer, we are now providing a Sharepoint link that is in XLSX format for their conveinence.
* Even more annoying was that the shapefile did not include any shapes when we exported it. So we also had to create the shapefile manually and put into sharefile.

Related to #366 and #365, but does not fix them beyond Zoning Atlas.
@mzagaja mzagaja force-pushed the mjz/temporary-csv-shapefile-links-for-za branch from 78e7119 to dcbf856 Compare January 6, 2021 15:20
@mzagaja mzagaja merged commit 43383b5 into dev Jan 6, 2021
@mzagaja mzagaja deleted the mjz/temporary-csv-shapefile-links-for-za branch January 6, 2021 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants