<?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: Raster to Point? Extracting XY Coordinates directly to a raster? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/raster-to-point-extracting-xy-coordinates-directly/m-p/315026#M24492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Get the extent of your raster.&lt;/P&gt;&lt;P&gt;The cell center, bottom left, is at (xmin+cellSize/2; ymin+cellSize/2). Iterate to xmax and ymax using cellSize/2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Mar 2017 23:49:27 GMT</pubDate>
    <dc:creator>SteveLynch</dc:creator>
    <dc:date>2017-03-08T23:49:27Z</dc:date>
    <item>
      <title>Raster to Point? Extracting XY Coordinates directly to a raster?</title>
      <link>https://community.esri.com/t5/python-questions/raster-to-point-extracting-xy-coordinates-directly/m-p/315024#M24490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working with some satellite imagery (LS8) and need the coordinates of the center of each of cell. I clipped down the imagery to a specified spatial extent. From the clipped satellite imagery, I then convert it to a point shapefile, project it to GCS, &amp;nbsp;and do a "Add XY Coordinates" to that shapefile since I need the units in decimal degrees. Is there a workaround this process? Somehow extract the coordinates directly to a raster? On average, it takes about 1.5 hours to process each clipped Landsat Scene.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached my code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a million,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NM Water&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 15:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-to-point-extracting-xy-coordinates-directly/m-p/315024#M24490</guid>
      <dc:creator>NMWater</dc:creator>
      <dc:date>2017-03-08T15:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Raster to Point? Extracting XY Coordinates directly to a raster?</title>
      <link>https://community.esri.com/t5/python-questions/raster-to-point-extracting-xy-coordinates-directly/m-p/315025#M24491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you actually need the coordinates and values of every cell in your clipped raster? or do you just need locations and values from a certain number of locations?&amp;nbsp;&lt;/P&gt;&lt;P&gt;ps... just copy the salient portions of your code and post them with syntax highlighting, downloading a zip is a pain and unzipping is sometimes impossible in some environments.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 22:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-to-point-extracting-xy-coordinates-directly/m-p/315025#M24491</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-03-08T22:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Raster to Point? Extracting XY Coordinates directly to a raster?</title>
      <link>https://community.esri.com/t5/python-questions/raster-to-point-extracting-xy-coordinates-directly/m-p/315026#M24492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Get the extent of your raster.&lt;/P&gt;&lt;P&gt;The cell center, bottom left, is at (xmin+cellSize/2; ymin+cellSize/2). Iterate to xmax and ymax using cellSize/2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 23:49:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-to-point-extracting-xy-coordinates-directly/m-p/315026#M24492</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2017-03-08T23:49:27Z</dc:date>
    </item>
  </channel>
</rss>

