[TinyOWS-users] It this WGS84BoundingBox in GetCapabilities OK?

Olivier Courtin olivier.courtin at gmail.com
Wed May 18 10:33:21 EST 2011


On May 18, 2011, at 9:55 AM, Rahkonen Jukka wrote:

> Hi,
>
> Try
> http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.1.0&request=get
> capabilities
>
> I am getting all the bounding boxes of the layers in lower right-upper
> left corners.
> ows:WGS84BoundingBox>
> <ows:LowerCorner>32.963033 59.362058</ows:LowerCorner>
> <ows:UpperCorner>15.609543 69.992590</ows:UpperCorner>
> </ows:WGS84BoundingBox>

>
> I've been told it should be lower left-upper right but I do not know  
> it
> myself.

The only example from the spec (WFS 1.1.0) is:
         <ows:WGS84BoundingBox>
            <ows:LowerCorner>-180 -90</ows:LowerCorner>
            <ows:UpperCorner>180 90</ows:UpperCorner>
         </ows:WGS84BoundingBox>

So i implement:
          fprintf(o->output, " <ows:LowerCorner>%f %f</ 
ows:LowerCorner>", gb->west, gb->south);
          fprintf(o->output, " <ows:UpperCorner>%f %f</ 
ows:UpperCorner>", gb->east, gb->north);

Did you have any other sources ?

--
Olivier


More information about the TinyOWS-users mailing list