About
Basic concepts and guidelines
User Guides
For users
For mappers
Technical
Learn about Dokuwiki
About
Basic concepts and guidelines
User Guides
For users
For mappers
Technical
Learn about Dokuwiki
Depending on the format and size of the downloaded files from geosever, editors will have to do the decision between linking the file (providing url) or uploading it into CKAN. As a rule of thumb, file formats that will be visualized automatically by ckan ( geojson, png, pdf) should be uploaded. Big-sized would preferably be linked.
In order to complete some of the tasks indicated in this guide, users would need to have the corresponding access credentials to the geoserver instance. If you do not know or have them, contact an administrator
TODO: Please, complete this section specifying instructions on how to create a new map layer on Geoserver
Let's take as example the Layer titled Provinces on http://geoserver.opendevelopmentmekong.net/geoserver/index.html.
After clicking on the Layer preview menu on the sidebar and searching for the term Provinces, a similar screen as this one will be presented.
On the right side of the table we find a dropbox box that offers the possibility to export the layers in very different formats. The formats that we would be most interested in would be:
To discuss: Which one would be more convenient.
(Insert image for dropdown box here)
In order to download one of them, the corresponding format just needs to be selected from the dropdown box.
Obtaining the link to them implies composing the correct URL to call, which is specific for each type of format and can be composed by replacing the placeholders <GEOSERVER_URL>, <NAMESPACE>, <LAYER_NAME>, <WIDTH>, <HEIGHT> and <FORMAT> form the following URLs:
<GEOSERVER><NAMESPACE>/wms?service=WMS&version=1.1.0&request=GetMap&layers=<NAMESPACE>:<LAYER_NAME>&styles=&bbox=211430.86563420878,1144585.4696614784,784623.3606298851,1625594.694892376&width=<WIDTH>&height=<HEIGHT>&srs=EPSG:32648&format=<FORMAT>
Where <FORMAT> can be one of following values:
<GEOSERVER><NAMESPACE>/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=<NAMESPACE>:<LAYER>&srsName=EPSG:4326&outputFormat=<FORMAT>
Now that we have downloaded the resources or have noted down the links, we can create a new dataset, add its resources and assign it to the Maps group.