Jump to content

 
Photo

Select from within

- - - - -

  • Please log in to reply
4 replies to this topic

#1
spesseh

spesseh

    Key Contributor

  • Validated Member
  • PipPipPip
  • 62 posts
  • Norway

Greetings! First post!

I am working with two sets of polygon layers. One is a world_country polygon layer and one is a set of conflict polygons. These conflict polygons (circular polygons from conflict centroid) are covering areas outside its centroid country. That is something i want to remove (the areas outside its country).

So, i need to clip away the areas of the conflict polygons that are outside the conflicts respective country boundaries.

Is there a way of doing this?

Cheers, Andreas.
Andreas

Visit my Blog: http://www.gisintersect.com

#2
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,857 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

Hi Andreas, and welcome to Cartotalk!

Yes, it is possible to clip based on country name. The actual method depends on what software you are using though. I know it's possible in FME, not sure about other software.
Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#3
spesseh

spesseh

    Key Contributor

  • Validated Member
  • PipPipPip
  • 62 posts
  • Norway

Hi Andreas, and welcome to Cartotalk!

Yes, it is possible to clip based on country name. The actual method depends on what software you are using though. I know it's possible in FME, not sure about other software.


Hi, Thanks for your quick reply.

I am using ArcGis 9.2 at the moment, but i cant really find a method to do this without doing lots of time consuming editing. I have clipped the conflict polygon based on the country polygon, but that only removes the areas that are located outside terrestrial areas. Next step would be to clip each conflict polygon based on the country name.
Any suggestion on to how this could be done in arcgis?

Thanks!
Andreas

Visit my Blog: http://www.gisintersect.com

#4
spesseh

spesseh

    Key Contributor

  • Validated Member
  • PipPipPip
  • 62 posts
  • Norway

Hans,

I got a evaluation version of the FME program. Could you give me a short explaination on how to perform this clip based on country operatin in FME?

That would be great.

Andreas
Andreas

Visit my Blog: http://www.gisintersect.com

#5
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,857 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

Hi Andreas,

I've attached the workbench as a zip file.

Attached File  group_by_clipper.zip   6.8KB   58 downloads

Attached File  group_by_clipper.png   47.8KB   49 downloads

Keep in mind that most of the workbench is actually aimed at setting up the sample data. The real trick is in the Clipper. Set it to "Multiple Clippers" and group by the polygon id. Obviously the circles need to have this same id, otherwise it won't work. In your case, that would be country name.

The "Clipped_Inside" visualiser holds the data you're after. In real life, you would link that through to an output dataset.

Hope this helps.
Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->