- pom.xml
<dependency>
<groupId>com.hubspot.jinjava</groupId>
<artifactId>jinjava</artifactId>
<version>2.2.0</version>
</dependency> <dependency>
<groupId>com.hubspot.jinjava</groupId>
<artifactId>jinjava</artifactId>
<version>2.2.0</version>
</dependency>notes, tracing issue
import json
from geonode.contrib.datatables.views_dataverse import *
# Lat/Lng layer
lat_lng_pk = 31
l = Layer.objects.get(pk=lat_lng_pk)
d = get_layer_and_join_metadata(l)page: http://guides.dataverse.org/en/3643-geoconnect-guide/installation/geoconnect.html
Change 2nd sentence onwards to be the following--or something similar. Updated content is between the horizontal lines:
<?xml version="1.0" encoding="UTF-8"?>
<sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" version="1.0.0">
<sld:NamedLayer>
<sld:Name>centroid_tz9</sld:Name>
<sld:UserStyle>
<sld:Name>centroid_tz9</sld:Name>
<sld:FeatureTypeStyle>Please run the following SQL command against your Dataverse Postgres db
update worldmapauth_tokentype set
mapitlink = 'https://geoconnect.datascience.iq.harvard.edu/shapefile/map-it',
hostname='geoconnect.datascience.iq.harvard.edu'
where name = 'GEOCONNECT';