<?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 Re: data driven pages and using sql / python queries based on them in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223150#M2377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sam,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure I'm entirely clear what you are asking, but I don't think you can do exactly what you are asking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One thought as a work around is to make a copy of your "other layers" that are locked so you can have an editable version.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then do a spatial join or other similar operation to add the Index Layer's attributes to your new editable "other layers".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you should be able to use the PDQ to show only the features in the selected page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thought is to add a second copy of your index layer and set a PDQ to "Match" the selected page, then use that second copy of the index layer to perform a spatial selection on your "other layers" to get a selected set for your current page.&amp;nbsp; You could then either just highlight the selected set or output the selected set as a layer for display purposes only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope one of those thoughts help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2012 21:44:30 GMT</pubDate>
    <dc:creator>JoelCalhoun</dc:creator>
    <dc:date>2012-05-30T21:44:30Z</dc:date>
    <item>
      <title>data driven pages and using sql / python queries based on them</title>
      <link>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223149#M2376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to use queries based on data driven pages and page definition queries already set. Here is the run down of what I have done / tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Created DDP and then on layers applied a PDQ.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tried to join other layers to the PDQ layers to display only features per specific map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is I have features that do not have the page name present in their attributes and cannot use the PDQ because of this. These datasets are locked and thus I cannot add fields. I realize I cannot preform the PDQ on a field not containing the DDP names. And in the work around I attempted, I set the PDQ on a layer, join to it, but once joined it does not reflect the PDQ, rather any and all matching records. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any code I can use to reference the specific DDP and then a different field rather then the one the page name is based upon? I am sorry if this is jumbled. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for any help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 17:01:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223149#M2376</guid>
      <dc:creator>SamVeltre</dc:creator>
      <dc:date>2012-05-30T17:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: data driven pages and using sql / python queries based on them</title>
      <link>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223150#M2377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sam,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure I'm entirely clear what you are asking, but I don't think you can do exactly what you are asking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One thought as a work around is to make a copy of your "other layers" that are locked so you can have an editable version.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then do a spatial join or other similar operation to add the Index Layer's attributes to your new editable "other layers".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you should be able to use the PDQ to show only the features in the selected page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thought is to add a second copy of your index layer and set a PDQ to "Match" the selected page, then use that second copy of the index layer to perform a spatial selection on your "other layers" to get a selected set for your current page.&amp;nbsp; You could then either just highlight the selected set or output the selected set as a layer for display purposes only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope one of those thoughts help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 21:44:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223150#M2377</guid>
      <dc:creator>JoelCalhoun</dc:creator>
      <dc:date>2012-05-30T21:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: data driven pages and using sql / python queries based on them</title>
      <link>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223151#M2378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply. Your suggestion was the first I tired and would work, but the spatial join / intersect I run creates a many to many scenario and once joined does not always reflect the correct page once the PDQ is applied. Thanks for deciphering my question though!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 11:06:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223151#M2378</guid>
      <dc:creator>SamVeltre</dc:creator>
      <dc:date>2012-05-31T11:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: data driven pages and using sql / python queries based on them</title>
      <link>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223152#M2379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to get my head around this.&amp;nbsp; Is there any way you can provide a map package or zip with a very small, simple sample?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 13:18:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223152#M2379</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2012-06-01T13:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: data driven pages and using sql / python queries based on them</title>
      <link>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223153#M2380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply. Not sure if I will be able to share any data as it is all sensitive. I will have to check with my supervisor to see. Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 16:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223153#M2380</guid>
      <dc:creator>SamVeltre</dc:creator>
      <dc:date>2012-06-01T16:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: data driven pages and using sql / python queries based on them</title>
      <link>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223154#M2381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you can't share the data, you can always make up some data.&amp;nbsp; I just need to see your workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 15:47:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/data-driven-pages-and-using-sql-python-queries/m-p/223154#M2381</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2012-06-04T15:47:03Z</dc:date>
    </item>
  </channel>
</rss>

