Select to view content in your preferred language

Query with Buffer

790
3
05-10-2010 12:56 PM
RaghuramDintakurthi
New Contributor
Hi

I am trying to use the Query with buffer functionality. If we look at the ESRI's online SDK, you can see that the buffer is properly implemented within the default map extension. When you click on the map, it will create the buffer polygon and then selects the parcels which are intersecting this buffer polygon. The main problem is, if you try anywhere on the map, then buffer wouldn???t work. Buffer is getting created very far from the clicked location. Am I missing something here? Is there any spatial reference related issue other than the default extension? May be simple reason, does anyone has the answer for this.
0 Kudos
3 Replies
dotMorten_esri
Esri Notable Contributor
The sample is made for that specific area where the projection/spatial reference used works well. You should pick a spatial reference that works best for the area you are interested in. This is due to the large distortion that projections can cause when used far from the area where the distortions is at a minimum.
0 Kudos
RaghuramDintakurthi
New Contributor
Actully I need to do this buffer operation any where in USA. So everytime when I need to do the buffer operation, do I need to forcely set the spatial reference to Map object? Can you tell me how does it goes?
0 Kudos
dotMorten_esri
Esri Notable Contributor
There are several options, depending on the use cases, so first let me ask:
What are the average radius of the buffers you need to make?
What accuracy do you need for these buffers?
Will it only be buffers around points, or also polylines and polygons?
0 Kudos