How to execute query using Utilities Geometry (GeometryServer) tool

235
3
Jump to solution
12-18-2020 11:57 AM
GregoryBologna
Occasional Contributor

Given the geometry query below, how would I enter the parts into the ArcGIS Utilities Geometry (GeometryServer) query shown in screenshot?

ArcGIS GeometryServer queryArcGIS GeometryServer query

 

This is my json query

 

{"geometry":{"spatialReference":{"latestWkid":3857,"wkid":102100},"rings":[[[-9187473.41276618,3188162.5654556816],[-9187434.9401002657,3188152.1212731851],[-9187437.0374417529,3188124.0742577673],[-9187478.3572086357,3188134.81423361],[-9187480.4803962763,3188136.4591659759],[-9187482.82138976,3188137.7757820026],[-9187485.32981364,3188138.7357496503],[-9187486.1791619044,3188139.3302621851],[-9187486.9202693515,3188140.0552431336],[-9187487.5333208945,3188140.8913085815],[-9187488.0019252859,3188141.8161045313],[-9187488.31355339,3188142.8049045876],[-9187488.4598731585,3188143.8312710673],[-9187488.4369724244,3188144.867761869],[-9187488.6253482066,3188149.8298659292],[-9187488.28674475,3188154.78398642],[-9187487.4249764085,3188159.674315393],[-9187486.0497509651,3188164.4457635083],[-9187484.1765602734,3188169.0445806137],[-9187473.41276618,3188162.5654556816]]]},"outFields":["OBJECTID","PARID","PAR_MAIL_LABEL1","PAR_MAIL_LABEL2","PAR_MAIL_LABEL3","PAR_MAIL_LABEL4","PAR_MAIL_LABEL5","PAR_MAIL_LABEL6"],"outSR":{"latestWkid":3857,"wkid":102100},"returnGeometry":true,"spatialRel":"esriSpatialRelIntersects"}

 

 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Gregory,

 

  Here is what you put in the Geometries box:

 

{
  "geometryType" : "esriGeometryPolygon",
  "geometries" :
  [
    {"rings":[[[-9187473.41276618,3188162.5654556816],[-9187434.9401002657,3188152.1212731851],[-9187437.0374417529,3188124.0742577673],[-9187478.3572086357,3188134.81423361],[-9187480.4803962763,3188136.4591659759],[-9187482.82138976,3188137.7757820026],[-9187485.32981364,3188138.7357496503],[-9187486.1791619044,3188139.3302621851],[-9187486.9202693515,3188140.0552431336],[-9187487.5333208945,3188140.8913085815],[-9187488.0019252859,3188141.8161045313],[-9187488.31355339,3188142.8049045876],[-9187488.4598731585,3188143.8312710673],[-9187488.4369724244,3188144.867761869],[-9187488.6253482066,3188149.8298659292],[-9187488.28674475,3188154.78398642],[-9187487.4249764085,3188159.674315393],[-9187486.0497509651,3188164.4457635083],[-9187484.1765602734,3188169.0445806137],[-9187473.41276618,3188162.5654556816]]]}]
}

 

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Gregory,

 

  Here is what you put in the Geometries box:

 

{
  "geometryType" : "esriGeometryPolygon",
  "geometries" :
  [
    {"rings":[[[-9187473.41276618,3188162.5654556816],[-9187434.9401002657,3188152.1212731851],[-9187437.0374417529,3188124.0742577673],[-9187478.3572086357,3188134.81423361],[-9187480.4803962763,3188136.4591659759],[-9187482.82138976,3188137.7757820026],[-9187485.32981364,3188138.7357496503],[-9187486.1791619044,3188139.3302621851],[-9187486.9202693515,3188140.0552431336],[-9187487.5333208945,3188140.8913085815],[-9187488.0019252859,3188141.8161045313],[-9187488.31355339,3188142.8049045876],[-9187488.4598731585,3188143.8312710673],[-9187488.4369724244,3188144.867761869],[-9187488.6253482066,3188149.8298659292],[-9187488.28674475,3188154.78398642],[-9187487.4249764085,3188159.674315393],[-9187486.0497509651,3188164.4457635083],[-9187484.1765602734,3188169.0445806137],[-9187473.41276618,3188162.5654556816]]]}]
}

 

GregoryBologna
Occasional Contributor

 

Robert. I believe this was working for me last year when you helped me, but now it results in this error. What do you think?

The service is public if you want to try.

https://gis.manateepao.com/arcgis/rest/services/Utilities/Geometry/GeometryServer/buffer

GregoryBologna_0-1653061672714.png

 

 

 

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

You are going to get an error if you do not specify the buffer distance and/or distance unit

0 Kudos