Advertisement
Guest User

Untitled

a guest
Jul 21st, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. from geoserver.catalog import Catalog
  2. cat = Catalog(geoserver_location, username="admin", password="mypass")
  3. resources = cat.get_resources('my_store', 'my_layer_name')
  4.  
  5. {'geometry': None, 'properties': {'Adm2_NAME': 'string', 'NS_Risk': 'int', 'Mudfl_Risk': 'int', 'FL_MF_Risk': 'int', 'FloodRisk': 'int', 'MudflCLASS': 'int', 'FL_MF_CLAS': 'int', 'Dr_CLASS': 'int', 'Adm1_NAME': 'string', 'FloodCLASS': 'int', 'P_codes': 'double', 'NS_CLASS': 'int', 'Adm1_CODE': 'int', 'Unique': 'string', 'the_geom': 'MultiSurfacePropertyType'}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement