Thank you, Ben. I changed the subject and hope someone can share their 
experience and advice on using Geoserver with AIXM.

Best regards,
Wen


-----Original Message-----
From: Ben Caradoc-Davies [mailto:b...@transient.nz] 
Sent: Friday, September 25, 2015 6:13 PM
To: Yin, Wentao (IS) (Contr)
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: EXT :Re: [Geoserver-users] BBOX questions

Wen,

I have not tried using WMS with a type that does not have a geometry as a 
direct child. As you guessed, I do not think it will work, for the same reason 
as for BBOX.

I have seen some mention of AIXM but have not used it. Please start a new 
thread to draw attention.

Kind regards,
Ben.

On 26/09/15 01:34, Yin, Wentao (IS) (Contr) wrote:
> Ben,
>
> One more geometry related question:
> In order to show complex feature layers on  WMS, is it true that geometry 
> element must be the direct child of the root element of the top lever feature?
> Like the 'shape ' in MappedFeature?
>
> <gsml:MappedFeature gml:id="mf.25699"> <gml:name>Some 
> basalt</gml:name> ...
> <gsml:shape>
> ...
> </gsml:shape>
> </gsml:MappedFeature>
>
> Is it possible to make it work if the geometry is in nested feature?
>
> Any advice on using Geoserver with AIXM5.1 for WFS/WMS?
>
> Thanks,
> Wen
>
>
>
> -----Original Message-----
> From: Ben Caradoc-Davies [mailto:b...@transient.nz]
> Sent: Thursday, September 24, 2015 4:57 PM
> To: Yin, Wentao (IS) (Contr); geoserver-users@lists.sourceforge.net
> Subject: EXT :Re: [Geoserver-users] BBOX questions
>
> Wen,
>
> I think that you are correct and that for KVP style bbox to work you may need 
> to include the geometry in the top level feature.
>
> The underlying conceptual problem is that, for complex features, nested 
> geometries may belong to features only weakly related to the containing 
> feature, such as the geometry of neighbouring features or the location of a 
> remote observer. There is no general rule for when a nested geometry might be 
> appropriate for a kvp bbox request.
>
> Kind regards,
> Ben.
>
> On 25/09/15 08:34, Yin, Wentao (IS) (Contr) wrote:
>> Some questions about BBOX filter:
>>
>> In app-schema tutorial, MappedFeatrue is nested in GeologicUnit. If I want 
>> to use KVP bbox query, it will fail.
>>
>> http://localhost:8081/geoserver/wfs?request=GetFeature&version=1.1.0&;
>> t
>> ypeName=gsml:GeologicUnit&BBOX=120,-39,150,-33
>>
>> But it works when using XML which specifies the path to the nested geometry.
>>
>> Does this mean we have to include the geometry in the top level feature in 
>> order for KVP style bbox to work?
>>
>> Thanks,
>> Wen
>>
>> ---------------------------------------------------------------------
>> -
>> -------- _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
> --
> Ben Caradoc-Davies <b...@transient.nz>
> Director
> Transient Software Limited <http://transient.nz/> New Zealand
>

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/> New Zealand
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to