<?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 Labelling using python - Accessing other tables in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/labelling-using-python-accessing-other-tables/m-p/719488#M7768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, I have a labelling quiz for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a point FC that identifies islands. Each point has a code to identify the island uniquely. There are no duplicates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have a table (excel at this point) that stores info on bird colonies inventories (island where it is located (code)20, date inventoried, other info...).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The codes for the islands in the point FC and table are the same. There is a one to many relationship between the FC and the table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to label each island with all the years that a colony was inventoried on it.&amp;nbsp; Some will have one year displayed, others two, others several...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1978&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1978&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1986&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1986&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1999&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1978&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1986&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1999&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2009&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried joining the tables but I only get the first year that's found in the table for each point. Now I'm thinking: can I use a python script in the labelling expression that will access my table and parse it to create my labels and return them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I bet I'm missing something simple here...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your time &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Remi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2014 09:29:15 GMT</pubDate>
    <dc:creator>RemiBrisson</dc:creator>
    <dc:date>2014-05-02T09:29:15Z</dc:date>
    <item>
      <title>Labelling using python - Accessing other tables</title>
      <link>https://community.esri.com/t5/mapping-questions/labelling-using-python-accessing-other-tables/m-p/719488#M7768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, I have a labelling quiz for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a point FC that identifies islands. Each point has a code to identify the island uniquely. There are no duplicates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have a table (excel at this point) that stores info on bird colonies inventories (island where it is located (code)20, date inventoried, other info...).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The codes for the islands in the point FC and table are the same. There is a one to many relationship between the FC and the table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to label each island with all the years that a colony was inventoried on it.&amp;nbsp; Some will have one year displayed, others two, others several...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1978&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1978&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1986&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1986&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1999&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1978&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1986&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1999&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2009&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried joining the tables but I only get the first year that's found in the table for each point. Now I'm thinking: can I use a python script in the labelling expression that will access my table and parse it to create my labels and return them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I bet I'm missing something simple here...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your time &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Remi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 09:29:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/labelling-using-python-accessing-other-tables/m-p/719488#M7768</guid>
      <dc:creator>RemiBrisson</dc:creator>
      <dc:date>2014-05-02T09:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Labelling using python - Accessing other tables</title>
      <link>https://community.esri.com/t5/mapping-questions/labelling-using-python-accessing-other-tables/m-p/719489#M7769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think what you can do since you have a one is to many relationship, to join it properly follow the link below,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000v9000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000v9000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanos&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 02:33:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/labelling-using-python-accessing-other-tables/m-p/719489#M7769</guid>
      <dc:creator>ChrisPedrezuela</dc:creator>
      <dc:date>2014-05-09T02:33:58Z</dc:date>
    </item>
  </channel>
</rss>

