<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: got Open Location Code technology / Plus Codes? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741887#M32489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Malcolm, I have calculated Plus code values in Pro&amp;nbsp;several times. In the table calculate dialog paste the script text posted on Github and run, it's fairly painless.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jan 2019 18:40:04 GMT</pubDate>
    <dc:creator>emmornile1</dc:creator>
    <dc:date>2019-01-02T18:40:04Z</dc:date>
    <item>
      <title>got Open Location Code technology / Plus Codes?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741881#M32483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone else looked for an implementation of Open Location Code technology in ArcGIS Pro?&lt;/P&gt;&lt;P&gt;I would like to create Plus Codes for all our city buildings, and I'll be able to do it with a Google API, or with code from&amp;nbsp;&lt;A class="link-titled" href="https://github.com/google/open-location-code" title="https://github.com/google/open-location-code"&gt;GitHub - google/open-location-code: Open Location Code is a library to generate short codes that can be used like street…&lt;/A&gt;&amp;nbsp;&amp;nbsp; but hey, anyone doing this within GIS? &amp;nbsp;(partial credit for success via QGIS &amp;nbsp;;^)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-=Brian Q&lt;/P&gt;&lt;P&gt;at &amp;nbsp;849VQHGJ+2M9&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 19:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741881#M32483</guid>
      <dc:creator>BrianQuinn</dc:creator>
      <dc:date>2017-08-08T19:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: got Open Location Code technology / Plus Codes?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741882#M32484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any progress Brian?&lt;/P&gt;&lt;P&gt;It seems that the Plus Code system might have some merit, but the description is very non-GIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emmor&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #333333; background-color: #ffffff; font-weight: 300; font-size: 16px; padding-right: 0.1em;"&gt;84PR&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #ffffff; font-weight: 500; font-size: 16px; padding-right: 0.1em;"&gt;WXJR+2Q&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 19:41:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741882#M32484</guid>
      <dc:creator>emmornile1</dc:creator>
      <dc:date>2018-03-06T19:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: got Open Location Code technology / Plus Codes?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741883#M32485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emmor,&lt;/P&gt;&lt;P&gt;I note that Daniel Diaz has generated them for all building footprints in Puerto Rico.&lt;/P&gt;&lt;P&gt;Also, the GitHub site appears to support seven languages' worth of implementations.&lt;/P&gt;&lt;P&gt;Seems like ArcGIS is just not central to OLC quite yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diaz map&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.arcgis.com/home/item.html?id=42575cc228f149feab7d9fe55b742f41" title="https://www.arcgis.com/home/item.html?id=42575cc228f149feab7d9fe55b742f41"&gt;https://www.arcgis.com/home/item.html?id=42575cc228f149feab7d9fe55b742f41&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GitHub site&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/google/open-location-code" title="https://github.com/google/open-location-code"&gt;GitHub - google/open-location-code: Open Location Code is a library to generate short codes that can be used like street…&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-=Brian Q&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 20:00:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741883#M32485</guid>
      <dc:creator>BrianQuinn</dc:creator>
      <dc:date>2018-03-06T20:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: got Open Location Code technology / Plus Codes?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741884#M32486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to use the OLC Python code directly in Pro to calculate the 10 digit plus code for some building points in Africa.&amp;nbsp; It took a little over an hour to do 18 million points.&amp;nbsp; After that is was easy to pull out the local 6 digit + code and to an overlay with regions to get an address combination.&amp;nbsp; I notice that OSMAnd now supports plus codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emmor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 15:25:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741884#M32486</guid>
      <dc:creator>emmornile1</dc:creator>
      <dc:date>2018-05-16T15:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: got Open Location Code technology / Plus Codes?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741885#M32487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds like it’s ready for production.  Thanks for the update!&lt;/P&gt;&lt;P&gt;-=Brian Q&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 15:33:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741885#M32487</guid>
      <dc:creator>BrianQuinn</dc:creator>
      <dc:date>2018-05-16T15:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: got Open Location Code technology / Plus Codes?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741886#M32488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any work on this or anyone want to post detail on how to use the python code in PRO to generate pluscodes. QGIS now has a plugin that will do this but native support in ArcGIS Pro would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2018 16:32:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741886#M32488</guid>
      <dc:creator>MalcolmMeyer2</dc:creator>
      <dc:date>2018-12-07T16:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: got Open Location Code technology / Plus Codes?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741887#M32489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Malcolm, I have calculated Plus code values in Pro&amp;nbsp;several times. In the table calculate dialog paste the script text posted on Github and run, it's fairly painless.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2019 18:40:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741887#M32489</guid>
      <dc:creator>emmornile1</dc:creator>
      <dc:date>2019-01-02T18:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: got Open Location Code technology / Plus Codes?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741888#M32490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Emmor,&lt;/P&gt;&lt;P&gt;Can you be more specific on how you did the calculate, please?&amp;nbsp; Did you use the "def encode..." part of the python code like the following:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;encode&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;latitude&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; longitude&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; codeLength&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;PAIR_CODE_LENGTH_&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; codeLength &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;or&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;codeLength &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; PAIR_CODE_LENGTH_ &lt;SPAN class="operator token"&gt;and&lt;/SPAN&gt; codeLength &lt;SPAN class="operator token"&gt;%&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;raise&lt;/SPAN&gt; ValueError&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Invalid Open Location Code length - '&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; str&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;codeLength&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;# Ensure that latitude and longitude are valid.&lt;/SPAN&gt;
 latitude &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; clipLatitude&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;latitude&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 longitude &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; normalizeLongitude&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;longitude&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;# Latitude 90 needs to be adjusted to be just less, so the returned code&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;# can also be decoded.&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; latitude &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;90&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
 latitude &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; latitude &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; computeLatitudePrecision&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;codeLength&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 code &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; encodePairs&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;latitude&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; longitude&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; min&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;codeLength&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; PAIR_CODE_LENGTH_&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;# If the requested length indicates we want grid refined codes.&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; codeLength &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; PAIR_CODE_LENGTH_&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
 code &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; code &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; encodeGrid&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;latitude&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; longitude&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; codeLength &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; PAIR_CODE_LENGTH_&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; code&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;in the Code Block?&amp;nbsp; And what did you put in the &amp;lt;fieldname&amp;gt; = box?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:34:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741888#M32490</guid>
      <dc:creator>JakeKrall</dc:creator>
      <dc:date>2021-12-12T07:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: got Open Location Code technology / Plus Codes?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741889#M32491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;P&gt;The code I used is:&amp;nbsp;#&amp;nbsp; &amp;nbsp;encode(!POINT_Y!,!POINT_X!,10)&lt;/P&gt;&lt;P&gt;I just pasted the whole openlocationcode.py into the calculate dialog in PRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Emmor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 18:20:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/741889#M32491</guid>
      <dc:creator>emmornile1</dc:creator>
      <dc:date>2019-02-11T18:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: got Open Location Code technology / Plus Codes?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/1059502#M41092</link>
      <description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;We've worked with Plus Codes / Open Location codes for some of our clients, and along with a workmate, we've created an open source geoprocessing tool to work with Plus Code in ArcGIS Pro. The tool is open source, and an help and tutorial about Plus Code and ArcGIS can be found on the tool's repo:&amp;nbsp;&lt;A href="https://github.com/fabanc/arcgis-plus-code-generator" target="_blank"&gt;https://github.com/fabanc/arcgis-plus-code-generator&lt;/A&gt;. I hope that helps.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 16:37:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/1059502#M41092</guid>
      <dc:creator>FabienAncelinNCR</dc:creator>
      <dc:date>2021-05-19T16:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: got Open Location Code technology / Plus Codes?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/1515712#M86518</link>
      <description>&lt;P&gt;Hi Everyone! I was able to create a tool that generates plus codes and unique building IDs based on point or polygon geometry. Thanks to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/463738" target="_blank"&gt;@FabienAncelinNCR&lt;/A&gt;&amp;nbsp;for giving me a great start on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you have any issues or comments. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://carpc.maps.arcgis.com/home/item.html?id=5d5fc094c0304494990f5599444eedb3#overview" target="_blank" rel="noopener nofollow noreferrer"&gt;https://carpc.maps.arcgis.com/home/item.html?id=5d5fc094c0304494990f5599444eedb3#overview&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 19:40:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/got-open-location-code-technology-plus-codes/m-p/1515712#M86518</guid>
      <dc:creator>Sherbert1848</dc:creator>
      <dc:date>2024-08-06T19:40:35Z</dc:date>
    </item>
  </channel>
</rss>

