The following call shows how to post to the Adapter for GIS to register a selection geometry shape needed to run a report.
IBIESRI_mapmaxx=11830952.025000015&IBIESRI_mapminx=11719545.775000015 &IBIESRI_command=registershape&IBIESRI_shape=rectangle &IBIESRI_featureset_mapservice0_8={"fieldAliases":{"NAME":"NAME"},"features": [{"attributes":{"NAME":"014A"}}],"displayFieldName":"Name","spatialReference": {"wkid":2284},"geometryType":"esriGeometryPolygon"} &IBIESRI_fexid=fex1&IBIESRI_minx=11790170.775000015 &IBIESRI_domkey=domkey728e6e2a&IBIESRI_spatialSelect_dataInclusive=true &IBIESRI_mapminy=3690232.712500013 &IBIESRI_spatialSelect_geometry={"features":[{"geometry": {"rings":[[[11790170.775000015,3723592.087500013], [11790483.275000015,3723592.087500013], [11790483.275000015,3722810.837500013], [11790170.775000015,3722810.837500013], [11790170.775000015,3723592.087500013]]],"spatialReference": {"wkid":2284}}}],"displayFieldName":"","spatialReference": {"wkid":2284},"geometryType":"esriGeometryPolygon"} &IBIESRI_maxx=11790483.275000015&IBIESRI_spatialSelect_bufferUnionResults=true &IBIESRI_spatialSelect_bufferDataInclusive=true &IBIESRI_maxy=3723592.087500013&IBIESRI_mapmaxy=3742654.587500013 &IBIESRI_featureset_mapservice0_1={"fieldAliases":{"IARMAINID":"IARMAINID"}, "features":[{"attributes":{"IARMAINID":94788}},{"attributes":{"IARMAINID":96592}}, displayFieldName":"NAME_ID","spatialReference":{"wkid":2284},"geometryType": "esriGeometryPoint"} &IBIESRI_spatialSelect_bufferUnits=-1&IBIESRI_miny=3722810.837500013 &IBIESRI_spatialSelect_spatialRelationship=esriGeometryRelationIntersection &IBIESRI_random=3_0.6423016618937254
WfArcConnector.jsp
Parameter | Value |
---|---|
IBIESRI_command | registershape |
IBIESRI_fexid | Fex ID as defined in the XML file |
IBIESRI_mapmaxx | Map coordinates max longitude |
IBIESRI_mapminx | Map coordinates minx longitude |
IBIESRI_mapmaxy | Map coordinates maxy latitude |
IBIESRI_mapminy | Map coordinates miny latitude |
IBIESRI_miny | Spatial selection shape miny latitude |
IBIESRI_maxy | Spatial selection shape maxy latitude |
IBIESRI_maxx | Spatial selection shape maxx longitude |
IBIESRI_minx | Spatial selection shape minx longitude |
IBIESRI_spatialSelect_bufferUnionResults | Merge buffered selections |
IBIESRI_spatialSelect_bufferUnits | Buffer Units for selections |
IBIESRI_spatialSelect_dataInclusive | Include data with spatial selections |
IBIESRI_shape | Selection shape type, rectangle, polygon, point, polyline |
IBIESRI_spatialSelect_geometry | Selection geometry encoded as a JSON |
IBIESRI_random | Random value used by the Adapter for GIS |
IBIESRI_featureset_mapservice0_8 | JSON formatted string of a featureset created by ArcGIS Server. Created using the method convertToJSON on a featureset. |
Returns: A shape key encoded in XML.
Return Example
<?xml version="1.0" encoding="windows-1252"?> <shapekey key='rectangle80000001' />
WebFOCUS |