Hi Team,
When I harvest the SOS ( http://kiwis.kisters.de/KiWIS/KiWIS?datasource=3&request=GetCapabilities&service=SOS&version=2.0.0 ) using GeoNetwork 2.10.10, It has some problem ton convert SOS to ISO 19139 as below. I am wondering if the problem can be fixed by modifying the OGCSOSGetCapabilitiesLayer-to-19139.xsl
2013-10-21 12:30:44,359 WARN [geonetwork.harvester] - Raised exception while ha
rvesting from : kiwis (OgcWxSHarvester)
2013-10-21 12:30:44,359 WARN [geonetwork.harvester] - (C) Class : IllegalSta
teException
2013-10-21 12:30:44,360 WARN [geonetwork.harvester] - (C) Message : Root eleme
nt not set
java.lang.IllegalStateException: Root element not set
at org.jdom.Document.getRootElement(Document.java:218)
at jeeves.utils.Xml.transform(Xml.java:401)
at org.fao.geonet.kernel.harvest.harvester.ogcwxs.Harvester.addMetadata(
Harvester.java:284)
at org.fao.geonet.kernel.harvest.harvester.ogcwxs.Harvester.harvest(Harv
ester.java:233)
at org.fao.geonet.kernel.harvest.harvester.ogcwxs.OgcWxSHarvester.doHarv
est(OgcWxSHarvester.java:227)
at org.fao.geonet.kernel.harvest.harvester.AbstractHarvester$HarvestWith
IndexProcessor.process(AbstractHarvester.java:400)
at org.fao.geonet.kernel.harvest.harvester.AbstractHarvester.harvest(Abs
tractHarvester.java:470)
at org.fao.geonet.kernel.harvest.harvester.HarvesterJob.execute(Harveste
rJob.java:29)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:557)
Thanks and best regards,
Kai Liu
Ph.D. student
Department of Geography and GeoInformation Science
George Mason University
Thanks, Francois
Kai Liu
Ph.D. student
Department of Geography and GeoInformation Science
George Mason University
···
2013/10/21 Kai Liu <kliu.gis@anonymised.com>
Hi Team,
When I harvest the SOS ( http://kiwis.kisters.de/KiWIS/KiWIS?datasource=3&request=GetCapabilities&service=SOS&version=2.0.0 ) using GeoNetwork 2.10.10, It has some problem ton convert SOS to ISO 19139 as below. I am wondering if the problem can be fixed by modifying the OGCSOSGetCapabilitiesLayer-to-19139.xsl
Only SOS 1.0.0 is supported. I opened an issue with your request https://github.com/geonetwork/core-geonetwork/issues/283
SOS 2.0.0 namespace should be added and managed in OGCSOSGetCapabilitiesLayer-to-19139.xsl and also in Harvester.java for ogcwxs in order to retrieve ObservationOffering.
HTH.
Francois
2013-10-21 12:30:44,359 WARN [geonetwork.harvester] - Raised exception while ha
rvesting from : kiwis (OgcWxSHarvester)
2013-10-21 12:30:44,359 WARN [geonetwork.harvester] - (C) Class : IllegalSta
teException
2013-10-21 12:30:44,360 WARN [geonetwork.harvester] - (C) Message : Root eleme
nt not set
java.lang.IllegalStateException: Root element not set
at org.jdom.Document.getRootElement(Document.java:218)
at jeeves.utils.Xml.transform(Xml.java:401)
at org.fao.geonet.kernel.harvest.harvester.ogcwxs.Harvester.addMetadata(
Harvester.java:284)
at org.fao.geonet.kernel.harvest.harvester.ogcwxs.Harvester.harvest(Harv
ester.java:233)
at org.fao.geonet.kernel.harvest.harvester.ogcwxs.OgcWxSHarvester.doHarv
est(OgcWxSHarvester.java:227)
at org.fao.geonet.kernel.harvest.harvester.AbstractHarvester$HarvestWith
IndexProcessor.process(AbstractHarvester.java:400)
at org.fao.geonet.kernel.harvest.harvester.AbstractHarvester.harvest(Abs
tractHarvester.java:470)
at org.fao.geonet.kernel.harvest.harvester.HarvesterJob.execute(Harveste
rJob.java:29)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:557)
Thanks and best regards,
Kai Liu
Ph.D. student
Department of Geography and GeoInformation Science
George Mason University
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork