Hi Andrea,

Thanks a lot for the answers to my questions.  Attached the Borehole.xml again.

Regards,
Florence

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrea 
Aime
Sent: Thursday, 10 November 2011 5:17 PM
To: Tan, Florence (CESRE, Kensington)
Cc: Caradoc-Davies, Ben (CESRE, Kensington); [email protected]; 
[email protected]
Subject: Re: [Geoserver-users] [ExternalEmail] Re: app-schema WMS

On Thu, Nov 10, 2011 at 10:04 AM,  <[email protected]> wrote:
> Hi Andrew,
>
> I have attached in this email the sld for the point, the log that consists of 
> the full stack trace and an example of the Borehole complex feature 
> (Borehole.xml).

Borehole.xml is empty

> Would like to find : is complex feature and simple feature using similar 
> style file ?

Yes, there is no difference

> Wonder how does GeoServer know which feature it should be taking from the 
> complex feature output and apply the point style ?

The renderer does not know much about features, it only grabs property
values that you named in
the style. And a certain feature is drawn if it matches the rule
filters (in this case Filter.INCLUDE)
which again only access properties.

> In the given example, only one geometry column has been used.  How would 
> geoserver handle a complex feature that comes with more than one geometry 
> column ?

The renderer gets the feature's default geometry property in case
there is no explicit reference
to a geometry property name in the SLD. Otherwise you can use a
specific one by naming
it in the <Geometry> element available in every SLD symbolizer

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs"; xmlns:test="http://test.org"; xmlns:ogc="http://www.opengis.net/ogc"; xmlns:gml="http://www.opengis.net/gml"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0" xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:ows="http://www.opengis.net/ows"; numberOfFeatures="1" timeStamp="2011-11-11T09:12:05.282+08:00" xsi:schemaLocation="urn:cgi:xmlns:CGI:GeoSciML:2.0 http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";>
	<gml:featureMembers>
		<gsml:Borehole gml:id="gsml.borehole.BUGD049">
			<gml:name codeSpace="http://www.ietf.org/rfc/rfc2616";>http://services-test.arrc.csiro.au/resource/feature/csiro/borehole/BUGD049</gml:name>
			<gml:name codeSpace="http://www.csiro.au";>BUGD049</gml:name>
			<gsml:collarLocation>
				<gsml:BoreholeCollar gml:id="gsml.borehole.collar.BUGD049">
					<gsml:location>
						<gml:Point srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
							<gml:pos>-30.5278 121.058</gml:pos>
						</gml:Point>
					</gsml:location>
					<gsml:elevation axisLabels="Gravity-related height" srsDimension="1" srsName="http://www.opengis.net/gml/srs/epsg.xml#5711"; uomLabels="m">2.0</gsml:elevation>
				</gsml:BoreholeCollar>
			</gsml:collarLocation>
			<gsml:indexData>
				<gsml:BoreholeDetails>
					<gsml:driller xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"; xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/Borehole/BoreholeDetails.html#driller"; xlink:title="GSWA"/>
					<gsml:dateOfDrilling>2007-05-28</gsml:dateOfDrilling>
					<gsml:drillingMethod>diamond core</gsml:drillingMethod>
					<gsml:startPoint>natural ground surface</gsml:startPoint>
					<gsml:inclinationType>horizontal</gsml:inclinationType>
					<gsml:coredInterval>
						<gml:Envelope axisLabels="core envelope" srsDimension="1" srsName="#gsml.borehole.BUGD049.linestring" uomLabels="m">
							<gml:lowerCorner>0.0</gml:lowerCorner>
							<gml:upperCorner>200.0</gml:upperCorner>
						</gml:Envelope>
					</gsml:coredInterval>
					<gsml:coreCustodian xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"; xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/Borehole/BoreholeDetails.html#coreCustodian"; xlink:title="CSIRO"/>
				</gsml:BoreholeDetails>
			</gsml:indexData>
		</gsml:Borehole>
	</gml:featureMembers>
</wfs:FeatureCollection>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to