Jump to content

 
Photo

Overlap Inquiry

- - - - -

  • Please log in to reply
3 replies to this topic

#1
ColinS

ColinS

    Newbie

  • New Member
  • Pip
  • 5 posts
  • Canada

There's a process at my new job that I'm looking to automate but I'm not sure if it's possible, or at least able to be done quickly. What I would like to do is be able to select a polygon by an attribute and then just get a list telling me if any polygons from a selected number of feature classes overlap with it creating a conflict. Currently, we manually look at the layers and identify the overlapped ones, but there has to be an easier way. I'm just concerned it will be a very time consuming process for any script to look through the data, although there isn't a massive amount. I don't want to create new outputs if I don't have to, so maybe there's a way to do this outside arcgis.

I'm trying to learn python as I do this so it's going to be a slow go anyway, but any help is appreciated.

Edit: And it's all vector data.

Edited by ColinS, 07 October 2011 - 11:34 AM.


#2
David Medeiros

David Medeiros

    Hall of Fame

  • Validated Member
  • PipPipPipPipPipPipPip
  • 1,069 posts
  • Gender:Male
  • Location:Redwood City CA
  • Interests:Cartography, wood working, wooden boats, fishing, camping, overland travel, exploring.
  • United States

There's a process at my new job that I'm looking to automate but I'm not sure if it's possible, or at least able to be done quickly. What I would like to do is be able to select a polygon by an attribute and then just get a list telling me if any polygons from a selected number of feature classes overlap with it creating a conflict. Currently, we manually look at the layers and identify the overlapped ones, but there has to be an easier way. I'm just concerned it will be a very time consuming process for any script to look through the data, although there isn't a massive amount. I don't want to create new outputs if I don't have to, so maybe there's a way to do this outside arcgis.

I'm trying to learn python as I do this so it's going to be a slow go anyway, but any help is appreciated.

Edit: And it's all vector data.


Sounds like a simple spatial selection will do what you want. So this should involve first selecting the primary polygon and then doing a select by location, using "intersect" or "outline crossed". The result should be a new selection of features that overlap your primary polygon. Just view or export the table to get the list of features without creating a new feature class.

Edited to add: sorry I didn't really address your need to automate this, I was more suggesting an alternative to manually looking for overlaps. I don't think you can directly model this processes in model builder, but you could certainly script it in python. HTH

GIS Reference and Instruction Specialist, Stanford Geospatial Center.

 

www.mapbliss.com

 


#3
ColinS

ColinS

    Newbie

  • New Member
  • Pip
  • 5 posts
  • Canada

Sounds like a simple spatial selection will do what you want. So this should involve first selecting the primary polygon and then doing a select by location, using "intersect" or "outline crossed". The result should be a new selection of features that overlap your primary polygon. Just view or export the table to get the list of features without creating a new feature class.

Edited to add: sorry I didn't really address your need to automate this, I was more suggesting an alternative to manually looking for overlaps. I don't think you can directly model this processes in model builder, but you could certainly script it in python. HTH


You're right, spatial selection should work, particularly since I didn't realize it is included in tool form as well. I'm giving it a go in model builder to see if it's possible and maybe getting something that half works before devoting a lot of time to learning python. That's something I want to do anyway though so it will still be a worthwhile endeavour.

#4
dsl

dsl

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 225 posts
  • Gender:Male
  • Location:Denver
  • United States

Edit: Oops, looks like you are already doing this, so never mind.

Assuming you are using ArcGIS as your environment. You can use the Model Builder to build the script using Select Layer By Attribute / Location and drag them into your model. If this isn't automated enough, then export your model to a Python script, which will provide you with the necessary base, then you can add the extra logic that you might need in your script.

HTH,
David




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->