diff --git a/bin/clean.ps1 b/bin/clean.ps1 index 79c05947bf9..91b7c4c3652 100644 --- a/bin/clean.ps1 +++ b/bin/clean.ps1 @@ -1,394 +1,16 @@ - - - da165110-88fd-11da-a88f-000d939bc5d8 - - - eng - - - - - - - - Jippe Hoogeveen - - - FAO - NRCW - - - Technical Officer - - - - - - - - - - - - - - - - - Viale delle Terme di Caracalla - - - Rome - - - - - - 00153 - - - Italy - - - jippe.hoogeveen@fao.org - - - - - - - - - - - - 2015-03-03T00:31:37 - - - ISO 19115:2003/19139 - - - 1.0 - - - - - - - - WGS 1984 - - - - - - - - - - - Hydrological Basins in Africa (Sample record, please remove!) - - - - - 2000-07-19T14:45:00 - - - - - - - - First - - - - - - - - Major hydrological basins and their sub-basins. This dataset divides the African continent according to its hydrological characteristics. -The dataset consists of the following information:- numerical code and name of the major basin (MAJ_BAS and MAJ_NAME); - area of the major basin in square km (MAJ_AREA); - numerical code and name of the sub-basin (SUB_BAS and SUB_NAME); - area of the sub-basin in square km (SUB_AREA); - numerical code of the sub-basin towards which the sub-basin flows (TO_SUBBAS) (the codes -888 and -999 have been assigned respectively to internal sub-basins and to sub-basins draining into the sea) - - - This dataset is developed as part of a GIS-based information system on water resources for the African continent. It has been published in the framework of the AQUASTAT - programme of the Land and Water Division of the Food and Agriculture Organization of the United Nations, as part of FAO Land and Water Digital Media Series #13: "Atlas of Water Resources and Irrigation in Africa". - -For a wider distribution and to support other projects at FAO this map is also distributed in a DVD as part of a publication entitled: "Jenness, J.; Dooley, J.; Aguilar-Manjarrez, J.; Riva, C. African Water Resource Database. GIS-based tools for inland aquatic resource management. 2. Technical manual and workbook. CIFA Technical Paper. No. 33, Part 2. Rome, FAO. 2007. 308 p." - - - - - - - - - - - - - - - http://localhost:8080/geonetwork/srv/eng/resources.get?uuid=da165110-88fd-11da-a88f-000d939bc5d8&fname=thumbnail_s.gif - - - thumbnail - - - gif - - - - - - - http://localhost:8080/geonetwork/srv/eng/resources.get?uuid=da165110-88fd-11da-a88f-000d939bc5d8&fname=thumbnail.gif - - - large_thumbnail - - - gif - - - - - - - watersheds - - - river basins - - - water resources - - - hydrology - - - AQUASTAT - - - AWRD - - - - - - - - - - Africa - - - - - - - - - - - - Africa - - - - - - - All fishing areas - - - - - - - Anguilla - - - - - - - - - - All Keywords - - - - - 2015-03-03T00:26:17 - - - - - - - - - - geonetwork.thesaurus.external.none.allThesaurus - - - - - - - - - - - - - - - - - - - - - - - 5000000 - - - - - - - eng - - - - - - inlandWaters - - - - - - - - 2006-01-01T04:29:00 - 2008-01-08T04:29:00 - - - - - - - - - - - - -17.3 - - - 51.1 - - - -34.6 - - - 38.2 - - - - - - - You can customize the template to suit your needs. You can add and remove fields and fill out default information (e.g. contact details). Fields you can not change in the default view may be accessible in the more comprehensive (and more complex) advanced view. You can even use the XML editor to create custom structures, but they have to be validated by the system, so know what you do :-) - - - - - - - - - ShapeFile - - - Grass Version 6.1 - - - - - - - - - http://www.fao.org/ag/AGL/aglw/aquastat/watresafrica/index.stm - - - WWW:LINK-1.0-http--link - - - - - - Online link to the 'Water Resources and Irrigation in Africa'- website - - - - - - - http://localhost:8080/geonetwork/srv/en/resources.get?uuid=da165110-88fd-11da-a88f-000d939bc5d8&fname=basins.zip&access=private - - - WWW:DOWNLOAD-1.0-http--download - - - basins.zip - - - Hydrological basins in Africa (Shapefile Format) - - - - - - - http://geonetwork3.fao.org/ows/296 - - - OGC:WMS-1.1.1-http-get-map - - - hydrological_basins - - - Hydrological basins in Africa - - - - - - - - - - - - - - - - - - - - The linework of the map is obtained by delineating drainage basin boundaries from an hydrologically corrected digital elevation model with a resolution of 1 * 1 km. - - - - - - \ No newline at end of file +$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition +. "$scriptPath\config.ps1" + +if (Test-Path "$DATA_DIR" -PathType Any) {rm -Recurse -Force $DATA_DIR} +mkdir $DATA_DIR/config/ +mkdir $DATA_DIR/data + +cp -R $WEB_DIR/src/main/webapp/WEB-INF/data/config/codelist $DATA_DIR/config/ +cp -R $WEB_DIR/src/main/webapp/WEB-INF/data/data/formatter $DATA_DIR/data/ + +cp -R $scriptPath/../schemas/csw-record/src/main/plugin/* $DATA_DIR/config/schema_plugins +cp -R $scriptPath/../schemas/dublin-core/src/main/plugin/* $DATA_DIR/config/schema_plugins +cp -R $scriptPath/../schemas/iso19110/src/main/plugin/* $DATA_DIR/config/schema_plugins +cp -R $scriptPath/../schemas/iso19139/src/main/plugin/* $DATA_DIR/config/schema_plugins + +rm web/*.db \ No newline at end of file diff --git a/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml b/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml index 0495313d8ff..fc45f86c99a 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml +++ b/schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml @@ -155,9 +155,17 @@ gmd:abstract gmd:identifier diff --git a/schemas/iso19139/src/main/plugin/iso19139/layout/layout.xsl b/schemas/iso19139/src/main/plugin/iso19139/layout/layout.xsl index 02cf80344d4..011f5b3bc63 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/layout/layout.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/layout/layout.xsl @@ -131,28 +131,63 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + - - - + gco:Scale|gco:Record|gco:RecordType|gmx:MimeFileType|gmd:URL|gco:LocalName" /> +