Hi,
Thanks for the reply.
Just to let you know, I am reading my vector data from PostgreSQL. So, can I
use WMS GetCapabities request in that case.
It would be really helpful if you can paste any sample code for that if you
have any.
Thanks and regards,
Kiran.
--
View this message in context:
Hi,
Thanks for the suggestions.
I would try to follow them and let you know my results.
Regards,
Kiran.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/How-to-get-full-extent-of-the-map-tp5248342p5250576.html
Sent from the Mapserver - User mailing list archive at Nabbl
Hi Luis,
Thanks for your brilliant idea. I think that should help me definitely.
I would try it and let you know my results.
Thanks once again.
Regards,
Kiran.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/How-to-get-full-extent-of-the-map-tp5248342p5258693.html
Sen
Hi Luis,
It worked great. Thanks a lot for very elegant solution.
I just queried the layer using your SQL and it returned me the string
something like BOX(72.6303329467773 17.8568286895752,73.7989807128906
20.2300205230713). I had to manipulate that string and extract the
coordinates.
Thanks o
Hi,
Sorry, I do not make code, but you should make your application to send the
getCapabilities request like
http://localhost/cgi-bin/mapserv.exe?service=WMS&version=1.1.0&request=getCapabilities&map=c:\ms4w\osm-mapserver.map
and capture the extents from the returned document which will have thi
If you're reading from Postgres, you can use de Extent function of postgis.
something like:
SELECT EXTENT(*geo_field*)) FROM *geotable *
and you'll get de bbox.
*
*
and you can also use de expand function to retrive the bbox expanded in all
directions by an amount specified in the sql.
take a look