[GeoNode-users] How Add Custom Metadata Fields
Tom Kralidis
tomkralidis at gmail.com
Wed Dec 16 03:30:43 PST 2015
On Wed, 16 Dec 2015, Simone Dalmasso wrote:
> Date: Wed, 16 Dec 2015 12:15:09 +0100
> From: Simone Dalmasso <simone.dalmasso at gmail.com>
> To: Joan <joan.machado at gmail.com>
> Cc: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
> Subject: Re: [GeoNode-users] How Add Custom Metadata Fields
>
> Hi,
>
> to add fields you have to add them to the ResourceBase model:
> https://github.com/GeoNode/geonode/blob/master/geonode/base/models.py#L205,
>
> then make sure the form supports them
> https://github.com/GeoNode/geonode/blob/master/geonode/base/forms.py#L59,
>
> and the pycsw catalogue as well (@tomkralidis correct me):
> https://github.com/GeoNode/geonode/blob/master/geonode/catalogue/backends/pycsw_local_mappings.py
pycsw stores one field per CSW queryable. If the fields being added are CSW
queryables, then they can be added here. Otherwise, pycsw will work as
expected for freetext/spatial/attribute searches.
>
> 2015-12-15 21:00 GMT+01:00 Joan <joan.machado at gmail.com>:
>
>> Hi, we are preparing the GeoNode for a project, where we need add several
>> custom metadata fields.
>>
>> Help me please.
>>
>> Regards.
>>
>> Joan.
>>
More information about the geonode-users
mailing list