[TinyOWS-users] It this WGS84BoundingBox in GetCapabilities OK?
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Wed May 18 10:57:06 EST 2011
Hi,
I do not understand anything myself, I am just taking care or a post office. This one came from deegree developer
"a) WGS84BoundingBox must contain coordinates for lower left and upper
right corner of a box; but for TinyOWS it contains lower right and upper
left"
No references were given. But for me the example looks like most western-most southern and then
most eastern, most northen. In TinyOWS output most eastern comes before most western.
-Jukka-
-----Alkuperäinen viesti-----
Lähettäjä: tinyows-users-bounces at lists.maptools.org puolesta: Olivier Courtin
Lähetetty: ke 18.5.2011 18:33
Vastaanottaja: TinyOWS users discuss list
Aihe: Re: [TinyOWS-users] It this WGS84BoundingBox in GetCapabilities OK?
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
_______________________________________________
TinyOWS-users mailing list
TinyOWS-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tinyows-users
More information about the TinyOWS-users
mailing list