This is an old revision of the document!
Publishing Map files on SD
Who is this guide for
This guide is for publishers who would like to display a map file on SmartDublin. They already have a CSV file that includes latitude and longitude values.
What this guide teaches
How to upload KML files to the Geoserver and Datastore so that they can be published as maps
How to copy styling from a similar dataset
How to fix simple error (zero error) encountered when uploading
Things to know beforehand
You must know how to upload resources to SmartDublin.
Currently (July 2021), SmartDublin requires a KML file to publish as a map (not currently a Shapefile).
To generate a KML from an Excel or CSV file use one of the online converters, eg.
CSV To KML Converter
You will be asked to identify any name/description field(s) and the latitude/longitude columns by column number.
Convert the file then download the resulting KML file and upload it to the dataset on SmartDublin where you have published the CSV file
Uploading the data to the Geoserver and Datastore
Copying styling from an existing dataset
As you can see, this map is not very useful. You may want to style it, that is, use CMS styling to improve the way it displays. 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.
Click into the styling code and use CTRL-A, CTRL-C to copy the code
Leave that page without making any changes
Navigate to your original dataset and select the “Web Map Service” 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: