<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Sustain. Food Syst.</journal-id>
<journal-title>Frontiers in Sustainable Food Systems</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Sustain. Food Syst.</abbrev-journal-title>
<issn pub-type="epub">2571-581X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fsufs.2019.00050</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Sustainable Food Systems</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Optimizing Nutrient Recycling From Excreta in Sweden and Pakistan: Higher Spatial Resolution Makes Transportation More Attractive</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Akram</surname> <given-names>Usman</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/545573/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Quttineh</surname> <given-names>Nils-Hassan</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/571970/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Wennergren</surname> <given-names>Uno</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/571972/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Tonderski</surname> <given-names>Karin</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/354565/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Metson</surname> <given-names>Genevi&#x000E8;ve S.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/262624/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Theoretical Biology, Department of Physics, Chemistry and Biology, Link&#x000F6;ping University</institution>, <addr-line>Link&#x000F6;ping</addr-line>, <country>Sweden</country></aff>
<aff id="aff2"><sup>2</sup><institution>Department of Mathematics (MAI)/Optimization (OPT), Link&#x000F6;ping University</institution>, <addr-line>Link&#x000F6;ping</addr-line>, <country>Sweden</country></aff>
<aff id="aff3"><sup>3</sup><institution>Biology, Department of Physics, Chemistry and Biology, Link&#x000F6;ping University</institution>, <addr-line>Link&#x000F6;ping</addr-line>, <country>Sweden</country></aff>
<aff id="aff4"><sup>4</sup><institution>Center for Climate Science and Policy Research, Link&#x000F6;ping University</institution>, <addr-line>Link&#x000F6;ping</addr-line>, <country>Sweden</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Maria Pilar Bernal, Center for Edaphology and Applied Biology of Segura, Spanish National Research Council (CSIC), Spain</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Jan Weijma, Wageningen University &#x00026; Research, Netherlands; Alfonso Jose Lag-Brotons, Lancaster Environment Centre, Lancaster University, United Kingdom; Rosanne Wielemaker, Wageningen University &#x00026; Research, Netherlands, in collaboration with reviewer JW</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Genevi&#x000E8;ve S. Metson <email>genevieve.metson&#x00040;liu.se</email></corresp>
<fn fn-type="other" id="fn001"><p>This article was submitted to Waste Management in Agroecosystems, a section of the journal Frontiers in Sustainable Food Systems</p></fn></author-notes>
<pub-date pub-type="epub">
<day>11</day>
<month>07</month>
<year>2019</year>
</pub-date>
<pub-date pub-type="collection">
<year>2019</year>
</pub-date>
<volume>3</volume>
<elocation-id>50</elocation-id>
<history>
<date date-type="received">
<day>27</day>
<month>03</month>
<year>2019</year>
</date>
<date date-type="accepted">
<day>13</day>
<month>06</month>
<year>2019</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2019 Akram, Quttineh, Wennergren, Tonderski and Metson.</copyright-statement>
<copyright-year>2019</copyright-year>
<copyright-holder>Akram, Quttineh, Wennergren, Tonderski and Metson</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract><p>Recycling essential plant nutrients like nitrogen (N), phosphorus (P), and potassium (K) from organic waste such as human and animal excreta will be an essential part of sustainable food systems and a circular economy. However, transportation is often cited as a major barrier to increased recycling as organic waste is heavy and bulky, and distances between areas of abundant waste may be far from areas with a need for fertilizers. We investigated the effect of increased input data spatial resolution to an optimization model on the weight, distance, and spatial patterns of transport. The model was run in Sweden and in Pakistan to examine cost-effectiveness of transporting excess excreta to areas of crop need after local recycling. Increasing the resolution of input data from political boundaries (municipalities and districts) to 0.083 decimal grids increased the amount of N requiring transport by 12% in Pakistan and increased P requiring transport by 14% in Sweden. The average distance decreased by 67% (to 44 km) in Pakistan but increased by 1 km in Sweden. Further increasing the resolution to 5 km grids in Sweden decreased the average transportation distance by 9 km (down to 123 km). In both countries, increasing resolution also decreased the number of long-distance heavy transports, and as such costs did not increase as much as total distance and weight transported. Ultimately, transportation in Pakistan seemed financially beneficial: the cost of transport only represented 13% of the NPK fertilizer value transported, and total recycling could even cover 78% of additional fertilizer purchases required. In Sweden, the cost of transporting excreta did not seem cost effective without valuing other potential benefits of increased recycling: costs were three times higher than the fertilizer value transported in excreta at the 5 km resolution. In summary, increasing input data resolution created a more realistic picture of recycling needs. This also highlighted more favorable cost to fertilizer value ratios which could make it easier to move forward with industry and government partners to facilitate productive recycling. Our analysis shows that in both countries increased recycling can result in better spatial nutrient balances.</p></abstract>
<kwd-group>
<kwd>circular economy</kwd>
<kwd>sustainability</kwd>
<kwd>biogeochemistry</kwd>
<kwd>manure management</kwd>
<kwd>GIS</kwd>
</kwd-group>
<contract-sponsor id="cn001">Svenska Forskningsr&#x000E5;det Formas<named-content content-type="fundref-id">10.13039/501100001862</named-content></contract-sponsor>
<counts>
<fig-count count="5"/>
<table-count count="4"/>
<equation-count count="18"/>
<ref-count count="72"/>
<page-count count="17"/>
<word-count count="12465"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>Introduction</title>
<p>Major transformations in our global and local food systems are required to meet the UNs Sustainable Development Goals related to food security and water quality, including the need to increase the safe recycling of organic wastes such as animal and human excreta (referred to together as excreta from here on) back to agricultural areas that require these inputs (Jurgilevich et al., <xref ref-type="bibr" rid="B40">2016</xref>; Trimmer et al., <xref ref-type="bibr" rid="B67">2017</xref>). One of the main reasons for requiring the recovery and reuse of organic waste is related to their relatively high concentration of essential nutrients such as nitrogen (N), phosphorus (P), and potassium (K). Society faces challenges with the affordable and stable availability of these fertilizers (N and P more acutely) to all farmers, especially in developing countries, but with global significance from a long-term perspective (Vitousek et al., <xref ref-type="bibr" rid="B68">2009</xref>; Jones et al., <xref ref-type="bibr" rid="B38">2013</xref>; Cordell et al., <xref ref-type="bibr" rid="B12">2015</xref>). At the same time, all regions of the world are also faced with water pollution associated with the loss of N and P from poor waste management [i.e., eutrophication (Smith, <xref ref-type="bibr" rid="B60">2003</xref>) and associated algal toxicity and hypoxia Diaz, <xref ref-type="bibr" rid="B13">2001</xref>; Hamilton et al., <xref ref-type="bibr" rid="B32">2016</xref>]. Principles of circular economy (although not synonymous with sustainability Geissdoerfer et al., <xref ref-type="bibr" rid="B24">2017</xref>) can be helpful in guiding the types of transformations needed in our organic waste management system (e.g., for P Vollaro et al., <xref ref-type="bibr" rid="B69">2017</xref>), and circular economy has even been explicitly taken up as a framework by the European Union (EC, <xref ref-type="bibr" rid="B14">2016</xref>). Still, large-scale adoption of circular economy principles and effective organic waste recycling (i.e., safe application at the right time, in the right amount, and the right place) has yet to become a reality (Ghisellini et al., <xref ref-type="bibr" rid="B27">2016</xref>).</p>
<p>Transportation costs and logistics are often cited as major barriers to increasing the recycling needed to achieve such a circular economy. This is particularly true with excreta as it is bulky and heavy (high water content), and areas of waste production (cities and concentrated livestock) are increasingly far from areas of crop production because of land use specialization, and the nutrient to mass ratio is thus often unfavorable (Westerman and Bicudo, <xref ref-type="bibr" rid="B71">2005</xref>; Keplinger and Hauck, <xref ref-type="bibr" rid="B41">2006</xref>; Nicholson et al., <xref ref-type="bibr" rid="B46">2012</xref>). The distance at which it is economically viable to transport excreta to agricultural crop land depends on a myriad of local factors, including the dry matter content of the excreta product, laws on treatment and application, the price of alternative nutrient sources and energy/fuel, as well as infrastructure and farming bio geophysical conditions (Flotats et al., <xref ref-type="bibr" rid="B22">2009</xref>; Sharpley et al., <xref ref-type="bibr" rid="B58">2016</xref>; Bloem et al., <xref ref-type="bibr" rid="B5">2017</xref>). As such, reported acceptable distances vary greatly within the literature. For example, maximum hauling distances have been estimated at 50 to 100 km for swine manure in Ireland (Fealy and Schr&#x000F6;der, <xref ref-type="bibr" rid="B21">2008</xref>) compared to 40 km in the USA (Keplinger and Hauck, <xref ref-type="bibr" rid="B41">2006</xref>). For beef, estimates vary from 15 to 18 km for feedlots in Canada (Freeze and Sommerfeldt, <xref ref-type="bibr" rid="B23">1985</xref>), similarly 12 km for cattle from an energy perspective (Pimentel and Pimentel, <xref ref-type="bibr" rid="B52">2008</xref>), but as little as 15&#x02013;30 km (Paudel et al., <xref ref-type="bibr" rid="B49">2009</xref>) to as much as 60 km for dairy production (Keplinger and Hauck, <xref ref-type="bibr" rid="B41">2006</xref>) in the USA. Poultry manure, which is less dilute and bulky, may be transported 400 km in the USA (Sharpley et al., <xref ref-type="bibr" rid="B58">2016</xref>). In Brazil, manure is usually used within a 15 km radius from where it is produced (Shigaki et al., <xref ref-type="bibr" rid="B59">2006</xref>). For human excreta, which may be in the form of sludge or biosolids after treatment in a wastewater treatment plant, acceptable transport distances can vary from 0 (i.e., no recycling) to cross-country travel to find a suitable recipient (e.g., 2,000 km from Boston to Florida in the USA Bergendahl et al., <xref ref-type="bibr" rid="B4">2018</xref>); but transportation is only one of the many factors that drive or inhibit recycling, including potential contaminants and social acceptance (Englande and Reimers, <xref ref-type="bibr" rid="B15">2001</xref>; Metson et al., <xref ref-type="bibr" rid="B45">2018</xref>; Wadsworth et al., <xref ref-type="bibr" rid="B70">2018</xref>). Although the ensemble of these distance ranges is broad, for the most part the distances are shorter than what would be required to ensure total recycling within a country (e.g., Metson et al., <xref ref-type="bibr" rid="B44">2016</xref>; Akram et al., <xref ref-type="bibr" rid="B1">2018</xref>; Akram et al., <xref ref-type="bibr" rid="B72">in press</xref>). Finding ways to minimize transportation distances will thus be a critical part of moving toward a more circular organic waste economy regardless of location.</p>
<p>One way to inform decision making to minimize transportation distances is through optimization modeling, however the nature of the data inputs will affect the results. The quality, and spatial and temporal resolution of the data, and the assumptions used can impact the optimal paths as well as total transport distances and costs the model produces. Scale and resolution have already been shown to affect model outputs to varying extents and thus the policy recommendations one can make with regards to nutrient management. For example, when the global NEWS-DIP model moved from river basin values to 0.5 degree resolution input data to predict dissolved inorganic P loads to large rivers and the ocean from terrestrial sources, the researchers were able to clearly highlight the pivotal role of urban areas as a source of loss (Harrison et al., <xref ref-type="bibr" rid="B33">2010</xref>). However, using 60 m land cover data to better attribute fertilizer use in watersheds did not help glean any additional insights in patterns of total P losses to waterways across the USA compared to previous studies using lower resolution spatial data (Metson et al., <xref ref-type="bibr" rid="B43">2017</xref>). Similarly, modeling hydrological flow benefited from increasing input spatial resolution, but only down to 100 m (Horritt and Bates, <xref ref-type="bibr" rid="B34">2001</xref>). Although using high-resolution spatial data did change result values up to 15% when looking at health impacts of air quality associated with transportation and alternative fuel use, this was not true for all inputs considered and did not affect the general conclusions of the model (Horritt and Bates, <xref ref-type="bibr" rid="B34">2001</xref>). Although these examples are different than truck transportations involved in recycling excreta to agriculture, their varying results beg the question: How sensitive is an optimization model for excreta recycling to data resolution?</p>
<p>Here we examine the impact of spatial resolution on such optimization in two different contexts: Sweden and Pakistan. We consider Sweden and Pakistan as representatives of the context around recycling that is faced in developed and developing countries. In addition, both countries have specific (although contrasting) motivations to improve nutrient cycling. For Sweden, protecting the Baltic Sea and freshwater ecosystems from further nutrient emissions requires careful animal and human excreta management (Mccrackin et al., <xref ref-type="bibr" rid="B42">2018</xref>). In Pakistan, increasing access to affordable fertilizers is necessary to increase yields and achieve food security (Solaiman and Ahmed, <xref ref-type="bibr" rid="B62">2006</xref>; Akram et al., <xref ref-type="bibr" rid="B1">2018</xref>). We use these cases to answer the following questions:</p>
<list list-type="order">
<list-item><p>How does using higher resolution data affect <bold>the amount</bold> of excreta that needs to be transported to meet crop N, P, and K nutrient needs?</p></list-item>
<list-item><p>How does using higher resolution data affect <bold>the distance</bold> (and patterns of transports) required to transport excess excreta to meet N, P, and K nutrient needs?</p></list-item>
<list-item><p>How does using higher resolution data affect <bold>the cost</bold> associated with transporting excess excreta to meet N, P, and K nutrient needs?</p></list-item>
<list-item><p>How do these costs compare to <bold>the potential savings</bold> on mineral fertilizers possible with increased recycling?</p></list-item>
<list-item><p>Are the patterns in questions 1&#x02013;4 <bold>different</bold> between Sweden and Pakistan?</p></list-item>
</list></sec>
<sec sec-type="materials and methods" id="s2">
<title>Materials and Methods</title>
<p>We calculated nutrient balances at two scales/resolutions in Pakistan and three in Sweden: political, which is equivalent to districts in Pakistan and municipalities in Sweden, 0.083 decimal degree grids (roughly 100 km<sup>2</sup> at the equator) referred to as decimal degree in the manuscript, and finally 5 km<sup>&#x0002A;</sup>5 km resolution grids (referred to simply as 5 km resolution later) in Sweden only.</p>
<p>Briefly, we quantified the amount of nutrients in excreta from animals and humans as well as crop nutrient needs in a spatially explicit way in each country. This was done by combining information on the number of people and animals and their excretion rates, and the location of crop production with crop fertilizer recommendations. By subtracting crop nutrient needs from the nutrients in excreta available in a grid we could identify surplus and demand areas that could then be used in an optimization model. Data transformations are summarized in the sections below (and graphically represented in <xref ref-type="fig" rid="F1">Figure 1</xref>), followed by a description of the optimization model and economic analyses used on these data.</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Data transformations from lower to higher resolution used to calculate nutrient balances in grids in Sweden and Pakistan. In Pakistan, the political scale (district) data for crops, livestock, and humans were converted to 0.083 decimal degree grids. In Sweden, the higher resolution crop data were transformed to include information of soil type and production region, and political scale (municipal) data for livestock and human were converted to farm livestock type and numbers, and human population to human settlement locations. All these datasets were then converted into crop nutrient needs and excreta nutrient supply and then into the gridded nutrient balances in each country.</p></caption>
<graphic xlink:href="fsufs-03-00050-g0001.tif"/>
</fig>
<sec>
<title>Data Transformations and Calculations of Nutrient Balances in Grids</title>
<sec>
<title>Pakistan</title>
<p>In Pakistan, we proportionally allocated total district cropped areas in 2010 (PBS, <xref ref-type="bibr" rid="B51">2012</xref>) according to the distribution of crops in 2000 (FAO/IIASA, <xref ref-type="bibr" rid="B20">2010</xref>) as shown in Equation (1) of <xref ref-type="table" rid="T1">Table 1</xref>, and similarly allocated district animal population data (PBS, <xref ref-type="bibr" rid="B51">2012</xref>) as shown in Equation (2) in <xref ref-type="table" rid="T1">Table 1</xref>, and human population data (BOS, <xref ref-type="bibr" rid="B6">2010</xref>, <xref ref-type="bibr" rid="B7">2011</xref>, <xref ref-type="bibr" rid="B8">2013</xref>, <xref ref-type="bibr" rid="B9">2014</xref>) as shown in Equation (3) in <xref ref-type="table" rid="T1">Table 1</xref> for 2010 according to spatially explicit gridded data (Robinson and Conchedda, <xref ref-type="bibr" rid="B55">2011</xref>; Robinson et al., <xref ref-type="bibr" rid="B56">2014</xref>). Before assigning district livestock population values to grids, we changed the spatial resolution of the gridded livestock data from 0.017 decimal degrees to 0.083 decimal degrees to bring it to the same spatial resolution as the crop data (ESRI, <xref ref-type="bibr" rid="B18">2017</xref>). Assigning weighted human population values to grids was more complicated than for crops and animals. There were 383 sets of contiguous 0.0083 decimal degree grids representing major cities and towns<xref ref-type="fn" rid="fn0001"><sup>1</sup></xref> (Robinson and Conchedda, <xref ref-type="bibr" rid="B55">2011</xref>). These cities and towns represented the population found in only 87 of the 124 districts in Pakistan (<xref ref-type="supplementary-material" rid="SM1">SI Figure 1</xref>). For the distribution of human population within the 87 districts that did have urban land use in the gridded dataset, we assumed that a larger urban area translated to a higher population density. As such we weighted the distribution of a district&#x00027;s population according to the area/size of the city as opposed to allocating an equal amount of the population to each grid that was considered urban using the following these steps:</p>
<list list-type="bullet">
<list-item><p>Converted each set of contiguous grids into separate polygon shapefile with ArcGIS (ESRI, <xref ref-type="bibr" rid="B17">2016b</xref>) to create a &#x0201C;city&#x0201D;</p></list-item>
<list-item><p>Calculated the area of each polygon shapefile, which then represented the size of a city or a town in Pakistan</p></list-item>
<list-item><p>Used Equation (3) in <xref ref-type="table" rid="T1">Table 1</xref> to allocate district human population (BOS, <xref ref-type="bibr" rid="B6">2010</xref>, <xref ref-type="bibr" rid="B7">2011</xref>, <xref ref-type="bibr" rid="B8">2013</xref>, <xref ref-type="bibr" rid="B9">2014</xref>) to human settlements according to the size of the cities in a district</p></list-item>
<list-item><p>Allocated the excreta in each settlement to the 0.083 grid where the center point of the city was located</p></list-item>
</list>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Equations, data, and assumptions used to transform Pakistan low-resolution district cropped area, livestock, and human populations to higher resolution gridded data.</p></caption>
<table frame="hsides" rules="groups">
<tbody>
<tr>
<td valign="top" align="left" colspan="4">We overlaid the district data maps and the gridded data maps using ArcMap 10.3.1. We used the center points of grids to allocate grids to a district in order to avoid duplicate values of grids in more than one district. We used Equation (1) to convert the 2010 district cropped area into the gridded cropped area. We used Equation (2) to convert the 2010 district livestock population into gridded livestock populations. We used Equation (3) to convert the 2010 district human population into the populations in human settlements. Note, we used the proportional distribution equations independently for each crop or livestock type and then aggregate these data values in each grid. That means each grid can thus contain multiple crops types as well as multiple livestock types.</td>
</tr>
<tr>
<td valign="top" align="center" colspan="4"><disp-formula id="E1"><label>(1)</label><mml:math id="M1"><mml:msubsup><mml:mi>A</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mi>G</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mi>A</mml:mi><mml:mrow><mml:mi>&#x003C4;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi>g</mml:mi></mml:mrow><mml:mi>H</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mover accent='true'><mml:mi>t</mml:mi><mml:mo stretchy='true'>&#x000AF;</mml:mo></mml:mover><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>&#x00393;</mml:mi><mml:mi>G</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:msubsup><mml:mi>A</mml:mi><mml:mrow><mml:mover accent='true'><mml:mi>t</mml:mi><mml:mo stretchy='true'>&#x000AF;</mml:mo></mml:mover><mml:mi>g</mml:mi></mml:mrow><mml:mi>H</mml:mi></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow></mml:mfrac><mml:mtext>&#x000A0;</mml:mtext><mml:msubsup><mml:mi>A</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mi>D</mml:mi></mml:msubsup><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>d</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>D</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>&#x00393;</mml:mi><mml:mi>D</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>g</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:math></disp-formula></td>
</tr>
<tr>
<td valign="top" align="center" colspan="4"><disp-formula id="E2"><label>(2)</label><mml:math id="M2"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>lg</mml:mi></mml:mrow><mml:mi>G</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mi>&#x003B4;</mml:mi><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>l</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi>g</mml:mi></mml:mrow><mml:mi>G</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mover accent='true'><mml:mi>l</mml:mi><mml:mo stretchy='true'>&#x000AF;</mml:mo></mml:mover><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi>G</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:msubsup><mml:mi>&#x003B4;</mml:mi><mml:mrow><mml:mover accent='true'><mml:mi>l</mml:mi><mml:mo stretchy='true'>&#x000AF;</mml:mo></mml:mover><mml:mi>g</mml:mi></mml:mrow><mml:mi>G</mml:mi></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow></mml:mfrac><mml:mtext>&#x000A0;</mml:mtext><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mi>D</mml:mi></mml:msubsup><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>d</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>D</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>l</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi>D</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>g</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:math></disp-formula></td>
</tr>
<tr>
<td valign="top" align="center" colspan="4"><disp-formula id="E3"><label>(3)</label><mml:math id="M3"><mml:msubsup><mml:mi>H</mml:mi><mml:mi>s</mml:mi><mml:mrow><mml:mi>P</mml:mi><mml:mi>A</mml:mi><mml:mi>K</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mi>A</mml:mi><mml:mi>s</mml:mi><mml:mrow><mml:mi>P</mml:mi><mml:mi>A</mml:mi><mml:mi>K</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mover accent='true'><mml:mi>s</mml:mi><mml:mo stretchy='true'>&#x000AF;</mml:mo></mml:mover><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:msubsup><mml:mi>A</mml:mi><mml:mrow><mml:mover accent='true'><mml:mi>s</mml:mi><mml:mo stretchy='true'>&#x000AF;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mi>A</mml:mi><mml:mi>K</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow></mml:mfrac><mml:mtext>&#x000A0;</mml:mtext><mml:msubsup><mml:mi>H</mml:mi><mml:mi>d</mml:mi><mml:mi>D</mml:mi></mml:msubsup><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>d</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>D</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:math></disp-formula></td>
</tr>
<tr style="border-top: thin solid #000000;">
<td valign="top" align="left"><bold>Eq</bold>.</td>
<td valign="top" align="left"><bold>Param</bold>.</td>
<td valign="top" align="left"><bold>Definition/variables represent</bold></td>
<td valign="top" align="left"><bold>Specifications, assumptions, and data sources</bold>.</td>
</tr>
<tr style="border-top: thin solid #000000;">
<td valign="top" align="left">(1)</td>
<td valign="top" align="left"><inline-formula><mml:math id="M4"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Derived cropped area of a crop type <italic>t</italic>&#x02208;&#x00393;<sub><italic>D</italic></sub> in a grid <italic>g</italic> (which is part of district <italic>d</italic>)</td>
<td valign="top" align="left">These values were used to calculate the crop nutrient need of a grid for 2010.</td>
</tr>
<tr>
<td/>
<td valign="top" align="left"><inline-formula><mml:math id="M5"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>H</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Harvested cropped area of crop type <italic>t</italic>&#x02208;&#x00393;<sub><italic>G</italic></sub> in grid <italic>g</italic> (which is part of district <italic>d</italic>)</td>
<td valign="top" align="left">We obtained these data from the global database of gridded crops in 2000 (FAO/IIASA, <xref ref-type="bibr" rid="B20">2010</xref>). We downloaded 12 maps each representing a harvested area of crop types <italic>t</italic>&#x02208;&#x00393;<sub><italic>G</italic></sub> at 0.083 decimal degree resolution.<break/> Here set &#x00393;<sub><italic>G</italic></sub>: &#x0003D; {Irrigated wheat, rainfed wheat, rice, other cereals, vegetables, pulses, sunflower, maize, jowar, fodder, cotton, sugarcane, other crops}.</td>
</tr>
<tr>
<td/>
<td valign="top" align="left"><inline-formula><mml:math id="M6"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Cropped area of a crop type <italic>t</italic>&#x02208;&#x00393;<sub><italic>D</italic></sub> in district <italic>d</italic>.<break/> The set &#x00393;<sub><italic>D</italic></sub> consists of all the crop types in the district data from 2010.<break/> Let &#x003C4;(<italic>t</italic>) be a mapping from &#x00393;<sub><italic>D</italic></sub> to &#x00393;<sub><italic>G</italic></sub>, for example, oil seeds are represented by &#x0201C;sunflower&#x0201D; and hence &#x003C4;(<italic>sunflower</italic>) &#x0003D; &#x0201C;oil seeds.&#x0201D;</td>
<td valign="top" align="left">We obtained the 2010 district data on the cropped area for the following crop types from PBS (<xref ref-type="bibr" rid="B51">2012</xref>):<break/> Here set &#x00393;<sub><italic>D</italic></sub>Wheat, vegetables, tobacco, rice, pulses, oilseeds, maize, jowar, fruits, fodder, cotton, barley, and sugarcane<break/> To match to the crop type of the gridded data:<break/> (1) We divided the cropped area under wheat as irrigated and rainfed using a relative proportion of the two types of wheat cultivation from the gridded database.<break/> (2) We assumed that barely represent the other cereals.<break/> (3) We assumed that tobacco and fruit crops represent the other crops<break/> (4) We assumed that oilseeds were represented by sunflower.<break/> (5) There were 30 districts where fodder area data were available at the district scale, but there were no fodder area data at the grid scale. For these districts, we distributed the district fodder area to the grids according to the gridded sorghum distribution.</td>
</tr>
<tr>
<td valign="top" align="left">(2)</td>
<td valign="top" align="left"><inline-formula><mml:math id="M7"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Derived population of livestock type <italic>l</italic>&#x02208;<italic>L</italic><sub><italic>D</italic></sub> in grid <italic>g</italic> (which is part of district <italic>d</italic>)</td>
<td valign="top" align="left">These values were used to calculate the nutrient supply in livestock excreta in a grid</td>
</tr>
<tr>
<td/>
<td valign="top" align="left"><inline-formula><mml:math id="M8"><mml:msubsup><mml:mrow><mml:mi>&#x003B4;</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Animal density of livestock type <italic>l</italic>&#x02208;<italic>L</italic><sub><italic>G</italic></sub> in grid <italic>g</italic> (which is part of district <italic>d</italic>)</td>
<td valign="top" align="left">We obtained these data for the year 2005 from the global database called gridded livestock of the globe (Robinson et al., <xref ref-type="bibr" rid="B56">2014</xref>).<break/> We downloaded five maps each representing the animal density of livestock types <italic>l</italic>&#x02208;<italic>L</italic><sub><italic>G</italic></sub> in grids.<break/> Here set <italic>L</italic><sub><italic>G</italic></sub>: &#x0003D; {Cattle, buffaloes, goats, sheep, poultry, other animals}.<break/> We used the average value of animals&#x00027; densities, i.e., cattle, buffaloes, goats, sheep, and poultry to represent the density of &#x0201C;other animals&#x0201D; types in a grid.<break/> These data were given at 0.017 decimal degree resolution. To match the resolution to crop data we converted these data to 0.083 decimal degree resolution (ESRI, <xref ref-type="bibr" rid="B18">2017</xref>).</td>
</tr>
<tr>
<td/>
<td valign="top" align="left"><inline-formula><mml:math id="M9"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Animal population of livestock type <italic>l</italic>&#x02208;<italic>L</italic><sub><italic>D</italic></sub> in district <italic>d</italic><break/> The set <italic>L</italic><sub><italic>D</italic></sub> consists of all the animals in the district livestock data from 2010.<break/> Let &#x003BB;(<italic>l</italic>) be a mapping from <italic>L</italic><sub><italic>D</italic></sub> to <italic>L</italic><sub><italic>G</italic></sub> for example, camels are classified as &#x0201C;other animals&#x0201D; and hence &#x003BB; (<italic>other animals</italic>) &#x0003D; &#x0201C;camels.&#x0201D;</td>
<td valign="top" align="left">We obtained the 2010 district livestock population for the following animal types from PBS (<xref ref-type="bibr" rid="B50">2006</xref>, <xref ref-type="bibr" rid="B51">2012</xref>):<break/> Here set <italic>L</italic><sub><italic>D</italic></sub> &#x0003D; {Goats, buffaloes, sheep, adult cows, young cows, bulls and bullocks, donkeys, young camels, adult camels, horses, mules}.<break/> Note, data for chickens, laying hens, and ducks were not available for 2010, so we used these 2006 data from PBS (<xref ref-type="bibr" rid="B50">2006</xref>).<break/> To match the animal type of the gridded data:<break/> We assumed that the other animals, i.e., camels, horses, mules, and donkeys have the distribution according to the calculated average value as &#x0201C;other animals&#x0201D; of a grid.<break/> We assumed that chickens, laying hens and ducks have the same distribution as poultry<break/> There were seven districts where buffaloes data were available at the district scale, but there were no buffaloes&#x00027; data at the grid scale. For these districts, we distributed buffaloes according to the &#x0201C;other livestock&#x0201D; types&#x00027; distribution in a grid.</td>
</tr>
<tr>
<td valign="top" align="left">(3)</td>
<td valign="top" align="left"><inline-formula><mml:math id="M10"><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mi>A</mml:mi><mml:mi>K</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Derived human population on settlement <italic>s</italic> (which belongs to district <italic>d</italic>)</td>
<td valign="top" align="left">These values for human settlement were used to calculate the nutrient supply in human excreta in a human settlement.</td>
</tr>
<tr>
<td/>
<td valign="top" align="left"><inline-formula><mml:math id="M11"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mi>A</mml:mi><mml:mi>K</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Urban land area for human settlement <italic>s</italic> (which belongs to district <italic>d</italic>)</td>
<td valign="top" align="left">We downloaded the gridded map of the livestock production systems for the year 2011 from Robinson and Conchedda (<xref ref-type="bibr" rid="B55">2011</xref>). This map contained grids of urban land area that represent human settlements.<break/> We converted each set of contiguous grids into a separate polygon shapefile, which then represented a city or a town in Pakistan. We calculated the area of each polygon shapefile which was used as the basis to weight the location of the total district population.<break/> There were 37 districts where there were no grids representing a human settlement. To represent the location of human settlements in these districts we used the center point of the district.</td>
</tr>
<tr>
<td/>
<td valign="top" align="left"><inline-formula><mml:math id="M12"><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Human population in district <italic>d</italic></td>
<td valign="top" align="left">We obtained the 2010 district human population from provincial human population statistics where each province has a different data source (BOS, <xref ref-type="bibr" rid="B6">2010</xref>, <xref ref-type="bibr" rid="B7">2011</xref>, <xref ref-type="bibr" rid="B8">2013</xref>, <xref ref-type="bibr" rid="B9">2014</xref>)</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>For the districts with no gridded urban land use (<xref ref-type="supplementary-material" rid="SM1">SI Figure 1</xref>), but where we knew there was human population, we used the center point of a district to represent the location of the entire population of a district (which is then equivalent to a human settlement in the equations below).</p>
<p>We converted the gridded cropped area data into crop nutrient needs using Equation (4):</p>
<disp-formula id="E4"><label>(4)</label><mml:math id="M13"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x00393;</mml:mi></mml:mrow><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi></mml:mrow></mml:msubsup><mml:msubsup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>g</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>n</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M14"><mml:msubsup><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext></mml:math></inline-formula>is the total crop fertilizer need (in kg) of nutrient <italic>n</italic> in a grid <italic>g</italic>, <inline-formula><mml:math id="M15"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the total cropped area (in ha) of crop type <italic>t</italic> grown in a grid <italic>g</italic> (from Equation 1), and <inline-formula><mml:math id="M16"><mml:msubsup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the recommended fertilizer application rate (kg/ha) of nutrient <italic>n</italic> to crop type <italic>t</italic> grown in a grid <italic>g</italic>. For specific numbers of <inline-formula><mml:math id="M17"><mml:msubsup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> see <xref ref-type="supplementary-material" rid="SM1">SI Table 1</xref> which we obtained from Ashiq (<xref ref-type="bibr" rid="B3">2010</xref>) and FAO (<xref ref-type="bibr" rid="B19">2004</xref>).</p>
<p>We converted the gridded livestock data into livestock excreta nutrients using equation (5):</p>
<disp-formula id="E5"><label>(5)</label><mml:math id="M18"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mo class="qopname">lg</mml:mo></mml:mrow><mml:mrow><mml:mi>G</mml:mi></mml:mrow></mml:msubsup><mml:msubsup><mml:mrow><mml:mtext>&#x000A0;</mml:mtext><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>g</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>n</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M19"><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext></mml:math></inline-formula>is the total quantity of nutrient <italic>n</italic> (in kg) in excreta in a grid <italic>g</italic>, <inline-formula><mml:math id="M20"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mo class="qopname">lg</mml:mo></mml:mrow><mml:mrow><mml:mi>G</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the total number of individuals of livestock type <italic>l</italic> in a grid <italic>g</italic> (from Equation 2), and <inline-formula><mml:math id="M21"><mml:msubsup><mml:mrow><mml:mtext>&#x000A0;</mml:mtext><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the coefficient of excretion of nutrient (kg) <italic>n</italic> per individual of livestock type <italic>l</italic>; for specific numbers of <inline-formula><mml:math id="M22"><mml:msubsup><mml:mrow><mml:mtext>&#x000A0;</mml:mtext><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, see <xref ref-type="supplementary-material" rid="SM1">SI Table 2</xref> which we obtained from Gerber et al. (<xref ref-type="bibr" rid="B25">2005</xref>). Parameter <italic>v</italic><sup><italic>n</italic></sup> is the gaseous loss of nutrient <italic>n</italic> during storage and field application of excreta which is only relevant for N (Bouwman et al., <xref ref-type="bibr" rid="B10">1997</xref>).</p>
<p>We converted human population at human settlements into nutrients in human excreta using Equation (6):</p>
<disp-formula id="E6"><label>(6)</label><mml:math id="M23"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mi>E</mml:mi><mml:msubsup><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mi>A</mml:mi><mml:mi>K</mml:mi></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msup><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mi>A</mml:mi><mml:mi>K</mml:mi></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>n</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M24"><mml:mi>E</mml:mi><mml:msubsup><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the total quantity of nutrient (in kg) <italic>n</italic> in human excreta at a human settlement <italic>s</italic>, <inline-formula><mml:math id="M25"><mml:msubsup><mml:mrow><mml:mtext>&#x000A0;</mml:mtext><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mi>A</mml:mi><mml:mi>K</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the total number of individuals at a human settlement <italic>s</italic> (from Equation 3), and <italic>e</italic><sup><italic>n</italic></sup> is the coefficient of excretion of nutrient (in kg) <italic>n</italic> per human individual per year. For specific numbers of <italic>e</italic><sup><italic>n</italic></sup>, see <xref ref-type="supplementary-material" rid="SM1">SI Table 2</xref>, which we obtained from J&#x000F6;nsson and Vinner&#x000E5;s (<xref ref-type="bibr" rid="B39">2004</xref>). Finally, <italic>v</italic><sup><italic>n</italic></sup> is the gaseous loss of nutrient <italic>n</italic> during storage and field application of excreta (which we assumed was equvalent to dairy cattle Bouwman et al., <xref ref-type="bibr" rid="B10">1997</xref>). Here we do not consider losses of N or P associated with wastewater treatment for human excreta which typically results in only 5&#x02013;40% of excreted N and 95% of P being found in sludge (Cohen, <xref ref-type="bibr" rid="B11">2000</xref>). An improvement on our calculations and model would be to use specific wastewater treatment plant locations and nutrient emissions, but at this stage, considering limitations that would arise with estimating rural population emissions and data availability, we have opted to keep a per person excreta factor.</p>
<p>To integrate the nutrient supply found in human excreta from human settlements into one total value per grid, we used the center point of each settlement and allocated the full value of that settlement to the grid in which the center point fell (<xref ref-type="supplementary-material" rid="SM1">SI Figure 1</xref>). If there were multiple human settlements in a grid, we added those together to obtain one value per grid. Consequently, if a settlement overlapped multiple grids the value was not proportionally allocated between grids.</p>
<p>We used Equation (7) to calculate the nutrient balance of the grids in Pakistan:</p>
<disp-formula id="E7"><label>(7)</label><mml:math id="M26"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mi>E</mml:mi><mml:msubsup><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:msubsup><mml:mrow><mml:mo>-</mml:mo><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>g</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>n</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M27"><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the balance of nutrient (in kg) <italic>n</italic> in grid <italic>g</italic>, S<sub><italic>g</italic></sub> is a set of all human settlements that belongs to a specific grid g, <inline-formula><mml:math id="M28"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:mi>E</mml:mi><mml:msubsup><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the sum of human excreta nutrient <italic>n</italic> of human settlements <italic>s</italic> (in grid <italic>g</italic>), <inline-formula><mml:math id="M29"><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the total quantity of nutrient <italic>n</italic> in livestock excreta in grid <italic>g</italic>, and <inline-formula><mml:math id="M30"><mml:msubsup><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the total crop need of nutrient <italic>n</italic> in grid <italic>g</italic>.</p></sec>
<sec>
<title>Sweden</title>
<p>In Sweden, we used the same proportional allocation approach as in Pakistan to combine the datasets, but we worked with much higher resolution base information. Spatial crop data were available at the field scale in 2008, expressed as 1 226 153 agricultural blocks with the crop-specific cultivated areas in each block (JBV, <xref ref-type="bibr" rid="B36">2018a</xref>, data available upon request from Jordbruksverket). The agricultural blocks thus required no further resolution-transformation other than summarizing the information at the larger grid resolution for comparison with Pakistan. However, like in Akram et al. (<xref ref-type="bibr" rid="B72">in press</xref>), we incorporated the soil type and agricultural production region information to each agricultural block<xref ref-type="fn" rid="fn0002"><sup>2</sup></xref> to adjust fertilizer recommendations for crop types (Albertsson, <xref ref-type="bibr" rid="B2">2007</xref>) using 10 km<sup>&#x0002A;</sup>10 km grid-map on soil type data (Swedish Board of Agriculture, <xref ref-type="bibr" rid="B65">2017</xref>) and the map of three production regions of Sweden (<xref ref-type="supplementary-material" rid="SM1">SI Figure 2</xref>). To do so, we used the center point of each agriculture block and overlaid them with soil type grids and agricultural region layers to assign each block a soil type/production-region/crop type combination.</p>
<p>For livestock, the Swedish government reported the 2008 location of 35 153 cattle farms with total cattle population on each farm (but not type of cattle) and 4,438 pig farms with total pig population [but not type of pig, JBV (<xref ref-type="bibr" rid="B37">2018b</xref>), data available upon request from Jordbruksverket]. There was no detailed spatial information on the locations and number of other animal types such as sheep, horses, and poultry. We proportionally allocated all other 2007 municipal livestock population types (and cattle types) according to the distribution of total cattle populations on cattle farms in that municipality and all pig types according to the distribution of total pig populations on pig farms in that municipality (Equation 8 in <xref ref-type="table" rid="T2">Table 2</xref>). This data transformation rests on two major assumptions: (1) the municipal livestock population was same in 2008 as it was in 2007, and (2) that production specialization is not separated by the type of animal; however, we still ensure that animal production areas were accurately represented by using total municipal numbers for each animal type when we allocated them to a farm location in a municipality.</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p>Equations, data, and assumptions used to transform Swedish municipal scale livestock and human populations to farm and human settlement scale populations.</p></caption>
<table frame="hsides" rules="groups">
<tbody>
<tr>
<td valign="top" align="left" colspan="4">Spatial crop data were available at the field scale as more than one million agricultural blocks with the crop-specific cultivated area in each block (JBV, <xref ref-type="bibr" rid="B36">2018a</xref>). We incorporated soil type and production region information into the blocks by combining the center point of a block with soil type grids and agricultural production region maps using ArcMap 10.3.1. We overlaid the municipal livestock data maps with the farm data map. There were no instances where there was a zero data value (of livestock or human) for a municipality but there was a value for a farm/human settlement and vice versa. We used Equation (8) to assign 2007 municipal livestock population to the location of cattle and pig farms. We used Equation (9) to convert the 2008 municipal human population into the human population at human settlements.</td>
</tr>
<tr>
<td valign="top" align="center" colspan="4"><disp-formula id="E8"><label>(8)</label><mml:math id="M31"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mi>F</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mi>&#x003B4;</mml:mi><mml:mrow><mml:mi>&#x003BB;</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>l</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi>f</mml:mi></mml:mrow><mml:mi>F</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mover accent='true'><mml:mi>l</mml:mi><mml:mo stretchy='true'>&#x000AF;</mml:mo></mml:mover><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi>F</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:msubsup><mml:mi>&#x003B4;</mml:mi><mml:mrow><mml:mover accent='true'><mml:mi>l</mml:mi><mml:mo stretchy='true'>&#x000AF;</mml:mo></mml:mover><mml:mi>f</mml:mi></mml:mrow><mml:mi>F</mml:mi></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow></mml:mfrac><mml:mtext>&#x000A0;</mml:mtext><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mi>m</mml:mi></mml:mrow><mml:mi>M</mml:mi></mml:msubsup><mml:mi>m</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>l</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi>M</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>f</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:math></disp-formula></td>
</tr>
<tr>
<td valign="top" align="center" colspan="4"><disp-formula id="E9"><label>(9)</label><mml:math id="M32"><mml:msubsup><mml:mi>H</mml:mi><mml:mi>s</mml:mi><mml:mrow><mml:mi>S</mml:mi><mml:mi>W</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mi>A</mml:mi><mml:mi>s</mml:mi><mml:mrow><mml:mi>S</mml:mi><mml:mi>W</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mover accent='true'><mml:mi>s</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:msubsup><mml:mi>A</mml:mi><mml:mi>s</mml:mi><mml:mrow><mml:mi>S</mml:mi><mml:mi>W</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow></mml:mfrac><mml:mtext>&#x000A0;</mml:mtext><mml:msubsup><mml:mi>H</mml:mi><mml:mi>m</mml:mi><mml:mi>M</mml:mi></mml:msubsup><mml:mi>m</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:math></disp-formula></td>
</tr>
<tr style="border-top: thin solid #000000;">
<td valign="top" align="left"><bold>Eq</bold>.</td>
<td valign="top" align="left"><bold>Param</bold>.</td>
<td valign="top" align="left"><bold>Definition/variables represent</bold></td>
<td valign="top" align="left"><bold>Specifications, assumptions, and data sources</bold></td>
</tr>
<tr style="border-top: thin solid #000000;">
<td valign="top" align="left">(8)</td>
<td valign="top" align="left"><inline-formula><mml:math id="M33"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>F</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Derived population of livestock type <italic>l</italic>&#x02208;<italic>L</italic><sub><italic>M</italic></sub> on farm <italic>f</italic> (which belongs to municipality <italic>m</italic>)</td>
<td valign="top" align="left">These values were used to calculate the nutrient supply in livestock excreta on cattle/pig farms.</td>
</tr>
<tr>
<td/>
<td valign="top" align="left"><inline-formula><mml:math id="M34"><mml:msubsup><mml:mrow><mml:mi>&#x003B4;</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>F</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Animal population of livestock type <italic>l</italic>&#x02208;<italic>L</italic><sub><italic>F</italic></sub> on farm <italic>f</italic> (which is part of municipality <italic>m</italic>)</td>
<td valign="top" align="left">We obtained the 2008 geographic coordinates of animal farms and a total population of livestock types <italic>l</italic>&#x02208;<italic>L</italic><sub><italic>F</italic></sub> on each farm. Here set <italic>L</italic><sub><italic>F</italic></sub>: &#x0003D; {Cattle, Pigs}.</td>
</tr>
<tr>
<td/>
<td valign="top" align="left"><inline-formula><mml:math id="M35"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Animal population of livestock type <italic>l</italic>&#x02208;<italic>L</italic><sub><italic>M</italic></sub> in municipality <italic>m</italic><break/> The set <italic>L</italic><sub><italic>M</italic></sub> consists of all the animals in the municipality livestock data from 2007.<break/> Let &#x003BB;(<italic>l</italic>) be a mapping from <italic>L</italic><sub><italic>M</italic></sub> to <italic>L</italic><sub><italic>F</italic></sub>, for example, dairy cows are classified as &#x0201C;Cattle&#x0201D; and hence &#x003BB;(<italic>Cattle</italic>) &#x0003D; &#x0201C;dairy cows.&#x0201D;</td>
<td valign="top" align="left">We obtained the 2007 municipal livestock data from the following animal types from Statistics Sweden (<xref ref-type="bibr" rid="B63">2008</xref>):<break/> Here set <italic>L</italic><sub><italic>M</italic></sub> &#x0003D; {Classified as &#x0201C;Cattle&#x0201D;: dairy cows, cows for calf production, heifers, bulls and steers, calves under 1 year, rams and ewes, lambs, poultry, laying chickens, broilers, turkeys, and horses.<break/> Classified as &#x0201C;pig&#x0201D;: breeding boars, breeding sows, fattening pigs 20 kg and over, piglets under 20 kg}.<break/> To match the temporal scale with the crop data, we assumed that the 2008 municipal livestock population was the same as in 2007. Data for horses were not available for 2007, so we used data from 2003.</td>
</tr>
<tr>
<td valign="top" align="left">(9)</td>
<td valign="top" align="left"><inline-formula><mml:math id="M36"><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi><mml:mi>W</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Derived human population on settlement <italic>s</italic> (which belongs to municipality <italic>m</italic>)</td>
<td valign="top" align="left">These values were used to calculate the nutrient supply in human excreta from a human settlement</td>
</tr>
<tr>
<td/>
<td valign="top" align="left"><inline-formula><mml:math id="M37"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi><mml:mi>W</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Built area for human settlement <italic>s</italic> (which belongs to municipality <italic>m</italic>)</td>
<td valign="top" align="left">We obtained the 2010 built-area of a human settlement, as a shape-file from (SCB, <xref ref-type="bibr" rid="B57">2010</xref>)</td>
</tr>
<tr>
<td/>
<td valign="top" align="left"><inline-formula><mml:math id="M38"><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula></td>
<td valign="top" align="left">Human population in municipality <italic>m</italic></td>
<td valign="top" align="left">We obtained the 2008 municipal human population from Statistics Sweden (<xref ref-type="bibr" rid="B64">2017</xref>)</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>For humans, there were spatially explicit data for 2010 available as polygon shapefiles of 4,878 human settlements with a human population of at least 200 individuals (SCB, <xref ref-type="bibr" rid="B57">2010</xref>), but not information for smaller settlements. To include the entire human population of a municipality in our calculations we distributed the municipal human population to human settlements like we did for Pakistan&#x00027;s districts (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Information</xref> text where we demonstrate the numerical implication of allocating rural population according to build area by comparing these numbers to know urban population for one municipality in 2010; <xref ref-type="supplementary-material" rid="SM1">SI Table 5</xref>). We used the built-area of a settlement to proportionally distribute 2008 municipal population on the landscape (Equation 9 in <xref ref-type="table" rid="T2">Table 2</xref>).</p>
<p>We converted the cropped area of agricultural blocks into crop nutrient need using Equation (10), which is a slightly modified version of Equation (4):</p>
<disp-formula id="E10"><label>(10)</label><mml:math id="M39"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x00393;</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi><mml:mi>W</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup><mml:msubsup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>b</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>n</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M40"><mml:msubsup><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext></mml:math></inline-formula>is the total crop need of nutrient (in kg) <italic>n</italic> in an agricultural block <italic>b</italic>, Set &#x00393;<sub><italic>B</italic></sub> consists of all crop types in the block data (JBV, <xref ref-type="bibr" rid="B36">2018a</xref>), <inline-formula><mml:math id="M41"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi><mml:mi>W</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the total cropped area (in ha) of crop type <italic>t</italic> grown in an agricultural block <italic>b</italic> (JBV, <xref ref-type="bibr" rid="B36">2018a</xref>), and <inline-formula><mml:math id="M42"><mml:msubsup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the recommended fertilizer rate of nutrient <italic>n</italic> to crop type <italic>t</italic> grown in an agricultural block <italic>b</italic>. For specific numbers of <inline-formula><mml:math id="M43"><mml:msubsup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> see <xref ref-type="supplementary-material" rid="SM1">SI Table 3A</xref> which we mainly obtained from Albertsson, <xref ref-type="bibr" rid="B2">2007</xref>).</p>
<p>We converted the farm livestock data into livestock excreta supply using Equation (11), which is a slightly modified version of Equation (5):</p>
<disp-formula id="E11"><label>(11)</label><mml:math id="M44"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>M</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>F</mml:mi></mml:mrow></mml:msubsup><mml:msubsup><mml:mrow><mml:mtext>&#x000A0;</mml:mtext><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>f</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>F</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>n</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M45"><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;</mml:mtext></mml:math></inline-formula>is the total quantity (in kg) of nutrient <italic>n</italic> in livestock excreta at a livestock farm <italic>f</italic>, <inline-formula><mml:math id="M46"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>F</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the total number of individuals of livestock type <italic>l</italic> at farm <italic>f</italic> (from Equation 8), and <inline-formula><mml:math id="M47"><mml:msubsup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the coefficient of excretion (in kg) of nutrient <italic>n</italic> per individual of livestock type <italic>l</italic>. For specific numbers of <inline-formula><mml:math id="M48"><mml:msubsup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, see <xref ref-type="supplementary-material" rid="SM1">SI Table 4</xref> which we mainly obtained from (Albertsson, <xref ref-type="bibr" rid="B2">2007</xref>). Finally, <italic>v</italic><sup><italic>n</italic></sup> is the gaseous loss of nutrient <italic>n</italic> during storage and field application of excreta (Bouwman et al., <xref ref-type="bibr" rid="B10">1997</xref>).</p>
<p>We converted human population in human settlements in Sweden into human excreta (Equation 6) using <inline-formula><mml:math id="M49"><mml:msubsup><mml:mrow><mml:mi>H</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi><mml:mi>W</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> from Equation (9). For the specific numbers of <italic>e</italic><sup><italic>n</italic></sup> for human excreta in Sweden see <xref ref-type="supplementary-material" rid="SM1">SI Table 4</xref> which we obtained from J&#x000F6;nsson and Vinner&#x000E5;s (<xref ref-type="bibr" rid="B39">2004</xref>).</p>
<p>In order to combine crop nutrient needs and excreta nutrient supply in grids, we created two maps of hollow-grids: one of 0.083 decimal degree grids size, and other of 5 km<sup>&#x0002A;</sup>5 km grid size (ESRI, <xref ref-type="bibr" rid="B16">2016a</xref>). For crop nutrient needs, we used the center point of the agricultural blocks and allocated its value to the grid it fell in. The location of livestock farms was already represented as points and we thus subsequently allocated the full value of nutrient supply in livestock excreta to the grid in which the livestock farm (point) fell. In order to grid human excreta values from the human settlements into one total value per grid, we used the center point of each settlement and allocated the full value of that settlement to the grid in which the center point fell. If there were multiple agricultural blocks, livestock farms, or human settlements in a grid then we added these values together within each dataset.</p>
<p>We calculated the nutrient balance of the grids (each 5 km<sup>&#x0002A;</sup>5 km and 0.083 decimal degree) in Sweden using Equation (12), which is a slightly modified version of Equation (7):</p>
<disp-formula id="E12"><label>(12)</label><mml:math id="M50"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mi>E</mml:mi><mml:msubsup><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>g</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>n</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M51"><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the balance of nutrient <italic>n</italic> in grid <italic>g</italic>, <inline-formula><mml:math id="M52"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:mi>E</mml:mi><mml:msubsup><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the sum of human excreta nutrient <italic>n</italic> of human settlements <italic>s</italic> in grid <italic>g</italic>, <inline-formula><mml:math id="M53"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>f</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:msubsup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the sum of the livestock excreta nutrient <italic>n</italic> of livestock farms <italic>f</italic> in grid <italic>g</italic>, and <inline-formula><mml:math id="M54"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:msubsup><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the sum of the crop need of nutrient <italic>n</italic> of agricultural blocks <italic>b</italic> in grid <italic>g</italic>.</p></sec></sec>
<sec>
<title>Optimized Transports</title>
<p>After calculating the nutrient balance of grids, we let the set <inline-formula><mml:math id="M55"><mml:msubsup><mml:mrow><mml:mi>&#x00394;</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>g</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>G</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mo>:</mml:mo><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0003E;</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula> represent all supply nodes (supply grids) and the set <inline-formula><mml:math id="M56"><mml:msubsup><mml:mrow><mml:mi>&#x00394;</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>g</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>G</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mo>:</mml:mo><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0003C;</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula> represent all crop nutrient need nodes (grids with deficits in nutrient <italic>n</italic>) for each grid-resolution in each country. In Pakistan we chose to optimize transportation of excess excreta between grids with respect to nutrient N, because we were interested in comparing it with the optimization of the political resolution study in Pakistan (Akram et al., <xref ref-type="bibr" rid="B1">2018</xref>), while we optimized for nutrient P in Sweden to compare it to municipal resolution results (Akramet al., <xref ref-type="bibr" rid="B72">in press</xref>). The choice of N in Pakistan and P in Sweden were originally motivated by local conditions, notably that it is possible for Pakistan to decrease synthetic N fertilizer use and that in Sweden P is now coming to the forefront of management decisions. We then used Equation (13) to calculate the weight of surplus nutrients (as actual weight of manure and human excreta) for each grid-resolution in each country:</p>
<disp-formula id="E13"><label>(13a)</label><mml:math id="M57"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mtext>Pak</mml:mtext><mml:mo>:</mml:mo><mml:mtext>&#x02003;</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:msubsup><mml:mi>W</mml:mi><mml:mi>g</mml:mi><mml:mi>n</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mi>B</mml:mi><mml:mi>g</mml:mi><mml:mi>n</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>g</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mi>E</mml:mi></mml:mstyle><mml:msubsup><mml:mi>X</mml:mi><mml:mi>s</mml:mi><mml:mi>n</mml:mi></mml:msubsup><mml:mo>+</mml:mo><mml:msubsup><mml:mi>Q</mml:mi><mml:mi>g</mml:mi><mml:mi>n</mml:mi></mml:msubsup></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi>D</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mtext>&#x02003;</mml:mtext></mml:mstyle><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mi>g</mml:mi></mml:mrow><mml:mi>G</mml:mi></mml:msubsup><mml:msub><mml:mi>w</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>g</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mrow><mml:msubsup><mml:mi>H</mml:mi><mml:mi>s</mml:mi><mml:mrow><mml:mi>P</mml:mi><mml:mi>A</mml:mi><mml:mi>K</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mstyle><mml:msub><mml:mi>w</mml:mi><mml:mi>H</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>g</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mi>&#x00394;</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:mi>n</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mo>&#x0007B;</mml:mo><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi><mml:mo>&#x0007D;</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E14"><label>(13b)</label><mml:math id="M58"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mtext>Swe</mml:mtext><mml:mo>:</mml:mo><mml:mtext>&#x02003;</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:msubsup><mml:mi>W</mml:mi><mml:mi>g</mml:mi><mml:mi>n</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mi>B</mml:mi><mml:mi>g</mml:mi><mml:mi>n</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>g</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mi>E</mml:mi><mml:msubsup><mml:mi>X</mml:mi><mml:mi>s</mml:mi><mml:mi>n</mml:mi></mml:msubsup></mml:mrow></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle displaystyle='true'><mml:msub><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>f</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>g</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:msubsup><mml:mi>Q</mml:mi><mml:mi>f</mml:mi><mml:mi>n</mml:mi></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>f</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>g</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mrow><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>l</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi>D</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mrow><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mi>F</mml:mi></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle><mml:msub><mml:mi>w</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>g</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mrow><mml:msubsup><mml:mi>H</mml:mi><mml:mi>s</mml:mi><mml:mrow><mml:mi>S</mml:mi><mml:mi>W</mml:mi><mml:mi>E</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mstyle><mml:msub><mml:mi>w</mml:mi><mml:mi>H</mml:mi></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>g</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mi>&#x00394;</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:mi>n</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mo>&#x0007B;</mml:mo><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mi>P</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi><mml:mo>&#x0007D;</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M59"><mml:msubsup><mml:mrow><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the weight of surplus of nutrient <italic>n</italic> as the actual weight of excreta in supply grid <italic>g</italic>, <inline-formula><mml:math id="M60"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mo class="qopname">lg</mml:mo></mml:mrow><mml:mrow><mml:mi>G</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M61"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>F</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> are the number of animals of livestock type <italic>l</italic> in grids <italic>g</italic> and farms <italic>f</italic>, respectively, and <italic>w</italic><sub><italic>l</italic></sub> is the coefficient of the weight of manure from livestock type <italic>l</italic> and <italic>w</italic><sub><italic>H</italic></sub> is the coefficient of the weight of excreta (dry mass) from humans. For specific numbers of <italic>w</italic><sub><italic>l</italic></sub> and <italic>w</italic><sub><italic>H</italic></sub> see <xref ref-type="supplementary-material" rid="SM1">SI Table 2</xref> for Pakistan and <xref ref-type="supplementary-material" rid="SM1">SI Table 4</xref> for Sweden. We have opted to use these weights and not assign any specific excreta processing technology. Management decisions and technology selection would affect the weight (as well as nutrient availability) of the excreta that would be moved and selection of such technologies depend on a complex web on local conditions (e.g., laws, nutrient of interest, cost) which is beyond the scope of this analysis.</p>
<p>After calculating the actual weight of excreta associated with a surplus nutrient, we solved the Transportation Problem, a classical optimization problem, to calculate cost minimized transports of the surplus excreta nutrient to meet remaining crop nutrient need in deficit grids:</p>
<disp-formula id="E15"><label>(14)</label><mml:math id="M62"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mo class="qopname">min</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>z</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>u</mml:mi><mml:mi>D</mml:mi><mml:mi>F</mml:mi><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x00394;</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:munder></mml:mstyle><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x00394;</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mrow><mml:mi>d</mml:mi><mml:mi>i</mml:mi><mml:mi>s</mml:mi><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>subject to</p>
<disp-formula id="E16"><label>(15)</label><mml:math id="M63"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x00394;</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>i</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x00394;</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E17"><label>(16)</label><mml:math id="M64"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true"><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x00394;</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>&#x02264;</mml:mo></mml:mtd><mml:mtd><mml:msubsup><mml:mrow><mml:mo>-</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x00394;</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E18"><label>(17)</label><mml:math id="M65"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>&#x02265;</mml:mo></mml:mtd><mml:mtd><mml:mn>0</mml:mn><mml:mtext>&#x000A0;</mml:mtext><mml:mi>i</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x00394;</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msubsup><mml:mrow><mml:mi>&#x00394;</mml:mi></mml:mrow><mml:mrow><mml:mo>-</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Variables <italic>x</italic><sub><italic>ij</italic></sub> represent the amount of nutrient <italic>n</italic> (in tons) to be sent from supply grid <italic>i</italic> to demand grid <italic>j</italic>, and the objective function (14) minimizes the total costs of transporting all the available surplus excreta. Parameter <italic>u</italic> is the unit cost for transportation of excreta, 0.02 US$ per ton and km for Pakistan (Teravaninthorn and Raballand, <xref ref-type="bibr" rid="B66">2008</xref>) and 0.25 US$ per ton and km for Sweden (Greppa N&#x000E4;ringen, <xref ref-type="bibr" rid="B31">2012</xref>) and DF is distance factor to approximate the actual road distances given as the Euclidian distance between grids [we used 1.33 for both countries (Gon&#x000E7;alves et al., <xref ref-type="bibr" rid="B28">2014</xref>)]. Parameter <italic>dist</italic><sub><italic>ij</italic></sub> is the Euclidian distance (in km) between center points for each grid, and parameter <italic>k</italic><sub><italic>i</italic></sub> is the concentration (the amount of nutrient <italic>n</italic> in each ton of manure, <italic>k</italic><sub><italic>i</italic></sub> &#x0003D; <inline-formula><mml:math id="M66"><mml:mn>4</mml:mn><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mrow><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:math></inline-formula>) at each sur-plus grid <italic>i</italic>. Constraint (15) makes sure that the entire surplus amount from grid <italic>i</italic> is distributed, and constraint (16) limits the amount of nutrient <italic>n</italic> received by each demand node <italic>j</italic> according to its deficit. Constraint (17) limits all transports to be positive.</p></sec>
<sec>
<title>Economic Analysis</title>
<p>In order to put the results of the optimization model into perspective with real-world costs and political priorities, we calculated a simple local profitability ratio for long-distance transported excreta, as well as constructed pre- and post-optimized scenarios to estimate the national effects of increased recycling on nutrient balances and potential monetary savings. We divided the total national transport cost (section Optimized Transports) by the total value of fertilizer<xref ref-type="fn" rid="fn0003"><sup>3</sup></xref> transported in the excreta (N&#x0002B;P&#x0002B;K that matched crop needs in the deficit grids it was sent to) at each resolution in each country. A ratio below one indicates that the fertilizer value exceeds transport costs and thus is likely cost-effective and profitable (although this does not include processing and loading and unloading costs and thus is still a crude metric of profitability). Because both transportation costs and fertilizer values are locally specific, this ratio makes situations between countries easier to compare. This ratio, however, does not account for the full value of recycling as there is value in excreta reuse within grids as well, and as such we constructed the following scenarios for both countries at the decimal resolution:</p>
<p>Pre-optimized scenarios&#x02014;We assumed that all excreta that could be recycled within the grids is the first choice to meet crop nutrient needs, followed by the use of synthetic fertilizers. This could result in an over-availability of synthetic fertilizer or a remaining gap for each of the nutrients. Excreta that required long-distance transport (i.e., outside of a grid) was assumed to be a surplus and not meeting crop needs in this scenario.</p>
<p>Post-optimized scenarios&#x02014;We assumed that excreta that could be recycled within the grids plus the optimally transported excreta (i.e., excreta transported according to the optimal solution derived from equations in section Optimized Transports) were the first choice to meet crop needs. We then calculated the amount of synthetic fertilizer required to fully meet crop nutrient needs. We also account for the fact that there was over-application of non-optimally transported nutrients because of fixed nutrient stoichiometric ratios in excreta.</p>
<p>Comparing these pre- and post-optimized scenarios complements the profitability ratio by allowing us to estimate the value of recycling if it can reduce synthetic fertilizer application, as well as explicitly show where applying excreta (and thus by default optimizing transportation) for one nutrient may cause imbalances for another. We were further able to monetize the effect of post-optimized recycling scenarios by accounting for savings associated with ceasing over-application of synthetic fertilizers in addition to the fertilizer value of excreta itself. We then compared these savings with the cost of transport as well as the cost of purchasing additional synthetic fertilizers if crop needs could not be met with recycling and existing fertilizer use. We did so by calculating a ratio of savings and expenses where we divided the total NPK fertilizer savings values (all recycled manure value &#x0002B; over application of synthetic fertilizers) by the sum of the cost of transportation and unmet crop needs if to be met by synthetic fertilizer values. This ratio could then be interpreted as the proportion of costs associated with fertilization (transport of excreta and the additional synthetic fertilizers required to meet crop needs if synthetic fertilizer purchases in the pre-optimized scenario were insufficient) that can be covered with savings on synthetic fertilizers.</p></sec></sec>
<sec id="s3">
<title>Results and Discussion</title>
<sec>
<title>Spatial Patterns of Supply and Need Vary Between Sweden and Pakistan</title>
<p>Both Sweden and Pakistan exhibited agricultural specialization; areas of nutrient surplus and deficit were visible at the 0.083 decimal degree resolution (<xref ref-type="fig" rid="F2">Figure 2</xref>). For all nutrients, Pakistan showed much higher nutrient needs (e.g., four times higher P need per hectare than in Sweden), which is likely related to climate differences and the associated multi-cropping and different crop choices possible in Pakistan (<xref ref-type="supplementary-material" rid="SM1">SI Table 6</xref>). Similarly, the average supply of P in excreta per ha in Pakistan was two times higher than in Sweden. Both countries showed distinct areas of concentrated excreta supply and crop need. Pakistan had high excreta nutrient supply along the western border, with some additional &#x0201C;hotspots&#x0201D; in the center and south-east parts of the country. These areas (over 144 kg N/ha) contained 27% of the national N excreta supply but only 6% of the arable area (<xref ref-type="supplementary-material" rid="SM1">SI Table 7</xref>). Higher crop nutrient needs, on the other hand, were concentrated in the middle and the eastern parts of the country, extending south along the Indus River. These crop nutrient need regions did not exhibit as striking a concentration on the landscape as with supply (e.g., 28% P need on 21% of the arable land area). In Sweden, excreta supply was concentrated in the south of the country and especially in big cities, such as Stockholm and Gothenburg (e.g., 11% of N supply could be attributed to 1% of the land area, and this was mostly cities, <xref ref-type="supplementary-material" rid="SM1">Figure 2</xref> and <xref ref-type="supplementary-material" rid="SM1">SI Table 7</xref>). Crop nutrient needs were higher (more concentrated) in the middle of the country, along the northeast coast, and at the very southern tip of the country. These contrasting spatial patterns of supply and need unsurprisingly resulted in surplus and deficit areas in both countries.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Spatial distribution of excreta nutrient supply, crop nutrient needs, and nutrient balances as nitrogen (N), phosphorus (P), and potassium (K) at the 0.083 decimal degree grid resolution in Pakistan (top three rows) and Sweden (bottom three rows).</p></caption>
<graphic xlink:href="fsufs-03-00050-g0002.tif"/>
</fig>
<p>At the national scale, the surplus and deficit patterns for nutrients differed. In both countries recycling all K could meet crop needs (even if transport is required). In Pakistan, although excreta could not fulfill all crop N and P needs, it could proportionally meet more of N than P crop needs (57% for N vs. 43% for P, <xref ref-type="fig" rid="F5">Figure 5</xref>). In Sweden it was the opposite, a larger proportion of P needs could be met (45% N vs. 88% P, <xref ref-type="fig" rid="F5">Figure 5</xref>). As such it made sense to optimize transportation for different nutrients in each country (Akram et al., <xref ref-type="bibr" rid="B1">2018</xref>; Akram et al., <xref ref-type="bibr" rid="B72">in press</xref>).</p>
<p>Moving from political to decimal resolution spatial data did not yield a consistent pattern on surplus and deficits across nutrients between the two countries. In Pakistan, increasing resolution highlighted that there was land use specialization; at the decimal resolution 43% of grids showed N surpluses and 35% grids showed P surpluses, which is 18% higher for N, and 17% higher for P compared to the proportion of districts that exhibited a surplus (<xref ref-type="supplementary-material" rid="SM1">SI Table 8</xref>). Interestingly, in Sweden the patterns were reversed. Only 7% of the decimal grids had an N surplus, and 15% had a P surplus at the decimal resolution, which is actually 12% less than the proportion of municipalities that had an N and P surplus (<xref ref-type="supplementary-material" rid="SM1">SI Table 9</xref>). This Swedish trend may be linked to even more extreme specialization than in Pakistan, as so few grids accounted for the total surplus in Sweden. For K, increasing resolution in both countries decreased the proportion of land that exhibited nutrient surpluses.</p></sec>
<sec>
<title>Increasing Resolution Increases the Need for Transportation but Decreases Average Distances</title>
<p>The estimated amount of excreta which needed to be transported increased when higher resolution data was used in both countries (<xref ref-type="fig" rid="F3">Figure 3A</xref>). Moving from political boundaries to decimal degrees increased the amount of N requiring transport by 12% in Pakistan and increased the amount of P requiring transport by 14% in Sweden. However, this increase represented a tripling for Pakistan but less than a doubling for Sweden. This may be related to differences between the Pakistani political resolution (average district area was 6,689 km<sup>2</sup>) and Swedish political resolution (average municipality area was 1,832 km<sup>2</sup>) so the increase to decimal degree was a less noticeable increase in Sweden. Further increasing the resolution to 5 km grids in Sweden did not substantially increase the amount of excreta P requiring transport (&#x0002B;4%). If we compare the effect of increasing resolution on the weight of excreta requiring transport instead of the quantity of nutrients, we obtain quite similar results. The weight of excreta requiring transport increased by 16% in Pakistan and 12% in Sweden going from political to decimal resolution, and another 4% increase to the 5 km resolution in Sweden (<xref ref-type="supplementary-material" rid="SM1">SI Figure 3</xref>). Although, the proportion of grids with surpluses in Sweden was less than in Pakistan (<xref ref-type="supplementary-material" rid="SM1">SI Tables 8, 9</xref>), a larger proportion of excreta needed to be transported out of the grids in Sweden than in Pakistan (<xref ref-type="fig" rid="F3">Figure 3A</xref>); this points to Sweden&#x00027;s high level of agricultural specialization which is visible at all three resolutions (<xref ref-type="supplementary-material" rid="SM1">SI Table 9</xref>). In summary, using higher resolution data accounted for imbalances that not evident at lower resolution boundaries thus uncovers the fact that many shorter transport distances are required to balance crop needs and excreta supply.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Effects of increasing resolution from political, to decimal, to 5 km scales on the transportation of surplus nutrients in terms of <bold>(A)</bold> the amount and percentage of the nutrient of interest (N for Pakistan and P for Sweden) requiring transport, <bold>(B)</bold> the spread of transport distances represented as mean (gray circles and stated value), median (center line), interquartile range (box representing 50% of the data), 1.5 times the interquartile range (whiskers), and outliers (black circles), and <bold>(C)</bold> the paths and distances of transportation on the landscape from surplus (light red) to deficit areas (light blue) color-coded from shorter (blue lines) to longer (red lines).</p></caption>
<graphic xlink:href="fsufs-03-00050-g0003.tif"/>
</fig>
<p>Increasing data resolution generally decreased average transport distances and changed transport patterns in both countries, but more in terms of distances for Pakistan and transport patterns for Sweden (<xref ref-type="fig" rid="F3">Figures 3B,C</xref>). In Pakistan the average distance decreased 67% (from 133 to 44 km), the interquartile range and fence (1.5 times interquartile range) became smaller, but there were more long-range outliers than in Sweden (<xref ref-type="fig" rid="F3">Figure 3B</xref>). In Sweden, the average distance actually increased from 131 to 132 km between political and decimal resolutions. The interquartile ranges increased, and so did the maximum distance when comparing the political resolution to the decimal and the 5 km grid resolutions. However, moving from decimal to 5 km resolution decreased the average distance by 9 km, thus still supporting the general premise that increasing resolution decreases average distances. Part of the different trend with increasing resolution between Sweden and Pakistan could, again, be linked to the base political boundary resolution, in addition to more agricultural specialization on the Swedish landscape. At the decimal resolution, Pakistan had a shorter average distance than Sweden. In Sweden, long-range transports were predominantly in the south-west part of the country at the political resolution but shifted to south-east at the decimal degree resolution. These required long-range transports then shifted back toward the south-west coast at the 5 km resolution (noting of course that there were fewer long-distance transports overall at the higher resolution). The perhaps unintuitive results of comparing distances, weights, and patterns of transport across scales and then between countries highlights that optimizing to minimize cost nationally does not mean that any one transport (or even average transport patterns) is optimal on its own.</p>
<p>Even with the highest resolution data we had available in each country, the average required transport distances were on the higher end of what existing studies have found to be cost-effective. Although drier poultry litter may be worthwhile transporting over 400 km (Sharpley et al., <xref ref-type="bibr" rid="B58">2016</xref>), acceptable transport distance estimates for wetter manure never went much above 50 km in modeled and observational studies (Fealy and Schr&#x000F6;der, <xref ref-type="bibr" rid="B21">2008</xref>; Nowak et al., <xref ref-type="bibr" rid="B47">2015</xref>). Our average transport distance in Pakistan was the lowest, at 44 km, but there were still a number of outlier transports as high as 400 km. In Sweden, the average transport distance was still above 100 km with 5 km grids. Like our numbers suggest, other studies have found that required transport distances to avoid over-fertilization with manure are higher than what is considered cost-effective under current pricing mechanisms. For example, for the Chesapeake Bay area of the USA, keeping below P standards for manure application to fields would require increasing transport distances within farms and counties, but most importantly increasing transport among counties to an average of 190 km if farmers would accept applying 60% of their fertilizer as manure (it is currently 17% for corn, Ribaudo et al., <xref ref-type="bibr" rid="B54">2003</xref>). Still, longer average transports could be realistic and profitable; site-specific costs; and incentive structures (e.g., laws preventing over-application of manure or land filling of organic waste) must also be accounted for. It is also worth examining costs at the national scale to determine if the benefit of some of the shorter distance transports can outweigh the costs of longer distance ones under current pricing mechanisms.</p></sec>
<sec>
<title>Local Pricing Conditions Favor Recycling in Pakistan More Than in Sweden</title>
<p>Like with the total amount of excreta requiring transport (<xref ref-type="fig" rid="F3">Figure 3A</xref>), total distance increased with increasing resolution, but costs did not scale with these increases proportionally; in other words, costs increased but not as quickly as distance or weight (<xref ref-type="table" rid="T3">Table 3</xref>). In Pakistan, the total transport distance increased 44 times from political to decimal resolution, but the total transport cost increased 1.6 times. In Sweden, costs increased 1.4 times but distance increased less than in Pakistan, only 14 times; which again could be related to higher political resolution and agricultural specialization in Sweden. Interestingly, moving from decimal degree to 5 km grids decreased estimated total costs, although total distance and weight did increase (<xref ref-type="table" rid="T3">Table 3</xref>, <xref ref-type="supplementary-material" rid="SM1">SI Figure 3</xref>). This would imply that there were fewer required long-distance travel routes with heavy loads. We can see a smaller interquartile range associated with the optimization of 5 km resolution data and fewer long-distance outliers compared to the interquartile range of the decimal degree resolution (<xref ref-type="fig" rid="F3">Figure 3B</xref>), which does support the idea of fewer long-distance transports contributing to these savings in the 5 km resolution model.</p>
<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p>Total national weight, distance, and cost requirements associated with optimally transported surplus excreta at different resolutions in Pakistan and Sweden.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th valign="top" align="left"><bold>Transport requirements:</bold></th>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>Pakistan</bold></th>
<th valign="top" align="center" colspan="3" style="border-bottom: thin solid #000000;"><bold>Sweden</bold></th>
</tr>
<tr>
<th/>
<th valign="top" align="center"><bold>Political</bold></th>
<th valign="top" align="center"><bold>Decimal</bold></th>
<th valign="top" align="center"><bold>Political</bold></th>
<th valign="top" align="center"><bold>Decimal</bold></th>
<th valign="top" align="center"><bold>5 km</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Total excreta (M tons)</td>
<td valign="top" align="center">27.28</td>
<td valign="top" align="center">118.33</td>
<td valign="top" align="center">5.34</td>
<td valign="top" align="center">7.97</td>
<td valign="top" align="center">8.76</td>
</tr>
<tr>
<td valign="top" align="left">Total nutrient (M tons)</td>
<td valign="top" align="center">0.122</td>
<td valign="top" align="center">0.649</td>
<td valign="top" align="center">0.023</td>
<td valign="top" align="center">0.028</td>
<td valign="top" align="center">0.036</td>
</tr>
<tr>
<td valign="top" align="left">Total distance (km)</td>
<td valign="top" align="center">6,795</td>
<td valign="top" align="center">298,752</td>
<td valign="top" align="center">24,079</td>
<td valign="top" align="center">361,538</td>
<td valign="top" align="center">496,163</td>
</tr>
<tr>
<td valign="top" align="left">Transport cost (M US$)</td>
<td valign="top" align="center">56.50</td>
<td valign="top" align="center">92.87</td>
<td valign="top" align="center">192.15</td>
<td valign="top" align="center">277.35</td>
<td valign="top" align="center">262.52</td>
</tr>
<tr>
<td valign="top" align="left">Value of the transported nutrients (M US$)</td>
<td valign="top" align="center">101.45</td>
<td valign="top" align="center">705.36</td>
<td valign="top" align="center">52.00</td>
<td valign="top" align="center">66.18</td>
<td valign="top" align="center">81.27</td>
</tr>
<tr>
<td valign="top" align="left">Ratio of transport cost to nutrient value of the transported excreta</td>
<td valign="top" align="center"><bold>0.56</bold></td>
<td valign="top" align="center"><bold>0.13</bold></td>
<td valign="top" align="center"><bold>3.70</bold></td>
<td valign="top" align="center"><bold>4.19</bold></td>
<td valign="top" align="center"><bold>3.23</bold></td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Costs are not only related to distance and weight, but also local pricing mechanisms which make recycling more or less favorable. One way to look at the cost-effectiveness of recycling between countries is to compare the cost of transport to the value of fertilizers being transported as excreta (expressed as a ratio in <xref ref-type="table" rid="T3">Table 3</xref>). In Pakistan transporting excess excreta seemed economically favorable even at the political resolution with a ratio value below 1 (Akram et al., <xref ref-type="bibr" rid="B1">2018</xref>), but dropped even further at the decimal resolution; 13% of the fertilizer value being transported could cover the entire cost of transportation (<xref ref-type="table" rid="T3">Table 3</xref>, <xref ref-type="fig" rid="F4">Figure 4</xref>). For Sweden, transportation at all resolutions seemed unfavorable, but the ratios actually increased from political to decimal resolution, and then decreased overall at the 5 km resolution (<xref ref-type="table" rid="T3">Table 3</xref>, <xref ref-type="fig" rid="F4">Figure 4</xref>). This sharp increase in the ratio at the decimal scale seems to be related to the value (or lack thereof) related to N and K transported alongside P. If we only account for P fertilizer value in transported excreta (<xref ref-type="supplementary-material" rid="SM1">SI Figure 4</xref>) then the ratio steadily decreases with increasing resolution, as one would expect. In other words, at the decimal resolution less N and K were applied to areas that had crop need for it. It is important to note that not all individual transports in the Swedish optimization model are economically unfavorable: 34% of transports (1,374 connections between grids out of the 4,020 modeled) have a ratio below the break-even point based on only the P fertilizer value transported. This means that 17% of the surplus excreta weight actually represents 10% of the distance and only 2% of the costs associated with transportation, but 31% of the P fertilizer value. Still, in order to make total nutrient recycling in Sweden cost-effective under current excreta supply and crop need distribution, other factors would need to change. This could be directly achieved with decreasing transport costs (perhaps associated with different fuels or higher fuel efficiency) or with increasing synthetic fertilizer prices (through taxation or market forces), making excreta more valuable. This could also potentially be achieved if we were to extract energy from excreta before land application (e.g., biogas). In other words, this would involve accounting for the full value of recycling, both direct use value as well as the avoidance of pollution.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Effect of increasing spatial resolution on the relative transport costs of surplus excreta nutrients to the value of those nutrients if they were purchased as synthetic fertilizer in Sweden (blue, higher line) and Pakistan (orange, lower line).</p></caption>
<graphic xlink:href="fsufs-03-00050-g0004.tif"/>
</fig>
<p>In both countries, implementing optimized recycling resulted in less discrepancies between nutrient supply and crop nutrient needs and potential for reducing expenditures on synthetic fertilizers. In Pakistan, recycling all excreta could decrease synthetic N needs to only 43% of its current use, but there remain unmet crop P and K needs (<xref ref-type="fig" rid="F5">Figure 5</xref> and <xref ref-type="table" rid="T4">Table 4</xref>). In fact, a significant amount of synthetic N use could potentially be cut even in the pre-optimized scenario. In Sweden, the use of synthetic N would be cut by 11%, synthetic P by 67%, and synthetic K by 11% by recycling all excreta (<xref ref-type="fig" rid="F5">Figure 5</xref>). Optimized transportation could also reduce the gap between nutrient needs and national nutrient supply. In Pakistan, transportation between grids could reduce the gap between P crop need and P supply by 10%, and the gap between K crop need and K supply by 7%. In Sweden, the post-optimization scenario eliminated the gap between P crop need and P supply. Although the application of surplus excreta in deficit areas optimized for only one nutrient did result in some over-application for the non-optimized nutrients, the magnitude of that over application is much smaller than in the pre-optimized scenarios (<xref ref-type="fig" rid="F5">Figure 5</xref>).</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>National nutrient balances associated with scenarios of pre- and post-optimized transport of surplus excreta at decimal degree resolution in Pakistan (top panel) and Sweden (bottom panel). The height of each bar above zero represents total crop nutrient need, while the height below zero represents the total nutrient surplus given the assumptions presented in section Economic Analysis. Colors represent the nutrient source used to fill the crop nutrient need above zero while colors below zero represent the type of nutrient surplus. A gap between crop nutrient need and supply is designated as red above 0. The numbers in each colored column section represent the percentage of crop need that a source fulfills, where negative numbers (below the zero line) represent the surplus also expressed as a percentage of crop need.</p></caption>
<graphic xlink:href="fsufs-03-00050-g0005.tif"/>
</fig>
<table-wrap position="float" id="T4">
<label>Table 4</label>
<caption><p>Savings on synthetic fertilizers (millions of US dollars) associated with decimal resolution optimized recycling of excreta vs. transport costs incurred and additional costs for synthetic fertilizers to meet crop nutrient need in Pakistan and Sweden.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th/>
<th/>
<th valign="top" align="center"><bold>Savings (M USD)</bold></th>
<th valign="top" align="center" colspan="3" style="border-bottom: thin solid #000000;"><bold>Expenses (M USD)</bold></th>
<th valign="top" align="center"><bold>Ratio of savings to expenses</bold></th>
</tr>
<tr>
<th/>
<th/>
<th/>
<th valign="top" align="center"><bold>Cost of transports</bold></th>
<th valign="top" align="center"><bold>Gap to the crop need</bold></th>
<th valign="top" align="center"><bold>Total</bold></th>
<th/>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Pakistan</td>
<td valign="top" align="center">N</td>
<td valign="top" align="center">947</td>
<td valign="top" align="center">93</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">93</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">P</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">889</td>
<td valign="top" align="center">889</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">K</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">210</td>
<td valign="top" align="center">210</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">Total</td>
<td valign="top" align="center">947</td>
<td valign="top" align="center">93</td>
<td valign="top" align="center">1,099</td>
<td valign="top" align="center">1,192</td>
<td valign="top" align="center">0.79</td>
</tr>
<tr>
<td valign="top" align="left">Sweden</td>
<td valign="top" align="center">N</td>
<td valign="top" align="center">50</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">P</td>
<td valign="top" align="center">25</td>
<td valign="top" align="center">277</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">277</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">K</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">&#x02013;</td>
</tr>
<tr>
<td/>
<td valign="top" align="center">Total</td>
<td valign="top" align="center">78</td>
<td valign="top" align="center">277</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">277</td>
<td valign="top" align="center">0.28</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>At the national level, accounting for potential savings associated with local and long-distance recycling still did not make recycling seem cost-effective in Sweden without accounting for pollution abatement, while in Pakistan recycling seemed even more beneficial. For Pakistan, savings on synthetic fertilizers had the potential to contribute to covering the cost of transportation and part of the additional synthetic fertilizer costs required to close yield gaps; the savings on synthetic N fertilizers would not only cover transportation costs of excreta but also 78% of money required to meet P, and K crop needs with synthetic fertilizers in the post-optimization scenario (<xref ref-type="table" rid="T4">Table 4</xref>). Our cost and savings estimates however were simple and did not account for the potentially significant costs associated with processing excreta, which is paramount to eliminate pathogen and other contaminant exposure (Bloem et al., <xref ref-type="bibr" rid="B5">2017</xref>), costs associated with loading and unloading trucks (Ghafoori et al., <xref ref-type="bibr" rid="B26">2007</xref>), or laws and public perceptions they may facilitate or hinder recycling, especially in the case of human excreta (Metson et al., <xref ref-type="bibr" rid="B45">2018</xref>; &#x000D6;berg and Mason-Renton, <xref ref-type="bibr" rid="B48">2018</xref>). In Sweden, the savings on the synthetic fertilizers would only cover 28% of the transportation costs for redistributing surplus excreta. Considering that pollution does have a financial cost however, the expenses associated with increased recycling might be worth baring. In England and Whales, freshwater eutrophication has been estimated to cost up to 160 million USD per year (Pretty et al., <xref ref-type="bibr" rid="B53">2003</xref>), while in the USA health and environmental costs associated with N pollution (air and water) are estimated at 210 billion USD per year (Sobota et al., <xref ref-type="bibr" rid="B61">2015</xref>). Around the Baltic Sea, the willingness to pay (as a proxy for the costs associated with poor water quality) to reduce Baltic eutrophication varies but is actually highest in Sweden (Hyyti&#x000E4;inen et al., <xref ref-type="bibr" rid="B35">2015</xref>). Accounting for nutrient losses to the Baltic Sea, lakes, and groundwater associated with areas of excreta accumulation may change the picture for the cost-effectiveness of excreta recycling (Hyyti&#x000E4;inen et al., <xref ref-type="bibr" rid="B35">2015</xref>; Gren and Elofsson, <xref ref-type="bibr" rid="B29">2017</xref>).</p></sec></sec>
<sec id="s4">
<title>Concluding Remarks</title>
<p>In summary, increasing the resolution of input data to a model optimizing the cost of recycling excreta to meet remaining crop nutrient needs after local recycling did affect the amount, distance, patterns, and costs associated with transportation in both Pakistan and Sweden; but the cost-effectiveness associated with local pricing contributed more to the differences between the countries than anything else. In both cases the amount of excreta requiring transport increased with increasing spatial resolution, but not at the same rate. Total distances also increased although the average distance of any one transport decreased (and even slightly increased at the decimal scale in Sweden). The average distance was much lower in Pakistan, likely due to less agricultural specialization than in Sweden. Increasing to 5 km resolution in Sweden did decrease the cost of transportation even though total distance increased. Increasing resolution in both countries decreased the ratio of cost to value, potentially making it easier to make a case for a profitable recycling industry. However, the ratio of cost to value was more unfavorable at the decimal resolution than at the municipal or 5 km resolutions, in large part because less N and K being moved were meeting crop needs. At all resolutions, recycling excreta under our model assumptions always came out as economically favorable in Pakistan while it did not in Sweden. This means that although optimizing transport will be important, considering the social, technological, and ecological context surrounding these transports will be essential to more sustainable nutrient management. Next steps would thus include better integration of not only the real-world costs associated with processing of waste and transportation, but the monetary benefits associated with increased recycling beyond nutrient value (e.g., energy or pollution abatement).</p>
<p>The methods, datasets, and results presented here are a significant step toward being able to make informed decisions about what it would take for countries to create a circular nutrient economy, especially as more standardized spatially and temporally resolved data become available. The high resolution maps in both countries more accurately show where there are nutrient imbalances that require judicious management. There are many social and ecological constraints, which if represented spatially, could be integrated into the models presented here to help inform farmers and decision makers even more. For example, human and animal excreta are often regulated and handled separately. Although, the current model gives a good overview of the potential of both resources, further development in the model could integrate different handling/processing realities and preferences. For instance, if human and animal excreta were treated separately in the model one could track which farmland would &#x0201C;optimally&#x0201D; receive it and see if this matches the laws and regulations in place. Similarly, the production of excreta and crop nutrient needs often do not coincide. As such, storage and processing of excreta will often be necessary to ensure nutrients can be applied when they are needed, which could affect both the weight and nutrient content of recycled organic waste products. Processing may not only create costs, but also additional benefits, such as energy through biogas production, that could make the circular economy more profitable. The current model operates at an annual scale, but a sub-annual component could potentially be added to try and optimally select locations for excreta storage and then subsequent application to crops. Even if such data is not available nationally, the model and approach presented here can be downscaled to work with local stakeholders who may have access to relevant data, including locally appropriate technologies for processing of organic waste.</p></sec>
<sec sec-type="data-availability" id="s5">
<title>Data Availability</title>
<p>All datasets generated for this study are included in the manuscript and/or the <xref ref-type="supplementary-material" rid="s7">Supplementary Files</xref>.</p></sec>
<sec id="s6">
<title>Author Contributions</title>
<p>UA collected and analyzed data and contributed to the writing. N-HQ conducted optimization modeling and reviewed the manuscript. UW and KT secured the funding for this project, conceptualized initial study, and reviewed the manuscript. GM reviewed and corrected the methodological design of the study, as well as led framing, figure design, and writing of the manuscript.</p>
<sec>
<title>Conflict of Interest Statement</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p></sec></sec>
</body>
<back>
<sec sec-type="supplementary-material" id="s7">
<title>Supplementary Material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fsufs.2019.00050/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fsufs.2019.00050/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Data_Sheet_1.docx" id="SM1" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" xmlns:xlink="http://www.w3.org/1999/xlink"/></sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Akram</surname> <given-names>U.</given-names></name> <name><surname>Metson</surname> <given-names>G. S.</given-names></name> <name><surname>Quttineh</surname> <given-names>N.</given-names></name> <name><surname>Wennergren</surname> <given-names>U.</given-names></name></person-group> (<year>2018</year>). <article-title>Closing Pakistan&#x00027;s yield gaps through nutrient recycling</article-title>. <source>Front. Sustain. Food Syst.</source> <volume>2</volume>, <fpage>1</fpage>&#x02013;<lpage>14</lpage>. <pub-id pub-id-type="doi">10.3389/fsufs.2018.00024</pub-id></citation></ref>
<ref id="B72">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Akram</surname> <given-names>U.</given-names></name> <name><surname>Quttineh</surname> <given-names>N-H.</given-names></name> <name><surname>Wennergren</surname> <given-names>U.</given-names></name> <name><surname>Tonderski</surname> <given-names>K.</given-names></name> <name><surname>Metson</surname> <given-names>G. S.</given-names></name></person-group> (in press). <article-title>Enhancing nutrient recycling from excreta to meet crop nutrient needs in Sweden&#x02014;a spatial analysis</article-title>. <source>Sci. Rep</source>. <pub-id pub-id-type="doi">10.1038/s41598-019-46706-7</pub-id></citation></ref>
<ref id="B2">
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Albertsson</surname> <given-names>B.</given-names></name></person-group> (<year>2007</year>). Riktlinjer f&#x000F6;r g&#x000F6;dsling och kalkning 2008. Available at: <ext-link ext-link-type="uri" xlink:href="https://www2.jordbruksverket.se/webdav/files/SJV/trycksaker/Pdf_rapporter/ra07_22.pdf">https://www2.jordbruksverket.se/webdav/files/SJV/trycksaker/Pdf_rapporter/ra07_22.pdf</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B3">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Ashiq</surname> <given-names>M.</given-names></name></person-group> (<year>2010</year>). <source>Punjab main 75 faslon key Munafah bakhash kashat kari (Profitable cultivation of 75 crops in Punjab)</source>. Plant physiology section, Nizamat Amoor-e-kashat kari (Agronomy), Ayub Agriculture Research Institute, Faisalabad, Pakistan.</citation></ref>
<ref id="B4">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bergendahl</surname> <given-names>J. A.</given-names></name> <name><surname>Sarkis</surname> <given-names>J.</given-names></name> <name><surname>Timko</surname> <given-names>M. T.</given-names></name></person-group> (<year>2018</year>). <article-title>Transdisciplinarity and the food energy and water nexus: ecological modernization and supply chain sustainability perspectives</article-title>. <source>Resour. Conserv. Recycl.</source> <volume>133</volume>, <fpage>309</fpage>&#x02013;<lpage>319</lpage>. <pub-id pub-id-type="doi">10.1016/j.resconrec.2018.01.001</pub-id></citation></ref>
<ref id="B5">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bloem</surname> <given-names>E.</given-names></name> <name><surname>Albihn</surname> <given-names>A.</given-names></name> <name><surname>Elving</surname> <given-names>J.</given-names></name> <name><surname>Hermann</surname> <given-names>L.</given-names></name> <name><surname>Lehmann</surname> <given-names>L.</given-names></name> <name><surname>Sarvi</surname> <given-names>M.</given-names></name> <etal/></person-group>. (<year>2017</year>). <article-title>Contamination of organic nutrient sources with potentially toxic elements, antibiotics and pathogen microorganisms in relation to P fertilizer potential and treatment options for the production of sustainable fertilizers: a review</article-title>. <source>Sci. Total Environ.</source> <volume>607&#x02013;608</volume>, <fpage>225</fpage>&#x02013;<lpage>242</lpage>. <pub-id pub-id-type="doi">10.1016/j.scitotenv.2017.06.274</pub-id><pub-id pub-id-type="pmid">28692893</pub-id></citation></ref>
<ref id="B6">
<citation citation-type="web"><person-group person-group-type="author"><collab>BOS</collab></person-group> (<year>2010</year>). <source>Punjab Development Statistics 2010. Bureau of Statistics Punjab, Lahore</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.bos.gop.pk/system/files/Dev-2010.pdf">http://www.bos.gop.pk/system/files/Dev-2010.pdf</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B7">
<citation citation-type="web"><person-group person-group-type="author"><collab>BOS</collab></person-group> (<year>2011</year>). <source>Development Statistics of Balochistan 2011-12. Area and Population Table 6. Bureau of Statistics Balochistan, Planning and Development Department, Quetta</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="https://balochistan.gov.pk/index.php?option=com_docman&#x00026;task=cat_view&#x00026;gid=1277&#x00026;Itemid=677&#x00026;limitstart=15">https://balochistan.gov.pk/index.php?option=com_docman&#x00026;task=cat_view&#x00026;gid=1277&#x00026;Itemid=677&#x00026;limitstart=15</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B8">
<citation citation-type="web"><person-group person-group-type="author"><collab>BOS</collab></person-group> (<year>2013</year>). <source>Development Statistics of Khyber Pakhtunkhwa 2011-12. Bureau of Statistics Khyber Pakhtunkhwa, Peshawar</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://kpbos.gov.pk/files/1385537977.pdf">http://kpbos.gov.pk/files/1385537977.pdf</ext-link> (accessed August 16, 2018).</citation></ref>
<ref id="B9">
<citation citation-type="web"><person-group person-group-type="author"><collab>BOS</collab></person-group> (<year>2014</year>). <source>Development statistics of Sindh 2014. Sindh Bureau of Statistics, Kehkashan Clifton</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://sindhbos.gov.pk/wp-content/uploads/2014/09/DS-2014.pdf">http://sindhbos.gov.pk/wp-content/uploads/2014/09/DS-2014.pdf</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bouwman</surname> <given-names>A. F.</given-names></name> <name><surname>Lee</surname> <given-names>D. S.</given-names></name> <name><surname>Asman</surname> <given-names>W. A. H.</given-names></name> <name><surname>Dentener</surname> <given-names>F. J.</given-names></name> <name><surname>Hoek</surname> <given-names>K. W.</given-names></name> <name><surname>Van Der Olivier</surname> <given-names>J. G. J.</given-names></name> <etal/></person-group>. (<year>1997</year>). <article-title>A global high-resolution emission inventory for ammonia</article-title>. <source>Glob. Biogeochem. Cycles</source> <volume>11</volume>, <fpage>561</fpage>&#x02013;<lpage>587</lpage>. <pub-id pub-id-type="doi">10.1029/97GB02266</pub-id></citation></ref>
<ref id="B11">
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Cohen</surname> <given-names>Y.</given-names></name></person-group> (<year>2000</year>). <source>Nutrient Recovery from Wastewater</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.vaxteko.nu/html/sll/slu/ex_arb_vaxtnaringslara/EVN119/EVN119.HTM">http://www.vaxteko.nu/html/sll/slu/ex_arb_vaxtnaringslara/EVN119/EVN119.HTM</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B12">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cordell</surname> <given-names>D.</given-names></name> <name><surname>Turner</surname> <given-names>A.</given-names></name> <name><surname>Chong</surname> <given-names>J.</given-names></name></person-group> (<year>2015</year>). <article-title>The hidden cost of phosphate fertilizers: mapping multi-stakeholder supply chain risks and impacts from mine to fork</article-title>. <source>Glob. Chang. Peace Secur.</source> <volume>27</volume>, <fpage>323</fpage>&#x02013;<lpage>343</lpage>. <pub-id pub-id-type="doi">10.1080/14781158.2015.1083540</pub-id></citation></ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Diaz</surname> <given-names>R. J.</given-names></name></person-group> (<year>2001</year>). <article-title>Overview of hypoxia around the world</article-title>. <source>J. Environ. Qual.</source> <volume>30</volume>, <fpage>275</fpage>&#x02013;<lpage>281</lpage>. <pub-id pub-id-type="doi">10.2134/jeq2001.302275x</pub-id><pub-id pub-id-type="pmid">11285887</pub-id></citation></ref>
<ref id="B14">
<citation citation-type="web"><person-group person-group-type="author"><collab>EC</collab></person-group> (<year>2016</year>). <source>Circular Economy : New Regulation to boost the use of organic and waste-</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://europa.eu/rapid/press-release_IP-16-827_en.pdf">http://europa.eu/rapid/press-release_IP-16-827_en.pdf</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B15">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Englande</surname> <given-names>A. J.</given-names> <suffix>Jr.</suffix></name> <name><surname>Reimers</surname> <given-names>R. S.</given-names></name></person-group> (<year>2001</year>). <article-title>Biosolids management&#x02013;sustainable development status and future direction</article-title>. <source>Water Sci. Technol.</source> <volume>44</volume>, <fpage>41</fpage>&#x02013;<lpage>46</lpage>. <pub-id pub-id-type="doi">10.2166/wst.2001.0575</pub-id><pub-id pub-id-type="pmid">11794679</pub-id></citation></ref>
<ref id="B16">
<citation citation-type="web"><person-group person-group-type="author"><collab>ESRI</collab></person-group> (<year>2016a</year>). <source>Create Fishnet</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/create-fishnet.htm">http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/create-fishnet.htm</ext-link> (accessed September 24, 2018).</citation></ref>
<ref id="B17">
<citation citation-type="web"><person-group person-group-type="author"><collab>ESRI</collab></person-group> (<year>2016b</year>). <source>Raster to Polygon</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://desktop.arcgis.com/en/arcmap/10.3/tools/conversion-toolbox/raster-to-polygon.htm">http://desktop.arcgis.com/en/arcmap/10.3/tools/conversion-toolbox/raster-to-polygon.htm</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B18">
<citation citation-type="web"><person-group person-group-type="author"><collab>ESRI</collab></person-group> (<year>2017</year>). <source>Cell Size and Resampling in Analysis</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://desktop.arcgis.com/en/arcmap/latest/extensions/spatial-analyst/performing-analysis/cell-size-and-resampling-in-analysis.htm&#x00023;">http://desktop.arcgis.com/en/arcmap/latest/extensions/spatial-analyst/performing-analysis/cell-size-and-resampling-in-analysis.htm&#x00023;</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B19">
<citation citation-type="web"><person-group person-group-type="author"><collab>FAO</collab></person-group> (<year>2004</year>). Fertilizer use by Crop in Pakistan. Rome Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.fao.org/tempref/docrep/fao/007/y5460e/y5460e00.pdf">http://www.fao.org/tempref/docrep/fao/007/y5460e/y5460e00.pdf</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B20">
<citation citation-type="web"><person-group person-group-type="author"><collab>FAO/IIASA</collab></person-group> (<year>2010</year>). <source>Crop Harvested Area, Yield and Production</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://gaez.fao.org/Main.html&#x00023;">http://gaez.fao.org/Main.html&#x00023;</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B21">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Fealy</surname> <given-names>R.</given-names></name> <name><surname>Schr&#x000F6;der</surname> <given-names>J. J.</given-names></name></person-group> (<year>2008</year>). <source>Assessment of Manure Transport Distances and their Impact on Economic and Energy Costs</source>. <publisher-name>York</publisher-name>: <publisher-loc>IFS</publisher-loc>. <fpage>228</fpage>.</citation></ref>
<ref id="B22">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Flotats</surname> <given-names>X.</given-names></name> <name><surname>Bonmat&#x000ED;</surname> <given-names>A.</given-names></name> <name><surname>Fern&#x000E1;ndez</surname> <given-names>B.</given-names></name> <name><surname>Magr,&#x000ED;</surname> <given-names>A.</given-names></name></person-group> (<year>2009</year>). <article-title>Manure treatment technologies: on-farm versus centralized strategies. NE Spain as case study</article-title>. <source>Bioresour. Technol.</source> <volume>100</volume>, <fpage>5519</fpage>&#x02013;<lpage>5526</lpage>. <pub-id pub-id-type="doi">10.1016/j.biortech.2008.12.050</pub-id><pub-id pub-id-type="pmid">19231173</pub-id></citation></ref>
<ref id="B23">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Freeze</surname> <given-names>B. S.</given-names></name> <name><surname>Sommerfeldt</surname> <given-names>T. G.</given-names></name></person-group> (<year>1985</year>). <article-title>Breakeven hauling distances for beef feedlot manure in southern Alberta</article-title>. <source>Can. J. Soil Sci.</source> <volume>65</volume>, <fpage>687</fpage>&#x02013;<lpage>693</lpage>. <pub-id pub-id-type="doi">10.4141/cjss85-074</pub-id></citation></ref>
<ref id="B24">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Geissdoerfer</surname> <given-names>M.</given-names></name> <name><surname>Savaget</surname> <given-names>P.</given-names></name> <name><surname>Bocken</surname> <given-names>N. M. P.</given-names></name> <name><surname>Hultink</surname> <given-names>E. J.</given-names></name></person-group> (<year>2017</year>). <article-title>The circular economy &#x02013; a new sustainability paradigm?</article-title> <source>J. Clean. Prod.</source> <volume>143</volume>, <fpage>757</fpage>&#x02013;<lpage>768</lpage>. <pub-id pub-id-type="doi">10.1016/j.jclepro.2016.12.048</pub-id></citation></ref>
<ref id="B25">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gerber</surname> <given-names>P.</given-names></name> <name><surname>Chilonda</surname> <given-names>P.</given-names></name> <name><surname>Franceschini</surname> <given-names>G.</given-names></name> <name><surname>Menzi</surname> <given-names>H.</given-names></name></person-group> (<year>2005</year>). <article-title>Geographical determinants and environmental implications of livestock production intensification in Asia</article-title>. <source>Bioresour. Technol.</source> <volume>96</volume>, <fpage>263</fpage>&#x02013;<lpage>276</lpage>. <pub-id pub-id-type="doi">10.1016/j.biortech.2004.05.016</pub-id><pub-id pub-id-type="pmid">15381225</pub-id></citation></ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ghafoori</surname> <given-names>E.</given-names></name> <name><surname>Flynn</surname> <given-names>P. C.</given-names></name> <name><surname>Feddes</surname> <given-names>J. J.</given-names></name></person-group> (<year>2007</year>). <article-title>Pipeline vs. truck transport of beef cattle manure</article-title>. <source>Biomass Bioenergy</source> <volume>31</volume>, <fpage>168</fpage>&#x02013;<lpage>175</lpage>. <pub-id pub-id-type="doi">10.1016/j.biombioe.2006.07.007</pub-id></citation></ref>
<ref id="B27">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ghisellini</surname> <given-names>P.</given-names></name> <name><surname>Cialani</surname> <given-names>C.</given-names></name> <name><surname>Ulgiati</surname> <given-names>S.</given-names></name></person-group> (<year>2016</year>). <article-title>A review on circular economy: the expected transition to a balanced interplay of environmental and economic systems</article-title>. <source>J. Clean. Prod.</source> <volume>114</volume>, <fpage>11</fpage>&#x02013;<lpage>32</lpage>. <pub-id pub-id-type="doi">10.1016/j.jclepro.2015.09.007</pub-id></citation></ref>
<ref id="B28">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gon&#x000E7;alves</surname> <given-names>D. N. S.</given-names></name> <name><surname>de MoraisGon&#x000E7;alves</surname> <given-names>C.</given-names></name> <name><surname>de Assist</surname> <given-names>T. F</given-names></name> <name><surname>da Silva</surname> <given-names>M. A.</given-names></name></person-group> (<year>2014</year>). <article-title>Analysis of the difference between the euclidean distance and the actual road distance in Brazil</article-title>. <source>Transp. Res. Procedia</source> <volume>3</volume>, <fpage>876</fpage>&#x02013;<lpage>885</lpage>. <pub-id pub-id-type="doi">10.1016/j.trpro.2014.10.066</pub-id></citation></ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gren</surname> <given-names>I.-M.</given-names></name> <name><surname>Elofsson</surname> <given-names>K.</given-names></name></person-group> (<year>2017</year>). <article-title>Credit stacking in nutrient trading markets for the Baltic Sea</article-title>. <source>Mar. Policy</source> <volume>79</volume>, <fpage>1</fpage>&#x02013;<lpage>7</lpage>. <pub-id pub-id-type="doi">10.1016/j.marpol.2017.01.026</pub-id></citation></ref>
<ref id="B30">
<citation citation-type="web"><person-group person-group-type="author"><collab>Greppa N&#x000E4;ringen</collab></person-group> (<year>2008</year>). <source>Verktyg i Milj&#x000F6;arbetet Beh&#x000F6;vs mer &#x000E4;n n&#x000E5;gonsin!</source> Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.greppa.nu/download/18.37e9ac46144f41921cd1a92d/1402565001964/2008_Mar_GreppaNYTT.pdf">http://www.greppa.nu/download/18.37e9ac46144f41921cd1a92d/1402565001964/2008_Mar_GreppaNYTT.pdf</ext-link> (accessed April 14, 2019).</citation></ref>
<ref id="B31">
<citation citation-type="web"><person-group person-group-type="author"><collab>Greppa N&#x000E4;ringen</collab></person-group> (<year>2012</year>). <source>Praktiska R&#x000E5;d: Din Stallg&#x000F6;dsel &#x000E4;r V&#x000E4;rdefull. 1&#x02013;6</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.greppa.nu/download/18.37e9ac46144f41921cd1a724/1402315666376/Praktiska_r&#x000E5;d_Nr_5_Stallg&#x000F6;dsel_5.pdf">http://www.greppa.nu/download/18.37e9ac46144f41921cd1a724/1402315666376/Praktiska_r&#x000E5;d_Nr_5_Stallg&#x000F6;dsel_5.pdf</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B32">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hamilton</surname> <given-names>D. P.</given-names></name> <name><surname>Salmaso</surname> <given-names>N.</given-names></name> <name><surname>Paerl</surname> <given-names>H. W.</given-names></name></person-group> (<year>2016</year>). <article-title>Mitigating harmful cyanobacterial blooms: strategies for control of nitrogen and phosphorus loads</article-title>. <source>Aquat. Ecol.</source> <volume>50</volume>, <fpage>351</fpage>&#x02013;<lpage>366</lpage>. <pub-id pub-id-type="doi">10.1007/s10452-016-9594-z</pub-id></citation></ref>
<ref id="B33">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Harrison</surname> <given-names>J. A.</given-names></name> <name><surname>Bouwman</surname> <given-names>A. F.</given-names></name> <name><surname>Mayorga</surname> <given-names>E.</given-names></name> <name><surname>Seitzinger</surname> <given-names>S.</given-names></name></person-group> (<year>2010</year>). <article-title>Magnitudes and sources of dissolved inorganic phosphorus inputs to surface fresh waters and the coastal zone: a new global model</article-title>. <source>Glob. Biogeochem. Cycles</source> <volume>24</volume>, <fpage>832</fpage>&#x02013;<lpage>839</lpage>. <pub-id pub-id-type="doi">10.1029/2009GB003590</pub-id></citation></ref>
<ref id="B34">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Horritt</surname> <given-names>M. S.</given-names></name> <name><surname>Bates</surname> <given-names>P. D.</given-names></name></person-group> (<year>2001</year>). <article-title>Effects of spatial resolution on a raster based model of flood flow</article-title>. <source>J. Hydrol.</source> <volume>253</volume>, <fpage>239</fpage>&#x02013;<lpage>249</lpage>. <pub-id pub-id-type="doi">10.1016/S0022-1694(01)00490-5</pub-id></citation></ref>
<ref id="B35">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hyyti&#x000E4;inen</surname> <given-names>K.</given-names></name> <name><surname>Ahlvik</surname> <given-names>L.</given-names></name> <name><surname>Ahtiainen</surname> <given-names>H.</given-names></name> <name><surname>Artell</surname> <given-names>J.</given-names></name> <name><surname>Huhtala</surname> <given-names>A.</given-names></name> <name><surname>Dahlbo</surname> <given-names>K.</given-names></name></person-group> (<year>2015</year>). <article-title>Policy goals for improved water quality in the baltic sea: when do the benefits outweigh the costs?</article-title> <source>Environ. Resour. Econ.</source> <volume>61</volume>, <fpage>217</fpage>&#x02013;<lpage>241</lpage>. <pub-id pub-id-type="doi">10.1007/s10640-014-9790-z</pub-id></citation></ref>
<ref id="B36">
<citation citation-type="web"><person-group person-group-type="author"><collab>JBV</collab></person-group> (<year>2018a</year>). <source>Jordbruksblock</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.jordbruksverket.se/etjanster/etjanster/etjansterforstod/kartorochgis/inspiretjanster/laddanerkartskikt.4.2c4b2c401409a334931bf0e.html">http://www.jordbruksverket.se/etjanster/etjanster/etjansterforstod/kartorochgis/inspiretjanster/laddanerkartskikt.4.2c4b2c401409a334931bf0e.html</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B37">
<citation citation-type="web"><person-group person-group-type="author"><collab>JBV</collab></person-group> (<year>2018b</year>). <source>Produktionsplatser f&#x000F6;r Djurh&#x000E5;llning</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.jordbruksverket.se/etjanster/etjanster/etjansterforstod/kartorochgis/inspiretjanster/laddanerkartskikt.4.2c4b2c401409a334931bf0e.html">http://www.jordbruksverket.se/etjanster/etjanster/etjansterforstod/kartorochgis/inspiretjanster/laddanerkartskikt.4.2c4b2c401409a334931bf0e.html</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B38">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jones</surname> <given-names>D. L.</given-names></name> <name><surname>Cross</surname> <given-names>P.</given-names></name> <name><surname>Withers</surname> <given-names>P. J. A.</given-names></name> <name><surname>Deluca</surname> <given-names>T. H.</given-names></name> <name><surname>Robinson</surname> <given-names>D. A.</given-names></name> <name><surname>Quilliam</surname> <given-names>R. S.</given-names></name> <etal/></person-group>. (<year>2013</year>). <article-title>Nutrient stripping: the global disparity between food security and soil nutrient stocks</article-title>. <source>J. Appl. Ecol.</source> <volume>50</volume>, <fpage>851</fpage>&#x02013;<lpage>862</lpage>. <pub-id pub-id-type="doi">10.1111/1365-2664.12089</pub-id></citation></ref>
<ref id="B39">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>J&#x000F6;nsson</surname> <given-names>H.</given-names></name> <name><surname>Vinner&#x000E5;s</surname> <given-names>B.</given-names></name></person-group> (<year>2004</year>). <article-title>&#x0201C;Adapting the nutrient content of urine and faeces in different countries using FAO and Swedish data,&#x0201D;</article-title> in <source>Ecosan&#x02014;Closing the loop. Proceedings of the 2nd International Symposium on Ecological Sanitation, April 2003</source> (<publisher-loc>L&#x000FC;beck</publisher-loc>) <fpage>623</fpage>&#x02013;<lpage>626</lpage>.</citation></ref>
<ref id="B40">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jurgilevich</surname> <given-names>A.</given-names></name> <name><surname>Birge</surname> <given-names>T.</given-names></name> <name><surname>Kentala-Lehtonen</surname> <given-names>J.</given-names></name> <name><surname>Korhonen-Kurki</surname> <given-names>K.</given-names></name> <name><surname>Pietik&#x000E4;inen</surname> <given-names>J.</given-names></name> <name><surname>Saikku</surname> <given-names>L.</given-names></name> <etal/></person-group>. (<year>2016</year>). <article-title>Transition towards circular economy in the food system</article-title>. <source>Sustain.</source> <volume>8</volume>, <fpage>1</fpage>&#x02013;<lpage>14</lpage>. <pub-id pub-id-type="doi">10.3390/su8010069</pub-id></citation></ref>
<ref id="B41">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Keplinger</surname> <given-names>K. O.</given-names></name> <name><surname>Hauck</surname> <given-names>L. M.</given-names></name></person-group> (<year>2006</year>). <article-title>The economics of manure utilization: Model and application</article-title>. <source>J. Agric. Resour. Econ.</source> <volume>31</volume>, <fpage>414</fpage>&#x02013;<lpage>440</lpage>.</citation></ref>
<ref id="B42">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mccrackin</surname> <given-names>M. L.</given-names></name> <name><surname>Gustafsson</surname> <given-names>B. G.</given-names></name> <name><surname>Hong</surname> <given-names>B.</given-names></name> <name><surname>Howarth</surname> <given-names>R. W.</given-names></name> <name><surname>Humborg</surname> <given-names>C.</given-names></name> <name><surname>Savchuk</surname> <given-names>O. P.</given-names></name> <etal/></person-group>. (<year>2018</year>). <article-title>Opportunities to reduce nutrient inputs to the Baltic Sea by improving manure use efficiency in agriculture</article-title>. <source>Region. Environ. Change</source> <volume>18</volume>, <fpage>1843</fpage>&#x02013;<lpage>1854</lpage>. <pub-id pub-id-type="doi">10.1007/s10113-018-1308-8</pub-id></citation></ref>
<ref id="B43">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Metson</surname> <given-names>G. S.</given-names></name> <name><surname>Lin</surname> <given-names>J.</given-names></name> <name><surname>Harrison</surname> <given-names>J. A.</given-names></name> <name><surname>Compton</surname> <given-names>J. E.</given-names></name></person-group> (<year>2017</year>). <article-title>Linking terrestrial phosphorus inputs to riverine export across the United States</article-title>. <source>Water Res.</source> <volume>124</volume>, <fpage>177</fpage>&#x02013;<lpage>191</lpage>. <pub-id pub-id-type="doi">10.1016/j.watres.2017.07.037</pub-id><pub-id pub-id-type="pmid">28756220</pub-id></citation></ref>
<ref id="B44">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Metson</surname> <given-names>G. S.</given-names></name> <name><surname>MacDonald</surname> <given-names>G. K.</given-names></name> <name><surname>Haberman</surname> <given-names>D.</given-names></name> <name><surname>Nesme</surname> <given-names>T.</given-names></name> <name><surname>Bennett</surname> <given-names>E. M.</given-names></name></person-group> (<year>2016</year>). <article-title>Feeding the corn belt: opportunities for phosphorus recycling in U.S. agriculture</article-title>. <source>Sci. Total Environ.</source> <volume>542</volume>, <fpage>1117</fpage>&#x02013;<lpage>1126</lpage>. <pub-id pub-id-type="doi">10.1016/j.scitotenv.2015.08.047</pub-id><pub-id pub-id-type="pmid">26453407</pub-id></citation></ref>
<ref id="B45">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Metson</surname> <given-names>G. S.</given-names></name> <name><surname>Powers</surname> <given-names>S. M.</given-names></name> <name><surname>Hale</surname> <given-names>R. L.</given-names></name> <name><surname>Sayles</surname> <given-names>J. S.</given-names></name> <name><surname>&#x000D6;berg</surname> <given-names>G.</given-names></name> <name><surname>Macdonald</surname> <given-names>G. K.</given-names></name> <etal/></person-group>. (<year>2018</year>). <article-title>Socio-environmental consideration of phosphorus flows in the urban sanitation chain of contrasting cities</article-title>. <source>Reg. Environ. Chang.</source> <volume>18</volume>, <fpage>1387</fpage>&#x02013;<lpage>1401</lpage>. <pub-id pub-id-type="doi">10.1007/s10113-017-1257-7</pub-id><pub-id pub-id-type="pmid">31007594</pub-id></citation></ref>
<ref id="B46">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nicholson</surname> <given-names>F. A.</given-names></name> <name><surname>Humphries</surname> <given-names>S.</given-names></name> <name><surname>Anthony</surname> <given-names>S. G.</given-names></name> <name><surname>Smith</surname> <given-names>S. R.</given-names></name> <name><surname>Chadwick</surname> <given-names>D.</given-names></name> <name><surname>Chambers</surname> <given-names>B. J.</given-names></name></person-group> (<year>2012</year>). <article-title>A software tool for estimating the capacity of agricultural land in England and Wales for recycling organic materials (ALOWANCE)</article-title>. <source>Soil Use Manag.</source> <volume>28</volume>, <fpage>307</fpage>&#x02013;<lpage>317</lpage>. <pub-id pub-id-type="doi">10.1111/j.1475-2743.2012.00410.x</pub-id></citation></ref>
<ref id="B47">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nowak</surname> <given-names>B.</given-names></name> <name><surname>Nesme</surname> <given-names>T.</given-names></name> <name><surname>David</surname> <given-names>C.</given-names></name> <name><surname>Pellerin</surname> <given-names>S.</given-names></name></person-group> (<year>2015</year>). <article-title>Nutrient recycling in organic farming is related to diversity in farm types at the local level</article-title>. <source>Agric. Ecosyst. Environ.</source> <volume>204</volume>, <fpage>17</fpage>&#x02013;<lpage>26</lpage>. <pub-id pub-id-type="doi">10.1016/j.agee.2015.02.010</pub-id></citation></ref>
<ref id="B48">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>&#x000D6;berg</surname> <given-names>G.</given-names></name> <name><surname>Mason-Renton</surname> <given-names>S. A.</given-names></name></person-group> (<year>2018</year>). <article-title>On the limitation of evidence-based policy: regulatory narratives and land application of biosolids/sewage sludge in BC, Canada and Sweden</article-title>. <source>Environ. Sci. Policy</source> <volume>84</volume>, <fpage>88</fpage>&#x02013;<lpage>96</lpage>. <pub-id pub-id-type="doi">10.1016/j.envsci.2018.03.006</pub-id></citation></ref>
<ref id="B49">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Paudel</surname> <given-names>K. P.</given-names></name> <name><surname>Bhattarai</surname> <given-names>K.</given-names></name> <name><surname>Gauthier</surname> <given-names>W. M.</given-names></name> <name><surname>Hall</surname> <given-names>L. M.</given-names></name></person-group> (<year>2009</year>). <article-title>Geographic information systems (GIS) based model of dairy manure transportation and application with environmental quality consideration</article-title>. <source>Waste Manag.</source> <volume>29</volume>, <fpage>1634</fpage>&#x02013;<lpage>1643</lpage>. <pub-id pub-id-type="doi">10.1016/j.wasman.2008.11.028</pub-id><pub-id pub-id-type="pmid">19136245</pub-id></citation></ref>
<ref id="B50">
<citation citation-type="web"><person-group person-group-type="author"><collab>PBS</collab></person-group> (<year>2006</year>). <source>Pakistan Livestock Census 2006. Pakistan Bureau of Statistics, Islamabad</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.pbs.gov.pk/content/pakistan-livestock-census-2006">http://www.pbs.gov.pk/content/pakistan-livestock-census-2006</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B51">
<citation citation-type="web"><person-group person-group-type="author"><collab>PBS</collab></person-group> (<year>2012</year>). <source>Agricultural Census 2010 - Pakistan Report. Pakistan Bureau of Statistics, Islamabad</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.pbs.gov.pk/content/agricultural-census-2010-pakistan-report">http://www.pbs.gov.pk/content/agricultural-census-2010-pakistan-report</ext-link> (accessed June 19, 2019).</citation></ref>
<ref id="B52">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Pimentel</surname> <given-names>D.</given-names></name> <name><surname>Pimentel</surname> <given-names>M.</given-names></name></person-group> (<year>2008</year>). <source>Food, Energy, and Society</source>, <edition>3rd Edn.</edition> <publisher-name>Boca Raton, FL</publisher-name>: <publisher-loc>CRC Press; Taylor and Drancis Group</publisher-loc>. <pub-id pub-id-type="doi">10.1201/9781420046687</pub-id></citation></ref>
<ref id="B53">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pretty</surname> <given-names>J. N.</given-names></name> <name><surname>Mason</surname> <given-names>C. F.</given-names></name> <name><surname>Nedwell</surname> <given-names>D. B.</given-names></name> <name><surname>Hine</surname> <given-names>R. E.</given-names></name> <name><surname>Leaf</surname> <given-names>S.</given-names></name> <name><surname>Dils</surname> <given-names>R.</given-names></name></person-group> (<year>2003</year>). <article-title>Environmental costs of freshwater eutrophication in England and Wales</article-title>. <source>Environ. Sci. Technol.</source> <volume>37</volume>, <fpage>201</fpage>&#x02013;<lpage>208</lpage>. <pub-id pub-id-type="doi">10.1021/es020793k</pub-id><pub-id pub-id-type="pmid">12564888</pub-id></citation></ref>
<ref id="B54">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Ribaudo</surname> <given-names>M.</given-names></name> <name><surname>Kaplan</surname> <given-names>J. D.</given-names></name> <name><surname>Christensen</surname> <given-names>L. A.</given-names></name> <name><surname>Gollehon</surname> <given-names>N.</given-names></name> <name><surname>Johansson</surname> <given-names>R.</given-names></name> <name><surname>Breneman</surname> <given-names>V. E.</given-names></name> <etal/></person-group>. (<year>2003</year>). <source>Manure Management for Water Quality Costs to Animal Feeding Operations of Applying Manure Nutrients to Land</source>. <publisher-loc>Washington, DC</publisher-loc>. <pub-id pub-id-type="doi">10.2139/ssrn.757884</pub-id></citation></ref>
<ref id="B55">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Robinson</surname> <given-names>T.</given-names></name> <name><surname>Conchedda</surname> <given-names>G.</given-names></name></person-group> (<year>2011</year>). <source>Global Livestock Production Systems</source>. Rome. v.5.</citation></ref>
<ref id="B56">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Robinson</surname> <given-names>T. P.</given-names></name> <name><surname>Wint</surname> <given-names>G. R. W.</given-names></name> <name><surname>Conchedda</surname> <given-names>G.</given-names></name> <name><surname>Van Boeckel</surname> <given-names>T. P.</given-names></name> <name><surname>Ercoli</surname> <given-names>V.</given-names></name> <name><surname>Palamara</surname> <given-names>E.</given-names></name> <etal/></person-group>. (<year>2014</year>). <article-title>Mapping the global distribution of livestock</article-title>. <source>PLoS ONE</source> <volume>9</volume>:<fpage>e96084</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0096084</pub-id><pub-id pub-id-type="pmid">24875496</pub-id></citation></ref>
<ref id="B57">
<citation citation-type="web"><person-group person-group-type="author"><collab>SCB</collab></person-group> (<year>2010</year>). <source>Avgr&#x000E4;nsningar av Koncentrerad Bebyggelse</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.scb.se/hitta-statistik/regional-statistik-och-kartor/geodata/oppna-geodata/">http://www.scb.se/hitta-statistik/regional-statistik-och-kartor/geodata/oppna-geodata/</ext-link> (accessed June 19, 2019).<pub-id pub-id-type="pmid">30643031</pub-id></citation></ref>
<ref id="B58">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sharpley</surname> <given-names>A.</given-names></name> <name><surname>Kleinman</surname> <given-names>P.</given-names></name> <name><surname>Jarvie</surname> <given-names>H.</given-names></name> <name><surname>Flaten</surname> <given-names>D.</given-names></name></person-group> (<year>2016</year>). <article-title>Distant views and local realities: the limits of global assessments to restore the fragmented phosphorus cycle</article-title>. <source>Agric. Environ. Lett.</source> <volume>1</volume>:<fpage>160024</fpage>. <pub-id pub-id-type="doi">10.2134/ael2016.07.0024</pub-id></citation></ref>
<ref id="B59">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shigaki</surname> <given-names>F.</given-names></name> <name><surname>Sharpley</surname> <given-names>A.</given-names></name> <name><surname>Prochnow</surname> <given-names>L. I.</given-names></name></person-group> (<year>2006</year>). <article-title>Animal-based agriculture, phosphorus management and water quality in Brazil: options for the future</article-title>. <source>Sci. Agric.</source> <volume>63</volume>, <fpage>194</fpage>&#x02013;<lpage>209</lpage>. <pub-id pub-id-type="doi">10.1590/S0103-90162006000200013</pub-id></citation></ref>
<ref id="B60">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Smith</surname> <given-names>V. H.</given-names></name></person-group> (<year>2003</year>). <article-title>Eutrophication of freshwater and coastal marine ecosystems a global problem</article-title>. <source>Environ. Sci. Pollut. Res.</source> <volume>10</volume>, <fpage>126</fpage>&#x02013;<lpage>139</lpage>. <pub-id pub-id-type="doi">10.1065/espr2002.12.142</pub-id><pub-id pub-id-type="pmid">12729046</pub-id></citation></ref>
<ref id="B61">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sobota</surname> <given-names>D. J.</given-names></name> <name><surname>Compton</surname> <given-names>J. E.</given-names></name> <name><surname>McCrackin</surname> <given-names>M. L.</given-names></name> <name><surname>Singh</surname> <given-names>S.</given-names></name></person-group> (<year>2015</year>). <article-title>Cost of reactive nitrogen release from human activities to the environment in the United States</article-title>. <source>Environ. Res. Lett.</source> <volume>10</volume>:<fpage>25006</fpage>. <pub-id pub-id-type="doi">10.1088/1748-9326/10/2/025006</pub-id></citation></ref>
<ref id="B62">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Solaiman</surname> <given-names>S.</given-names></name> <name><surname>Ahmed</surname> <given-names>N.</given-names></name></person-group> (<year>2006</year>). <article-title>&#x0201C;Plant nutrition management for better farmer livelihood, food security and environment,&#x0201D;</article-title> in <source>Improving Plant Nutrient Management for Better Farmer Livelihoods, Food Security and Environmental Sustainability</source> (<publisher-loc>Beijing</publisher-loc>), <fpage>58</fpage>&#x02013;<lpage>72</lpage>.</citation></ref>
<ref id="B63">
<citation citation-type="web"><person-group person-group-type="author"><collab>Statistics Sweden</collab></person-group> (<year>2008</year>). <source>Livestock by Municipality and Type of Animal. Year 1981, 1985, 1989-1995, 1999, 2003, 2005, 2007</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.statistikdatabasen.scb.se/pxweb/en/ssd/START__JO__JO0103/HusdjurK/?rxid=86abd797-7854-4564-9150-c9b06ae3ab07&#x00023;">http://www.statistikdatabasen.scb.se/pxweb/en/ssd/START__JO__JO0103/HusdjurK/?rxid=86abd797-7854-4564-9150-c9b06ae3ab07&#x00023;</ext-link> (accessed January 10, 2018).</citation></ref>
<ref id="B64">
<citation citation-type="web"><person-group person-group-type="author"><collab>Statistics Sweden</collab></person-group> (<year>2017</year>). <source>Population by Region, Marital Status, Age and Sex. Year 1968 - 2016</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.statistikdatabasen.scb.se/pxweb/en/ssd/START__BE__BE0101__BE0101A/BefolkningNy/?rxid=86abd797-7854-4564-9150-c9b06ae3ab07&#x00023;">http://www.statistikdatabasen.scb.se/pxweb/en/ssd/START__BE__BE0101__BE0101A/BefolkningNy/?rxid=86abd797-7854-4564-9150-c9b06ae3ab07&#x00023;</ext-link> (accessed January 9, 2018).</citation></ref>
<ref id="B65">
<citation citation-type="book"><person-group person-group-type="author"><collab>Swedish Board of Agriculture</collab></person-group> (<year>2017</year>). <source>Jordart och V&#x000E4;xtn&#x000E4;ringstillst&#x000E5;nd i &#x000C5;kermarken</source>. J&#x000F6;nk&#x000F6;ping.</citation></ref>
<ref id="B66">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Teravaninthorn</surname> <given-names>S.</given-names></name> <name><surname>Raballand</surname> <given-names>G.</given-names></name></person-group> (<year>2008</year>). <source>Transport Prices and Costs in Africa: A Review of the International Corridors</source>. <publisher-loc>Washington, DC</publisher-loc>: <publisher-name>The World Bank</publisher-name>. <pub-id pub-id-type="doi">10.1596/978-0-8213-7650-8</pub-id></citation></ref>
<ref id="B67">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Trimmer</surname> <given-names>J. T.</given-names></name> <name><surname>Cusick</surname> <given-names>R. D.</given-names></name> <name><surname>Guest</surname> <given-names>J. S.</given-names></name></person-group> (<year>2017</year>). <article-title>Amplifying progress toward multiple development goals through resource recovery from sanitation</article-title>. <source>Environ. Sci. Technol.</source> <volume>51</volume>, <fpage>10765</fpage>&#x02013;<lpage>10776</lpage>. <pub-id pub-id-type="doi">10.1021/acs.est.7b02147</pub-id><pub-id pub-id-type="pmid">28875704</pub-id></citation></ref>
<ref id="B68">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Vitousek</surname> <given-names>P. M.</given-names></name> <name><surname>Naylor</surname> <given-names>R.</given-names></name> <name><surname>Crews</surname> <given-names>T.</given-names></name> <name><surname>David</surname> <given-names>M. B.</given-names></name> <name><surname>Drinkwater</surname> <given-names>L. E.</given-names></name> <name><surname>Holland</surname> <given-names>E.</given-names></name> <etal/></person-group>. (<year>2009</year>). <article-title>Agriculture. Nutrient imbalances in agricultural development</article-title>. <source>Science.</source> <volume>324</volume>, <fpage>1519</fpage>&#x02013;<lpage>1520</lpage>. <pub-id pub-id-type="doi">10.1126/science.1170261</pub-id><pub-id pub-id-type="pmid">19541981</pub-id></citation></ref>
<ref id="B69">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Vollaro</surname> <given-names>M.</given-names></name> <name><surname>Galioto</surname> <given-names>F.</given-names></name> <name><surname>Viaggi</surname> <given-names>D.</given-names></name></person-group> (<year>2017</year>). <article-title>The circular economy and agriculture: new opportunities for re-using Phosphorus as fertilizer</article-title>. <source>Bio Based Appl. Econ.</source> <volume>5</volume>, <fpage>267</fpage>&#x02013;<lpage>285</lpage>. <pub-id pub-id-type="doi">10.13128/BAE-18527</pub-id></citation></ref>
<ref id="B70">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wadsworth</surname> <given-names>R.</given-names></name> <name><surname>Hallett</surname> <given-names>S.</given-names></name> <name><surname>Sakrabani</surname> <given-names>R.</given-names></name></person-group> (<year>2018</year>). <article-title>Phosphate acceptance map: a novel approach to match phosphorus content of biosolids with land and crop requirements</article-title>. <source>Agric. Syst.</source> <volume>166</volume>, <fpage>57</fpage>&#x02013;<lpage>69</lpage>. <pub-id pub-id-type="doi">10.1016/j.agsy.2018.07.015</pub-id></citation></ref>
<ref id="B71">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Westerman</surname> <given-names>P. W.</given-names></name> <name><surname>Bicudo</surname> <given-names>J. R.</given-names></name></person-group> (<year>2005</year>). <article-title>Management considerations for organic waste use in agriculture</article-title>. <source>Bioresour. Technol.</source> <volume>96</volume>, <fpage>215</fpage>&#x02013;<lpage>221</lpage>. <pub-id pub-id-type="doi">10.1016/j.biortech.2004.05.011</pub-id><pub-id pub-id-type="pmid">15381219</pub-id></citation></ref>
</ref-list>
<fn-group>
<fn id="fn0001"><p><sup>1</sup>The extent of urban areas in the base gridded dataset was derived from a combination of the Global Rural-Urban Mapping Project (GRUMP) dataset and the global land cover GLC 2000 urban class based on night satellite imagery using the Defense Meteorological Satellite Program operational linescan system.</p></fn>
<fn id="fn0002"><p><sup>2</sup>We identified and assigned each block a crop production region and the soil class of P-AL and K-AL. The assigning was used to match the fertilizer recommendation rates, which were different for a crop based on the region or the soil class in which the crop was being grown (<xref ref-type="supplementary-material" rid="SM1">SI Table 3A</xref>).</p></fn>
<fn id="fn0003"><p><sup>3</sup>For Pakistan, we used the same values as in Akram et al. (<xref ref-type="bibr" rid="B1">2018</xref>) for the market value of 1 kg of synthetic fertilizer nutrient which were obtained from the National Fertilizer Development Center. For Sweden we use the same values as in Akram et al. (<xref ref-type="bibr" rid="B72">in press</xref>) which were obtained from Greppa N&#x000E4;ringen (<xref ref-type="bibr" rid="B30">2008</xref>).</p></fn>
</fn-group>
<fn-group>
<fn fn-type="financial-disclosure"><p><bold>Funding.</bold> We are grateful to FORMAS, the Swedish research council for sustainable development, for funding this work. Grant: 992023 UW. FORMAS 942-2016-69.</p>
</fn>
</fn-group>
</back>
</article>