<?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: Query Layer in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/query-layer/m-p/553233#M43177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try the MakeQueryTable tool in ArcToolbox. The 'Expression' parameter is where you would put all the SQL. I haven't tested it using any SQL spatial stuff though - just tabular stuff I use to make pseudo spatial views. Be sure to return the Shape field in the query, else you only get a table view back (and not a feature layer).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2011 20:50:45 GMT</pubDate>
    <dc:creator>ChrisSnyder</dc:creator>
    <dc:date>2011-03-09T20:50:45Z</dc:date>
    <item>
      <title>Query Layer</title>
      <link>https://community.esri.com/t5/python-questions/query-layer/m-p/553232#M43176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At 10, ArcMap, under File &amp;gt; Add Data &amp;gt; Add Query Layer, allows the user the interact directly with the underlying RDMS, i.e. SQL 2008 Spatial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This function DOES allow for spatial queries, i.e. STIntersects, etc. against the RDMS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone found a way to access the properties, methods, etc. of this function in Python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Want to send spatial queries to SQL through geoprocessing service that is consumed in Javascript API web map app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 20:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/query-layer/m-p/553232#M43176</guid>
      <dc:creator>KeithSandell</dc:creator>
      <dc:date>2011-03-09T20:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layer</title>
      <link>https://community.esri.com/t5/python-questions/query-layer/m-p/553233#M43177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try the MakeQueryTable tool in ArcToolbox. The 'Expression' parameter is where you would put all the SQL. I haven't tested it using any SQL spatial stuff though - just tabular stuff I use to make pseudo spatial views. Be sure to return the Shape field in the query, else you only get a table view back (and not a feature layer).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 20:50:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/query-layer/m-p/553233#M43177</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2011-03-09T20:50:45Z</dc:date>
    </item>
  </channel>
</rss>

