geoserver-manager/src/test/resources/testdata/layerExample.xml

40 lines
1.3 KiB
XML

<layer>
<name>tasmania_cities</name>
<path>/</path>
<type>VECTOR</type>
<defaultStyle>
<name>capitals</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/styles/capitals.xml" type="application/xml"/>
</defaultStyle>
<resource class="featureType">
<name>tasmania_cities</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/workspaces/topp/datastores/taz_shapes/featuretypes/tasmania_cities.xml" type="application/xml"/>
</resource>
<enabled>true</enabled>
<queryable>true</queryable>
<advertised>true</advertised>
<attribution>
<logoWidth>0</logoWidth>
<logoHeight>0</logoHeight>
</attribution>
<authorityURLs>
<AuthorityURL>
<name>authority1</name>
<href>http://www.authority1.org</href>
</AuthorityURL>
<AuthorityURL>
<name>authority2</name>
<href>http://www.authority2.org</href>
</AuthorityURL>
</authorityURLs>
<identifiers>
<Identifier>
<authority>authority1</authority>
<identifier>identifier1</identifier>
</Identifier>
<Identifier>
<authority>authority2</authority>
<identifier>identifier2</identifier>
</Identifier>
</identifiers>
</layer>