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
data/solr/dev.html
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title></title>
|
5
|
+
</head>
|
6
|
+
<body id="dev" onload="">
|
7
|
+
<form action="http://ogpapp-dev.stanford.edu/solr/ogp/select" method="get" accept-charset="utf-8">
|
8
|
+
<p>
|
9
|
+
<input type="text" name="q" value="LayerDisplayName:*" id=""> e.g., LayerDisplayName:oil, Institution:Stanford, Abstract:India
|
10
|
+
</p>
|
11
|
+
<p>
|
12
|
+
<label for="number_of_records">Number of records</label><input type="text" name="rows" value="10">
|
13
|
+
</p><input type="hidden" name="wt" value="xml"> <input type="hidden" name="indent" value="on">
|
14
|
+
<p>
|
15
|
+
<input type="submit">
|
16
|
+
</p>
|
17
|
+
</form>
|
18
|
+
</body>
|
19
|
+
</html>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<schema name="GeoBlacklight" version="1.5">
|
3
|
+
<uniqueKey>id</uniqueKey>
|
4
|
+
<fields>
|
5
|
+
<field name="_version_" type="long" stored="true" indexed="true" multiValued="false"/>
|
6
|
+
<field name="timestamp" type="date" stored="true" indexed="true" multiValued="false" default="NOW"/>
|
7
|
+
<field name="id" type="string" stored="true" indexed="true" multiValued="false" required="true"/>
|
8
|
+
<field name="druid" type="string" stored="true" indexed="true" multiValued="false" required="true"/>
|
9
|
+
<field name="text" type="text" stored="false" indexed="true" multiValued="false" required="true"/>
|
10
|
+
<dynamicField name="*_t" type="text"/>
|
11
|
+
<dynamicField name="*_s" type="string"/>
|
12
|
+
<dynamicField name="*_i" type="int"/>
|
13
|
+
<dynamicField name="*_l" type="long"/>
|
14
|
+
<dynamicField name="*_f" type="double"/>
|
15
|
+
<dynamicField name="*_dt" type="date"/>
|
16
|
+
|
17
|
+
<!-- Spatial field types:
|
18
|
+
|
19
|
+
Solr3:
|
20
|
+
<field name="my_point">83.1,-117.312</field>
|
21
|
+
as (y,x)
|
22
|
+
|
23
|
+
<field name="my_location">83.1,-117.312</field>
|
24
|
+
as (y,x)
|
25
|
+
|
26
|
+
Solr4:
|
27
|
+
<field name="my_geohash">u4pruydqqvj</field>
|
28
|
+
see http://en.wikipedia.org/wiki/Geohash
|
29
|
+
|
30
|
+
<field name="my_bbox">-117.312 83.1 -115.39 84.31</field>
|
31
|
+
as (minx miny maxx maxy)
|
32
|
+
|
33
|
+
<field name="my_polygon">POLYGON((-117.312 83.1, -117.312 84.31, ...))</field>
|
34
|
+
as WKT which requires JTS installed
|
35
|
+
-->
|
36
|
+
<dynamicField name="*_latlon" type="location" stored="true" indexed="true" multiValued="false"/>
|
37
|
+
<dynamicField name="*_pt" type="location_rpt" stored="true" indexed="true" multiValued="false"/>
|
38
|
+
<dynamicField name="*_bbox" type="location_rpt" stored="true" indexed="true" multiValued="false"/>
|
39
|
+
<dynamicField name="*_polygon" type="location_rpt" stored="true" indexed="true" multiValued="false"/>
|
40
|
+
</fields>
|
41
|
+
<types>
|
42
|
+
<fieldType name="int" class="solr.TrieIntField" precisionStep="0" positionIncrementGap="0"/>
|
43
|
+
<fieldType name="long" class="solr.TrieLongField" precisionStep="0" positionIncrementGap="0"/>
|
44
|
+
<fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" positionIncrementGap="0"/>
|
45
|
+
<fieldType name="string" class="solr.StrField" sortMissingLast="true"/>
|
46
|
+
<fieldType name="date" class="solr.TrieDateField" precisionStep="0" positionIncrementGap="0"/>
|
47
|
+
<fieldType name="text" class="solr.TextField" omitNorms="false"/>
|
48
|
+
|
49
|
+
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_f"/>
|
50
|
+
<fieldType name="location_rpt" class="solr.SpatialRecursivePrefixTreeFieldType"
|
51
|
+
spatialContextFactory="com.spatial4j.core.context.jts.JtsSpatialContextFactory"
|
52
|
+
geo="true" distErrPct="0.025" maxDistErr="0.000009" units="degrees"/>
|
53
|
+
</types>
|
54
|
+
</schema>
|
@@ -0,0 +1,156 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<config>
|
3
|
+
<luceneMatchVersion>LUCENE_42</luceneMatchVersion>
|
4
|
+
<lib dir="../../../contrib/extraction/lib" regex=".*\.jar"/>
|
5
|
+
<lib dir="../../../dist/" regex="solr-cell-\d.*\.jar"/>
|
6
|
+
<lib dir="../../../contrib/clustering/lib/" regex=".*\.jar"/>
|
7
|
+
<lib dir="../../../dist/" regex="solr-clustering-\d.*\.jar"/>
|
8
|
+
<lib dir="../../../contrib/langid/lib/" regex=".*\.jar"/>
|
9
|
+
<lib dir="../../../dist/" regex="solr-langid-\d.*\.jar"/>
|
10
|
+
<lib dir="../../../contrib/velocity/lib" regex=".*\.jar"/>
|
11
|
+
<lib dir="../../../dist/" regex="solr-velocity-\d.*\.jar"/>
|
12
|
+
<dataDir>${solr.data.dir:}</dataDir>
|
13
|
+
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/>
|
14
|
+
<codecFactory class="solr.SchemaCodecFactory"/>
|
15
|
+
<indexConfig>
|
16
|
+
<lockType>${solr.lock.type:native}</lockType>
|
17
|
+
</indexConfig>
|
18
|
+
<jmx/>
|
19
|
+
<updateHandler class="solr.DirectUpdateHandler2">
|
20
|
+
<updateLog>
|
21
|
+
<str name="dir">${solr.ulog.dir:}</str>
|
22
|
+
</updateLog>
|
23
|
+
<autoCommit>
|
24
|
+
<maxTime>15000</maxTime>
|
25
|
+
<openSearcher>false</openSearcher>
|
26
|
+
</autoCommit>
|
27
|
+
</updateHandler>
|
28
|
+
<query>
|
29
|
+
<maxBooleanClauses>1024</maxBooleanClauses>
|
30
|
+
<filterCache class="solr.FastLRUCache" size="512" initialSize="512" autowarmCount="0"/>
|
31
|
+
<queryResultCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0"/>
|
32
|
+
<documentCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0"/>
|
33
|
+
<enableLazyFieldLoading>true</enableLazyFieldLoading>
|
34
|
+
<queryResultWindowSize>20</queryResultWindowSize>
|
35
|
+
<queryResultMaxDocsCached>200</queryResultMaxDocsCached>
|
36
|
+
<listener event="newSearcher" class="solr.QuerySenderListener">
|
37
|
+
<arr name="queries">
|
38
|
+
</arr>
|
39
|
+
</listener>
|
40
|
+
<listener event="firstSearcher" class="solr.QuerySenderListener">
|
41
|
+
<arr name="queries">
|
42
|
+
<lst>
|
43
|
+
<str name="q">static firstSearcher warming in solrconfig.xml</str>
|
44
|
+
</lst>
|
45
|
+
</arr>
|
46
|
+
</listener>
|
47
|
+
<useColdSearcher>false</useColdSearcher>
|
48
|
+
<maxWarmingSearchers>2</maxWarmingSearchers>
|
49
|
+
</query>
|
50
|
+
<requestDispatcher handleSelect="false">
|
51
|
+
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048000" formdataUploadLimitInKB="2048"/>
|
52
|
+
<httpCaching never304="true"/>
|
53
|
+
</requestDispatcher>
|
54
|
+
<requestHandler name="/select" class="solr.SearchHandler">
|
55
|
+
<lst name="defaults">
|
56
|
+
<str name="echoParams">explicit</str>
|
57
|
+
<int name="rows">10</int>
|
58
|
+
<str name="df">text</str>
|
59
|
+
</lst>
|
60
|
+
</requestHandler>
|
61
|
+
<!-- A request handler that returns indented JSON by default -->
|
62
|
+
<requestHandler name="/query" class="solr.SearchHandler">
|
63
|
+
<lst name="defaults">
|
64
|
+
<str name="echoParams">explicit</str>
|
65
|
+
<str name="wt">json</str>
|
66
|
+
<str name="indent">true</str>
|
67
|
+
<str name="df">text</str>
|
68
|
+
</lst>
|
69
|
+
</requestHandler>
|
70
|
+
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
71
|
+
<lst name="defaults">
|
72
|
+
<str name="omitHeader">true</str>
|
73
|
+
<str name="wt">json</str>
|
74
|
+
<str name="indent">true</str>
|
75
|
+
</lst>
|
76
|
+
</requestHandler>
|
77
|
+
<requestHandler name="/update" class="solr.UpdateRequestHandler">
|
78
|
+
</requestHandler>
|
79
|
+
<!-- for back compat with clients using /update/json and /update/csv -->
|
80
|
+
<requestHandler name="/update/json" class="solr.JsonUpdateRequestHandler">
|
81
|
+
<lst name="defaults">
|
82
|
+
<str name="stream.contentType">application/json</str>
|
83
|
+
</lst>
|
84
|
+
</requestHandler>
|
85
|
+
<requestHandler name="/update/csv" class="solr.CSVRequestHandler">
|
86
|
+
<lst name="defaults">
|
87
|
+
<str name="stream.contentType">application/csv</str>
|
88
|
+
</lst>
|
89
|
+
</requestHandler>
|
90
|
+
<requestHandler name="/update/extract" startup="lazy" class="solr.extraction.ExtractingRequestHandler">
|
91
|
+
<lst name="defaults">
|
92
|
+
<str name="lowernames">true</str>
|
93
|
+
<str name="uprefix">ignored_</str>
|
94
|
+
<!-- capture link hrefs but ignore div attributes -->
|
95
|
+
<str name="captureAttr">true</str>
|
96
|
+
<str name="fmap.a">links</str>
|
97
|
+
<str name="fmap.div">ignored_</str>
|
98
|
+
</lst>
|
99
|
+
</requestHandler>
|
100
|
+
<requestHandler name="/analysis/field" startup="lazy" class="solr.FieldAnalysisRequestHandler"/>
|
101
|
+
<requestHandler name="/analysis/document" class="solr.DocumentAnalysisRequestHandler" startup="lazy"/>
|
102
|
+
<!-- Admin Handlers
|
103
|
+
|
104
|
+
Admin Handlers - This will register all the standard admin
|
105
|
+
RequestHandlers.
|
106
|
+
-->
|
107
|
+
<requestHandler name="/admin/" class="solr.admin.AdminHandlers"/>
|
108
|
+
<!-- ping/healthcheck -->
|
109
|
+
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
|
110
|
+
<lst name="invariants">
|
111
|
+
<str name="q">solrpingquery</str>
|
112
|
+
</lst>
|
113
|
+
<lst name="defaults">
|
114
|
+
<str name="echoParams">all</str>
|
115
|
+
</lst>
|
116
|
+
</requestHandler>
|
117
|
+
<!-- Echo the request contents back to the client -->
|
118
|
+
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler">
|
119
|
+
<lst name="defaults">
|
120
|
+
<str name="echoParams">explicit</str>
|
121
|
+
<str name="echoHandler">true</str>
|
122
|
+
</lst>
|
123
|
+
</requestHandler>
|
124
|
+
<requestHandler name="/replication" class="solr.ReplicationHandler">
|
125
|
+
</requestHandler>
|
126
|
+
<searchComponent name="tvComponent" class="solr.TermVectorComponent"/>
|
127
|
+
<!-- Terms Component
|
128
|
+
|
129
|
+
http://wiki.apache.org/solr/TermsComponent
|
130
|
+
|
131
|
+
A component to return terms and document frequency of those
|
132
|
+
terms
|
133
|
+
-->
|
134
|
+
<searchComponent name="terms" class="solr.TermsComponent"/>
|
135
|
+
<queryResponseWriter name="json" class="solr.JSONResponseWriter">
|
136
|
+
<!-- For the purposes of the tutorial, JSON responses are written as
|
137
|
+
plain text so that they are easy to read in *any* browser.
|
138
|
+
If you expect a MIME type of "application/json" just remove this override.
|
139
|
+
-->
|
140
|
+
<str name="content-type">text/plain; charset=UTF-8</str>
|
141
|
+
</queryResponseWriter>
|
142
|
+
<!--
|
143
|
+
Custom response writers can be declared as needed...
|
144
|
+
-->
|
145
|
+
<queryResponseWriter name="velocity" class="solr.VelocityResponseWriter" startup="lazy"/>
|
146
|
+
<!-- XSLT response writer transforms the XML output by any xslt file found
|
147
|
+
in Solr's conf/xslt directory. Changes to xslt files are checked for
|
148
|
+
every xsltCacheLifetimeSeconds.
|
149
|
+
-->
|
150
|
+
<queryResponseWriter name="xslt" class="solr.XSLTResponseWriter">
|
151
|
+
<int name="xsltCacheLifetimeSeconds">5</int>
|
152
|
+
</queryResponseWriter>
|
153
|
+
<admin>
|
154
|
+
<defaultQuery>*:*</defaultQuery>
|
155
|
+
</admin>
|
156
|
+
</config>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
c=dlss-dev-drh-geo-201306
|
3
|
+
d=/home/drh/dlss-dev-drh-geo
|
4
|
+
n=3
|
5
|
+
cd $d/conf || exit -1
|
6
|
+
|
7
|
+
java -cp "/usr/share/tomcat6/webapps/solr/WEB-INF/lib/*" \
|
8
|
+
org.apache.solr.cloud.ZkCLI -cmd upconfig -zkhost 127.0.0.1:2181 \
|
9
|
+
-confdir . -confname $c \
|
10
|
+
-solrhome /home/lyberadmin/solr-home
|
11
|
+
|
12
|
+
set -x
|
13
|
+
curl "http://127.0.0.1:8080/solr/admin/collections?action=DELETE&name=${c}"
|
14
|
+
sleep 5
|
15
|
+
curl "http://127.0.0.1:8080/solr/admin/collections?action=CREATE&name=${c}&numShards=1&replicationFactor=${n}"
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<add>
|
3
|
+
<doc>
|
4
|
+
<field name="id">http://purl.stanford.edu/cs838pw3418</field>
|
5
|
+
<field name="druid">cs838pw3418</field>
|
6
|
+
<field name="text">Oil and Gas Fields in the United States, 2011;
|
7
|
+
Shows the locations and extents of oil and gas fields in the United States;
|
8
|
+
Locating and analysing United States oil and gas field data for use in geographic information systems.</field>
|
9
|
+
<field name="file_id_s">BBF1AEBF-51A8-46CD-8913-95B63390A2D0</field>
|
10
|
+
<field name="format_s">Shapefile</field>
|
11
|
+
<field name="language_s">eng</field>
|
12
|
+
<field name="year_i">2011</field>
|
13
|
+
<field name="title_t">Oil and Gas Fields in the United States, 2011</field>
|
14
|
+
<field name="abstract_t">Shows the locations and extents of oil and gas fields in the United States</field>
|
15
|
+
<field name="purpose_t">Locating and analysing United States oil and gas field data for use in geographic information systems.</field>
|
16
|
+
<field name="geo_latlon">47.7521225,-114.7822255</field>
|
17
|
+
<field name="geo_sw_latlon">26.071745,-151.479444</field>
|
18
|
+
<field name="geo_ne_latlon">69.4325,-78.085007</field>
|
19
|
+
<field name="geo_sw_pt">-151.479444 26.071745</field>
|
20
|
+
<field name="geo_ne_pt">-78.085007 69.4325</field>
|
21
|
+
<field name="geo_pt">POINT(-78.085007 69.4325)</field>
|
22
|
+
<field name="geo_bbox">POLYGON((-151 26, -151 69, -78 69, -78 26, -151 26))</field>
|
23
|
+
<field name="geo3_bbox">-151 26 -78 69</field>
|
24
|
+
</doc>
|
25
|
+
</add>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/bin/bash -x
|
2
|
+
c=dlss-dev-drh-geo # collection
|
3
|
+
h=localhost:8983 # jetty
|
4
|
+
# h=localhost:8080 # tomcat
|
5
|
+
#for f in example*.xml; do
|
6
|
+
find -L /var/geomdtk/current/workspace -name 'solr.xml' | while read f; do
|
7
|
+
curl -X POST \
|
8
|
+
-H 'Content-Type: text/xml' \
|
9
|
+
--data-binary @$f \
|
10
|
+
"http://${h}/solr/${c}/update?commit=true"
|
11
|
+
done
|
12
|
+
|
13
|
+
curl "http://${h}/solr/${c}/update?optimize=true"
|
14
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!-- The content of this page will be statically included into the top-
|
19
|
+
right box of the cores overview page. Uncomment this as an example to
|
20
|
+
see there the content will show up.
|
21
|
+
|
22
|
+
<img src="img/ico/construction.png"> This line will appear at the top-
|
23
|
+
right box on collection1's Overview
|
24
|
+
-->
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!-- admin-extra.menu-bottom.html -->
|
19
|
+
<!--
|
20
|
+
<li>
|
21
|
+
<a href="#" style="background-image: url(img/ico/construction.png);">
|
22
|
+
LAST ITEM
|
23
|
+
</a>
|
24
|
+
</li>
|
25
|
+
-->
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!-- admin-extra.menu-top.html -->
|
19
|
+
<!--
|
20
|
+
<li>
|
21
|
+
<a href="#" style="background-image: url(img/ico/construction.png);">
|
22
|
+
FIRST ITEM
|
23
|
+
</a>
|
24
|
+
</li>
|
25
|
+
-->
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<?xml version="1.0" ?>
|
2
|
+
<!--
|
3
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
4
|
+
contributor license agreements. See the NOTICE file distributed with
|
5
|
+
this work for additional information regarding copyright ownership.
|
6
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
7
|
+
(the "License"); you may not use this file except in compliance with
|
8
|
+
the License. You may obtain a copy of the License at
|
9
|
+
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
See the License for the specific language governing permissions and
|
16
|
+
limitations under the License.
|
17
|
+
-->
|
18
|
+
|
19
|
+
<!-- Example exchange rates file for CurrencyField type named "currency" in example schema -->
|
20
|
+
|
21
|
+
<currencyConfig version="1.0">
|
22
|
+
<rates>
|
23
|
+
<!-- Updated from http://www.exchangerate.com/ at 2011-09-27 -->
|
24
|
+
<rate from="USD" to="ARS" rate="4.333871" comment="ARGENTINA Peso" />
|
25
|
+
<rate from="USD" to="AUD" rate="1.025768" comment="AUSTRALIA Dollar" />
|
26
|
+
<rate from="USD" to="EUR" rate="0.743676" comment="European Euro" />
|
27
|
+
<rate from="USD" to="BRL" rate="1.881093" comment="BRAZIL Real" />
|
28
|
+
<rate from="USD" to="CAD" rate="1.030815" comment="CANADA Dollar" />
|
29
|
+
<rate from="USD" to="CLP" rate="519.0996" comment="CHILE Peso" />
|
30
|
+
<rate from="USD" to="CNY" rate="6.387310" comment="CHINA Yuan" />
|
31
|
+
<rate from="USD" to="CZK" rate="18.47134" comment="CZECH REP. Koruna" />
|
32
|
+
<rate from="USD" to="DKK" rate="5.515436" comment="DENMARK Krone" />
|
33
|
+
<rate from="USD" to="HKD" rate="7.801922" comment="HONG KONG Dollar" />
|
34
|
+
<rate from="USD" to="HUF" rate="215.6169" comment="HUNGARY Forint" />
|
35
|
+
<rate from="USD" to="ISK" rate="118.1280" comment="ICELAND Krona" />
|
36
|
+
<rate from="USD" to="INR" rate="49.49088" comment="INDIA Rupee" />
|
37
|
+
<rate from="USD" to="XDR" rate="0.641358" comment="INTNL MON. FUND SDR" />
|
38
|
+
<rate from="USD" to="ILS" rate="3.709739" comment="ISRAEL Sheqel" />
|
39
|
+
<rate from="USD" to="JPY" rate="76.32419" comment="JAPAN Yen" />
|
40
|
+
<rate from="USD" to="KRW" rate="1169.173" comment="KOREA (SOUTH) Won" />
|
41
|
+
<rate from="USD" to="KWD" rate="0.275142" comment="KUWAIT Dinar" />
|
42
|
+
<rate from="USD" to="MXN" rate="13.85895" comment="MEXICO Peso" />
|
43
|
+
<rate from="USD" to="NZD" rate="1.285159" comment="NEW ZEALAND Dollar" />
|
44
|
+
<rate from="USD" to="NOK" rate="5.859035" comment="NORWAY Krone" />
|
45
|
+
<rate from="USD" to="PKR" rate="87.57007" comment="PAKISTAN Rupee" />
|
46
|
+
<rate from="USD" to="PEN" rate="2.730683" comment="PERU Sol" />
|
47
|
+
<rate from="USD" to="PHP" rate="43.62039" comment="PHILIPPINES Peso" />
|
48
|
+
<rate from="USD" to="PLN" rate="3.310139" comment="POLAND Zloty" />
|
49
|
+
<rate from="USD" to="RON" rate="3.100932" comment="ROMANIA Leu" />
|
50
|
+
<rate from="USD" to="RUB" rate="32.14663" comment="RUSSIA Ruble" />
|
51
|
+
<rate from="USD" to="SAR" rate="3.750465" comment="SAUDI ARABIA Riyal" />
|
52
|
+
<rate from="USD" to="SGD" rate="1.299352" comment="SINGAPORE Dollar" />
|
53
|
+
<rate from="USD" to="ZAR" rate="8.329761" comment="SOUTH AFRICA Rand" />
|
54
|
+
<rate from="USD" to="SEK" rate="6.883442" comment="SWEDEN Krona" />
|
55
|
+
<rate from="USD" to="CHF" rate="0.906035" comment="SWITZERLAND Franc" />
|
56
|
+
<rate from="USD" to="TWD" rate="30.40283" comment="TAIWAN Dollar" />
|
57
|
+
<rate from="USD" to="THB" rate="30.89487" comment="THAILAND Baht" />
|
58
|
+
<rate from="USD" to="AED" rate="3.672955" comment="U.A.E. Dirham" />
|
59
|
+
<rate from="USD" to="UAH" rate="7.988582" comment="UKRAINE Hryvnia" />
|
60
|
+
<rate from="USD" to="GBP" rate="0.647910" comment="UNITED KINGDOM Pound" />
|
61
|
+
|
62
|
+
<!-- Cross-rates for some common currencies -->
|
63
|
+
<rate from="EUR" to="GBP" rate="0.869914" />
|
64
|
+
<rate from="EUR" to="NOK" rate="7.800095" />
|
65
|
+
<rate from="GBP" to="NOK" rate="8.966508" />
|
66
|
+
</rates>
|
67
|
+
</currencyConfig>
|