<?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: Polygons and Lines in GEP in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18418#M51</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, Envelopes should be recognized as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2013 18:13:00 GMT</pubDate>
    <dc:creator>RyanElliott</dc:creator>
    <dc:date>2013-12-11T18:13:00Z</dc:date>
    <item>
      <title>Polygons and Lines in GEP</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18413#M46</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to get Polygons and Lines into GEP. Unfortunately I did not find any hint in the resource-center about getting polygons and lines into GEP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now I tried with a Json Input Adapter and I tried to fill in a polygon with the Json Geometry Object Notation, which you can find here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/rest/apiref/geometry.html"&gt;http://resources.arcgis.com/en/help/rest/apiref/geometry.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So far I tried to feed the GEP with the following Json:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;[{"geometry": {"hasZ":true,"rings": [[10.114760188242185,49.44835148727626,0],[10.114760188242385,49.44835148727626,0],[10.114760188242085,49.44835148727326,0],[10.114760188242485,49.44835148727426,0],[10.114760188242185,49.44835148727626,0]],"spatialReference":{"wkid":4326}},"attributes":{"Alpha":"alpha"}]&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I get&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]29438[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the geometry is not recognized. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any documentation about the formatting of Polygons and Lines?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rainer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 12:48:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18413#M46</guid>
      <dc:creator>R_Spitzer</dc:creator>
      <dc:date>2013-11-28T12:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Polygons and Lines in GEP</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18414#M47</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There were some bugs with the 10.2.0 version of the JSON Feature parser.&amp;nbsp; The known issues were fixed in version 10.2.1, and so it should be able to read an array of features like the sample below, or you can omit the square brackets and send an individual feature.&amp;nbsp; I noticed that in your posted sample JSON, you were missing a curly bracket "}" near the end.&amp;nbsp; Your screenshot shows a GeoEvent Definition that does not match the JSON data, though.&amp;nbsp; It should have 2 fields, a Geometry and a String field.&amp;nbsp; The geometry field can be named anything you like, but need to have the GEOMETRY tag on it.&amp;nbsp; The string field needs to have the name "Alpha" in order to get the parser to populate the field correctly.&amp;nbsp; Hope that helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
[
&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "geometry": 
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "rings": 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [10.114760188242185,49.44835148727626,0],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [10.114760188242385,49.44835148727626,0],&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [10.114760188242085,49.44835148727326,0],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [10.114760188242485,49.44835148727426,0],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [10.114760188242185,49.44835148727626,0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "spatialReference":
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "wkid":4326
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp;&amp;nbsp; "attributes":
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Alpha":"alpha"
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }
]&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:44:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18414#M47</guid>
      <dc:creator>RyanElliott</dc:creator>
      <dc:date>2021-12-10T20:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Polygons and Lines in GEP</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18415#M48</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a very similar situation, but I would like to create the line or polygon through a comma separated message.&amp;nbsp; Is that possible?&amp;nbsp; If yes, is there an example or documentation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ken&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 22:14:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18415#M48</guid>
      <dc:creator>KennethTriplett</dc:creator>
      <dc:date>2013-12-10T22:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Polygons and Lines in GEP</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18416#M49</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that is possible.&amp;nbsp; You would have to embed the JSON structure above into a single quoted text value in your csv message.&amp;nbsp; The quotes in the JSON structure have to be escaped.&amp;nbsp; Newline characters (carriage returns) need to be removed.&amp;nbsp; So the message in my previous post would look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;"{\"rings\":[[[10.114760188242185,49.44835148727626,0],[10.114760188242385,49.44835148727626,0],[10.114760188242085,49.44835148727326,0],[10.114760188242485,49.44835148727426,0],[10.114760188242185,49.44835148727626,0]]],\"spatialReference\":{\"wkid\":4326}}",alpha&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need to know what a polyline looks like (or just want the complete spec for geometry objects, &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/rest/apiref/geometry.html"&gt;Take a look here&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 23:15:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18416#M49</guid>
      <dc:creator>RyanElliott</dc:creator>
      <dc:date>2013-12-10T23:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Polygons and Lines in GEP</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18417#M50</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the GEP able to handle all this kind of geometries listed there? Specially Envelopes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 06:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18417#M50</guid>
      <dc:creator>R_Spitzer</dc:creator>
      <dc:date>2013-12-11T06:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Polygons and Lines in GEP</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18418#M51</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, Envelopes should be recognized as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 18:13:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/polygons-and-lines-in-gep/m-p/18418#M51</guid>
      <dc:creator>RyanElliott</dc:creator>
      <dc:date>2013-12-11T18:13:00Z</dc:date>
    </item>
  </channel>
</rss>

