I have a shapefile of counties of the southeast United States and I would like to only display the counties within the state of Texas. How can I do this in Petrosys?

us_shapefile

The easiest way to do this is by using the Filter option within the Display > GIS… interface. But first, we have to know which attribute we need to use to filter…

  • Select one of the counties on the map, and then right mouse click (RMB)
  • Select Query attributes… and choose an attribute like STATE_NAME
  • Click the blue arrow pointing to the right, and click OK

query_layers

This will give you the attribute you will need to use for filtering (in this case ‘Texas’). Next…

  • Double click on your GIS layer in the Display List and go to the Filter tab
  • Check on the option to Apply filter and choose ‘Standard’ for the Filter type
  • Scroll down until you see STATE_NAME under the Attribute list and type in ‘Texas’ in the Filter column
  • Click OK

display_gis

Your final result will be a map that shows only the counties in the state of ‘Texas’. You can use this same technique to filter on any shape file attribute.

texas_shapefile