This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
publisher:copy_styling_from_existing_map [2021/08/20 15:01] admin |
publisher:copy_styling_from_existing_map [2021/09/27 16:55] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Copying styling from an existing dataset ====== | ====== Copying styling from an existing dataset ====== | ||
+ | ==== Things to know beforehand ==== | ||
+ | * You need to be logged in to Dublinked to view or update the styling on a resource | ||
- | * You need to be logged in to Smart Dublin to view or update the styling on a resource | + | ==== To copy styling from an existing dataset ==== |
- | + | For Dublinked we are going to use common styling for harmonized datasets across the local authorities so you may be able to just copy an existing style. | |
- | + | ||
- | + | ||
- | For Smart Dublin we are going to use common styling for harmonized datasets across the local authorities so you may be able to just copy an existing style. | + | |
* Go to the associated dataset that has already been styled | * Go to the associated dataset that has already been styled | ||
- | * Open the “Web Map Service” resource and click on the “Edit Style” button | + | * Open the WMS (Web Map Service) resource and click on the “Edit Style” button |
- | {{ :publisher:edit_style_button.jpg?400 |}} | + | {{ :publisher:edit_style_button.jpg?600 |}} |
* Click into the styling code and use CTRL-A, CTRL-C to copy the code | * Click into the styling code and use CTRL-A, CTRL-C to copy the code | ||
* Leave that page without making any changes | * Leave that page without making any changes | ||
- | * Navigate to your original dataset and select the “Web Map Service” resource | + | * Navigate to your original dataset and select the WMS resource |
* Click on “Edit Style” and use CTRL-A, CTRL-V to paste in the code from the other dataset. Use the “Change Style” button to save the new style: | * Click on “Edit Style” and use CTRL-A, CTRL-V to paste in the code from the other dataset. Use the “Change Style” button to save the new style: | ||
- | {{ :publisher:change_style_button.jpg?400 |}} | + | {{ :publisher:change_style_button.jpg?600 |}} |
* You should now see a success message: | * You should now see a success message: | ||
- | {{ :publisher:styling_upload_success.jpg?400 |}} | + | {{ :publisher:styling_upload_success.jpg?600 |}} |
* Now return to the dataset page and refresh it – you should now see the results of the styling: | * Now return to the dataset page and refresh it – you should now see the results of the styling: | ||
- | {{ :publisher:styling_working_after_refresh.jpg?400 |}} | + | {{ :publisher:styling_working_after_refresh.jpg?600 |}} |
* If the page does not change, try refreshing it again or loading a private window - it should update so that you can see the effects of the styling. | * If the page does not change, try refreshing it again or loading a private window - it should update so that you can see the effects of the styling. | ||