old_contents: """Module giving some examples how to use PyDOV to query boreholes."""
  
  
  def get_description():
      """The description gives information about the Boring type."""
      from pydov.search.grondwaterfilter import GrondwaterFilterSearch
  
      gwfilter = GrondwaterFilterSearch()
      print(gwfilter.get_description())
  
  def get_groundwaterfilters_in_hamme():
      """Get all details of the boreholes where 'gemeente' is 'Herstappe'."""
      from pydov.search.grondwaterfilter import GrondwaterFilterSearch
      from owslib.fes import PropertyIsEqualTo
  
      gwfilter = GrondwaterFilterSearch()
      query = PropertyIsEqualTo(propertyname='gemeente',
                                literal='Hamme')
      df = gwfilter.search(query=query)
      print(df)
  
  if __name__ == '__main__':
      # Comment out to skip these examples:
      get_description()
      # get_fields()
  
      # Uncomment one of these to see the output:
      #
      get_groundwaterfilters_in_hamme()
      # get_borehole_depth_in_gent()
      # get_deep_boreholes()
      # get_groundwater_related_boreholes_in_antwerp()
      # get_boreholes_in_bounding_box()
      # get_deep_boreholes_in_bounding_box()
      # get_borehole_purpose_in_blankenberge()
  
new_contents: """Module giving some examples how to use PyDOV to query boreholes."""
  
  
  def get_description():
      """The description gives information about the Boring type."""
      from pydov.search.grondwaterfilter import GrondwaterFilterSearch
  
      gwfilter = GrondwaterFilterSearch()
      print(gwfilter.get_description())
  
  
  def get_fields():
      """The fields give details about what information is available for a
      Boring object."""
      from pydov.search.boring import BoringSearch
  
      b = BoringSearch()
      fields = b.get_fields()
      for f in fields.values():
          print(f['name'])
          print(' ', f['definition'])
          print('   datatype:', f['type'])
          print('   mandatory:', f['notnull'])
          if 'values' in f:
              print('   possible values:', '; '.join(
                  ["'%s'" % i for i in f['values']]))
          print('   cost: ', f['cost'])
          print('')
          
  
  def get_groundwaterfilters_in_hamme():
      """Get all details of the boreholes where 'gemeente' is 'Hamme'."""
      from pydov.search.grondwaterfilter import GrondwaterFilterSearch
      from owslib.fes import PropertyIsEqualTo
  
      gwfilter = GrondwaterFilterSearch()
      query = PropertyIsEqualTo(propertyname='gemeente',
                                literal='Hamme')
      df = gwfilter.search(query=query)
      print(df)
  
  if __name__ == '__main__':
      # Comment out to skip these examples:
      get_description()
      # get_fields()
  
      # Uncomment one of these to see the output:
      #
      get_groundwaterfilters_in_hamme()
      # get_borehole_depth_in_gent()
      # get_deep_boreholes()
      # get_groundwater_related_boreholes_in_antwerp()
      # get_boreholes_in_bounding_box()
      # get_deep_boreholes_in_bounding_box()
      # get_borehole_purpose_in_blankenberge()
  
subject: Add example for field info