Skip to content

Instantly share code, notes, and snippets.

@raprasad
Last active May 11, 2017 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raprasad/810b9ecaea6f02acbb9d0183362440a0 to your computer and use it in GitHub Desktop.
Save raprasad/810b9ecaea6f02acbb9d0183362440a0 to your computer and use it in GitHub Desktop.
geoconnect test

1. Run these queries against the Dataverse database to update the settings table:

INSERT into setting VALUES (':GeoconnectCreateEditMaps', 'true');
INSERT into setting VALUES (':GeoconnectViewMaps', 'true');

2. Try uploading one of these shapefiles to a Dataset:

3. Publish the Dataset with the uploaded shapefile

  • A "Map Data" button should appear for the shapefile.

4. Click "Map Data"

  • If it does NOT take you to this server http://geoconnect.datascience.iq.harvard.edu , then run this query against your database:
update worldmapauth_tokentype set mapitlink = 'https://geoconnect.datascience.iq.harvard.edu/shapefile/map-it', hostname='geoconnect.datascience.iq.harvard.edu' where name = 'GEOCONNECT';

Some notes

  1. Caveat: A bug was introduced into the Dataverse 4.6 code where once a file is mapped, it can't be easily deleted--e.g. the button to edit the map no longer shows up.
  • This is fixed in the develop branch and the fix will be in the impending 4.6.1 release.
  1. Improvement: Within two weeks the Geoconnect at "geoconnect.datascience.iq.harvard.edu" will be upgraded with a better UX experience
  • This will not require any changes for your Dataverse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment