I'm interested in creating a fishnet where the origin of the fishnet builds from the center of a polygon feature class and builds out around it rather than building the fishnet starting from the lower left corner and only only the Y-axis and X-axis as depicted below. Using, ArcGIS, arcpy, python etc... is doable.

I've tried a variety of approaches, attempting to change the origin, at least think I was able to, or adding some sort of value to "buffer" or "pad" the input extent and or xy values, to no avail. I haven't come across much that can offer me in assistance thus far.

Creating fishnet grid with specified rotation angle in ArcGIS Desktop? includes a response:

However, if you don't want to do the math or need to set your origin at a different point than the CRS origin, there's a step to take prior to starting the fishnet tool to get your y-axis coordinate.

However, I'm not sure how to implement.

I've read through:

enter image description here

enter image description here

  • If you want the center of the Fishnet at the center of the polygon, calculate the polygon extent, offset the origin half the extent.
    – klewis
    Mar 8 '18 at 15:48
  • Would you like cell size of fixed dimensions?
    – FelixIP
    Mar 8 '18 at 18:47
  • @FelixIP, yes I would.
    – whyzar
    Mar 8 '18 at 18:58
  • @klewis I just tried that, the tool fails to produce a result, could you show an example or provide more details.
    – whyzar
    Mar 8 '18 at 19:43

Mechanical solution. Create fishnet using your dimensions:

enter image description here

Use half of the line between two points as displacement link in spatial adjustment toolbar to get this:

enter image description here

Alternatively use half of the line connecting upper right corners:

enter image description here

to get:

enter image description here

Easy to code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.