geohydra 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +23 -0
- data/.gitmodules +3 -0
- data/.travis.yml +7 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +281 -0
- data/LICENSE +14 -0
- data/README.md +187 -0
- data/Rakefile +34 -0
- data/VERSION +1 -0
- data/bin/accession.rb +109 -0
- data/bin/assemble.rb +307 -0
- data/bin/assemble_data.rb +66 -0
- data/bin/assemble_placenames.rb +110 -0
- data/bin/build_stage_options.rb +27 -0
- data/bin/derive_wgs84.rb +85 -0
- data/bin/extract_thumbnail.rb +49 -0
- data/bin/geohydra +11 -0
- data/bin/ingest_arcgis.rb +77 -0
- data/bin/ingest_tufts.rb +71 -0
- data/bin/loader.rb +296 -0
- data/bin/loader_postgis.rb +259 -0
- data/bin/seed.rb +78 -0
- data/bin/solr_indexer.rb +41 -0
- data/bin/sync_geoserver_metadata.rb +168 -0
- data/bin/validate_data.rb +59 -0
- data/config/.gitignore +1 -0
- data/config/boot.rb +17 -0
- data/config/database.yml +29 -0
- data/config/environments/.gitignore +8 -0
- data/config/environments/.gitkeep +0 -0
- data/config/environments/example.rb +85 -0
- data/config/environments/example_rgeoserver.yml +16 -0
- data/config/migrate.rb +11 -0
- data/geohydra.gemspec +49 -0
- data/lib/geohydra.rb +11 -0
- data/lib/geohydra/accession.rb +291 -0
- data/lib/geohydra/arcgis_to_iso19139_fc.xsl +364 -0
- data/lib/geohydra/gazetteer.csv +36 -0
- data/lib/geohydra/gazetteer.rb +73 -0
- data/lib/geohydra/geonetwork.rb +156 -0
- data/lib/geohydra/mods2ogp.xsl +198 -0
- data/lib/geohydra/ogpcleanup.xsl +28 -0
- data/lib/geohydra/solr.rb +49 -0
- data/lib/geohydra/transform.rb +175 -0
- data/lib/geohydra/utils.rb +19 -0
- data/lib/geohydra/version.rb +3 -0
- data/scripts/correct_collections.rb +93 -0
- data/scripts/dbfdump.rb +13 -0
- data/scripts/extract.xsl +35 -0
- data/scripts/geoserver_createdb.sh +6 -0
- data/scripts/geoserver_createdb.sql +29 -0
- data/scripts/geowebcache_tops.rb +22 -0
- data/scripts/ingest_mods.rb +23 -0
- data/scripts/iso2html/displayElement.xsl +52 -0
- data/scripts/iso2html/elements-ISO.xml +665 -0
- data/scripts/iso2html/headers-ISO.xml +16 -0
- data/scripts/iso2html/printFormatted.xsl +227 -0
- data/scripts/iso2html/printtextlines.xsl +171 -0
- data/scripts/iso2html/xml-to-html-ISO.xsl +273 -0
- data/scripts/iso2html/xml-to-text-ISO.xsl +148 -0
- data/scripts/load_stage_data.rb +13 -0
- data/scripts/nextgis_iso19115.xsl +553 -0
- data/scripts/replicate_db.sh +7 -0
- data/scripts/report_stage.rb +5 -0
- data/solr/dev.html +19 -0
- data/solr/dlss-dev-drh-geo/conf/schema.xml +54 -0
- data/solr/dlss-dev-drh-geo/conf/solrconfig.xml +156 -0
- data/solr/dlss-dev-drh-geo/deploy.sh +15 -0
- data/solr/dlss-dev-drh-geo/example_doc.xml +25 -0
- data/solr/dlss-dev-drh-geo/test.sh +14 -0
- data/solr/ogp-dev/conf/admin-extra.html +24 -0
- data/solr/ogp-dev/conf/admin-extra.menu-bottom.html +25 -0
- data/solr/ogp-dev/conf/admin-extra.menu-top.html +25 -0
- data/solr/ogp-dev/conf/currency.xml +67 -0
- data/solr/ogp-dev/conf/elevate.xml +38 -0
- data/solr/ogp-dev/conf/lang/contractions_ca.txt +8 -0
- data/solr/ogp-dev/conf/lang/contractions_fr.txt +15 -0
- data/solr/ogp-dev/conf/lang/contractions_ga.txt +5 -0
- data/solr/ogp-dev/conf/lang/contractions_it.txt +23 -0
- data/solr/ogp-dev/conf/lang/hyphenations_ga.txt +5 -0
- data/solr/ogp-dev/conf/lang/stemdict_nl.txt +6 -0
- data/solr/ogp-dev/conf/lang/stoptags_ja.txt +420 -0
- data/solr/ogp-dev/conf/lang/stopwords_ar.txt +125 -0
- data/solr/ogp-dev/conf/lang/stopwords_bg.txt +193 -0
- data/solr/ogp-dev/conf/lang/stopwords_ca.txt +220 -0
- data/solr/ogp-dev/conf/lang/stopwords_cz.txt +172 -0
- data/solr/ogp-dev/conf/lang/stopwords_da.txt +108 -0
- data/solr/ogp-dev/conf/lang/stopwords_de.txt +292 -0
- data/solr/ogp-dev/conf/lang/stopwords_el.txt +78 -0
- data/solr/ogp-dev/conf/lang/stopwords_en.txt +54 -0
- data/solr/ogp-dev/conf/lang/stopwords_es.txt +354 -0
- data/solr/ogp-dev/conf/lang/stopwords_eu.txt +99 -0
- data/solr/ogp-dev/conf/lang/stopwords_fa.txt +313 -0
- data/solr/ogp-dev/conf/lang/stopwords_fi.txt +95 -0
- data/solr/ogp-dev/conf/lang/stopwords_fr.txt +184 -0
- data/solr/ogp-dev/conf/lang/stopwords_ga.txt +110 -0
- data/solr/ogp-dev/conf/lang/stopwords_gl.txt +161 -0
- data/solr/ogp-dev/conf/lang/stopwords_hi.txt +235 -0
- data/solr/ogp-dev/conf/lang/stopwords_hu.txt +209 -0
- data/solr/ogp-dev/conf/lang/stopwords_hy.txt +46 -0
- data/solr/ogp-dev/conf/lang/stopwords_id.txt +359 -0
- data/solr/ogp-dev/conf/lang/stopwords_it.txt +301 -0
- data/solr/ogp-dev/conf/lang/stopwords_ja.txt +127 -0
- data/solr/ogp-dev/conf/lang/stopwords_lv.txt +172 -0
- data/solr/ogp-dev/conf/lang/stopwords_nl.txt +117 -0
- data/solr/ogp-dev/conf/lang/stopwords_no.txt +192 -0
- data/solr/ogp-dev/conf/lang/stopwords_pt.txt +251 -0
- data/solr/ogp-dev/conf/lang/stopwords_ro.txt +233 -0
- data/solr/ogp-dev/conf/lang/stopwords_ru.txt +241 -0
- data/solr/ogp-dev/conf/lang/stopwords_sv.txt +131 -0
- data/solr/ogp-dev/conf/lang/stopwords_th.txt +119 -0
- data/solr/ogp-dev/conf/lang/stopwords_tr.txt +212 -0
- data/solr/ogp-dev/conf/lang/userdict_ja.txt +29 -0
- data/solr/ogp-dev/conf/mapping-FoldToASCII.txt +3813 -0
- data/solr/ogp-dev/conf/mapping-ISOLatin1Accent.txt +246 -0
- data/solr/ogp-dev/conf/protwords.txt +21 -0
- data/solr/ogp-dev/conf/schema.xml +1362 -0
- data/solr/ogp-dev/conf/scripts.conf +24 -0
- data/solr/ogp-dev/conf/solrconfig.xml +1816 -0
- data/solr/ogp-dev/conf/spellings.txt +2 -0
- data/solr/ogp-dev/conf/stopwords.txt +14 -0
- data/solr/ogp-dev/conf/synonyms.txt +29 -0
- data/solr/ogp-dev/conf/synonymsIso.txt +158 -0
- data/solr/ogp-dev/conf/synonymsLcsh.txt +120 -0
- data/solr/ogp-dev/conf/synonymsState.txt +105 -0
- data/solr/ogp-dev/conf/update-script.js +53 -0
- data/solr/ogp-dev/conf/velocity/VM_global_library.vm +170 -0
- data/solr/ogp-dev/conf/velocity/browse.vm +50 -0
- data/solr/ogp-dev/conf/velocity/cluster.vm +9 -0
- data/solr/ogp-dev/conf/velocity/clusterResults.vm +12 -0
- data/solr/ogp-dev/conf/velocity/debug.vm +17 -0
- data/solr/ogp-dev/conf/velocity/did_you_mean.vm +4 -0
- data/solr/ogp-dev/conf/velocity/facet_fields.vm +15 -0
- data/solr/ogp-dev/conf/velocity/facet_pivot.vm +3 -0
- data/solr/ogp-dev/conf/velocity/facet_queries.vm +3 -0
- data/solr/ogp-dev/conf/velocity/facet_ranges.vm +15 -0
- data/solr/ogp-dev/conf/velocity/facets.vm +5 -0
- data/solr/ogp-dev/conf/velocity/footer.vm +17 -0
- data/solr/ogp-dev/conf/velocity/head.vm +32 -0
- data/solr/ogp-dev/conf/velocity/header.vm +3 -0
- data/solr/ogp-dev/conf/velocity/hit.vm +11 -0
- data/solr/ogp-dev/conf/velocity/hitGrouped.vm +24 -0
- data/solr/ogp-dev/conf/velocity/join-doc.vm +4 -0
- data/solr/ogp-dev/conf/velocity/jquery.autocomplete.css +48 -0
- data/solr/ogp-dev/conf/velocity/jquery.autocomplete.js +763 -0
- data/solr/ogp-dev/conf/velocity/layout.vm +20 -0
- data/solr/ogp-dev/conf/velocity/main.css +208 -0
- data/solr/ogp-dev/conf/velocity/product-doc.vm +27 -0
- data/solr/ogp-dev/conf/velocity/query.vm +42 -0
- data/solr/ogp-dev/conf/velocity/queryGroup.vm +19 -0
- data/solr/ogp-dev/conf/velocity/querySpatial.vm +40 -0
- data/solr/ogp-dev/conf/velocity/richtext-doc.vm +114 -0
- data/solr/ogp-dev/conf/velocity/suggest.vm +3 -0
- data/solr/ogp-dev/conf/velocity/tabs.vm +6 -0
- data/solr/ogp-dev/conf/xslt/example.xsl +132 -0
- data/solr/ogp-dev/conf/xslt/example_atom.xsl +67 -0
- data/solr/ogp-dev/conf/xslt/example_rss.xsl +66 -0
- data/solr/ogp-dev/conf/xslt/luke.xsl +337 -0
- data/solr/ogp-dev/conf/xslt/updateXml.xsl +70 -0
- data/solr/ogp-dev/deploy.sh +15 -0
- data/solr/ogp-dev/purge.sh +9 -0
- data/solr/ogp-dev/upload.sh +17 -0
- data/solr/ogp-test/conf/admin-extra.html +24 -0
- data/solr/ogp-test/conf/admin-extra.menu-bottom.html +25 -0
- data/solr/ogp-test/conf/admin-extra.menu-top.html +25 -0
- data/solr/ogp-test/conf/currency.xml +67 -0
- data/solr/ogp-test/conf/elevate.xml +38 -0
- data/solr/ogp-test/conf/lang/contractions_ca.txt +8 -0
- data/solr/ogp-test/conf/lang/contractions_fr.txt +15 -0
- data/solr/ogp-test/conf/lang/contractions_ga.txt +5 -0
- data/solr/ogp-test/conf/lang/contractions_it.txt +23 -0
- data/solr/ogp-test/conf/lang/hyphenations_ga.txt +5 -0
- data/solr/ogp-test/conf/lang/stemdict_nl.txt +6 -0
- data/solr/ogp-test/conf/lang/stoptags_ja.txt +420 -0
- data/solr/ogp-test/conf/lang/stopwords_ar.txt +125 -0
- data/solr/ogp-test/conf/lang/stopwords_bg.txt +193 -0
- data/solr/ogp-test/conf/lang/stopwords_ca.txt +220 -0
- data/solr/ogp-test/conf/lang/stopwords_cz.txt +172 -0
- data/solr/ogp-test/conf/lang/stopwords_da.txt +108 -0
- data/solr/ogp-test/conf/lang/stopwords_de.txt +292 -0
- data/solr/ogp-test/conf/lang/stopwords_el.txt +78 -0
- data/solr/ogp-test/conf/lang/stopwords_en.txt +54 -0
- data/solr/ogp-test/conf/lang/stopwords_es.txt +354 -0
- data/solr/ogp-test/conf/lang/stopwords_eu.txt +99 -0
- data/solr/ogp-test/conf/lang/stopwords_fa.txt +313 -0
- data/solr/ogp-test/conf/lang/stopwords_fi.txt +95 -0
- data/solr/ogp-test/conf/lang/stopwords_fr.txt +184 -0
- data/solr/ogp-test/conf/lang/stopwords_ga.txt +110 -0
- data/solr/ogp-test/conf/lang/stopwords_gl.txt +161 -0
- data/solr/ogp-test/conf/lang/stopwords_hi.txt +235 -0
- data/solr/ogp-test/conf/lang/stopwords_hu.txt +209 -0
- data/solr/ogp-test/conf/lang/stopwords_hy.txt +46 -0
- data/solr/ogp-test/conf/lang/stopwords_id.txt +359 -0
- data/solr/ogp-test/conf/lang/stopwords_it.txt +301 -0
- data/solr/ogp-test/conf/lang/stopwords_ja.txt +127 -0
- data/solr/ogp-test/conf/lang/stopwords_lv.txt +172 -0
- data/solr/ogp-test/conf/lang/stopwords_nl.txt +117 -0
- data/solr/ogp-test/conf/lang/stopwords_no.txt +192 -0
- data/solr/ogp-test/conf/lang/stopwords_pt.txt +251 -0
- data/solr/ogp-test/conf/lang/stopwords_ro.txt +233 -0
- data/solr/ogp-test/conf/lang/stopwords_ru.txt +241 -0
- data/solr/ogp-test/conf/lang/stopwords_sv.txt +131 -0
- data/solr/ogp-test/conf/lang/stopwords_th.txt +119 -0
- data/solr/ogp-test/conf/lang/stopwords_tr.txt +212 -0
- data/solr/ogp-test/conf/lang/userdict_ja.txt +29 -0
- data/solr/ogp-test/conf/mapping-FoldToASCII.txt +3813 -0
- data/solr/ogp-test/conf/mapping-ISOLatin1Accent.txt +246 -0
- data/solr/ogp-test/conf/protwords.txt +21 -0
- data/solr/ogp-test/conf/schema.xml +1362 -0
- data/solr/ogp-test/conf/scripts.conf +24 -0
- data/solr/ogp-test/conf/solrconfig.xml +1816 -0
- data/solr/ogp-test/conf/spellings.txt +2 -0
- data/solr/ogp-test/conf/stopwords.txt +14 -0
- data/solr/ogp-test/conf/synonyms.txt +29 -0
- data/solr/ogp-test/conf/synonymsIso.txt +158 -0
- data/solr/ogp-test/conf/synonymsLcsh.txt +120 -0
- data/solr/ogp-test/conf/synonymsState.txt +105 -0
- data/solr/ogp-test/conf/update-script.js +53 -0
- data/solr/ogp-test/conf/velocity/VM_global_library.vm +170 -0
- data/solr/ogp-test/conf/velocity/browse.vm +50 -0
- data/solr/ogp-test/conf/velocity/cluster.vm +9 -0
- data/solr/ogp-test/conf/velocity/clusterResults.vm +12 -0
- data/solr/ogp-test/conf/velocity/debug.vm +17 -0
- data/solr/ogp-test/conf/velocity/did_you_mean.vm +4 -0
- data/solr/ogp-test/conf/velocity/facet_fields.vm +15 -0
- data/solr/ogp-test/conf/velocity/facet_pivot.vm +3 -0
- data/solr/ogp-test/conf/velocity/facet_queries.vm +3 -0
- data/solr/ogp-test/conf/velocity/facet_ranges.vm +15 -0
- data/solr/ogp-test/conf/velocity/facets.vm +5 -0
- data/solr/ogp-test/conf/velocity/footer.vm +17 -0
- data/solr/ogp-test/conf/velocity/head.vm +32 -0
- data/solr/ogp-test/conf/velocity/header.vm +3 -0
- data/solr/ogp-test/conf/velocity/hit.vm +11 -0
- data/solr/ogp-test/conf/velocity/hitGrouped.vm +24 -0
- data/solr/ogp-test/conf/velocity/join-doc.vm +4 -0
- data/solr/ogp-test/conf/velocity/jquery.autocomplete.css +48 -0
- data/solr/ogp-test/conf/velocity/jquery.autocomplete.js +763 -0
- data/solr/ogp-test/conf/velocity/layout.vm +20 -0
- data/solr/ogp-test/conf/velocity/main.css +208 -0
- data/solr/ogp-test/conf/velocity/product-doc.vm +27 -0
- data/solr/ogp-test/conf/velocity/query.vm +42 -0
- data/solr/ogp-test/conf/velocity/queryGroup.vm +19 -0
- data/solr/ogp-test/conf/velocity/querySpatial.vm +40 -0
- data/solr/ogp-test/conf/velocity/richtext-doc.vm +114 -0
- data/solr/ogp-test/conf/velocity/suggest.vm +3 -0
- data/solr/ogp-test/conf/velocity/tabs.vm +6 -0
- data/solr/ogp-test/conf/xslt/example.xsl +132 -0
- data/solr/ogp-test/conf/xslt/example_atom.xsl +67 -0
- data/solr/ogp-test/conf/xslt/example_rss.xsl +66 -0
- data/solr/ogp-test/conf/xslt/luke.xsl +337 -0
- data/solr/ogp-test/conf/xslt/updateXml.xsl +70 -0
- data/solr/ogp-test/deploy.sh +15 -0
- data/solr/ogp-test/purge.sh +9 -0
- data/solr/ogp-test/upload.sh +17 -0
- data/solr/ogp/conf/admin-extra.html +24 -0
- data/solr/ogp/conf/admin-extra.menu-bottom.html +25 -0
- data/solr/ogp/conf/admin-extra.menu-top.html +25 -0
- data/solr/ogp/conf/currency.xml +67 -0
- data/solr/ogp/conf/elevate.xml +38 -0
- data/solr/ogp/conf/lang/contractions_ca.txt +8 -0
- data/solr/ogp/conf/lang/contractions_fr.txt +15 -0
- data/solr/ogp/conf/lang/contractions_ga.txt +5 -0
- data/solr/ogp/conf/lang/contractions_it.txt +23 -0
- data/solr/ogp/conf/lang/hyphenations_ga.txt +5 -0
- data/solr/ogp/conf/lang/stemdict_nl.txt +6 -0
- data/solr/ogp/conf/lang/stoptags_ja.txt +420 -0
- data/solr/ogp/conf/lang/stopwords_ar.txt +125 -0
- data/solr/ogp/conf/lang/stopwords_bg.txt +193 -0
- data/solr/ogp/conf/lang/stopwords_ca.txt +220 -0
- data/solr/ogp/conf/lang/stopwords_cz.txt +172 -0
- data/solr/ogp/conf/lang/stopwords_da.txt +108 -0
- data/solr/ogp/conf/lang/stopwords_de.txt +292 -0
- data/solr/ogp/conf/lang/stopwords_el.txt +78 -0
- data/solr/ogp/conf/lang/stopwords_en.txt +54 -0
- data/solr/ogp/conf/lang/stopwords_es.txt +354 -0
- data/solr/ogp/conf/lang/stopwords_eu.txt +99 -0
- data/solr/ogp/conf/lang/stopwords_fa.txt +313 -0
- data/solr/ogp/conf/lang/stopwords_fi.txt +95 -0
- data/solr/ogp/conf/lang/stopwords_fr.txt +184 -0
- data/solr/ogp/conf/lang/stopwords_ga.txt +110 -0
- data/solr/ogp/conf/lang/stopwords_gl.txt +161 -0
- data/solr/ogp/conf/lang/stopwords_hi.txt +235 -0
- data/solr/ogp/conf/lang/stopwords_hu.txt +209 -0
- data/solr/ogp/conf/lang/stopwords_hy.txt +46 -0
- data/solr/ogp/conf/lang/stopwords_id.txt +359 -0
- data/solr/ogp/conf/lang/stopwords_it.txt +301 -0
- data/solr/ogp/conf/lang/stopwords_ja.txt +127 -0
- data/solr/ogp/conf/lang/stopwords_lv.txt +172 -0
- data/solr/ogp/conf/lang/stopwords_nl.txt +117 -0
- data/solr/ogp/conf/lang/stopwords_no.txt +192 -0
- data/solr/ogp/conf/lang/stopwords_pt.txt +251 -0
- data/solr/ogp/conf/lang/stopwords_ro.txt +233 -0
- data/solr/ogp/conf/lang/stopwords_ru.txt +241 -0
- data/solr/ogp/conf/lang/stopwords_sv.txt +131 -0
- data/solr/ogp/conf/lang/stopwords_th.txt +119 -0
- data/solr/ogp/conf/lang/stopwords_tr.txt +212 -0
- data/solr/ogp/conf/lang/userdict_ja.txt +29 -0
- data/solr/ogp/conf/mapping-FoldToASCII.txt +3813 -0
- data/solr/ogp/conf/mapping-ISOLatin1Accent.txt +246 -0
- data/solr/ogp/conf/protwords.txt +21 -0
- data/solr/ogp/conf/schema.xml +1362 -0
- data/solr/ogp/conf/scripts.conf +24 -0
- data/solr/ogp/conf/solrconfig.xml +1816 -0
- data/solr/ogp/conf/spellings.txt +2 -0
- data/solr/ogp/conf/stopwords.txt +14 -0
- data/solr/ogp/conf/synonyms.txt +29 -0
- data/solr/ogp/conf/synonymsIso.txt +158 -0
- data/solr/ogp/conf/synonymsLcsh.txt +120 -0
- data/solr/ogp/conf/synonymsState.txt +105 -0
- data/solr/ogp/conf/update-script.js +53 -0
- data/solr/ogp/conf/velocity/VM_global_library.vm +170 -0
- data/solr/ogp/conf/velocity/browse.vm +50 -0
- data/solr/ogp/conf/velocity/cluster.vm +9 -0
- data/solr/ogp/conf/velocity/clusterResults.vm +12 -0
- data/solr/ogp/conf/velocity/debug.vm +17 -0
- data/solr/ogp/conf/velocity/did_you_mean.vm +4 -0
- data/solr/ogp/conf/velocity/facet_fields.vm +15 -0
- data/solr/ogp/conf/velocity/facet_pivot.vm +3 -0
- data/solr/ogp/conf/velocity/facet_queries.vm +3 -0
- data/solr/ogp/conf/velocity/facet_ranges.vm +15 -0
- data/solr/ogp/conf/velocity/facets.vm +5 -0
- data/solr/ogp/conf/velocity/footer.vm +17 -0
- data/solr/ogp/conf/velocity/head.vm +32 -0
- data/solr/ogp/conf/velocity/header.vm +3 -0
- data/solr/ogp/conf/velocity/hit.vm +11 -0
- data/solr/ogp/conf/velocity/hitGrouped.vm +24 -0
- data/solr/ogp/conf/velocity/join-doc.vm +4 -0
- data/solr/ogp/conf/velocity/jquery.autocomplete.css +48 -0
- data/solr/ogp/conf/velocity/jquery.autocomplete.js +763 -0
- data/solr/ogp/conf/velocity/layout.vm +20 -0
- data/solr/ogp/conf/velocity/main.css +208 -0
- data/solr/ogp/conf/velocity/product-doc.vm +27 -0
- data/solr/ogp/conf/velocity/query.vm +42 -0
- data/solr/ogp/conf/velocity/queryGroup.vm +19 -0
- data/solr/ogp/conf/velocity/querySpatial.vm +40 -0
- data/solr/ogp/conf/velocity/richtext-doc.vm +114 -0
- data/solr/ogp/conf/velocity/suggest.vm +3 -0
- data/solr/ogp/conf/velocity/tabs.vm +6 -0
- data/solr/ogp/conf/xslt/example.xsl +132 -0
- data/solr/ogp/conf/xslt/example_atom.xsl +67 -0
- data/solr/ogp/conf/xslt/example_rss.xsl +66 -0
- data/solr/ogp/conf/xslt/luke.xsl +337 -0
- data/solr/ogp/conf/xslt/updateXml.xsl +70 -0
- data/solr/ogp/deploy.sh +15 -0
- data/solr/ogp/upload.sh +16 -0
- data/spec/fixtures/bw938nk9584/metadata/geoMetadata.xml +2438 -0
- data/spec/fixtures/bw938nk9584/temp/TRIPURA-iso19139-fc.xml +1643 -0
- data/spec/fixtures/bw938nk9584/temp/TRIPURA-iso19139.xml +790 -0
- data/spec/fixtures/cc142xj8436/metadata/geoMetadata.xml +2029 -0
- data/spec/fixtures/cc142xj8436/temp/HARYANA-iso19139-fc.xml +1174 -0
- data/spec/fixtures/cc142xj8436/temp/HARYANA-iso19139.xml +850 -0
- data/spec/fixtures/cg716wc7949/metadata/geoMetadata.xml +1815 -0
- data/spec/fixtures/cg716wc7949/temp/metadata.iso19139-fc.xml +958 -0
- data/spec/fixtures/cg716wc7949/temp/metadata.iso19139.xml +852 -0
- data/spec/fixtures/cm007pv9601/metadata/geoMetadata.xml +1092 -0
- data/spec/fixtures/cm007pv9601/temp/MEGHALAYA-iso19139-fc.xml +379 -0
- data/spec/fixtures/cm007pv9601/temp/MEGHALAYA-iso19139.xml +708 -0
- data/spec/fixtures/cp055nb0189/metadata/geoMetadata.xml +1820 -0
- data/spec/fixtures/cp055nb0189/temp/metadata.iso19139-fc.xml +955 -0
- data/spec/fixtures/cp055nb0189/temp/metadata.iso19139.xml +860 -0
- data/spec/fixtures/cs838pw3418/metadata/geoMetadata.xml +912 -0
- data/spec/fixtures/cs838pw3418/temp/OIL_GAS_FIELDS-iso19139-fc.xml +177 -0
- data/spec/fixtures/cs838pw3418/temp/OIL_GAS_FIELDS-iso19139.xml +730 -0
- data/spec/fixtures/dd308sy5843/metadata/geoMetadata.xml +2438 -0
- data/spec/fixtures/dd308sy5843/temp/ORISSA-iso19139-fc.xml +1643 -0
- data/spec/fixtures/dd308sy5843/temp/ORISSA-iso19139.xml +790 -0
- data/spec/fixtures/dd452vk1873/metadata/geoMetadata.xml +1168 -0
- data/spec/fixtures/dd452vk1873/temp/metadata.iso19139-fc.xml +175 -0
- data/spec/fixtures/dd452vk1873/temp/metadata.iso19139.xml +988 -0
- data/spec/fixtures/dg850pt1796/metadata/geoMetadata.xml +1411 -0
- data/spec/fixtures/dg850pt1796/temp/STATE1951-iso19139-fc.xml +519 -0
- data/spec/fixtures/dg850pt1796/temp/STATE1951-iso19139.xml +887 -0
- data/spec/fixtures/dn744tf5427/metadata/geoMetadata.xml +7403 -0
- data/spec/fixtures/dn744tf5427/temp/DISTRICT1991-iso19139-fc.xml +6539 -0
- data/spec/fixtures/dn744tf5427/temp/DISTRICT1991-iso19139.xml +859 -0
- data/spec/fixtures/dq603nz8402/metadata/geoMetadata.xml +8485 -0
- data/spec/fixtures/dq603nz8402/temp/STATE2001-iso19139-fc.xml +7595 -0
- data/spec/fixtures/dq603nz8402/temp/STATE2001-iso19139.xml +885 -0
- data/spec/fixtures/dv609zt4699/metadata/geoMetadata.xml +3865 -0
- data/spec/fixtures/dv609zt4699/temp/ASSAM-iso19139-fc.xml +3075 -0
- data/spec/fixtures/dv609zt4699/temp/ASSAM-iso19139.xml +785 -0
- data/spec/fixtures/dz222hw0585/metadata/geoMetadata.xml +2057 -0
- data/spec/fixtures/dz222hw0585/temp/PUNJAB-iso19139-fc.xml +1203 -0
- data/spec/fixtures/dz222hw0585/temp/PUNJAB-iso19139.xml +849 -0
- data/spec/fixtures/fd673qb9705/metadata/geoMetadata.xml +4059 -0
- data/spec/fixtures/fd673qb9705/temp/STATE1971-iso19139-fc.xml +3159 -0
- data/spec/fixtures/fd673qb9705/temp/STATE1971-iso19139.xml +895 -0
- data/spec/fixtures/fg451wp8917/metadata/geoMetadata.xml +2435 -0
- data/spec/fixtures/fg451wp8917/temp/SIKKIM-iso19139-fc.xml +1643 -0
- data/spec/fixtures/fg451wp8917/temp/SIKKIM-iso19139.xml +787 -0
- data/spec/fixtures/fh247yz0156/metadata/geoMetadata.xml +2437 -0
- data/spec/fixtures/fh247yz0156/temp/RAJASTHAN-iso19139-fc.xml +1643 -0
- data/spec/fixtures/fh247yz0156/temp/RAJASTHAN-iso19139.xml +789 -0
- data/spec/fixtures/fs487vd1465/metadata/geoMetadata.xml +3896 -0
- data/spec/fixtures/fs487vd1465/temp/CHHATTISGARH-iso19139-fc.xml +3075 -0
- data/spec/fixtures/fs487vd1465/temp/CHHATTISGARH-iso19139.xml +816 -0
- data/spec/fixtures/fs591bn3317/metadata/geoMetadata.xml +2435 -0
- data/spec/fixtures/fs591bn3317/temp/HIMACHAL_PRADESH-iso19139-fc.xml +1643 -0
- data/spec/fixtures/fs591bn3317/temp/HIMACHAL_PRADESH-iso19139.xml +787 -0
- data/spec/fixtures/fw920bc5473/metadata/geoMetadata.xml +1056 -0
- data/spec/fixtures/fw920bc5473/temp/PLSS_TWN-iso19139-fc.xml +327 -0
- data/spec/fixtures/fw920bc5473/temp/PLSS_TWN-iso19139.xml +724 -0
- data/spec/fixtures/gj831wj3625/metadata/geoMetadata.xml +1735 -0
- data/spec/fixtures/gj831wj3625/temp/metadata.iso19139-fc.xml +940 -0
- data/spec/fixtures/gj831wj3625/temp/metadata.iso19139.xml +790 -0
- data/spec/fixtures/gp075nv3265/metadata/geoMetadata.xml +2432 -0
- data/spec/fixtures/gp075nv3265/temp/PONDICHERRY-iso19139-fc.xml +1643 -0
- data/spec/fixtures/gp075nv3265/temp/PONDICHERRY-iso19139.xml +784 -0
- data/spec/fixtures/gv800hj8141/metadata/geoMetadata.xml +2392 -0
- data/spec/fixtures/gv800hj8141/temp/BIHAR-iso19139-fc.xml +1643 -0
- data/spec/fixtures/gv800hj8141/temp/BIHAR-iso19139.xml +744 -0
- data/spec/fixtures/gw520gz6339/metadata/geoMetadata.xml +3899 -0
- data/spec/fixtures/gw520gz6339/temp/DADRA_NAGAR_HAVELI_PT-iso19139-fc.xml +3075 -0
- data/spec/fixtures/gw520gz6339/temp/DADRA_NAGAR_HAVELI_PT-iso19139.xml +819 -0
- data/spec/fixtures/gy054hz1045/metadata/geoMetadata.xml +2418 -0
- data/spec/fixtures/gy054hz1045/temp/HARYANA-iso19139-fc.xml +1633 -0
- data/spec/fixtures/gy054hz1045/temp/HARYANA-iso19139.xml +780 -0
- data/spec/fixtures/gz352mw6982/metadata/geoMetadata.xml +1772 -0
- data/spec/fixtures/gz352mw6982/temp/metadata.iso19139-fc.xml +940 -0
- data/spec/fixtures/gz352mw6982/temp/metadata.iso19139.xml +827 -0
- data/spec/fixtures/hb489vm9892/metadata/geoMetadata.xml +3663 -0
- data/spec/fixtures/hb489vm9892/temp/DISTRICT1981-iso19139-fc.xml +2799 -0
- data/spec/fixtures/hb489vm9892/temp/DISTRICT1981-iso19139.xml +859 -0
- data/spec/fixtures/hw125dq0418/metadata/geoMetadata.xml +2448 -0
- data/spec/fixtures/hw125dq0418/temp/DELHI-iso19139-fc.xml +1599 -0
- data/spec/fixtures/hw125dq0418/temp/DELHI-iso19139.xml +844 -0
- data/spec/fixtures/hw892mn4587/metadata/geoMetadata.xml +2561 -0
- data/spec/fixtures/hw892mn4587/temp/KERALA-iso19139-fc.xml +1763 -0
- data/spec/fixtures/hw892mn4587/temp/KERALA-iso19139.xml +793 -0
- data/spec/fixtures/jb371hz3868/metadata/geoMetadata.xml +3129 -0
- data/spec/fixtures/jb371hz3868/temp/INCOME-iso19139-fc.xml +2263 -0
- data/spec/fixtures/jb371hz3868/temp/INCOME-iso19139.xml +861 -0
- data/spec/fixtures/jc017yk9928/metadata/geoMetadata.xml +2433 -0
- data/spec/fixtures/jc017yk9928/temp/KARNATAKA-iso19139-fc.xml +1599 -0
- data/spec/fixtures/jc017yk9928/temp/KARNATAKA-iso19139.xml +829 -0
- data/spec/fixtures/jf841ys4828/metadata/geoMetadata.xml +2156 -0
- data/spec/fixtures/jf841ys4828/temp/ANDHRA_PRADESH-iso19139-fc.xml +1247 -0
- data/spec/fixtures/jf841ys4828/temp/ANDHRA_PRADESH-iso19139.xml +904 -0
- data/spec/fixtures/jh802mp2160/metadata/geoMetadata.xml +3917 -0
- data/spec/fixtures/jh802mp2160/temp/DELHI_PT-iso19139-fc.xml +3075 -0
- data/spec/fixtures/jh802mp2160/temp/DELHI_PT-iso19139.xml +837 -0
- data/spec/fixtures/jj806fc3801/metadata/geoMetadata.xml +1235 -0
- data/spec/fixtures/jj806fc3801/temp/metadata.iso19139-fc.xml +173 -0
- data/spec/fixtures/jj806fc3801/temp/metadata.iso19139.xml +1057 -0
- data/spec/fixtures/jq835yn7161/metadata/geoMetadata.xml +2060 -0
- data/spec/fixtures/jq835yn7161/temp/HIMACHAL_PRADESH-iso19139-fc.xml +1203 -0
- data/spec/fixtures/jq835yn7161/temp/HIMACHAL_PRADESH-iso19139.xml +852 -0
- data/spec/fixtures/jr455pt6676/metadata/geoMetadata.xml +2045 -0
- data/spec/fixtures/jr455pt6676/temp/TAMILNADU-iso19139-fc.xml +1203 -0
- data/spec/fixtures/jr455pt6676/temp/TAMILNADU-iso19139.xml +837 -0
- data/spec/fixtures/js637zp2537/metadata/geoMetadata.xml +3894 -0
- data/spec/fixtures/js637zp2537/temp/BIHAR-iso19139-fc.xml +3075 -0
- data/spec/fixtures/js637zp2537/temp/BIHAR-iso19139.xml +814 -0
- data/spec/fixtures/jv502wg9611/metadata/geoMetadata.xml +2052 -0
- data/spec/fixtures/jv502wg9611/temp/GOA-iso19139-fc.xml +1203 -0
- data/spec/fixtures/jv502wg9611/temp/GOA-iso19139.xml +844 -0
- data/spec/fixtures/jw462ck6560/metadata/geoMetadata.xml +2442 -0
- data/spec/fixtures/jw462ck6560/temp/JAMMU_KASHMIR-iso19139-fc.xml +1643 -0
- data/spec/fixtures/jw462ck6560/temp/JAMMU_KASHMIR-iso19139.xml +794 -0
- data/spec/fixtures/kj800fb6273/metadata/geoMetadata.xml +3300 -0
- data/spec/fixtures/kj800fb6273/temp/STATE2011-iso19139-fc.xml +2403 -0
- data/spec/fixtures/kj800fb6273/temp/STATE2011-iso19139.xml +892 -0
- data/spec/fixtures/km504zq3948/metadata/geoMetadata.xml +3862 -0
- data/spec/fixtures/km504zq3948/temp/HIMACHAL_PRADESH-iso19139-fc.xml +3075 -0
- data/spec/fixtures/km504zq3948/temp/HIMACHAL_PRADESH-iso19139.xml +782 -0
- data/spec/fixtures/ks297fy1411/metadata/geoMetadata.xml +1043 -0
- data/spec/fixtures/ks297fy1411/temp/OFFSH_BLOCKS-iso19139-fc.xml +350 -0
- data/spec/fixtures/ks297fy1411/temp/OFFSH_BLOCKS-iso19139.xml +688 -0
- data/spec/fixtures/md358hy5049/metadata/geoMetadata.xml +2424 -0
- data/spec/fixtures/md358hy5049/temp/MIZORAM-iso19139-fc.xml +1570 -0
- data/spec/fixtures/md358hy5049/temp/MIZORAM-iso19139.xml +849 -0
- data/spec/fixtures/mg745bq0193/metadata/geoMetadata.xml +2183 -0
- data/spec/fixtures/mg745bq0193/temp/MADHYA_PRADESH-iso19139-fc.xml +1383 -0
- data/spec/fixtures/mg745bq0193/temp/MADHYA_PRADESH-iso19139.xml +795 -0
- data/spec/fixtures/mh187yx3536/metadata/geoMetadata.xml +2447 -0
- data/spec/fixtures/mh187yx3536/temp/WEST_BENGAL-iso19139-fc.xml +1643 -0
- data/spec/fixtures/mh187yx3536/temp/WEST_BENGAL-iso19139.xml +799 -0
- data/spec/fixtures/mk488yn6694/metadata/geoMetadata.xml +2042 -0
- data/spec/fixtures/mk488yn6694/temp/GUJARAT-iso19139-fc.xml +1203 -0
- data/spec/fixtures/mk488yn6694/temp/GUJARAT-iso19139.xml +834 -0
- data/spec/fixtures/my216kp3008/metadata/geoMetadata.xml +2366 -0
- data/spec/fixtures/my216kp3008/temp/DELHI-iso19139-fc.xml +1643 -0
- data/spec/fixtures/my216kp3008/temp/DELHI-iso19139.xml +718 -0
- data/spec/fixtures/my504nz9827/metadata/geoMetadata.xml +2367 -0
- data/spec/fixtures/my504nz9827/temp/JAMMU_KASHMIR-iso19139-fc.xml +1519 -0
- data/spec/fixtures/my504nz9827/temp/JAMMU_KASHMIR-iso19139.xml +843 -0
- data/spec/fixtures/ng819jm8700/metadata/geoMetadata.xml +2496 -0
- data/spec/fixtures/ng819jm8700/temp/MANIPUR-iso19139-fc.xml +1643 -0
- data/spec/fixtures/ng819jm8700/temp/MANIPUR-iso19139.xml +848 -0
- data/spec/fixtures/np020jq2139/metadata/geoMetadata.xml +1153 -0
- data/spec/fixtures/np020jq2139/temp/metadata.iso19139-fc.xml +160 -0
- data/spec/fixtures/np020jq2139/temp/metadata.iso19139.xml +988 -0
- data/spec/fixtures/ns377mt1608/metadata/geoMetadata.xml +7125 -0
- data/spec/fixtures/ns377mt1608/temp/STATE1991-iso19139-fc.xml +6283 -0
- data/spec/fixtures/ns377mt1608/temp/STATE1991-iso19139.xml +837 -0
- data/spec/fixtures/nw926np8508/metadata/geoMetadata.xml +1143 -0
- data/spec/fixtures/nw926np8508/temp/metadata.iso19139-fc.xml +160 -0
- data/spec/fixtures/nw926np8508/temp/metadata.iso19139.xml +978 -0
- data/spec/fixtures/ny358rm8559/metadata/geoMetadata.xml +2459 -0
- data/spec/fixtures/ny358rm8559/temp/TRIPURA-iso19139-fc.xml +1599 -0
- data/spec/fixtures/ny358rm8559/temp/TRIPURA-iso19139.xml +855 -0
- data/spec/fixtures/nz176rm8192/metadata/geoMetadata.xml +2618 -0
- data/spec/fixtures/nz176rm8192/temp/DISTRICT2011-iso19139-fc.xml +1813 -0
- data/spec/fixtures/nz176rm8192/temp/DISTRICT2011-iso19139.xml +800 -0
- data/spec/fixtures/nz252rq2252/metadata/geoMetadata.xml +2387 -0
- data/spec/fixtures/nz252rq2252/temp/UTTAR_PRADESH-iso19139-fc.xml +1599 -0
- data/spec/fixtures/nz252rq2252/temp/UTTAR_PRADESH-iso19139.xml +783 -0
- data/spec/fixtures/pd902kb3348/metadata/geoMetadata.xml +2414 -0
- data/spec/fixtures/pd902kb3348/temp/MADHYA_PRADESH-iso19139-fc.xml +1633 -0
- data/spec/fixtures/pd902kb3348/temp/MADHYA_PRADESH-iso19139.xml +776 -0
- data/spec/fixtures/pz792fz1776/metadata/geoMetadata.xml +2437 -0
- data/spec/fixtures/pz792fz1776/temp/MAHARASHTRA-iso19139-fc.xml +1643 -0
- data/spec/fixtures/pz792fz1776/temp/MAHARASHTRA-iso19139.xml +789 -0
- data/spec/fixtures/qb767ss4042/metadata/geoMetadata.xml +2045 -0
- data/spec/fixtures/qb767ss4042/temp/UTTAR_PRADESH-iso19139-fc.xml +1200 -0
- data/spec/fixtures/qb767ss4042/temp/UTTAR_PRADESH-iso19139.xml +840 -0
- data/spec/fixtures/qc091qw0570/metadata/geoMetadata.xml +2428 -0
- data/spec/fixtures/qc091qw0570/temp/GUJARAT-iso19139-fc.xml +1643 -0
- data/spec/fixtures/qc091qw0570/temp/GUJARAT-iso19139.xml +780 -0
- data/spec/fixtures/qc652vr7204/metadata/geoMetadata.xml +3877 -0
- data/spec/fixtures/qc652vr7204/temp/ANDHRA_PRADESH_PT-iso19139-fc.xml +3075 -0
- data/spec/fixtures/qc652vr7204/temp/ANDHRA_PRADESH_PT-iso19139.xml +797 -0
- data/spec/fixtures/qk786js7484/metadata/geoMetadata.xml +3267 -0
- data/spec/fixtures/qk786js7484/temp/DISTRICT1961-iso19139-fc.xml +2403 -0
- data/spec/fixtures/qk786js7484/temp/DISTRICT1961-iso19139.xml +859 -0
- data/spec/fixtures/qn676pg6767/metadata/geoMetadata.xml +3861 -0
- data/spec/fixtures/qn676pg6767/temp/GOA-iso19139-fc.xml +3075 -0
- data/spec/fixtures/qn676pg6767/temp/GOA-iso19139.xml +781 -0
- data/spec/fixtures/qr255jh4074/metadata/geoMetadata.xml +3226 -0
- data/spec/fixtures/qr255jh4074/temp/LOKSABHA_14-iso19139-fc.xml +2366 -0
- data/spec/fixtures/qr255jh4074/temp/LOKSABHA_14-iso19139.xml +855 -0
- data/spec/fixtures/qr374kj4827/metadata/geoMetadata.xml +2428 -0
- data/spec/fixtures/qr374kj4827/temp/ASSAM-iso19139-fc.xml +1643 -0
- data/spec/fixtures/qr374kj4827/temp/ASSAM-iso19139.xml +780 -0
- data/spec/fixtures/qy162js1748/metadata/geoMetadata.xml +2440 -0
- data/spec/fixtures/qy162js1748/temp/CHHATTISGARH-iso19139-fc.xml +1643 -0
- data/spec/fixtures/qy162js1748/temp/CHHATTISGARH-iso19139.xml +792 -0
- data/spec/fixtures/rd446vf2633/metadata/geoMetadata.xml +1109 -0
- data/spec/fixtures/rd446vf2633/temp/NAGALAND-iso19139-fc.xml +379 -0
- data/spec/fixtures/rd446vf2633/temp/NAGALAND-iso19139.xml +725 -0
- data/spec/fixtures/rf389hf2983/metadata/geoMetadata.xml +3929 -0
- data/spec/fixtures/rf389hf2983/temp/CHHATTISGARH_PT-iso19139-fc.xml +3075 -0
- data/spec/fixtures/rf389hf2983/temp/CHHATTISGARH_PT-iso19139.xml +849 -0
- data/spec/fixtures/rf859ff4582/metadata/geoMetadata.xml +1251 -0
- data/spec/fixtures/rf859ff4582/temp/JHARKHAND-iso19139-fc.xml +459 -0
- data/spec/fixtures/rf859ff4582/temp/JHARKHAND-iso19139.xml +787 -0
- data/spec/fixtures/rh343ds8931/metadata/geoMetadata.xml +2032 -0
- data/spec/fixtures/rh343ds8931/temp/BIHAR-iso19139-fc.xml +1174 -0
- data/spec/fixtures/rh343ds8931/temp/BIHAR-iso19139.xml +853 -0
- data/spec/fixtures/rn815xk8157/metadata/geoMetadata.xml +2417 -0
- data/spec/fixtures/rn815xk8157/temp/SIKKIM-iso19139-fc.xml +1563 -0
- data/spec/fixtures/rn815xk8157/temp/SIKKIM-iso19139.xml +849 -0
- data/spec/fixtures/rq653sz4470/metadata/geoMetadata.xml +2394 -0
- data/spec/fixtures/rq653sz4470/temp/CHHATTISGARH-iso19139-fc.xml +1599 -0
- data/spec/fixtures/rq653sz4470/temp/CHHATTISGARH-iso19139.xml +790 -0
- data/spec/fixtures/rt625ws6022/metadata/geoMetadata.xml +833 -0
- data/spec/fixtures/rt625ws6022/temp/GULF_FAIRWAYS-iso19139-fc.xml +144 -0
- data/spec/fixtures/rt625ws6022/temp/GULF_FAIRWAYS-iso19139.xml +684 -0
- data/spec/fixtures/sc330vf4259/metadata/geoMetadata.xml +1836 -0
- data/spec/fixtures/sc330vf4259/temp/JHARKHAND-iso19139-fc.xml +987 -0
- data/spec/fixtures/sc330vf4259/temp/JHARKHAND-iso19139.xml +844 -0
- data/spec/fixtures/sq479mx3086/metadata/geoMetadata.xml +1043 -0
- data/spec/fixtures/sq479mx3086/temp/OFFSH_PLATF-iso19139-fc.xml +365 -0
- data/spec/fixtures/sq479mx3086/temp/OFFSH_PLATF-iso19139.xml +673 -0
- data/spec/fixtures/sr686bm4098/metadata/geoMetadata.xml +3896 -0
- data/spec/fixtures/sr686bm4098/temp/DAMAN_DIU_PT-iso19139-fc.xml +3075 -0
- data/spec/fixtures/sr686bm4098/temp/DAMAN_DIU_PT-iso19139.xml +816 -0
- data/spec/fixtures/sv303sh5583/metadata/geoMetadata.xml +2395 -0
- data/spec/fixtures/sv303sh5583/temp/ARUNACHAL_PRADESH-iso19139-fc.xml +1555 -0
- data/spec/fixtures/sv303sh5583/temp/ARUNACHAL_PRADESH-iso19139.xml +835 -0
- data/spec/fixtures/sy319nh8520/metadata/geoMetadata.xml +3925 -0
- data/spec/fixtures/sy319nh8520/temp/GUJARAT-iso19139-fc.xml +3075 -0
- data/spec/fixtures/sy319nh8520/temp/GUJARAT-iso19139.xml +845 -0
- data/spec/fixtures/td363vx2792/metadata/geoMetadata.xml +3964 -0
- data/spec/fixtures/td363vx2792/temp/HIMACHAL_PRADESH_PT-iso19139-fc.xml +3075 -0
- data/spec/fixtures/td363vx2792/temp/HIMACHAL_PRADESH_PT-iso19139.xml +884 -0
- data/spec/fixtures/tf374bd2484/metadata/geoMetadata.xml +1464 -0
- data/spec/fixtures/tf374bd2484/temp/DISTRICT1951-iso19139-fc.xml +599 -0
- data/spec/fixtures/tf374bd2484/temp/DISTRICT1951-iso19139.xml +860 -0
- data/spec/fixtures/tj797mj7877/metadata/geoMetadata.xml +2359 -0
- data/spec/fixtures/tj797mj7877/temp/LOKSABHA_15-iso19139-fc.xml +1511 -0
- data/spec/fixtures/tj797mj7877/temp/LOKSABHA_15-iso19139.xml +843 -0
- data/spec/fixtures/tv060wq5179/metadata/geoMetadata.xml +2046 -0
- data/spec/fixtures/tv060wq5179/temp/ASSAM-iso19139-fc.xml +1203 -0
- data/spec/fixtures/tv060wq5179/temp/ASSAM-iso19139.xml +838 -0
- data/spec/fixtures/tv536bn1915/metadata/geoMetadata.xml +2296 -0
- data/spec/fixtures/tv536bn1915/temp/ARUNACHAL_PRADESH-iso19139-fc.xml +1687 -0
- data/spec/fixtures/tv536bn1915/temp/ARUNACHAL_PRADESH-iso19139.xml +604 -0
- data/spec/fixtures/tz359cc2977/metadata/geoMetadata.xml +1842 -0
- data/spec/fixtures/tz359cc2977/temp/MANIPUR-iso19139-fc.xml +987 -0
- data/spec/fixtures/tz359cc2977/temp/MANIPUR-iso19139.xml +850 -0
- data/spec/fixtures/vb525my6511/metadata/geoMetadata.xml +2026 -0
- data/spec/fixtures/vb525my6511/temp/UTTARAKHAND-iso19139-fc.xml +1167 -0
- data/spec/fixtures/vb525my6511/temp/UTTARAKHAND-iso19139.xml +854 -0
- data/spec/fixtures/vh802fs4240/metadata/geoMetadata.xml +2189 -0
- data/spec/fixtures/vh802fs4240/temp/PONDICHERRY-iso19139-fc.xml +1343 -0
- data/spec/fixtures/vh802fs4240/temp/PONDICHERRY-iso19139.xml +841 -0
- data/spec/fixtures/vk120xn2474/metadata/geoMetadata.xml +1125 -0
- data/spec/fixtures/vk120xn2474/temp/PLSS_SEC-iso19139-fc.xml +435 -0
- data/spec/fixtures/vk120xn2474/temp/PLSS_SEC-iso19139.xml +685 -0
- data/spec/fixtures/vn439bc7316/metadata/geoMetadata.xml +1979 -0
- data/spec/fixtures/vn439bc7316/temp/KERALA-iso19139-fc.xml +1131 -0
- data/spec/fixtures/vn439bc7316/temp/KERALA-iso19139.xml +843 -0
- data/spec/fixtures/vq745jk0695/metadata/geoMetadata.xml +1787 -0
- data/spec/fixtures/vq745jk0695/temp/MEGHALAYA-iso19139-fc.xml +987 -0
- data/spec/fixtures/vq745jk0695/temp/MEGHALAYA-iso19139.xml +795 -0
- data/spec/fixtures/vr593vj7147/metadata/geoMetadata.xml +3895 -0
- data/spec/fixtures/vr593vj7147/temp/ANDHRA_PRADESH-iso19139-fc.xml +3075 -0
- data/spec/fixtures/vr593vj7147/temp/ANDHRA_PRADESH-iso19139.xml +815 -0
- data/spec/fixtures/vw911qb5271/metadata/geoMetadata.xml +8557 -0
- data/spec/fixtures/vw911qb5271/temp/DISTRICT2001-iso19139-fc.xml +7683 -0
- data/spec/fixtures/vw911qb5271/temp/DISTRICT2001-iso19139.xml +869 -0
- data/spec/fixtures/wg680pz0365/metadata/geoMetadata.xml +2475 -0
- data/spec/fixtures/wg680pz0365/temp/ANDHRA_PRADESH-iso19139-fc.xml +1599 -0
- data/spec/fixtures/wg680pz0365/temp/ANDHRA_PRADESH-iso19139.xml +871 -0
- data/spec/fixtures/wg761xn1926/metadata/geoMetadata.xml +3941 -0
- data/spec/fixtures/wg761xn1926/temp/HARYANA-iso19139-fc.xml +3075 -0
- data/spec/fixtures/wg761xn1926/temp/HARYANA-iso19139.xml +861 -0
- data/spec/fixtures/wh870qw1934/metadata/geoMetadata.xml +2428 -0
- data/spec/fixtures/wh870qw1934/temp/PUNJAB-iso19139-fc.xml +1643 -0
- data/spec/fixtures/wh870qw1934/temp/PUNJAB-iso19139.xml +780 -0
- data/spec/fixtures/wk775mm4673/metadata/geoMetadata.xml +2458 -0
- data/spec/fixtures/wk775mm4673/temp/MAHARASHTRA-iso19139-fc.xml +1599 -0
- data/spec/fixtures/wk775mm4673/temp/MAHARASHTRA-iso19139.xml +854 -0
- data/spec/fixtures/ws171yz2165/metadata/geoMetadata.xml +3868 -0
- data/spec/fixtures/ws171yz2165/temp/ARUNACHAL_PRADESH_PT-iso19139-fc.xml +3075 -0
- data/spec/fixtures/ws171yz2165/temp/ARUNACHAL_PRADESH_PT-iso19139.xml +788 -0
- data/spec/fixtures/wt473hz7153/metadata/geoMetadata.xml +3898 -0
- data/spec/fixtures/wt473hz7153/temp/CHANDIGARH_PT-iso19139-fc.xml +3075 -0
- data/spec/fixtures/wt473hz7153/temp/CHANDIGARH_PT-iso19139.xml +818 -0
- data/spec/fixtures/ww217dj0457/metadata/geoMetadata.xml +1205 -0
- data/spec/fixtures/ww217dj0457/temp/CO2_PIPE-iso19139-fc.xml +471 -0
- data/spec/fixtures/ww217dj0457/temp/CO2_PIPE-iso19139.xml +729 -0
- data/spec/fixtures/wy875pk9849/metadata/geoMetadata.xml +3173 -0
- data/spec/fixtures/wy875pk9849/temp/STATE1961-iso19139-fc.xml +2279 -0
- data/spec/fixtures/wy875pk9849/temp/STATE1961-iso19139.xml +889 -0
- data/spec/fixtures/xb018tk2042/metadata/geoMetadata.xml +2335 -0
- data/spec/fixtures/xb018tk2042/temp/STATE1981-iso19139-fc.xml +1443 -0
- data/spec/fixtures/xb018tk2042/temp/STATE1981-iso19139.xml +887 -0
- data/spec/fixtures/xg539vw8586/metadata/geoMetadata.xml +2405 -0
- data/spec/fixtures/xg539vw8586/temp/ORISSA-iso19139-fc.xml +1599 -0
- data/spec/fixtures/xg539vw8586/temp/ORISSA-iso19139.xml +801 -0
- data/spec/fixtures/xv475kp4644/metadata/geoMetadata.xml +3871 -0
- data/spec/fixtures/xv475kp4644/temp/ASSAM_PT-iso19139-fc.xml +3075 -0
- data/spec/fixtures/xv475kp4644/temp/ASSAM_PT-iso19139.xml +791 -0
- data/spec/fixtures/xy096gc2959/metadata/geoMetadata.xml +2432 -0
- data/spec/fixtures/xy096gc2959/temp/GOA-iso19139-fc.xml +1643 -0
- data/spec/fixtures/xy096gc2959/temp/GOA-iso19139.xml +784 -0
- data/spec/fixtures/xz518gz3362/metadata/geoMetadata.xml +2434 -0
- data/spec/fixtures/xz518gz3362/temp/UTTARAKHAND-iso19139-fc.xml +1643 -0
- data/spec/fixtures/xz518gz3362/temp/UTTARAKHAND-iso19139.xml +786 -0
- data/spec/fixtures/yh986wy4737/metadata/geoMetadata.xml +1160 -0
- data/spec/fixtures/yh986wy4737/temp/NAGALAND-iso19139-fc.xml +384 -0
- data/spec/fixtures/yh986wy4737/temp/NAGALAND-iso19139.xml +771 -0
- data/spec/fixtures/yn187fq4474/metadata/geoMetadata.xml +2168 -0
- data/spec/fixtures/yn187fq4474/temp/KARNATAKA-iso19139-fc.xml +1379 -0
- data/spec/fixtures/yn187fq4474/temp/KARNATAKA-iso19139.xml +784 -0
- data/spec/fixtures/yn236mw3250/metadata/geoMetadata.xml +2428 -0
- data/spec/fixtures/yn236mw3250/temp/TAMILNADU-iso19139-fc.xml +1643 -0
- data/spec/fixtures/yn236mw3250/temp/TAMILNADU-iso19139.xml +780 -0
- data/spec/fixtures/yz596nz0112/metadata/geoMetadata.xml +2012 -0
- data/spec/fixtures/yz596nz0112/temp/WEST_BENGAL-iso19139-fc.xml +1203 -0
- data/spec/fixtures/yz596nz0112/temp/WEST_BENGAL-iso19139.xml +804 -0
- data/spec/fixtures/zk596gy7380/metadata/geoMetadata.xml +4147 -0
- data/spec/fixtures/zk596gy7380/temp/DISTRICT1971-iso19139-fc.xml +3283 -0
- data/spec/fixtures/zk596gy7380/temp/DISTRICT1971-iso19139.xml +859 -0
- data/spec/fixtures/zn452hh7431/metadata/geoMetadata.xml +2337 -0
- data/spec/fixtures/zn452hh7431/temp/RAJASTHAN-iso19139-fc.xml +1505 -0
- data/spec/fixtures/zn452hh7431/temp/RAJASTHAN-iso19139.xml +827 -0
- data/spec/fixtures/zt093fw6519/metadata/geoMetadata.xml +2380 -0
- data/spec/fixtures/zt093fw6519/temp/MIZORAM-iso19139-fc.xml +1643 -0
- data/spec/fixtures/zt093fw6519/temp/MIZORAM-iso19139.xml +732 -0
- data/spec/fixtures/zv925hd6723/metadata/geoMetadata.xml +1473 -0
- data/spec/fixtures/zv925hd6723/temp/OGWELLS-iso19139-fc.xml +759 -0
- data/spec/fixtures/zv925hd6723/temp/OGWELLS-iso19139.xml +709 -0
- data/spec/fixtures/zy658cr1728/metadata/geoMetadata.xml +3814 -0
- data/spec/fixtures/zy658cr1728/temp/ANDAMAAN_NICOBAR_PT-iso19139-fc.xml +3075 -0
- data/spec/fixtures/zy658cr1728/temp/ANDAMAAN_NICOBAR_PT-iso19139.xml +734 -0
- data/spec/fixtures/zz943vx1492/metadata/geoMetadata.xml +861 -0
- data/spec/fixtures/zz943vx1492/temp/BASINS-iso19139-fc.xml +164 -0
- data/spec/fixtures/zz943vx1492/temp/BASINS-iso19139.xml +692 -0
- data/spec/integration/solr_spec_notready.rb +51 -0
- data/spec/test_net_ssh_krb.rb +21 -0
- data/spec/unit/gazetteer_spec.rb +100 -0
- data/spec/unit/transform_spec.rb +40 -0
- data/spec/unit/utils_spec.rb +32 -0
- metadata +1491 -0
@@ -0,0 +1,148 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- Top level directives -->
|
3
|
+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
|
4
|
+
<xsl:import href="printFormatted.xsl"/>
|
5
|
+
<xsl:import href="printTextLines.xsl"/>
|
6
|
+
<xsl:output method="html" indent="no"/>
|
7
|
+
<!-- Global parameters -->
|
8
|
+
<!--
|
9
|
+
g-tag-translation-URI
|
10
|
+
This parameter specifies the URI of the external document
|
11
|
+
containing the lookup table for the tag name translation. The
|
12
|
+
default is the name of a file in the same directory as the
|
13
|
+
stylesheet. Make sure this is a network accessible URI if
|
14
|
+
delivering to a browser for translation.
|
15
|
+
-->
|
16
|
+
<xsl:param name="g-tag-translation-URI" select="'elements-ISO.xml'"/>
|
17
|
+
<!--
|
18
|
+
g-indent-increment
|
19
|
+
This parameter specifies the character string to be added before a
|
20
|
+
label for each level of indentation. I.e. if you want each level
|
21
|
+
indented by four spaces, then make this a four space character
|
22
|
+
string. Set this to the empty string to forego indenting.
|
23
|
+
-->
|
24
|
+
<xsl:param name="g-indent-increment" select="' '"/>
|
25
|
+
<!--
|
26
|
+
g-fold-width
|
27
|
+
This parameter specifies the maximum length of a line when
|
28
|
+
word-wrapping lines. It must match the value specified in
|
29
|
+
printTextLines.xsl.
|
30
|
+
-->
|
31
|
+
<xsl:param name="g-fold-width" select="'120'"/>
|
32
|
+
<!--
|
33
|
+
g-text-field-handler
|
34
|
+
This parameter specifies the handler to use for formatting text
|
35
|
+
fields. The choices are 'fold' to fold lines at a maximum length
|
36
|
+
and 'print-lines' to print lines with line breaks preserved as in
|
37
|
+
the source XML document. If unspecified, or if an invalid choice
|
38
|
+
is specified, 'print-lines' will be used.
|
39
|
+
|
40
|
+
[OBSOLETE: replaced by printFormatted template]
|
41
|
+
-->
|
42
|
+
<xsl:param name="g-text-field-handler" select="'print-lines'"/>
|
43
|
+
<!-- Global variables -->
|
44
|
+
<xsl:variable name="newline">
|
45
|
+
<xsl:text>
</xsl:text>
|
46
|
+
</xsl:variable>
|
47
|
+
<!-- Get the g-tag-translation-URI (elements.xml) node-set just once.
|
48
|
+
This should improve performance on large XML files.
|
49
|
+
This also works around a memory-leak problem using JSTL \<x:transform xsltSystemId
|
50
|
+
(the memory-leak may also be present in direct Transformer calls from Java).
|
51
|
+
/// We see this in Xalan 2.6.0; is it fixed in 2.7.0 ?
|
52
|
+
-->
|
53
|
+
<xsl:variable name="g-tag-translations" select="document($g-tag-translation-URI)"/>
|
54
|
+
<!-- Templates -->
|
55
|
+
<xsl:template match="/">
|
56
|
+
<html>
|
57
|
+
<body>
|
58
|
+
<pre>
|
59
|
+
<xsl:apply-templates select="*"/>
|
60
|
+
</pre>
|
61
|
+
</body>
|
62
|
+
</html>
|
63
|
+
</xsl:template>
|
64
|
+
<!--
|
65
|
+
Apply to all elements. Determine whether it's a compound or text element
|
66
|
+
and call the appropriate template.
|
67
|
+
-->
|
68
|
+
<xsl:template match="*">
|
69
|
+
<xsl:param name="indent" select="''"/>
|
70
|
+
<xsl:param name="indent-increment" select="$g-indent-increment"/>
|
71
|
+
<xsl:variable name="tagname" select="name()"/>
|
72
|
+
<xsl:variable name="tag-longname" select="$g-tag-translations/*/name[@tagname=$tagname]"/>
|
73
|
+
<xsl:variable name="tag-translation">
|
74
|
+
<!-- Display long name if we can translate the tag, else just display the tag name itself -->
|
75
|
+
<xsl:choose>
|
76
|
+
<xsl:when test="$tag-longname">
|
77
|
+
<xsl:value-of select="$tag-longname"/>
|
78
|
+
</xsl:when>
|
79
|
+
<xsl:otherwise>
|
80
|
+
<xsl:value-of select="$tagname"/>
|
81
|
+
</xsl:otherwise>
|
82
|
+
</xsl:choose>
|
83
|
+
</xsl:variable>
|
84
|
+
<xsl:variable name="output">
|
85
|
+
<!-- do not output element names w/ gco namespaces -->
|
86
|
+
<xsl:if test="not(contains($tag-translation, 'gco'))">
|
87
|
+
<xsl:value-of select="concat($indent, $tag-translation, ': ')"/>
|
88
|
+
</xsl:if>
|
89
|
+
</xsl:variable>
|
90
|
+
<xsl:if test="string-length(normalize-space($tag-translation)) > 0">
|
91
|
+
<b>
|
92
|
+
<xsl:value-of select="$output"/>
|
93
|
+
</b>
|
94
|
+
</xsl:if>
|
95
|
+
<xsl:choose>
|
96
|
+
<xsl:when test="*">
|
97
|
+
<!-- This is a compound element (i.e., it has children) -->
|
98
|
+
<xsl:choose>
|
99
|
+
<xsl:when test="string-length(normalize-space($tag-translation)) > 0">
|
100
|
+
<!-- There is a tag translation -->
|
101
|
+
<xsl:value-of select="$newline"/>
|
102
|
+
<xsl:apply-templates select="*">
|
103
|
+
<xsl:with-param name="indent" select="concat($indent, $indent-increment)"/>
|
104
|
+
</xsl:apply-templates>
|
105
|
+
</xsl:when>
|
106
|
+
<xsl:otherwise>
|
107
|
+
<!-- No tag translation -->
|
108
|
+
<xsl:apply-templates select="*">
|
109
|
+
<xsl:with-param name="indent" select="concat($indent, $indent-increment)"/>
|
110
|
+
</xsl:apply-templates>
|
111
|
+
</xsl:otherwise>
|
112
|
+
</xsl:choose>
|
113
|
+
</xsl:when>
|
114
|
+
<!-- else a content element: display the text -->
|
115
|
+
<xsl:otherwise>
|
116
|
+
<!-- if tag name has gco namespace - do not add a new line-->
|
117
|
+
<xsl:if test="not(contains($tag-translation,'gco'))">
|
118
|
+
<xsl:value-of select="$newline"/>
|
119
|
+
</xsl:if>
|
120
|
+
<!-- Call the imported printFormatted template to print both
|
121
|
+
preformatted text and word-wrapped paragraphs.
|
122
|
+
This will parse each line, and call back to the
|
123
|
+
printFormattedLine and printParagraphLine templates
|
124
|
+
in this file. -->
|
125
|
+
<xsl:call-template name="printFormatted">
|
126
|
+
<xsl:with-param name="elementContent">
|
127
|
+
<!-- strip leading whitespace only from first line of text -->
|
128
|
+
<xsl:call-template name="strip-leading-whitespace">
|
129
|
+
<!-- display element attributes OR content (note: not all attributes are included for translation-->
|
130
|
+
<xsl:with-param name="content" select="@codeListValue|@gco:nilReason|@indeterminatePosition|@xlink:href|node()"/>
|
131
|
+
</xsl:call-template>
|
132
|
+
</xsl:with-param>
|
133
|
+
<xsl:with-param name="startFormattedSectionString" select="''"/>
|
134
|
+
<!-- nothing needed -->
|
135
|
+
<xsl:with-param name="endFormattedSectionString" select="''"/>
|
136
|
+
<!-- nothing needed -->
|
137
|
+
<xsl:with-param name="optional-param-1" select="concat($indent, $indent-increment)"/>
|
138
|
+
<xsl:with-param name="optional-param-2" select="number($g-fold-width) - string-length($indent)"/>
|
139
|
+
</xsl:call-template>
|
140
|
+
</xsl:otherwise>
|
141
|
+
</xsl:choose>
|
142
|
+
</xsl:template>
|
143
|
+
<!--
|
144
|
+
Text formatting template. Use existing line breaks. Indent each line
|
145
|
+
to the current indent level. Return the next line each time the template
|
146
|
+
is called.
|
147
|
+
-->
|
148
|
+
</xsl:stylesheet>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'fileutils'
|
3
|
+
Dir.glob('/var/geomdtk/current/stage/**/temp/*.shp.xml') do |shpxml_fn|
|
4
|
+
puts "Processing #{shpxml_fn}..."
|
5
|
+
k = File.basename(shpxml_fn, '.shp.xml')
|
6
|
+
d = File.dirname(shpxml_fn)
|
7
|
+
puts "Locating #{k} data..."
|
8
|
+
Dir.glob('/var/geomdtk/current/upload/data/original/**/' + k + '.*') do |fn|
|
9
|
+
if %w{shp shx dbf prj sbn sbx}.include? File.extname(fn).gsub(/^\./, '') # only copy core Shapefile files
|
10
|
+
FileUtils.ln fn, d, :verbose => true unless File.exist?(File.join(d, File.basename(fn)))
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,553 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
|
3
|
+
<!--
|
4
|
+
ISO 19139 default stylesheet
|
5
|
+
Based on metadata-iso19139.xsl from exCat
|
6
|
+
http://gdsc.nlr.nl/gdsc/en/tools/excat
|
7
|
+
|
8
|
+
/***************************************************************************
|
9
|
+
Metadata browser/editor
|
10
|
+
|
11
|
+
begin : 2011-02-21
|
12
|
+
copyright : (C) 2011 by NextGIS
|
13
|
+
email : info@nextgis.ru
|
14
|
+
***************************************************************************/
|
15
|
+
|
16
|
+
/***************************************************************************
|
17
|
+
* *
|
18
|
+
* This program is free software; you can redistribute it and/or modify *
|
19
|
+
* it under the terms of the GNU General Public License as published by *
|
20
|
+
* the Free Software Foundation; either version 2 of the License, or *
|
21
|
+
* (at your option) any later version. *
|
22
|
+
* *
|
23
|
+
***************************************************************************/
|
24
|
+
<xsl:output method="html" encoding="ISO-8859-1"/>
|
25
|
+
-->
|
26
|
+
|
27
|
+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
|
28
|
+
xmlns:gco="http://www.isotc211.org/2005/gco"
|
29
|
+
xmlns:gmd="http://www.isotc211.org/2005/gmd"
|
30
|
+
>
|
31
|
+
<xsl:output method="html" encoding="UTF-8"/>
|
32
|
+
|
33
|
+
<xsl:template name="tablerow" >
|
34
|
+
<xsl:param name="cname"/>
|
35
|
+
<xsl:param name="cvalue"/>
|
36
|
+
<xsl:choose>
|
37
|
+
<xsl:when test="string($cvalue)">
|
38
|
+
<tr>
|
39
|
+
<td class="meta-param">
|
40
|
+
<xsl:value-of select="$cname"/>
|
41
|
+
<xsl:text>: </xsl:text>
|
42
|
+
</td>
|
43
|
+
<td class="meta-value">
|
44
|
+
<xsl:value-of select="$cvalue"/>
|
45
|
+
</td>
|
46
|
+
</tr>
|
47
|
+
</xsl:when>
|
48
|
+
<xsl:otherwise>
|
49
|
+
</xsl:otherwise>
|
50
|
+
</xsl:choose>
|
51
|
+
</xsl:template>
|
52
|
+
|
53
|
+
<xsl:template match="gmd:MD_Metadata">
|
54
|
+
|
55
|
+
<!-- Metadata block -->
|
56
|
+
|
57
|
+
<html>
|
58
|
+
<head>
|
59
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
60
|
+
<style type="text/css">
|
61
|
+
.captioneddiv { margin: 2em 0em 0em 0em;
|
62
|
+
padding: 1em;
|
63
|
+
height:auto;
|
64
|
+
border: solid #2A669D 1px;
|
65
|
+
background: #ffffff; }
|
66
|
+
.captioneddiv h3 { position: relative;
|
67
|
+
margin: 0.5em;
|
68
|
+
top: -2.0em;
|
69
|
+
left: -1.0em;
|
70
|
+
padding: 0em 0.5em;
|
71
|
+
display: inline;
|
72
|
+
font-size: 0.9em;
|
73
|
+
/*background: #cae1ff;*/
|
74
|
+
background: #ffffff; }
|
75
|
+
.meta { vertical-align: top; }
|
76
|
+
.meta-param { vertical-align: top; color: #004393 }
|
77
|
+
.meta-value { vertical-align: top;}
|
78
|
+
</style>
|
79
|
+
</head>
|
80
|
+
<body>
|
81
|
+
<div class="captioneddiv">
|
82
|
+
<h3>Metadata</h3>
|
83
|
+
<table class="meta"><tr></tr>
|
84
|
+
<xsl:call-template name="tablerow">
|
85
|
+
<xsl:with-param name="cname" select="'File Identifier'"/>
|
86
|
+
<xsl:with-param name="cvalue" select="./gmd:fileIdentifier/gco:CharacterString"/>
|
87
|
+
</xsl:call-template>
|
88
|
+
<xsl:call-template name="tablerow">
|
89
|
+
<xsl:with-param name="cname" select="'Language'"/>
|
90
|
+
<xsl:with-param name="cvalue" select="./gmd:language/gco:CharacterString"/>
|
91
|
+
</xsl:call-template>
|
92
|
+
<xsl:call-template name="tablerow">
|
93
|
+
<xsl:with-param name="cname" select="'Character set'"/>
|
94
|
+
<xsl:with-param name="cvalue" select="./gmd:characterSet/gmd:MD_CharacterSetCode/@codeListValue"/>
|
95
|
+
</xsl:call-template>
|
96
|
+
<xsl:call-template name="tablerow">
|
97
|
+
<xsl:with-param name="cname" select="'Date stamp'"/>
|
98
|
+
<xsl:with-param name="cvalue" select="./gmd:dateStamp/gco:Date"/>
|
99
|
+
</xsl:call-template>
|
100
|
+
<xsl:call-template name="tablerow">
|
101
|
+
<xsl:with-param name="cname" select="'Metadata standard name'"/>
|
102
|
+
<xsl:with-param name="cvalue" select="./gmd:metadataStandardName/gco:CharacterString"/>
|
103
|
+
</xsl:call-template>
|
104
|
+
<xsl:call-template name="tablerow">
|
105
|
+
<xsl:with-param name="cname" select="'Metadata standard version'"/>
|
106
|
+
<xsl:with-param name="cvalue" select="./gmd:metadataStandardVersion/gco:CharacterString"/>
|
107
|
+
</xsl:call-template>
|
108
|
+
</table>
|
109
|
+
|
110
|
+
<xsl:apply-templates select="./gmd:contact"/>
|
111
|
+
</div>
|
112
|
+
|
113
|
+
<!-- Identification block -->
|
114
|
+
<xsl:apply-templates select="./gmd:identificationInfo/gmd:MD_DataIdentification"/>
|
115
|
+
|
116
|
+
<!-- Distribution -->
|
117
|
+
<xsl:apply-templates select="./gmd:distributionInfo/gmd:MD_Distribution"/>
|
118
|
+
|
119
|
+
<!-- ContentInfo -->
|
120
|
+
<xsl:apply-templates select="./gmd:contentInfo"/>
|
121
|
+
|
122
|
+
<!-- DataQuality -->
|
123
|
+
<xsl:apply-templates select="./gmd:dataQualityInfo/gmd:DQ_DataQuality"/>
|
124
|
+
|
125
|
+
</body>
|
126
|
+
</html>
|
127
|
+
</xsl:template>
|
128
|
+
|
129
|
+
|
130
|
+
<!-- 'Metadata->Metadata author' block -->
|
131
|
+
<xsl:template match="gmd:contact">
|
132
|
+
<div class="captioneddiv">
|
133
|
+
<h3>Metadata author</h3>
|
134
|
+
<table class="meta">
|
135
|
+
<tr>
|
136
|
+
<td class="meta" valign="top">
|
137
|
+
<table class="meta"><tr></tr>
|
138
|
+
<xsl:call-template name="tablerow">
|
139
|
+
<xsl:with-param name="cname" select="'Individual name'"/>
|
140
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:individualName/gco:CharacterString"/>
|
141
|
+
</xsl:call-template>
|
142
|
+
<xsl:call-template name="tablerow">
|
143
|
+
<xsl:with-param name="cname" select="'Organisation name'"/>
|
144
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"/>
|
145
|
+
</xsl:call-template>
|
146
|
+
<xsl:call-template name="tablerow">
|
147
|
+
<xsl:with-param name="cname" select="'Position'"/>
|
148
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:positionName/gco:CharacterString"/>
|
149
|
+
</xsl:call-template>
|
150
|
+
<xsl:call-template name="tablerow">
|
151
|
+
<xsl:with-param name="cname" select="'Role'"/>
|
152
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:role/gmd:CI_RoleCode/@codeListValue"/>
|
153
|
+
</xsl:call-template>
|
154
|
+
</table></td>
|
155
|
+
<td class="meta" valign="top">
|
156
|
+
<table class="meta"><tr></tr>
|
157
|
+
<xsl:call-template name="tablerow">
|
158
|
+
<xsl:with-param name="cname" select="'Voice'"/>
|
159
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:phone/gmd:CI_Telephone/gmd:voice/gco:CharacterString"/>
|
160
|
+
</xsl:call-template>
|
161
|
+
<xsl:call-template name="tablerow">
|
162
|
+
<xsl:with-param name="cname" select="'Facsimile'"/>
|
163
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:phone/gmd:CI_Telephone/gmd:facsimile/gco:CharacterString"/>
|
164
|
+
</xsl:call-template>
|
165
|
+
<xsl:call-template name="tablerow">
|
166
|
+
<xsl:with-param name="cname" select="'Delivery Point'"/>
|
167
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:deliveryPoint/gco:CharacterString"/>
|
168
|
+
</xsl:call-template>
|
169
|
+
<xsl:call-template name="tablerow">
|
170
|
+
<xsl:with-param name="cname" select="'City'"/>
|
171
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:city/gco:CharacterString"/>
|
172
|
+
</xsl:call-template>
|
173
|
+
<xsl:call-template name="tablerow">
|
174
|
+
<xsl:with-param name="cname" select="'Postal code'"/>
|
175
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:postalCode/gco:CharacterString"/>
|
176
|
+
</xsl:call-template>
|
177
|
+
<xsl:call-template name="tablerow">
|
178
|
+
<xsl:with-param name="cname" select="'Country'"/>
|
179
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:country/gco:CharacterString"/>
|
180
|
+
</xsl:call-template>
|
181
|
+
<xsl:call-template name="tablerow">
|
182
|
+
<xsl:with-param name="cname" select="'Email'"/>
|
183
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress/gco:CharacterString"/>
|
184
|
+
</xsl:call-template>
|
185
|
+
</table></td>
|
186
|
+
</tr>
|
187
|
+
</table>
|
188
|
+
</div>
|
189
|
+
</xsl:template>
|
190
|
+
|
191
|
+
|
192
|
+
<!-- 'Identification' block -->
|
193
|
+
<xsl:template match="gmd:MD_DataIdentification">
|
194
|
+
<div class="captioneddiv">
|
195
|
+
<h3>Identification info</h3>
|
196
|
+
<table class="meta"><tr></tr>
|
197
|
+
<xsl:call-template name="tablerow">
|
198
|
+
<xsl:with-param name="cname" select="'Title'"/>
|
199
|
+
<xsl:with-param name="cvalue" select="./gmd:citation/gmd:CI_Citation/gmd:title/gco:CharacterString"/>
|
200
|
+
</xsl:call-template>
|
201
|
+
<xsl:call-template name="tablerow">
|
202
|
+
<xsl:with-param name="cname" select="'Date'"/>
|
203
|
+
<xsl:with-param name="cvalue" select="./gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:data/gco:Date"/>
|
204
|
+
</xsl:call-template>
|
205
|
+
<!--xsl:call-template name="tablerow">
|
206
|
+
<xsl:with-param name="cname" select="'Presentation form'"/>
|
207
|
+
<xsl:with-param name="cvalue" select="./idCitation/presForm/PresFormCd/@value"/>
|
208
|
+
</xsl:call-template-->
|
209
|
+
<xsl:call-template name="tablerow">
|
210
|
+
<xsl:with-param name="cname" select="'Individual name'"/>
|
211
|
+
<xsl:with-param name="cvalue" select="./gmd:pointOfContact/gmd:CI_ResponsibleParty/gmd:individualName/gco:CharacterString"/>
|
212
|
+
</xsl:call-template>
|
213
|
+
<xsl:call-template name="tablerow">
|
214
|
+
<xsl:with-param name="cname" select="'Organisation name'"/>
|
215
|
+
<xsl:with-param name="cvalue" select="./gmd:pointOfContact/gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"/>
|
216
|
+
</xsl:call-template>
|
217
|
+
|
218
|
+
<!--abstract is handled seperately because of text formatting-->
|
219
|
+
<tr>
|
220
|
+
<td class="meta-param">Abstract:</td>
|
221
|
+
<td class="meta-value">
|
222
|
+
<xsl:apply-templates select="./gmd:abstract"/>
|
223
|
+
</td>
|
224
|
+
</tr>
|
225
|
+
|
226
|
+
<!-- Keywords -->
|
227
|
+
<xsl:choose>
|
228
|
+
<xsl:when test="./gmd:descriptiveKeywords/gmd:MD_Keywords/gmd:keyword">
|
229
|
+
<tr>
|
230
|
+
<td class="meta-param">Keywords:</td>
|
231
|
+
<td class="meta-value">
|
232
|
+
<xsl:apply-templates select="./gmd:descriptiveKeywords/gmd:MD_Keywords/gmd:keyword"/>
|
233
|
+
</td>
|
234
|
+
</tr>
|
235
|
+
</xsl:when>
|
236
|
+
<xsl:otherwise>
|
237
|
+
</xsl:otherwise>
|
238
|
+
</xsl:choose>
|
239
|
+
|
240
|
+
<!-- Spatial repres -->
|
241
|
+
<xsl:call-template name="tablerow">
|
242
|
+
<xsl:with-param name="cname" select="'Spatial representation type'"/>
|
243
|
+
<xsl:with-param name="cvalue" select="./gmd:spatialRepresentationType/gmd:MD_SpatialRepresentationTypeCode"/>
|
244
|
+
</xsl:call-template>
|
245
|
+
|
246
|
+
<!-- Spatial scale -->
|
247
|
+
<xsl:choose>
|
248
|
+
<xsl:when test="./gmd:spatialResolution/gmd:MD_Resolution/gmd:equivalentScale/gmd:MD_RepresentativeFraction/gmd:denominator/gco:Integer">
|
249
|
+
<tr>
|
250
|
+
<td class="meta-param">Spatial scale:</td>
|
251
|
+
<td class="meta-value">
|
252
|
+
1:<xsl:apply-templates select="./gmd:spatialResolution/gmd:MD_Resolution/gmd:equivalentScale/gmd:MD_RepresentativeFraction/gmd:denominator/gco:Integer"/>
|
253
|
+
</td>
|
254
|
+
</tr>
|
255
|
+
</xsl:when>
|
256
|
+
<xsl:otherwise>
|
257
|
+
</xsl:otherwise>
|
258
|
+
</xsl:choose>
|
259
|
+
|
260
|
+
<!-- Spatial accuracy -->
|
261
|
+
<xsl:choose>
|
262
|
+
<xsl:when test="./gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance">
|
263
|
+
<tr>
|
264
|
+
<td class="meta-param">Spatial accuracy:</td>
|
265
|
+
<td class="meta-value">
|
266
|
+
<xsl:apply-templates select="./gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance"/>
|
267
|
+
<xsl:apply-templates select="./gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance/@uom"/>
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
</xsl:when>
|
271
|
+
<xsl:otherwise>
|
272
|
+
</xsl:otherwise>
|
273
|
+
</xsl:choose>
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
</table>
|
278
|
+
<!-- License info block -->
|
279
|
+
<xsl:apply-templates select="./gmd:resourceConstraints/gmd:MD_LegalConstraints"/>
|
280
|
+
<xsl:apply-templates select="./gmd:extent"/>
|
281
|
+
<xsl:apply-templates select="./gmd:pointOfContact"/>
|
282
|
+
</div>
|
283
|
+
|
284
|
+
</xsl:template>
|
285
|
+
|
286
|
+
<!-- 'dataQualityInfo block -->
|
287
|
+
<xsl:template match="gmd:DQ_DataQuality">
|
288
|
+
<div class="captioneddiv">
|
289
|
+
<h3>Data quality info</h3>
|
290
|
+
<table class="meta"><tr></tr>
|
291
|
+
<xsl:call-template name="tablerow">
|
292
|
+
<xsl:with-param name="cname" select="'Scope'"/>
|
293
|
+
<xsl:with-param name="cvalue" select="./gmd:scope/gmd:DQ_Scope/gmd:level/gmd:MD_ScopeCode"/>
|
294
|
+
</xsl:call-template>
|
295
|
+
<xsl:call-template name="tablerow">
|
296
|
+
<xsl:with-param name="cname" select="'Statement'"/>
|
297
|
+
<xsl:with-param name="cvalue" select="./gmd:lineage/gmd:LI_Lineage/gmd:statement/gco:CharacterString"/>
|
298
|
+
</xsl:call-template>
|
299
|
+
<xsl:call-template name="tablerow">
|
300
|
+
<xsl:with-param name="cname" select="'Process info'"/>
|
301
|
+
<xsl:with-param name="cvalue" select="./gmd:lineage/gmd:LI_Lineage/gmd:processStep/gmd:LI_ProcessStep/gmd:description/gco:CharacterString"/>
|
302
|
+
</xsl:call-template>
|
303
|
+
|
304
|
+
</table>
|
305
|
+
</div>
|
306
|
+
|
307
|
+
</xsl:template>
|
308
|
+
|
309
|
+
|
310
|
+
<!-- 'dataQualityInfo block -->
|
311
|
+
<xsl:template match="gmd:contentInfo">
|
312
|
+
<div class="captioneddiv">
|
313
|
+
<h3>Content information</h3>
|
314
|
+
<!-- Raster info -->
|
315
|
+
<xsl:apply-templates select="./gmd:MD_ImageDescription"/>
|
316
|
+
<!-- Vector info -->
|
317
|
+
</div>
|
318
|
+
</xsl:template>
|
319
|
+
|
320
|
+
<xsl:template match="gmd:MD_ImageDescription">
|
321
|
+
<table class="meta"><tr></tr>
|
322
|
+
<xsl:call-template name="tablerow">
|
323
|
+
<xsl:with-param name="cname" select="'Content type'"/>
|
324
|
+
<xsl:with-param name="cvalue" select="./gmd:contentType/gmd:MD_CoverageContentTypeCode"/>
|
325
|
+
</xsl:call-template>
|
326
|
+
|
327
|
+
<xsl:choose>
|
328
|
+
<xsl:when test="./gmd:dimension/gmd:MD_Band">
|
329
|
+
<tr>
|
330
|
+
<td class="meta-param">Bands:</td>
|
331
|
+
<td class="meta-value">
|
332
|
+
<xsl:apply-templates select="./gmd:dimension/gmd:MD_Band"/>
|
333
|
+
</td>
|
334
|
+
</tr>
|
335
|
+
</xsl:when>
|
336
|
+
<xsl:otherwise>
|
337
|
+
</xsl:otherwise>
|
338
|
+
</xsl:choose>
|
339
|
+
|
340
|
+
</table>
|
341
|
+
</xsl:template>
|
342
|
+
|
343
|
+
|
344
|
+
<!-- Band info -->
|
345
|
+
<xsl:template match="gmd:MD_Band">
|
346
|
+
<div class="captioneddiv">
|
347
|
+
<table >
|
348
|
+
<xsl:call-template name="tablerow">
|
349
|
+
<xsl:with-param name="cname" select="'Min value'"/>
|
350
|
+
<xsl:with-param name="cvalue" select="./gmd:minValue/gco:Real"/>
|
351
|
+
</xsl:call-template>
|
352
|
+
|
353
|
+
<xsl:call-template name="tablerow">
|
354
|
+
<xsl:with-param name="cname" select="'Max value'"/>
|
355
|
+
<xsl:with-param name="cvalue" select="./gmd:maxValue/gco:Real"/>
|
356
|
+
</xsl:call-template>
|
357
|
+
|
358
|
+
<xsl:call-template name="tablerow">
|
359
|
+
<xsl:with-param name="cname" select="'Bits per value'"/>
|
360
|
+
<xsl:with-param name="cvalue" select="./gmd:bitsPerValue/gco:Integer"/>
|
361
|
+
</xsl:call-template>
|
362
|
+
</table>
|
363
|
+
</div>
|
364
|
+
</xsl:template>
|
365
|
+
|
366
|
+
|
367
|
+
<!-- 'License info' block -->
|
368
|
+
<xsl:template match="gmd:MD_LegalConstraints">
|
369
|
+
<xsl:if test="./gmd:useLimitation/gco:CharacterString">
|
370
|
+
<div class="captioneddiv">
|
371
|
+
<h3>Constraints</h3>
|
372
|
+
<table class="meta"><tr></tr>
|
373
|
+
<xsl:call-template name="tablerow">
|
374
|
+
<xsl:with-param name="cname" select="'Constraint type'"/>
|
375
|
+
<xsl:with-param name="cvalue" select="./gmd:useConstraints/gmd:MD_RestrictionCode"/>
|
376
|
+
</xsl:call-template>
|
377
|
+
<xsl:call-template name="tablerow">
|
378
|
+
<xsl:with-param name="cname" select="'Constraint text'"/>
|
379
|
+
<xsl:with-param name="cvalue" select="./gmd:useLimitation/gco:CharacterString"/>
|
380
|
+
</xsl:call-template>
|
381
|
+
</table>
|
382
|
+
</div>
|
383
|
+
</xsl:if>
|
384
|
+
</xsl:template>
|
385
|
+
|
386
|
+
<!-- 'Identification->Point of Contact' block -->
|
387
|
+
<xsl:template match="gmd:pointOfContact">
|
388
|
+
<div class="captioneddiv">
|
389
|
+
<h3>Point of Contact</h3>
|
390
|
+
<table class="meta">
|
391
|
+
<tr>
|
392
|
+
<td class="meta" valign="top">
|
393
|
+
<table class="meta">
|
394
|
+
<tr></tr>
|
395
|
+
<xsl:call-template name="tablerow">
|
396
|
+
<xsl:with-param name="cname" select="'Individual name'"/>
|
397
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:individualName/gco:CharacterString"/>
|
398
|
+
</xsl:call-template>
|
399
|
+
<xsl:call-template name="tablerow">
|
400
|
+
<xsl:with-param name="cname" select="'Organisation name'"/>
|
401
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:organisationName/gco:CharacterString"/>
|
402
|
+
</xsl:call-template>
|
403
|
+
<xsl:call-template name="tablerow">
|
404
|
+
<xsl:with-param name="cname" select="'Position'"/>
|
405
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:positionName/gco:CharacterString"/>
|
406
|
+
</xsl:call-template>
|
407
|
+
<xsl:call-template name="tablerow">
|
408
|
+
<xsl:with-param name="cname" select="'Role'"/>
|
409
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:role/gmd:CI_RoleCode/@codeListValue"/>
|
410
|
+
</xsl:call-template>
|
411
|
+
</table>
|
412
|
+
</td>
|
413
|
+
<td class="meta" valign="top">
|
414
|
+
<table class="meta">
|
415
|
+
<tr></tr>
|
416
|
+
<xsl:call-template name="tablerow">
|
417
|
+
<xsl:with-param name="cname" select="'Voice'"/>
|
418
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:phone/gmd:CI_Telephone/gmd:voice/gco:CharacterString"/>
|
419
|
+
</xsl:call-template>
|
420
|
+
<xsl:call-template name="tablerow">
|
421
|
+
<xsl:with-param name="cname" select="'Facsimile'"/>
|
422
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:phone/gmd:CI_Telephone/gmd:facsimile/gco:CharacterString"/>
|
423
|
+
</xsl:call-template>
|
424
|
+
<xsl:call-template name="tablerow">
|
425
|
+
<xsl:with-param name="cname" select="'Delivery Point'"/>
|
426
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:deliveryPoint/gco:CharacterString"/>
|
427
|
+
</xsl:call-template>
|
428
|
+
<xsl:call-template name="tablerow">
|
429
|
+
<xsl:with-param name="cname" select="'City'"/>
|
430
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:city/gco:CharacterString"/>
|
431
|
+
</xsl:call-template>
|
432
|
+
<xsl:call-template name="tablerow">
|
433
|
+
<xsl:with-param name="cname" select="'Postal code'"/>
|
434
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:postalCode/gco:CharacterString"/>
|
435
|
+
</xsl:call-template>
|
436
|
+
<xsl:call-template name="tablerow">
|
437
|
+
<xsl:with-param name="cname" select="'Country'"/>
|
438
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:country/gco:CharacterString"/>
|
439
|
+
</xsl:call-template>
|
440
|
+
<xsl:call-template name="tablerow">
|
441
|
+
<xsl:with-param name="cname" select="'Email'"/>
|
442
|
+
<xsl:with-param name="cvalue" select="./gmd:CI_ResponsibleParty/gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress/gco:CharacterString"/>
|
443
|
+
</xsl:call-template>
|
444
|
+
</table>
|
445
|
+
</td>
|
446
|
+
</tr>
|
447
|
+
</table>
|
448
|
+
</div>
|
449
|
+
</xsl:template>
|
450
|
+
|
451
|
+
|
452
|
+
<!-- 'Identification->Geographic box' block -->
|
453
|
+
<xsl:template match="gmd:extent">
|
454
|
+
<xsl:if test="./gmd:EX_Extent/gmd:geographicElement">
|
455
|
+
<div class="captioneddiv">
|
456
|
+
<h3>Geographic box</h3>
|
457
|
+
<br/>
|
458
|
+
<table class="meta" width="100%" align="center">
|
459
|
+
<tr></tr>
|
460
|
+
<tr>
|
461
|
+
<td></td>
|
462
|
+
<td class="meta-param" align="center">
|
463
|
+
North bound latitude<br/>
|
464
|
+
<font color="#000000">
|
465
|
+
<xsl:value-of select="./gmd:EX_Extent/gmd:geographicElement/gmd:EX_GeographicBoundingBox/gmd:northBoundLatitude/gco:Decimal"/>
|
466
|
+
</font>
|
467
|
+
</td>
|
468
|
+
<td></td>
|
469
|
+
</tr>
|
470
|
+
<tr>
|
471
|
+
<td class="meta-param" align="center">
|
472
|
+
West bound longitude<br/>
|
473
|
+
<font color="#000000">
|
474
|
+
<xsl:value-of select="./gmd:EX_Extent/gmd:geographicElement/gmd:EX_GeographicBoundingBox/gmd:westBoundLongitude/gco:Decimal"/>
|
475
|
+
</font>
|
476
|
+
</td>
|
477
|
+
<td></td>
|
478
|
+
<td class="meta-param" align="center">
|
479
|
+
East bound longitude<br/>
|
480
|
+
<font color="#000000">
|
481
|
+
<xsl:value-of select="./gmd:EX_Extent/gmd:geographicElement/gmd:EX_GeographicBoundingBox/gmd:eastBoundLongitude/gco:Decimal"/>
|
482
|
+
</font>
|
483
|
+
</td>
|
484
|
+
</tr>
|
485
|
+
<tr>
|
486
|
+
<td></td>
|
487
|
+
<td class="meta-param" align="center">
|
488
|
+
South bound latitude<br/>
|
489
|
+
<font color="#000000">
|
490
|
+
<xsl:value-of select="./gmd:EX_Extent/gmd:geographicElement/gmd:EX_GeographicBoundingBox/gmd:southBoundLatitude/gco:Decimal"/>
|
491
|
+
</font>
|
492
|
+
</td>
|
493
|
+
<td></td>
|
494
|
+
</tr>
|
495
|
+
</table>
|
496
|
+
</div>
|
497
|
+
</xsl:if>
|
498
|
+
</xsl:template>
|
499
|
+
|
500
|
+
<!-- 'Distribution Info' block -->
|
501
|
+
<xsl:template match="gmd:MD_Distribution">
|
502
|
+
<div class="captioneddiv">
|
503
|
+
<h3>Distribution info</h3>
|
504
|
+
<table class="meta">
|
505
|
+
<tr></tr>
|
506
|
+
<xsl:for-each select="gmd:transferOptions/gmd:MD_DigitalTransferOptions/gmd:onLine/gmd:CI_OnlineResource">
|
507
|
+
<xsl:choose>
|
508
|
+
<xsl:when test="starts-with(./gmd:protocol/gco:CharacterString,'WWW:DOWNLOAD-') and contains(./gmd:protocol/gco:CharacterString,'http--download') and ./gmd:name/gco:CharacterString">
|
509
|
+
<tr>
|
510
|
+
<td class="meta-param">Download:</td>
|
511
|
+
<td class="meta-value">
|
512
|
+
<a>
|
513
|
+
<xsl:attribute name="href">
|
514
|
+
<xsl:value-of select="gmd:linkage/gmd:URL"/>
|
515
|
+
</xsl:attribute>
|
516
|
+
<xsl:value-of select="gmd:name/gco:CharacterString"/>
|
517
|
+
</a>
|
518
|
+
</td>
|
519
|
+
</tr>
|
520
|
+
</xsl:when>
|
521
|
+
<xsl:when test="starts-with(./gmd:protocol/gco:CharacterString,'ESRI:AIMS-') and contains(./gmd:protocol/gco:CharacterString,'-get-image') and ./gmd:name/gco:CharacterString">
|
522
|
+
<tr>
|
523
|
+
<td class="meta-param">Esri ArcIms:</td>
|
524
|
+
<td class="meta-value">
|
525
|
+
<a>
|
526
|
+
<xsl:attribute name="href">
|
527
|
+
<xsl:value-of select="gmd:linkage/gmd:URL"/>
|
528
|
+
</xsl:attribute>
|
529
|
+
<xsl:value-of select="gmd:name/gco:CharacterString"/>
|
530
|
+
</a>
|
531
|
+
</td>
|
532
|
+
</tr>
|
533
|
+
</xsl:when>
|
534
|
+
<xsl:when test="starts-with(./gmd:protocol/gco:CharacterString,'OGC:WMS-') and contains(./gmd:protocol/gco:CharacterString,'-get-capabilities') and ./gmd:name/gco:CharacterString">
|
535
|
+
<tr>
|
536
|
+
<td class="meta-param">OGC-WMS Capabilities:</td>
|
537
|
+
<td class="meta-value">
|
538
|
+
<a>
|
539
|
+
<xsl:attribute name="href">
|
540
|
+
<xsl:value-of select="gmd:linkage/gmd:URL"/>
|
541
|
+
</xsl:attribute>
|
542
|
+
<xsl:value-of select="gmd:name/gco:CharacterString"/>
|
543
|
+
</a>
|
544
|
+
</td>
|
545
|
+
</tr>
|
546
|
+
</xsl:when>
|
547
|
+
</xsl:choose>
|
548
|
+
</xsl:for-each>
|
549
|
+
</table>
|
550
|
+
</div>
|
551
|
+
</xsl:template>
|
552
|
+
|
553
|
+
</xsl:stylesheet>
|