<?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 Query with Mulitpoint geometry: &amp;amp;quot;Invalid or missing input parameters.&amp;amp;quot; in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-with-mulitpoint-geometry-amp-quot-invalid-or/m-p/450275#M41567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to query a feature layer on my ArcGis Server withe the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
var queryTask = new esri.tasks.QueryTask(arcServerRESTURL + "/" + layerNumber);

var query = new esri.tasks.Query();
query.geometry = multipoint;
query.returnGeometry = true;
query.outFields = ["*"];

queryTask.execute(query, function(featureSet) {
 for (var i=0, il=featureSet.features.length; i&amp;lt;il; i++) {
&amp;nbsp; idList.push(parseInt(featureSet.features&lt;I&gt;.attributes.id));
&amp;nbsp; if (showResult) {
&amp;nbsp;&amp;nbsp; featureSet.features&lt;I&gt;.setSymbol(gemeindenSymbol);
&amp;nbsp;&amp;nbsp; graphicsLayer.add(featureSet.features&lt;I&gt;);
&amp;nbsp; };
 }
 }
}, function(error){
 alert(error);
});
&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everytime I got this error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Invalid or missing input parameters.&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I do something that the query use the mulipoint as geometry type?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jörg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2014 14:24:04 GMT</pubDate>
    <dc:creator>JörgPossin</dc:creator>
    <dc:date>2014-03-26T14:24:04Z</dc:date>
    <item>
      <title>Query with Mulitpoint geometry: &amp;quot;Invalid or missing input parameters.&amp;quot;</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-with-mulitpoint-geometry-amp-quot-invalid-or/m-p/450275#M41567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to query a feature layer on my ArcGis Server withe the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
var queryTask = new esri.tasks.QueryTask(arcServerRESTURL + "/" + layerNumber);

var query = new esri.tasks.Query();
query.geometry = multipoint;
query.returnGeometry = true;
query.outFields = ["*"];

queryTask.execute(query, function(featureSet) {
 for (var i=0, il=featureSet.features.length; i&amp;lt;il; i++) {
&amp;nbsp; idList.push(parseInt(featureSet.features&lt;I&gt;.attributes.id));
&amp;nbsp; if (showResult) {
&amp;nbsp;&amp;nbsp; featureSet.features&lt;I&gt;.setSymbol(gemeindenSymbol);
&amp;nbsp;&amp;nbsp; graphicsLayer.add(featureSet.features&lt;I&gt;);
&amp;nbsp; };
 }
 }
}, function(error){
 alert(error);
});
&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everytime I got this error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Invalid or missing input parameters.&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I do something that the query use the mulipoint as geometry type?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jörg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 14:24:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-with-mulitpoint-geometry-amp-quot-invalid-or/m-p/450275#M41567</guid>
      <dc:creator>JörgPossin</dc:creator>
      <dc:date>2014-03-26T14:24:04Z</dc:date>
    </item>
  </channel>
</rss>

