# How to extract the x,y coordinated otf the center of pixel 200, 300 of a Rasters.Raster object?

**URL:** https://discourse.julialang.org/t/how-to-extract-the-x-y-coordinated-otf-the-center-of-pixel-200-300-of-a-rasters-raster-object/131936
**Category:** Geo
**Created:** [August 29, 2025, 9:50am UTC](https://discourse.julialang.org/t/how-to-extract-the-x-y-coordinated-otf-the-center-of-pixel-200-300-of-a-rasters-raster-object/131936 "2025-08-29T09:50:38Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [August 30, 2025, 8:32am UTC](https://discourse.julialang.org/t/how-to-extract-the-x-y-coordinated-otf-the-center-of-pixel-200-300-of-a-rasters-raster-object/131936/5 "2025-08-30T08:32:13Z")

</div>

In general, as a “casual” gis user, I find very useful in this package the “raster as a matrix” concept, it facilitates a lot the raster treatment, but I find complicated to pass from the (xid,yid) space to the coordinates space and vice versa (see also [my other post](https://discourse.julialang.org/t/how-to-get-value-and-matrix-index-at-a-given-x-y-point/129692/9)). Perhaps an API that facilitates these passages would be useful…

---

_[View the full topic](https://discourse.julialang.org/t/how-to-extract-the-x-y-coordinated-otf-the-center-of-pixel-200-300-of-a-rasters-raster-object/131936)._
