<?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 ArcServer.rb, Ruby client to ArcGIS REST API in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcserver-rb-ruby-client-to-arcgis-rest-api/m-p/453523#M2134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;few days ago I've released a gem called ArcServer.rb&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/lukefx/arcserver.rb" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/lukefx/arcserver.rb&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a client library to ArcGIS Server REST API that can query, identify, create, update, delete feature, call geoprocessing tools and so on...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quick example of usage...create a feature (point) with a geometry, some attributes and save it to a FeatureLaayer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

f = ArcServer::Graphics::Feature.new({ geometry: { x: 997986.5006082746, y: 5783631.06234916, spatialReference: { wkid: 102100 }}, attributes: {status:1,req_id:"12345",req_type:"Graffiti Complaint �?? Private Property",req_date:"30.09.2013",req_time:"14:00",address:"via dei matti 0",district:"4"} })

fs = ArcServer::FeatureServer.new("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer")
results = fs.applyEdits('0', [ f ], [], []) # adds, updates, deletes

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:13:36 GMT</pubDate>
    <dc:creator>LucaSimone</dc:creator>
    <dc:date>2021-12-11T20:13:36Z</dc:date>
    <item>
      <title>ArcServer.rb, Ruby client to ArcGIS REST API</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcserver-rb-ruby-client-to-arcgis-rest-api/m-p/453523#M2134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;few days ago I've released a gem called ArcServer.rb&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/lukefx/arcserver.rb" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/lukefx/arcserver.rb&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a client library to ArcGIS Server REST API that can query, identify, create, update, delete feature, call geoprocessing tools and so on...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quick example of usage...create a feature (point) with a geometry, some attributes and save it to a FeatureLaayer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

f = ArcServer::Graphics::Feature.new({ geometry: { x: 997986.5006082746, y: 5783631.06234916, spatialReference: { wkid: 102100 }}, attributes: {status:1,req_id:"12345",req_type:"Graffiti Complaint �?? Private Property",req_date:"30.09.2013",req_time:"14:00",address:"via dei matti 0",district:"4"} })

fs = ArcServer::FeatureServer.new("http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer")
results = fs.applyEdits('0', [ f ], [], []) # adds, updates, deletes

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:13:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcserver-rb-ruby-client-to-arcgis-rest-api/m-p/453523#M2134</guid>
      <dc:creator>LucaSimone</dc:creator>
      <dc:date>2021-12-11T20:13:36Z</dc:date>
    </item>
  </channel>
</rss>

