We have a cadastre polygon feature class. Some of the features have a Name associated with the lot (i.e. Neighbourhood Park). I would
like to be able to reverse geocode using coordinates to find out which Park Name the coordinates fall in. I have tried the using the General – Single
Field style but it only geocodes to the centroid of the polygon if I am within the distance specified. I also tried using the Gazetteer style and that was a
little better but did not seem to work in a Composite Locator when combined with Street based locators. Maybe I need a custom style.
I am using 10.0 SP5.
I hope somebody is able to help me or point me in the correct direction.
Regards,
Cameron
Solved! Go to Solution.
Brad from ESRI gave me the solution so I am posting here for all users. Here it is:
Go to the locator style (%ArcgisInstallDirectory%\Locators) and open the General.lot.xml in a text editor (I would suggest Notepadd++). Look for mapping_schema name="SingleField"t used here so t worry about that) in the XML file. If you look in the XML just ” section.
If you comment this out, the locator will be built with polygons instead of points. It will make the locator slower but will work better for reverse geocoding. You can comment this out by adding a “<!—“ before the first “<conversions>” tag and “-->” after the“</conversions>” tag like you see below:
<!--<conversions>
<conversion>
<mapping ase_ref="Shape">
<method ref="calc_polygon_centroid">
<parameter>
<field_value ref="Shape" />
</parameter>
</method>
</mapping>
</conversion>
</conversions>-->
After this you will need to re-create your locator (not rebuild).
Brad from ESRI gave me the solution so I am posting here for all users. Here it is:
Go to the locator style (%ArcgisInstallDirectory%\Locators) and open the General.lot.xml in a text editor (I would suggest Notepadd++). Look for mapping_schema name="SingleField"t used here so t worry about that) in the XML file. If you look in the XML just ” section.
If you comment this out, the locator will be built with polygons instead of points. It will make the locator slower but will work better for reverse geocoding. You can comment this out by adding a “<!—“ before the first “<conversions>” tag and “-->” after the“</conversions>” tag like you see below:
<!--<conversions>
<conversion>
<mapping ase_ref="Shape">
<method ref="calc_polygon_centroid">
<parameter>
<field_value ref="Shape" />
</parameter>
</method>
</mapping>
</conversion>
</conversions>-->
After this you will need to re-create your locator (not rebuild).
What is the equivalent solution when using Pro?
Hi the procedure is the same if you are using a Single Field style locator, its just the location of the style file in Pro has changed, by default it will be at: C:\Program Files\ArcGIS\Pro\Resources\Locators
Is this still an option in ArcGIS Pro 3.3?
@KadeChapman3 This option is not available for locators that are built with the Create Locator tool or Create Feature Locator tool. The option was only available for locators built with the Create Address Locator tool in ArcMap or ArcGIS Pro 2.6 and earlier.
@ShanaBritt Is there a way to get the same functionality in ArcGIS Pro? I want to avoid a reverse geocode match being based on the nearest polygon centroid, but based on what polygon it is intersecting.
@KadeChapman3 The is no way in ArcGIS Pro to modify the locator template to return the polygon as you could with the classic locators in ArcMap that is referenced as the solution for the original question in this post.
-Shana