Skip to content

Commit

Permalink
readme and update services script
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshack committed Aug 5, 2024
1 parent 58625a8 commit 4755aa7
Show file tree
Hide file tree
Showing 5 changed files with 217,467 additions and 116,966 deletions.
34 changes: 22 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,45 @@

# Umweltatlas Prototyp

This is a functional MVP of a map-based 'Umweltatlas' prototype that is implemented with the master portal software. On the one hand, this is intended to explore the technical feasibility and the effort required to implement the proposals and, on the other hand, to provide an improved decision-making basis for final requirements for an extension or further development of the existing environmental atlas.
This is a functional MVP of a map-based 'Umweltatlas' prototype that is implemented with the master v2 portal software. On the one hand, this is intended to explore the technical feasibility and the effort required to implement the proposals and, on the other hand, to provide an improved decision-making basis for final requirements for an extension or further development of the existing environmental atlas.

*This readme is work in progress.*
Update: It was decided to implement the new map-based 'Umweltatlas' using the masterportal v3 software. The repo can be found [here](https://github.com/technologiestiftung/umweltatlas-masterportal-v3)

_This readme is a work in progress._

## Masterportal

The Masterportal is a tool-kit to create geo web applications based on [OpenLayers](https://openlayers.org), [Vue.js](https://vuejs.org/) and [Backbone.js](https://backbonejs.org). The Masterportal is Open Source Software published under the [MIT License](https://bitbucket.org/geowerkstatt-hamburg/masterportal/src/dev/License.txt).

The Masterportal is a project by [Geowerkstatt Hamburg](https://www.hamburg.de/geowerkstatt/).


## Notes

When setting up this had to be removed from devDependencies:
"canvas": "^2.11.0",

a tool to search bezirke
wfsSearch
## About the scraper

The scraper, scrapes the Umweltaltas website and creates a Masterportal "Themenbaum" that is structured like the website.

Important: The script has been adapted to the Masterportal v3 logic.

Layer Information:
LayerInformation.vue
Run these scripts in order:

Measure Tool
MeasureInMap.vue
```bash
// the actual scraper
node index.js
// corrects names and structur in the Themenbaum
node sortAndCleanResult.js
// update services
node updateServices.js
```

Draw Item
DrawItem.vue
The files we need for the Masterportal v3 are found in the out folder:

configFachdatenSortedAndCleaned.json
and
servicesUpdated.json

## Contributing

Expand All @@ -60,7 +71,6 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!


## Credits

<table>
Expand Down
49,122 changes: 49,121 additions & 1 deletion scraper/out/services.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions scraper/out/servicesUpdated.json

Large diffs are not rendered by default.

Loading

0 comments on commit 4755aa7

Please sign in to comment.