I am struggling to convert a KML file to a layer which can be read in GIS software.
The data is offshore geological data for the UK, which was downloaded from the onegeology.net portal as a kml (http://portal.onegeology.org/OnegeologyGlobal/). After isolating the KML layer of interest, the resulting file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<GroundOverlay>
<name>UKContShelf BGS 1:1M Seabed Sediments</name>
<Snippet maxLines="0"></Snippet>
<Icon>
<href>
http://ogc.bgs.ac.uk/cgi-bin/BGS_Bedrock_and_Superficial_Geology/wms?language=eng&&VERSION=1.3.0&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/png&width=1024&height=1024&STYLES=&TRANSPARENT=TRUE&CRS=CRS:84&LAYERS=UKCoShelf_BGS_1M_SBS&</href>
<viewRefreshMode>onStop</viewRefreshMode>
<viewRefreshTime>5</viewRefreshTime>
</Icon>
<LatLonBox>
<north>58.00648580063467</north>
<south>46.70507310978916</south>
<east>7.372255064920498</east>
<west>-13.20387175647202</west>
</LatLonBox>
</GroundOverlay>
</kml>
I can open the data in Google Earth, but it fails to convert to a GIS layer using ArcGIS KML To Layer (ERROR 000401: No features were found for processing).
I thought that perhaps the problem was that the underlying image to the KML file is stored online, and not locally. Hence, I tried to download it, using the URL in the KML and wget, with the aim of creating a new kml file for conversion in ArcGIS. The download process I followed is outlined in the following question: Saving MapServer output to file? However, it just downloads a blank white image, using the code below:
wget "http://ogc.bgs.ac.uk/cgi-bin/BGS_Bedrock_and_Superficial_Geology/wms?
language=eng&&VERSION=1.3.0&REQUEST=GetMap&SERVICE=WMS&
FORMAT=image/png&width=1024&height=1024&STYLES=&
TRANSPARENT=TRUE&CRS=CRS:84&LAYERS=UKCoShelf_BGS_1M_SBS&&mode=map" -O out.png
How can I convert the KML file into a GIS layer?