[TinyOWS-users] GetCapabilities don't report LatLongBoundingBox correctly

Andrea Peri aperi2007 at gmail.com
Sat Sep 3 13:22:49 EST 2011


Hi, I tested it.
I must to change something because I use postgis 200 trunk version.

However.
It report:

[tomcat at copernico3 tinyows-trunk]$ echo
"service=wfs&request=GetCapabilities&version=1.0.0" > CAPA
[tomcat at copernico3 tinyows-trunk]$ test/unit_test CAPA 4 | grep
LatLongBoundingBox
  <LatLongBoundingBox minx='-180.000183' miny='-90.000000' maxx='180.000000'
maxy='83.623032' />
  <LatLongBoundingBox minx='-6.091001' miny='41.347435' maxx='10.812651'
maxy='50.803540' />
[tomcat at copernico3 tinyows-trunk]$

It work correctly.

sincerely it is an unexpected result for me.
The only real difference from mine and your data is the size of data and the
SRS .
We use EPSG:3003.

also the load system is similar.
Infact I use the shp2sql with this settings:

shp2pgsql -s 3003 -d -g geom -D -i -W UTF-8 ucs_rt_si_polygon.shp
caricamento.ucs_rt_si_polygon > ucs_rt_si_polygon.sql
psql --port 5433 -d test -U user_ows -h localhost -f ucs_rt_si_polygon.sql



2011/9/3 Olivier Courtin <olivier.courtin at gmail.com>

> On Sat, Sep 3, 2011 at 5:58 PM, Andrea Peri <aperi2007 at gmail.com> wrote:
>
> Andrea,
>
> >   <LatLongBoundingBox minx="0" miny="0" maxx="0" maxy="0"/>
>
> > I guess the LatLongBoundingBox should report the full-extent of the
> layer.
>
> Indeed yes, that's the expected behaviour (full extent report)
> I'm not able to reproduce it (i.e it works for me)
>
> Could you load TinyOWS demo data and config file and check if it's
> change something or not ?
>
> $ cd your_tinyows_dir
> $ sudo make install-demo
> $ echo "service=wfs&request=GetCapabilities&version=1.0.0" > CAPA
> $ test/unit_test CAPA 4 | grep LatLongBoundingBox
>
> --
> Olivier
> _______________________________________________
> TinyOWS-users mailing list
> TinyOWS-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tinyows-users
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-users/attachments/20110903/1746e265/attachment.htm 


More information about the TinyOWS-users mailing list