Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion API/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ To get a graph of the soil with the full name __Soils/Africa/Generic/Clay_Deep_

To get a Google Earth KMZ spatial layer of soils for a country:

```https://apsoil.apsim.info/xml/search?country=Australia&output=KML```
```https://apsoil.apsim.info/search?country=Australia&output=KML```
4 changes: 2 additions & 2 deletions API/Services/KML.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ private static Placemark ToPlacemark(this Models.Soil soil)
{
Text = $"<p><b>{soil.Name}</b></p>" +
$"<p>{soil.DataSource}</p>" +
$"<a href=\"https://apsoil.apsim.info/xml/search?FullName={soil.FullName}&output=FullSoil\">Download soil</a></p>" +
$"<img src=\"https://apsoil.apsim.info/xml/graph?FullName={soil.FullName}\" width=\"300\" height=\"400\"/><p>"
$"<a href=\"https://apsoil.apsim.info/search?FullName={soil.FullName}&output=FullSoil\">Download soil</a></p>" +
$"<img src=\"https://apsoil.apsim.info/graph?FullName={soil.FullName}\" width=\"300\" height=\"400\"/><p>"
}
};
}
Expand Down