Open JorgeMartinezG opened 7 years ago
@JorgeMartinezG @waybarrios now, we have to enable the gazetteer backend in order to visualize the changes in the Worldmap UI. This is an example of the API: http://worldmap.harvard.edu/gazetteer/colombia/Service/worldmap,google?_dc=1496781295989
But currently the local server shows:
You can set a proxy from Django to ponting to the old worldmap, when I hardcoded the API in the front I got:
This is the orginal ticket: https://github.com/cga-harvard/cga-worldmap/issues/13 Should I close it there and we keep it open here?
Gotcha! @capooti
We are migrating django part from gazetteer code. Including a geonode custom branch and this project. So, work is in progress. We'll give information soon, when it has been done.
https://github.com/cga-harvard/worldmap/commit/bc13175414da4fce9bc7f01c4853fb311c7d0b68 https://github.com/piensa/geonode/commit/20ea609bc776d1bfd1123140719b6ebe464060f1
My idea is that gazetteer should be a contributed application (it can be useful for other people)
We did it! Using all Geocoders:
Using only worldmap:
@ingenieroariel and @capooti, Can we consider to close this issue?
I am wondering how it can the WorldMap gazetteer work if we still did not migrate it. Now I am confused: maybe you did that as well? In any case javascript shouldn't change, we just need to migrate the Django part.
@capooti @ingenieroariel
First of all, We migrated django part based on this folder: https://github.com/cga-harvard/cga-worldmap/tree/legacy/geonode/gazetteer. Therefore, we made a fork from GeoNode repo with new one django part: https://github.com/piensa/geonode/tree/worldmap/geonode/gazetteer. I mean Gazetter app is a part of Custom GeoNode.
The second point is referred to migrating data, for that reason we complement migration's script which reads from old_worldmap_database and writes in the new one database. You can see all the data in the new database in MOC (I can show you in private). I attached you the description table which we migrated.
Capooti, there were some small changes needed for things like path, etc. And in particular re-enabling it.
Perhaps you can look at a demo in a different ip address?
It is great that you are done with it :) I thing this wasn't in the things assigned to you anyway. Thanks in any case :D
This is great. Thanks Terranodo folks
What is left to do here?
I will close this when I am done with the client side. Milestone for this is 2.8.1
Enable gazeteer in latest worldmap migration.