[TinyOWS-dev] [tinyows] #40: sql request to Postgis generated by a GetFeature request returns an error

tinyows trac at camptocamp.com
Thu May 28 14:14:33 EST 2009


#40: sql request to Postgis generated by a GetFeature request returns an error
----------------------------+-----------------------------------------------
     Reporter:  nsavard     |           Owner:                          
         Type:  defect      |          Status:  closed                  
     Priority:  blocker     |         Version:  SVN                     
   Resolution:  invalid     |        Keywords:  wfs,getfeature,precision
        Stage:  Unreviewed  |        Approval:  Unnecessary             
        Patch:  None        |      Complexity:  Unknown                 
Compatibility:  Unknown     |   Specification:  Unnecessary             
----------------------------+-----------------------------------------------
Changes (by nsavard):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 Answered by Yewondwossen and Olivier:

 Check the thread here which mention this issue:
 http://lists.maptools.org/pipermail/tinyows-dev/2009-April/000103.html

  if you are using 1.3.x version, you could do the following patch until we
 upgrade to 1.4:
 {{{
 --- wfs_get_feature.c   (revision 132)
 +++ wfs_get_feature.c   (working copy)
 @@ -478,7 +478,8 @@
                  else
                      buffer_add_int(select, o->degree_precision);

 -                buffer_add_str(select, ", 1) AS \"");
 +                //buffer_add_str(select, ", 1) AS \"");
 +                buffer_add_str(select, ") AS \"");
                  buffer_copy(select, an->key);
                  buffer_add_str(select, "\" ");
              }
 }}}

-- 
Ticket URL: <https://www.tinyows.org/trac/tinyows/ticket/40#comment:1>
tinyows <https://www.tinyows.org/trac/tinyows>
TinyOWS


More information about the TinyOWS-dev mailing list