<?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: Using MGRS coords from xls to create Point/Line/Poly Features in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1366689#M69544</link>
    <description>&lt;P&gt;most likely the reason is, that the xlc sheet contains also cells with up to a few 100 chars and Pagebreaks.&lt;BR /&gt;From my experience with the Convert Coordinates Tool it will not translate these cells properly from time to time (at least in ModelBuilder) that's why I was looking for a solution to take The MGRS coord directly to create the point features instead of converting them first, but it seems as if there is no appropriate workaround.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jan 2024 06:38:21 GMT</pubDate>
    <dc:creator>jaschofskiAGS</dc:creator>
    <dc:date>2024-01-05T06:38:21Z</dc:date>
    <item>
      <title>Using MGRS coords from xls to create Point/Line/Poly Features</title>
      <link>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1366157#M69533</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I'm very new to python and try to rebuild/optimize workflows I've done in Modelbuilder.&lt;/P&gt;&lt;P&gt;My current problem set:&lt;/P&gt;&lt;P&gt;I have an xls containing multiple rows and collum's. one of them is a Coordinate Field, containing MGRS coordinates.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each row represents either a Point, Line or Polygon (dedicated by a Field called "Type").&lt;BR /&gt;For Lines and Polygons, the Coordinate field contains multiple MGRS coordinates, separate by a semicolon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Up to now I always separated the sheet manually by point Line and Area and convert the multiple coordinates into multiple rows&amp;nbsp;using power queries in xls and a model in ArcPro to create the features.&lt;/P&gt;&lt;P&gt;What I'm looking for is a pythonic way to create the point features (from here I get it on my own to lines and polygons) from the xls, using the MGRS as CoordString directly and not using the ConvertCoordinate Tool. I thought about the combination of Search- and InsertCursors plus the FromCoordString function because I don't have xy formatted coordinates, but I don't find a starting point.&lt;/P&gt;&lt;P&gt;If anyone has experience in using MGRS(or simmilar cordString) to create features, I would be very thankful for any suggestions!&lt;/P&gt;&lt;P&gt;ArcPro Version is 2.6.1&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 07:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1366157#M69533</guid>
      <dc:creator>jaschofskiAGS</dc:creator>
      <dc:date>2024-01-04T07:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using MGRS coords from xls to create Point/Line/Poly Features</title>
      <link>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1366425#M69538</link>
      <description>&lt;P&gt;Is there a reason not to use the coordinate conversion tool in python?&amp;nbsp; You could probably do it using a dictionary to get the cartesian coords (for that UTM zone) of the GZD and 100km grid square in the MGRS string, then add on the X and Y.&amp;nbsp; If that dictionary doesn't exist somewhere on the internet, then seems like a fair amount of effort for no reason I can understand.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 18:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1366425#M69538</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2024-01-04T18:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using MGRS coords from xls to create Point/Line/Poly Features</title>
      <link>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1366689#M69544</link>
      <description>&lt;P&gt;most likely the reason is, that the xlc sheet contains also cells with up to a few 100 chars and Pagebreaks.&lt;BR /&gt;From my experience with the Convert Coordinates Tool it will not translate these cells properly from time to time (at least in ModelBuilder) that's why I was looking for a solution to take The MGRS coord directly to create the point features instead of converting them first, but it seems as if there is no appropriate workaround.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 06:38:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1366689#M69544</guid>
      <dc:creator>jaschofskiAGS</dc:creator>
      <dc:date>2024-01-05T06:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using MGRS coords from xls to create Point/Line/Poly Features</title>
      <link>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1366697#M69545</link>
      <description>&lt;P&gt;Or let me formulize my question another way around. Is there a way to convert MGRS coordinates which are stored in a single xls Cell, separated by a semicolon and use this coord list to create a point feature class?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 07:25:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1366697#M69545</guid>
      <dc:creator>jaschofskiAGS</dc:creator>
      <dc:date>2024-01-05T07:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using MGRS coords from xls to create Point/Line/Poly Features</title>
      <link>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1366699#M69546</link>
      <description>&lt;P&gt;Maybe you can use python to split and expand the coordinates in two cells, python example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/37600711/pandas-split-column-into-multiple-columns-by-comma" target="_blank"&gt;https://stackoverflow.com/questions/37600711/pandas-split-column-into-multiple-columns-by-comma&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 07:50:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1366699#M69546</guid>
      <dc:creator>JohannesBierer</dc:creator>
      <dc:date>2024-01-05T07:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using MGRS coords from xls to create Point/Line/Poly Features</title>
      <link>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1367781#M69580</link>
      <description>&lt;P&gt;That helped me with the Multi-coord cells, but still not with cresting points from MGRS coord.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just wonder if there is nobody worked with MGRS to create points without of using the coordConverter tool&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 12:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-mgrs-coords-from-xls-to-create-point-line/m-p/1367781#M69580</guid>
      <dc:creator>jaschofskiAGS</dc:creator>
      <dc:date>2024-01-09T12:03:34Z</dc:date>
    </item>
  </channel>
</rss>

