I have the following response to a WFS DescribeFeatureType request for a WFS
I am trying to get geoserver to use to create a WMS layer.
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.imos.org.au"
elementFormDefault="qualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:imos="http://www.imos.org.au" xmlns:gml="http://www.opengis.net/gml"
xmlns:wfs="http://www.opengis.net/wfs">
<xsd:import namespace="http://www.opengis.net/gml"
schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"/>
<xsd:element name="sensor" substitutionGroup="gml:_Feature"
type="imos:sensorType"/>
<xsd:complexType name="sensorType">
<xsd:complexContent>
<xsd:extension base="gml:AbstractFeatureType">
<xsd:sequence>
<xsd:element name="name" minOccurs="1" maxOccurs="1" type="xsd:string"/>
<xsd:element name="location" minOccurs="1" maxOccurs="1"
type="gml:PointPropertyType"/>
<xsd:element name="url" minOccurs="1" maxOccurs="1" type="xsd:string"/>
<xsd:element name="channel" minOccurs="1" maxOccurs="unbounded"
type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
However in the FeatureType Configuration interface for geoserver 1.7.4 for a
new feature type I only see the url and the channel properties in the list
at the bottom of the page.
There is no indication as to why this may have occurred in the user
interface and nothing in the log with DEBUG enabled.
I have found that there is very little information relevant seen to solving
this kind of configuration issue available as in the following routine in
the RetypingDataStore class the original IOException is not rethrown.
void updateMap(FeatureTypeMap map, boolean forceUpdate) throws
IOException {
try {
if (map.getFeatureType() == null || forceUpdate) {
SimpleFeatureType original =
wrapped.getSchema(map.getOriginalName());
SimpleFeatureType transformed =
transformFeatureType(original);
map.setFeatureTypes(original, transformed);
}
} catch (IOException e) {
// if the feature type cannot be found in the original data
store,
// remove it from the map
backwardsMap.remove(map.getName());
forwardMap.remove(map.getOriginalName());
}
}
--
View this message in context: http://www.nabble.com/DescribeFeatureType-problem-tp23536305p23536305.html
Sent from the GeoServer - User mailing list archive at Nabble.com.