cga-harvard / worldmap

WorldMap GeoNode Project
GNU General Public License v3.0
13 stars 7 forks source link

TopicCategory is not correctly migrated #122

Closed capooti closed 6 years ago

capooti commented 6 years ago

TopicCategory for resources is not correctly migrated.

Check for example this layer:

http://worldmap.harvard.edu/data/geonode:high_speed_rail_lines_2016_40k Transportation

http://128.31.22.103/layers/geonode:high_speed_rail_lines_2016_40k no category

This could be caused by the fact that TopicCategory entries in WorldMap are slightly different than in GeoNode.

capooti commented 6 years ago

Old WM:

screenshot 2017-10-20 15 00 03

New WM:

screenshot 2017-10-20 14 59 55
capooti commented 6 years ago

Correspondence (/cc @bglewis )

Old WorldMap -> New WorldMap

biota -> Ecology & Biota boundaries -> Boundaries climatologyMeteorologyAtmosphere -> Climate & Weather economy -> Economic Activities & Employment elevation -> Elevation environment -> Environmental Resources, Conservation farming -> Farming & Agriculture geoscientificInformation --> Earth Sciences health -> Health & Human Ecology imageryBaseMapsEarthCover -> Imagery & Base Maps inlandWaters -> Rivers, Streams, Lakes intelligenceMilitary -> Military Bases & Activities location -> Place Locations oceans -> Oceans planningCadastre -> Planning & Cadastral Data society -> Society & Demographics structure -> Structures transportation -> Transportation utilitiesCommunication -> Utilities & Infrastructure

Remove boundaries (there are two instance) in new database.

capooti commented 6 years ago

@waybarrios I see the correct categories now in Admin. Does the migration script correctly handle them for each layer?

waybarrios commented 6 years ago

I got all info from Old database @capooti

capooti commented 6 years ago

great, thanks!