[GeoNode-users] Customize structure of metadata in geonode 2.4

Simone Dalmasso simone.dalmasso at gmail.com
Tue Nov 22 23:55:30 PST 2016


PUBLIC_LOCATION is the address of the OGC_SERVER, which is geoserver in our
case. The GeoNode address is SITEURL.

For the categories, try to run: python manage.py loaddata
geonode/base/fixtures/initial_data.json. Seems that the categories are not
loaded by default in your installation.

2016-11-22 15:12 GMT+01:00 admire <addloe at gmail.com>:

> Hi
> I have geonode 2.4 installed via docker and inside the metadata document I
> see it is generating url with localhost for the even though I changed
> PUBLIC_LOCATION to point to an external ip. How can I ensure that localhost
> does not appear in metadata.
> I also need to customize the section for supplementary information in my
> metadata so that my app can use it. I have changed full_metadata.xml to
>     <gmd:supplementalInformation>
>          {{ layer.supplemental_information }}
>        </gmd:supplementalInformation>
> But with this change I cannot update my metadata document as it throws an
> error.
> Error updating metadata. Please check the following fields:
>    -
>       - Category is required.
> It seems to disable the Category tab.
> Regards
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20161123/013c76b6/attachment.html>

More information about the geonode-users mailing list