Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Add scripts to convert diagram geojson to json #149

Merged
merged 13 commits into from
Mar 16, 2020
Merged

Conversation

edellucien
Copy link
Contributor

No description provided.

Copy link
Member

@friedjoff friedjoff left a comment

Choose a reason for hiding this comment

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

Instead of x and y coordinate arrays it would be nice to have the following transformed data structure:

x={x1 * 1000}
y={1000 - y1 * 1000 - (1000 - y1 * 1000 - (1000 - y2 * 1000))}
width={x2 * 1000 - x1 * 1000}
height={1000 - y1 * 1000 - (1000 - y2 * 1000)}

package.json Outdated Show resolved Hide resolved
@edellucien edellucien requested a review from friedjoff March 13, 2020 13:21
Copy link
Member

@friedjoff friedjoff left a comment

Choose a reason for hiding this comment

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

@edellucien thanks a lot!

@friedjoff friedjoff merged commit eb09799 into master Mar 16, 2020
friedjoff pushed a commit that referenced this pull request Mar 16, 2020
# [1.2.0](v1.1.0...v1.2.0) (2020-03-16)

### Features

* add ecogram data and transformation scripts ([#149](#149)) ([eb09799](eb09799))
* return options for locate result ([2996755](2996755))
@friedjoff
Copy link
Member

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

friedjoff added a commit that referenced this pull request Mar 16, 2020
* Add scripts to convert diagram geojson to json

* Update package.json

Co-Authored-By: friedjoff <friedjoff.trautwein@geops.de>

* Change automatization script & add 9 first diagrams

* Add z field

* Add 10, 11, 12th diagrams

* Correct forestEcoRegion and add some diagrams

* Add geojson for diagram from 15 to 22

* Add last diagram geojson

* Create location/ecogram json file with all diagrams

* fix ESLint issues

* Move files and format using Prettier.

* Validate forest ecoregion and altitudinal zones.

Co-authored-by: friedjoff <friedjoff.trautwein@geops.de>
friedjoff pushed a commit that referenced this pull request Mar 16, 2020
# [1.2.0](v1.1.0...v1.2.0) (2020-03-16)

### Features

* add ecogram data and transformation scripts ([#149](#149)) ([eb09799](eb09799))
* return options for locate result ([2996755](2996755))
friedjoff pushed a commit that referenced this pull request Mar 16, 2020
# [1.3.0](v1.2.0...v1.3.0) (2020-03-16)

### Bug Fixes

* remove duplicate forest ecoregion ([be4a4da](be4a4da))

### Features

* add ecogram data and transformation scripts ([#149](#149)) ([987589f](987589f))
* merge 3 altitudinal zones hochmontan into single zone and extract silver fir area ([177fb24](177fb24))
* return options for locate result ([6d7cdd1](6d7cdd1))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

3 participants