<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Invalid value for Sub layer? in Spatial Data Science Questions</title>
    <link>https://community.esri.com/t5/spatial-data-science-questions/invalid-value-for-sub-layer/m-p/280322#M632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to generate multiple service area polygons for different time periods throughout the day.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have created a model, this includes an iterator (iterate field values) that is using the time periods from a separate CSV file.&lt;/LI&gt;&lt;LI&gt;In the Make Service Area, I make use of&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt; an inline variable for changing the output layer name in make service area to &lt;/SPAN&gt;&lt;EM style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Service Area%i%&lt;/EM&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt; (i.e this keeps it from overwriting the output).&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;I am getting exactly &lt;A href="http://http//resources.arcgis.com/en/help/main/10.1/index.html#//0047000001rr000000"&gt;this error&lt;/A&gt; (Invalid Subvalue for Sub Layer) when trying to add locations to a service area within ModelBuilder. However, the symptoms mentioned in that link relate to my tool being called from a differing language, and mines the standard US install. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SublyrIssue.gif" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/89674_SublyrIssue.gif" style="width: 620px; height: 329px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt; If I try exposing the sub layer parameter, the model provides me with a dropdown where it has Facilities to choose from.&amp;nbsp; Still get same error.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;If I remove the inline variable, it loops through Making Service Area until it finishes on the final date/time from the CSV, and &lt;EM&gt;then&lt;/EM&gt; runs the solve on the final date/time.&lt;/LI&gt;&lt;LI&gt;If I remove the Iterator, it works fine for one date/time pair.&lt;/LI&gt;&lt;LI&gt;If I have the add-to display for ServiceArea%i%, it does successfully add ServiceArea0, which has the sublayer Facilities within it, but its still failing on the Add Locations with not being able to find the sublayer!!&lt;/LI&gt;&lt;LI&gt;Have also tried playing with adding a precondition on AddLocation to ServiceArea%i%, but has no affect.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 01:47:00 GMT</pubDate>
    <dc:creator>SimonJackson</dc:creator>
    <dc:date>2015-04-27T01:47:00Z</dc:date>
    <item>
      <title>Invalid value for Sub layer?</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/invalid-value-for-sub-layer/m-p/280322#M632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to generate multiple service area polygons for different time periods throughout the day.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have created a model, this includes an iterator (iterate field values) that is using the time periods from a separate CSV file.&lt;/LI&gt;&lt;LI&gt;In the Make Service Area, I make use of&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt; an inline variable for changing the output layer name in make service area to &lt;/SPAN&gt;&lt;EM style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Service Area%i%&lt;/EM&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt; (i.e this keeps it from overwriting the output).&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;I am getting exactly &lt;A href="http://http//resources.arcgis.com/en/help/main/10.1/index.html#//0047000001rr000000"&gt;this error&lt;/A&gt; (Invalid Subvalue for Sub Layer) when trying to add locations to a service area within ModelBuilder. However, the symptoms mentioned in that link relate to my tool being called from a differing language, and mines the standard US install. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SublyrIssue.gif" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/89674_SublyrIssue.gif" style="width: 620px; height: 329px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt; If I try exposing the sub layer parameter, the model provides me with a dropdown where it has Facilities to choose from.&amp;nbsp; Still get same error.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;If I remove the inline variable, it loops through Making Service Area until it finishes on the final date/time from the CSV, and &lt;EM&gt;then&lt;/EM&gt; runs the solve on the final date/time.&lt;/LI&gt;&lt;LI&gt;If I remove the Iterator, it works fine for one date/time pair.&lt;/LI&gt;&lt;LI&gt;If I have the add-to display for ServiceArea%i%, it does successfully add ServiceArea0, which has the sublayer Facilities within it, but its still failing on the Add Locations with not being able to find the sublayer!!&lt;/LI&gt;&lt;LI&gt;Have also tried playing with adding a precondition on AddLocation to ServiceArea%i%, but has no affect.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 01:47:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/invalid-value-for-sub-layer/m-p/280322#M632</guid>
      <dc:creator>SimonJackson</dc:creator>
      <dc:date>2015-04-27T01:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid value for Sub layer?</title>
      <link>https://community.esri.com/t5/spatial-data-science-questions/invalid-value-for-sub-layer/m-p/280323#M633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon, I have to say, while I see the utility of adding an animation of the problem, it makes it really hard to examine your model and understand how it is constructed! Posting a static picture of the full model would probably be helpful. I got kind of dizzy staring at it! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; Anyway, one way I have made iterators work better in modelbuilder, is to make submodels out of them, and then add that in to your main model. It's worth a try. Especially if you're getting it to work fine without the iterator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 05:51:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-data-science-questions/invalid-value-for-sub-layer/m-p/280323#M633</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-04-27T05:51:58Z</dc:date>
    </item>
  </channel>
</rss>

