Thanks for the quick answer


I would like to map individual elements because otherwise it would be 
impossible to map atomically something like this:





<gml:Curve gml:id="curve-1" 
srsName="http://www.opengis.net/def/crs/EPSG/0/4326";>
            <gml:segments>
                <gml:Bezier interpolation="polynomialSpline" 
isPolynomial="true">
                    <!-- lat lon lat lon ... lat lon-->
                    <gml:posList>63.1945 -7.6639 63.2023 -7.401 63.2572 -7.2757 
63.2772 -7.1757</gml:posList>
                    <gml:degree>3</gml:degree>
                    <gml:knot>
                        <gml:Knot>
                            <gml:value>1.0</gml:value>
                            <gml:multiplicity>4</gml:multiplicity>
                            <gml:weight>1.0</gml:weight>
                        </gml:Knot>
                    </gml:knot>
                    <gml:knot>
                        <gml:Knot>
                            <gml:value>2.0</gml:value>
                            <gml:multiplicity>4</gml:multiplicity>
                            <gml:weight>1.0</gml:weight>
                        </gml:Knot>
                    </gml:knot>                    
                </gml:Bezier>
                <gml:Bezier interpolation="polynomialSpline" 
isPolynomial="true">
                    <gml:posList>63.2772 -7.1757 63.3597 -6.6893 63.3032 
-7.0757 63.3397 -6.6993</gml:posList>
                    <gml:degree>3</gml:degree>
                    <gml:knot>
                        <gml:Knot>
                            <gml:value>1.0</gml:value>
                            <gml:multiplicity>4</gml:multiplicity>
                            <gml:weight>1.0</gml:weight>
                        </gml:Knot>
                    </gml:knot>
                    <gml:knot>
                        <gml:Knot>
                            <gml:value>2.0</gml:value>
                            <gml:multiplicity>4</gml:multiplicity>
                            <gml:weight>1.0</gml:weight>
                        </gml:Knot>
                    </gml:knot>                    
                </gml:Bezier>
                <gml:Bezier interpolation="polynomialSpline" 
isPolynomial="true">
                    <gml:posList>63.3397 -6.6993 63.4419 -6.2062 63.3797 
-6.6693 63.4319 -6.4062</gml:posList>
                    <gml:degree>3</gml:degree>
                    <gml:knot>
                        <gml:Knot>
                            <gml:value>1.0</gml:value>
                            <gml:multiplicity>4</gml:multiplicity>
                            <gml:weight>1.0</gml:weight>
                        </gml:Knot>
                    </gml:knot>
                    <gml:knot>
                        <gml:Knot>
                            <gml:value>2.0</gml:value>
                            <gml:multiplicity>4</gml:multiplicity>
                            <gml:weight>1.0</gml:weight>
                        </gml:Knot>
                    </gml:knot>                    
                </gml:Bezier>
                <gml:Bezier interpolation="polynomialSpline" 
isPolynomial="true">
                    <gml:posList>63.4319 -6.4062 63.5236 -5.7283 63.4819 
-6.0062 63.5036 -5.5283</gml:posList>
                    <gml:degree>3</gml:degree>
                    <gml:knot>
                        <gml:Knot>
                            <gml:value>1.0</gml:value>
                            <gml:multiplicity>4</gml:multiplicity>
                            <gml:weight>1.0</gml:weight>
                        </gml:Knot>
                    </gml:knot>
                    <gml:knot>
                        <gml:Knot>
                            <gml:value>2.0</gml:value>
                            <gml:multiplicity>4</gml:multiplicity>
                            <gml:weight>1.0</gml:weight>
                        </gml:Knot>
                    </gml:knot>                    
                </gml:Bezier>
            </gml:segments>
        </gml:Curve>


Do you agree?




> Date: Thu, 16 Feb 2012 13:27:19 +0800
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [Geoserver-users] Mapping gml:Curve with app schema
> 
> Alessandro,
> 
> I don't think you can map individual elements. Geometries are treated as 
> atomic entities. I have consulted another user who reports that 
> "Geoserver has automagically created gml:Curves for linear features".
> 
> Why do you want to map individual elements? Please map a geometry and 
> see if app-schema converts it to a gml:Curve for you.
> 
> Kind regards,
> Ben.
> 
> On 15/02/12 17:22, alessandro marrone wrote:
> > Hello
> > I should map a gml:Curve with app schema.
> > Is it possible to map every its element manually?
> > I didn't find any similar example.
> >
> > I'm using Geoserver 2.2 and Gml3.2.1
> >
> > Any advice would be really appreciated
> >
> 
> -- 
> Ben Caradoc-Davies <[email protected]>
> Software Engineer
> CSIRO Earth Science and Resource Engineering
> Australian Resources Research Centre
                                          
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to