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

Normand Savard nsavard at mapgears.com
Wed Apr 29 13:00:23 EST 2009


Yewondwossen Assefa wrote:
> Norm,
>
>  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, "\" ");
>              }
>
Yewondwossen,

Thank you for pointing me this out.  I remember to have seen this 
message before but didn't read it carefully.  Olivier I'm sorry.

Norm


More information about the TinyOWS-dev mailing list