<?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: Feature Layer - Spatial Data Service URL not working when using LineStrings in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-spatial-data-service-url-not-working/m-p/78625#M1897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this is a service-related issue if passing outSR worked for your points and not for lines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In a FeatureLayer, OutSpatialReference is always included in the QueryTask, this is the Map's SpatialReference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want this property skipped, you have to use QueryTask instead and add the results to GraphicsLayer. When setting Query properties, do not set OutSpatialReference and it will not be included in the query. There are some Query samples in the SDK: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2011 22:27:03 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2011-10-13T22:27:03Z</dc:date>
    <item>
      <title>Feature Layer - Spatial Data Service URL not working when using LineStrings</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-spatial-data-service-url-not-working/m-p/78624#M1896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am attempting to get a mapit application working. I've set up a database table with some SQL Geography points in it for one FeatureLayer and it works fine.&amp;nbsp; I am now trying to do another featurelayer using SQL Geography LineStrings, but I am getting a problem when calling the Spatial Data service.&amp;nbsp; The query string that is being put on the url is "query?returnGeometry=true&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;where=1%3d1&amp;amp;outSR=102100&amp;amp;f=json&amp;amp;". When I run this I get "Unable to perform query. Please check your parameters".&amp;nbsp; If I remove the outSR argument from the query string I can call the Spatial data service and get some results back.&amp;nbsp; Is there a way of removing this argument from a setting in either the FeatureLayer xaml or in code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CC&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 23:55:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-spatial-data-service-url-not-working/m-p/78624#M1896</guid>
      <dc:creator>CharlotteCrawford</dc:creator>
      <dc:date>2011-10-10T23:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer - Spatial Data Service URL not working when using LineStrings</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-spatial-data-service-url-not-working/m-p/78625#M1897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this is a service-related issue if passing outSR worked for your points and not for lines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In a FeatureLayer, OutSpatialReference is always included in the QueryTask, this is the Map's SpatialReference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want this property skipped, you have to use QueryTask instead and add the results to GraphicsLayer. When setting Query properties, do not set OutSpatialReference and it will not be included in the query. There are some Query samples in the SDK: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 22:27:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-spatial-data-service-url-not-working/m-p/78625#M1897</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-10-13T22:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer - Spatial Data Service URL not working when using LineStrings</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-spatial-data-service-url-not-working/m-p/78626#M1898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks very much, I will give that a try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CC&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 01:28:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-layer-spatial-data-service-url-not-working/m-p/78626#M1898</guid>
      <dc:creator>CharlotteCrawford</dc:creator>
      <dc:date>2011-10-17T01:28:45Z</dc:date>
    </item>
  </channel>
</rss>

