Select to view content in your preferred language

Reverse Geocode inside a Parcel polygon?

4768
7
Jump to solution
10-20-2014 09:16 AM
CameronBlandy
Regular Contributor

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

0 Kudos
1 Solution

Accepted Solutions
CameronBlandy
Regular Contributor

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).

View solution in original post

7 Replies
CameronBlandy
Regular Contributor

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).

AndrewMilanes
Frequent Contributor

What is the equivalent solution when using Pro?

0 Kudos
BruceHarold
Esri Regular Contributor

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

KadeChapman3
Emerging Contributor

Is this still an option in ArcGIS Pro 3.3?

0 Kudos
ShanaBritt
Esri Regular Contributor

@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.

0 Kudos
KadeChapman3
Emerging Contributor

@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.

0 Kudos
ShanaBritt
Esri Regular Contributor

@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

 

0 Kudos