kartoza / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
http://geonode.org/
GNU General Public License v3.0
8 stars 17 forks source link

metadata wizard doesn't load #521

Closed gubuntu closed 5 years ago

NyakudyaA commented 5 years ago

@gubuntu cc @boney-bun I think this is caused by the metadata regions which I deleted. Geonode does not handle metadata regions properly and this causes it to not load everything.

Here is a sample layer that I have loaded for Mozambique in testing. If you look at the default metadata regions assigned to it. metadata-regions

Just because I deleted some of the regions now Geonode still looks for them and fails to find them and this affects the metadata region.

I suggest the following.

gubuntu commented 5 years ago

@NyakudyaA if you can't get it to work with modified regions then revert it to a working condition and put your suggestions in upstream tickets.

e.g. I searched for 'manica' under regions and got 0 results yet there are several layers that are in or intersect with manica

NyakudyaA commented 5 years ago

I did not assign the metadata keywords to the districts and sub-districts because it would have taken me a long time to do that and look at which layer intersects which. In fact, the majority of the layers are of national coverage. If a user smaller datasets then they can allocate the regions to the smallest unit

gubuntu commented 5 years ago

OK...but the metadata wizard is still not loading as per OP - can you fix that?

NyakudyaA commented 5 years ago

I have fixed this for now. I have opened a ticket upstream. This issue turns out was caused by the characters used in the Portuguese language. I had to change the encoding to PGCLIENTENCODING=UTF8

screenshot 2018-11-16 at 08 14 19

I have created an issue upstream with how metadata regions should be handled