Skip to content

dialog-it/geonode-documents

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documents App for GeoNode

This is a GeoNode extension to handle documents in farious formats, even images. It works essentially by enabling files to be attached to GeoNode Map. The layers used to compose the map may or may not be registered in GeoNode.

Installation

  1. Install the documents app:

    source bin/activate

    pip install -e git+git://github.com/simod/geonode-documents.git#egg=documents

  2. Edit your settings.py file and add documents to the list of installed apps
  3. Append the following line to your urls.py:

    (r'^documents/', include('documents.urls')),

# Then re-run syncdb and reload your web server.

Extras

  1. In order to have the documents directly linked in the main menu bar:

    (basic) replace the page_layout.html file provided in the "extras" folder with the original one in your template folder. (only use this if you have never modified the page_layout.html file)

    (advanced) copy the content of the page_layout_snippet.html and insert it in your page_layout.html file in the "nav" block.

  2. In order to have the documents linked in the map detail template:

    (basic) replace the mapinfo.html file in the "extras/maps" folder with the original one in your template folder. (only use this if you have never modified the mapinfo.html file)

    (advanced) copy the content of the mapinfo_snippet.html and insert it in your mapinfo.html file in the "sidebar" block.

Features

  • (Planned) Integration with GeoNetwork (maps and files registered in GeoNetwork)
  • (Planned) Auto pdf document creation after using the print button in the map composer.

About

Document handling extension for GeoNode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published