Soil Nitrate Monitoring Network
table.no3{
width: 99%;
}
table.no3, table.no3 td{
border: 1px solid #ccc;
border-collapse:collapse;
padding: 1px 0 1px 5px;
}
table.no3 th{
background-color: #595959;
color: #fff;
text-align:center;
}
td.shade{
background-color: #F0F0F0;
}
//<![CDATA[
function load() {
var map = new google.maps.Map(document.getElementById("map"), {
center: new google.maps.LatLng(43.87, -91.25),
zoom: 5,
mapTypeId: 'roadmap'
});
var infoWindow = new google.maps.InfoWindow;
var customIcons = {
pin: {
icon: 'http://labs.google.com/ridefinder/images/mm_20_red.png',
shadow: 'http://labs.google.com/ridefinder/images/mm_20_shadow.png'
}
};
// Change this depending on the name of your PHP file
downloadUrl("https://uwlab.soils.wisc.edu/wp-content/snm_files/create_markers_2.php", function(data) {
var xml = data.responseXML;
var markers = xml.documentElement.getElementsByTagName("marker");
for (var i = 0; i < markers.length; i++) {
var locid = markers[i].getAttribute("uid");
var town = markers[i].getAttribute("town");
var county = markers[i].getAttribute("county");
var state = markers[i].getAttribute("state");
var type = "pin";
var point = new google.maps.LatLng(
parseFloat(markers[i].getAttribute("lat")),
parseFloat(markers[i].getAttribute("lng")));
var html = "Map ID: ” + locid +”
Town: “+ town + “
County: ” + county;
var icon = customIcons[type] || {};
var marker = new google.maps.Marker({
map: map,
position: point,
icon: icon.icon,
shadow: icon.shadow
});
bindInfoWindow(marker, map, infoWindow, html);
}
});
}
function bindInfoWindow(marker, map, infoWindow, html) {
google.maps.event.addListener(marker, ‘click’, function() {
infoWindow.setContent(html);
infoWindow.open(map, marker);
});
}
function downloadUrl(url, callback) {
var request = window.ActiveXObject ?
new ActiveXObject(‘Microsoft.XMLHTTP’) :
new XMLHttpRequest;
request.onreadystatechange = function() {
if (request.readyState == 4) {
request.onreadystatechange = doNothing;
callback(request, request.status);
}
};
request.open(‘GET’, url, true);
request.send(null);
}
function doNothing() {}
//]]>
The soil nitrate monitoring network was set up to track fall and spring soil profile nitrate concentrations following the 2012 growing season. Nitrate remaining in the soil profile in the fall after harvest may be available for crops in 2013 if fall/winter precipitation is average or below average. Samples will be collected again in the spring. Check back for updated data. In Wisconsin 50 lb N/a in spring preplant soil profile samples is considered background. Thus, 50 lb N/a should be subtracted from spring profile nitrate concentrations to arrive at the N credit for the 2013 crop. For additional information contact your local extension educator.
Use the map and click the red map pins to discover the location information. Click the MapID in the pop-up box to see soil nitrate data for that location. To see data for up to two locations simultaneously, choose up to two locations in the select box(es) (ctrl+click or cmd+click for two), and click the “Fetch Data” button below.
<?php
echo "
“;
$choices = count($_GET[‘locationID’]);
if(empty($_GET)) {
echo “Select one or two locations”;
}
else if($choices > 2) {
echo “Select up to two locations only“;
}
else
{
echo “
Data item | First location information | Second location information |
---|---|---|
Map ID | “.$col1[‘uid’].” | “.$col2[‘uid’].” |
Town, State | “.$col1[‘town’].”, “.$col1[‘state’].” | “.$col2[‘town’].”, “.$col2[‘state’].” |
County | “.$col1[‘county’].” | “.$col2[‘county’].” |
Soil series | “.$col1[‘soil_series’].” | “.$col2[‘soil_series’].” |
Surface texture | “.$col1[‘surface_texture’].” | “.$col2[‘surface_texture’].” |
2012 corn crop yield | “.$col1[‘2012_corn_crop_yield’].” “.$col1[‘corn_crop_yield_units’].” | “.$col2[‘2012_corn_crop_yield’].” “.$col2[‘corn_crop_yield_units’].” |
Total fertilizer N rate applied | “.$col1[‘total_fert_n_rate_applied’].” lb N/a | “.$col2[‘total_fert_n_rate_applied’].” lb N/a |
Type of manure applied | “.$col1[‘type_manure_applied’].” | “.$col2[‘type_manure_applied’].” |
Rate of manure applied | “.$col1[‘rate_manure_applied’].” “.$col1[‘units_manure_application’].” | “.$col2[‘rate_manure_applied’].” “.$col2[‘units_manure_application’].” |
Units for manure application | “.$col1[‘units_manure_application’].” | “.$col2[‘units_manure_application’].” |
Precipitation 2012 season* | “.$col1[‘precip_season’].” | “.$col2[‘precip_season’].” |
Irrigation 2012 | “.$col1[‘irrigation’].” | “.$col2[‘irrigation’].” |
Fall sampling date | “.$col1[‘sampling_date_1’].” | “.$col2[‘sampling_date_1’].” |
0-1′ lb N/a | “.$col1[‘date_1_nitrate_0-1’].” | “.$col2[‘date_1_nitrate_0-1’].” |
1-2′ lb N/a | “.$col1[‘date_1_nitrate_1-2’].” | “.$col2[‘date_1_nitrate_1-2’].” |
2-3′ lb N/a | “.$col1[‘date_1_nitrate_2-3’].” | “.$col2[‘date_1_nitrate_2-3’].” |
0-2′ lb N/a | “.$col1[‘date_1_nitrate_0-2’].” | “.$col2[‘date_1_nitrate_0-2’].” |
0-3′ lb N/a | “.$col1[‘date_1_nitrate_0-3’].” | “.$col2[‘date_1_nitrate_0-3’].” |
Fall sampling date (#2) | “.$col1[‘sampling_date_1b’].” | “.$col2[‘sampling_date_1b’].” |
Precip between first and second fall sampling dates | “.$col1[‘precip_between_1-1b’].” | “.$col2[‘precip_between_1-1b’].” |
0-1′ lb N/a | “.$col1[‘date_1b_nitrate_0-1’].” | “.$col2[‘date_1b_nitrate_0-1’].” |
1-2′ lb N/a | “.$col1[‘date_1b_nitrate_1-2’].” | “.$col2[‘date_1b_nitrate_1-2’].” |
2-3′ lb N/a | “.$col1[‘date_1b_nitrate_2-3’].” | “.$col2[‘date_1b_nitrate_2-3’].” |
0-2′ lb N/a | “.$col1[‘date_1b_nitrate_0-2’].” | “.$col2[‘date_1b_nitrate_0-2’].” |
0-3′ lb N/a | “.$col1[‘date_1b_nitrate_0-3’].” | “.$col2[‘date_1b_nitrate_0-3’].” |
Spring 2013 sampling date | “.$col1[‘sampling_date_2’].” | “.$col2[‘sampling_date_2’].” |
Precip between fall & spring | “.$col1[‘precip_between_1-2’].” | “.$col2[‘precip_between_1-2’].” |
0-1′ lb N/a | “.$col1[‘date_2_nitrate_0-1’].” | “.$col2[‘date_2_nitrate_0-1’].” |
1-2′ lb N/a | “.$col1[‘date_2_nitrate_1-2’].” | “.$col2[‘date_2_nitrate_1-2’].” |
2-3′ lb N/a | “.$col1[‘date_2_nitrate_2-3’].” | “.$col2[‘date_2_nitrate_2-3’].” |
0-2′ lb N/a | “.$col1[‘date_2_nitrate_0-2’].” | “.$col2[‘date_2_nitrate_0-2’].” |
0-3′ lb N/a | “.$col1[‘date_2_nitrate_0-3’].” | “.$col2[‘date_2_nitrate_0-3’].” |
“;
} //end else
?>
“.” = not applicable or no data provided.
* = 2012 precipitation from thaw until first sampling in the fall.
Acknowledgements
Iowa: Samples were collected by Iowa State University Extension and Outreach Field Agronomists, ISU FARM Specialists, and Department of Agronomy Soil Fertility Research Staff. Soil sample analysis was made possible by GROWMARK, Inc.
Wisconsin: Soil samples were collected by UW-Extension and UW-Madison staff. Soil sample analysis was made possible by UW-Extension Ag and Natural Resources Program Area and the UW Soil and Forage Analysis Lab in Marshfield, WI.