Fix
This commit is contained in:
parent
cb1a1e87d1
commit
182d3a7809
|
@ -37,7 +37,7 @@ public class PublishTest {
|
||||||
// String geoTiffPath = "/home/fabio/Downloads/aquamaps-lprognathodesfalcifer20121207161043540cet.geotiff";
|
// String geoTiffPath = "/home/fabio/Downloads/aquamaps-lprognathodesfalcifer20121207161043540cet.geotiff";
|
||||||
// File geoTiff=new File(geoTiffPath);
|
// File geoTiff=new File(geoTiffPath);
|
||||||
String workspace="aquamaps";
|
String workspace="aquamaps";
|
||||||
String storeName=geoTiff.getName()+"_store";
|
// String storeName=geoTiff.getName()+"_store";
|
||||||
// String coverageName="";
|
// String coverageName="";
|
||||||
// String srs="EPSG:4326";
|
// String srs="EPSG:4326";
|
||||||
// ProjectionPolicy policy=ProjectionPolicy.REPROJECT_TO_DECLARED;
|
// 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"));
|
Metadata theMeta=(Metadata) XML.unmarshal(new File("/var/folders/21/65t9t22j3l3fk7s18m0t77rh0000gp/T/ISO_7776422111985254187.xml"));
|
||||||
GNInsertConfiguration config=new GNInsertConfiguration("view-group", "datasets", "_none_", true);
|
GNInsertConfiguration config=new GNInsertConfiguration("view-group", "datasets", "_none_", true);
|
||||||
gisInterface.publishDBTable(workspace, storeName, fte, layerEncoder, geoNetworkMeta, gnCategory, gnStylesheet, level, promoteMetadataPublishing)
|
// 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.addGeoTIFF(workspace, storeName, coverageName, geoTiff, srs, policy, defaultStyle, bbox, theMeta, config,LoginLevel.DEFAULT);
|
||||||
|
|
||||||
//**************
|
//**************
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue