cga-harvard / worldmap

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

Enable gazetteer #13

Open JorgeMartinezG opened 7 years ago

JorgeMartinezG commented 7 years ago

Enable gazeteer in latest worldmap migration.

waybarrios commented 7 years ago

https://github.com/cga-harvard/cga-worldmap/tree/legacy/geonode/gazetteer

Lenninlasd commented 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

image

But currently the local server shows: image

Lenninlasd commented 7 years ago

You can set a proxy from Django to ponting to the old worldmap, when I hardcoded the API in the front I got:

image

capooti commented 7 years ago

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?

waybarrios commented 7 years ago

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

capooti commented 7 years ago

My idea is that gazetteer should be a contributed application (it can be useful for other people)

waybarrios commented 6 years ago

We did it! Using all Geocoders:

captura de pantalla 2017-08-08 a la s 4 01 27 p m

Using only worldmap: image

@ingenieroariel and @capooti, Can we consider to close this issue?

capooti commented 6 years ago

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.

waybarrios commented 6 years ago

@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.

image

ingenieroariel commented 6 years ago

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?

capooti commented 6 years ago

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

blewis commented 6 years ago

This is great. Thanks Terranodo folks

waybarrios commented 6 years ago

What is left to do here?

capooti commented 6 years ago

I will close this when I am done with the client side. Milestone for this is 2.8.1