1

I am trying to create pseudo Drilling Spacing Units. That corresponded with the section, township and range that they are generated from.

I am working with Sections from the Land grid in Oklahoma; Section Township and Range.

I need to generate a new polygon inside each section, with specific distances from the section boundary that it is generated inside of. The new polygon needs to be parallel with the boundary line and 165' from the north line, 165' from the south line, 330' from the west line and 330' from the east line.

This is ruffly what one new DSU (Drilling Spacing Unit) would look like Full Township with a Single Drilling Spacing Unit in Section 8

This is a schematic for what dimensions and the boundaries that are generated from. Section with Specific Dimensions generated from the polygons boundaries

The finished product would auto-generate the polygons like so:

The finished product with auto-generated polygons

I have used the buffer tool to create a polygon from the midpoint, however the boundary's that the new polygon draws from will change as you move across townships / ranges. so i need to go off each sections unique boundary.

  • Are they all horizontal? – FelixIP Dec 6 '17 at 3:03
  • Could you Clairify please @FelixIP? Are you asking about wells that will be drilled in the DSU's or if the Sections Boundaries are Horizontal. – GIS_BLAIR Dec 6 '17 at 14:20
  • Section boundaries. Does upper/lower boundary go west/east? Similarly with left/right? – FelixIP Dec 6 '17 at 17:47
  • Yes you are correct. – GIS_BLAIR Dec 6 '17 at 20:14
2

Add geometry attributes to your polygons. Create a copy of them and run this field calculator expression on field Shape:

def squeeze(xMin,yMin,xMax,yMax,dX,dY):
 LL=arcpy.Point(xMin+dX,yMin+dY)
 UL=arcpy.Point(xMin+dX,yMax-dY)
 UR=arcpy.Point(xMax-dX,yMax-dY)
 LR=arcpy.Point(xMax-dX,yMin+dY)
 arr=arcpy.Array([LL,UL,UR,LR])
 pgon=arcpy.Polygon(arr)
 return pgon
#------------------
squeeze( !EXT_MIN_X!, !EXT_MIN_Y!, !EXT_MAX_X!, !EXT_MAX_Y!,100,250)

enter image description here

If your copy stored in database, you need to start editing session.

  • I ran into some issues: - I was able to create a copy of the polygons. - I added the geometry attributes. - "Create a copy of them and run this field calculator expression on field Shape:" this is where i get stuck. I have the following fields EXT_MIN_X, EXT_MIN_X, EXT_MIN_Y, EXT_MAX_X,EXT_MAX_Y. Thank you FelixIP, and sorry for delay. – GIS_BLAIR Dec 11 '17 at 15:30
  • it worked! Thank you so much! I didn't realize what you were saying at first, i am still very new to scripting. This was so much help! – GIS_BLAIR Dec 11 '17 at 17:01

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.