[georss] GML

Joshua Lieberman josh at oklieb.net
Fri Oct 19 16:39:45 EDT 2007


Chris,

I'm sure that this will be an interesting use of GML but it is a  
little far afield from georss issues at this point. Ron, is there an  
open GML mailing list which might be more appropriate?

Josh

On Oct 19, 2007, at 2:31 PM, Ron Lake wrote:

> Hi Chris:
>
> Why do you use gml:_GeometricPrimtive since PYXISPoint is a point?   
> You
> are saying it can do where ANY geometric primitive can go.  Is that
> correct?  Why not make the substitution group just gml:Point?   
> Generally
> one would strive to use the closest geometric type. Your substitution
> should work - but I notice that the property is PointMember and not
> pointMember in your example - remember XML is case sensitive.
>
>
> R
>
> -----Original Message-----
> From: georss-bounces at lists.eogeo.org
> [mailto:georss-bounces at lists.eogeo.org] On Behalf Of Chris Howell
> Sent: October 19, 2007 10:54 AM
> To: georss at lists.eogeo.org
> Subject: [georss] GML
>
> Hi Folks.
>
> Sorry to bother you, but I am stumped again.
>
> I am attempting to do this.
>
> <xsd:element name="PYXISPoint" type="PYXISPointType" abstract="false"
> substitutionGroup="gml:_GeometricPrimitive"/>
>    <xsd:complexType name="PYXISPointType" abstract="false">
>        <xsd:complexContent>
>            <xsd:extension base="gml:PointType">
>                <xsd:sequence>
>                    <xsd:element name="Index" type="xsd:string"/>
>                </xsd:sequence>
>            </xsd:extension>
>        </xsd:complexContent>
>    </xsd:complexType>
>
> At this point everything works fine and authenticates. What I am  
> trying
> to do next is this.
>
> <gml:MultiPoint>
> <gml:PointMember>
> <PYXISPoint>
> BLAH
> </PYXISPoint>
> </gml:PointMember>
> </gml:MultiPoint>
>
> However what is confusing me is. I thought because I specified the
> Subsitition group, I could use a PYXISPoint anywhere a gml:Point was
> used.
>
> However if I do something like.
> <gml:location>    <PYXISPoint>
>  </PYXISPoint>
> </gml:location>
>
> This is ok.
> Any suggestions ?
>
> Cheers
> Chris.
> _______________________________________________
> georss mailing list
> georss at lists.eogeo.org
> http://lists.eogeo.org/mailman/listinfo/georss
> _______________________________________________
> georss mailing list
> georss at lists.eogeo.org
> http://lists.eogeo.org/mailman/listinfo/georss



More information about the georss mailing list