Sharing layers

GeoNode has the ability to restrict or allow other users to access a layer and share on social media.

Anonymous access

  1. Go to the layer preview of the first layer uploaded, and copy the URL to that preview page.

    Note

    The URL should be something like: http://GEONODE/layers/geonode:san_andres_y_providencia_administrative

  2. Now log out of GeoNode by clicking on your profile name and selecting Log out.

    ../../_images/logoutlink.png

    Log out

  3. When asked for confirmation, click the Log out button.

    ../../_images/logoutconfirm.png

    Confirming log out

  4. Now paste the URL copied about into your browser address bar and navigate to that location.

  5. You will be redirected to the Log In form. This is because when this layer was first uploaded, we set the view properties to be any registered user. Once logged out, we are no longer a registered user and so are not able to see or interact with the layer, unless we log in GeoNode again.

    ../../_images/forbidden.png

    Unable to view this protected layer

  6. To stop this process from happening, you need to ensure that your permissions are set so anyone can view the layer for others to see it on social networks.

../../_images/map_permissions.png
  1. This is done by selecting anyone in the layer permissions tab, be aware this now means your layer is public!

Sharing with social media

  1. On the taskbar below your username and profile picture there are three links to social media services, Twitter, Google Plus and Facebook.

    ../../_images/socialmedia.png
  2. Upon clicking on these icons you will be taken through the application’s process for posting to the social network. Ensure the permissions are set so anyone can view the layer if you want unauthenticated to be able to access it.