geo-spatial queries

2108
3
09-12-2011 06:52 PM
Labels (1)
MichaelErlich
New Contributor II
Is there any way to perform geo-spatial queries, including:
What polygon is a point in?
What is the closed road to point x?
0 Kudos
3 Replies
KerrieScholefield
Occasional Contributor
Is there any way to perform geo-spatial queries, including:
What polygon is a point in?
What is the closed road to point x?


Hi,

The ArcGIS Runtime does support geo-spatial queries by using either the Geometry task to perform geometric operations or Geoprocessing Tools to perform spatial analysis and modelling.

The Geometry task provides a range of methods for performing geometric operations on input geometries. To find out what polygon a point is in you could use the relation operation which determines whether a spatial relationship is true between two geometries. For more information on how to use the geometry task and the relation operation in the ArcGIS Runtime please refer to the WPF help.
http://resourcesbeta.arcgis.com/en/help/runtime-wpf/help/

Second is Geoprocessing. This typically works at the level of a whole dataset if performing operator type analyses or alternatively it runs a much larger workflow which might be �??what service points are upstream from this valve?�?�. You can perform geoprocessing on local data by executing geoprocessing models in ArcGIS Runtime that you've created and published with ArcGIS Desktop. Geoprocessing models chain together GIS analysis operations so that they can be executed automatically. These models generally consist of a series of tools in ArcToolbox, chained together logically to accomplish a specific task. At Beta 1  not all of the geoprocessing tools are available to work with the ArcGIS Runtime. For more information on creating and running geoprocessing models refer to the geoprocessing section in the ArcGIS Desktop help.

To find out what polygon a point is in you could use the Intersect tool in the Overlay toolset. This tool discovers geometric relationships (intersections) between features and writes these intersections as features (point, line, or polygon) to the output. To create a Geoprocessing package to work with the ArcGIS Runtime you must first have successfully run the geoprocessing model in ArcGIS Desktop. To create a Geoprocessing package to work with the ArcGIS Runtime please refer to the WPF SDK help.
http://resourcesbeta.arcgis.com/en/help/runtime-wpf/help/

Please could you clarify what you mean by
What is the closed road to point x?


Cheers

Kerrie
0 Kudos
MichaelErlich
New Contributor II
Sorry, that was a typo.  Should have been closest not closed.  So, for a given point, what is the closest road/street to that point.
0 Kudos
KerrieScholefield
Occasional Contributor
Sorry, that was a typo.  Should have been closest not closed.  So, for a given point, what is the closest road/street to that point.


Hi,

The Proximity Geoprocessing tools in the Analysis toolbox can be used to discover proximity relationships. The buffer tool can be used to create a buffer polygon around the point input feature to a specified distance, which could be used as input to overlay or spatial selection tools to find out which roads are close. In ArcGIS Runtime Beta 1 the Buffer Tool and Multiple Ring Buffer are supported. For more information on the different Geoprocessing tools refer to the geoprocessing section in the ArcGIS Desktop help.

Cheers,

Kerrie
0 Kudos