Skip to content

Commit

Permalink
Added test for gmd:MD_ReferenceSystem (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalxas committed Apr 20, 2015
1 parent ae6589b commit 09ab0e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/doctests/iso_creation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Imports
>>> from __future__ import (absolute_import, division, print_function)
>>> import urllib2
>>> from owslib.etree import etree
>>> from owslib.iso import MD_Metadata, MD_DataIdentification, CI_ResponsibleParty
>>> from owslib.iso import MD_Metadata, MD_DataIdentification, CI_ResponsibleParty, MD_ReferenceSystem

Print testing of various ISO fields

Expand All @@ -21,6 +21,10 @@ Print testing of various ISO fields
>>> md.identifier = '286c0725-146e-4533-b1bf-d6e367f6c342'
>>> md.identification.topiccategory.append('biota')
>>> md.identification.topiccategory.append('environment')
>>> md.referencesystem = MD_ReferenceSystem()
>>> md.referencesystem.code = '4326'
>>> md.referencesystem.codeSpace = 'urn:ogc:def:crs:EPSG'
>>> md.referencesystem.version = '6.11.2'
>>> kw = {}
>>> kw['keywords'] = []
>>> kw['keywords'].append('Agricultural and aquaculture facilities')
Expand Down

0 comments on commit 09ab0e5

Please sign in to comment.