Support for 1D Envelope encoding
--------------------------------

                 Key: GEOT-2907
                 URL: http://jira.codehaus.org/browse/GEOT-2907
             Project: GeoTools
          Issue Type: Wish
          Components: ext xml-xsd
            Reporter: Rini Angreani
             Fix For: 2.7-M0
         Attachments: EnvelopeTypeBinding.patch

At the moment, we can only have 2D envelopes.
I created an OCQL function in app-schema to allow users to create a 1D envelope 
type with lower and upper corners as parameters, eg.
<sourceExpression>
   
<OCQL>ToEnvelope(START_DEPTH,MAX_DRILLED_DEPTH,'urn:x-ogc:def:crs:EPSG:4283')</OCQL>
</sourceExpression>

This would encode as:
<gml:Envelope axisLabels="Geodetic longitude Geodetic latitude" 
srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4283" uomLabels="degree_angle 
degree_angle">
  <gml:lowerCorner>12.4 0</gml:lowerCorner>
  <gml:upperCorner>129.0 0</gml:upperCorner>
</gml:Envelope>

What we want is:
<gml:Envelope axisLabels="Geodetic longitude Geodetic latitude" 
srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4283" uomLabels="degree_angle 
degree_angle">
  <gml:lowerCorner>12.4</gml:lowerCorner>
  <gml:upperCorner>129.0</gml:upperCorner>
</gml:Envelope>

Note this is not a full support for 1D envelope, because there's only a 2D 
ReferencedEnvelope class.
This is only to support my OCQL function so far. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to