This commit is contained in:
Fabio Sinibaldi 2020-09-03 16:44:22 +02:00
parent cb1a1e87d1
commit 182d3a7809
1 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ public class PublishTest {
// String geoTiffPath = "/home/fabio/Downloads/aquamaps-lprognathodesfalcifer20121207161043540cet.geotiff";
// File geoTiff=new File(geoTiffPath);
String workspace="aquamaps";
String storeName=geoTiff.getName()+"_store";
// String storeName=geoTiff.getName()+"_store";
// String coverageName="";
// String srs="EPSG:4326";
// ProjectionPolicy policy=ProjectionPolicy.REPROJECT_TO_DECLARED;
@ -65,8 +65,8 @@ public class PublishTest {
Metadata theMeta=(Metadata) XML.unmarshal(new File("/var/folders/21/65t9t22j3l3fk7s18m0t77rh0000gp/T/ISO_7776422111985254187.xml"));
GNInsertConfiguration config=new GNInsertConfiguration("view-group", "datasets", "_none_", true);
gisInterface.publishDBTable(workspace, storeName, fte, layerEncoder, geoNetworkMeta, gnCategory, gnStylesheet, level, promoteMetadataPublishing)
gisInterface.addGeoTIFF(workspace, storeName, coverageName, geoTiff, srs, policy, defaultStyle, bbox, theMeta, config,LoginLevel.DEFAULT);
// gisInterface.publishDBTable(workspace, storeName, fte, layerEncoder, geoNetworkMeta, gnCategory, gnStylesheet, level, promoteMetadataPublishing)
// gisInterface.addGeoTIFF(workspace, storeName, coverageName, geoTiff, srs, policy, defaultStyle, bbox, theMeta, config,LoginLevel.DEFAULT);
//**************