Hi,
Some gis software like qgis allow to define the tile size to retrieve
a map as a mosaic of tiles from a wms.
This is a very good feature.
But to use it efficiently is necessary to know the
maxsize value applied in the mapfile of the wms server.
Is this information retrievable from the
Bob,
Seems like this is trivial to do with a Perl wrapper.
Make a Perl script that makes a mapserver GetCapabilities request and
suck that into XML and reformat how you like.
-Steve W
On 1/28/2013 12:29 PM, Basques, Bob (CI-StPaul) wrote:
Brent,
Pretty much as you describe . . .
I want a
Yeah, yeah, I know. Just for some reason seems like it should be doable
straight through MapServer with a TEMPLATE . . .
Still pondering it, probably go the PERL route though in the end.
Thanks for the direction though. :c)
Bobb
-Original Message-
From:
Templates don't expose the layer metadata you'd likely need so transforming
normal XML as Steve suggested is a far better option.
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Basques, Bob
(CI-StPaul)
On 1/29/2013 1:03 PM, Andrea Peri wrote:
Hi,
Some gis software like qgis allow to define the tile size to retrieve
a map as a mosaic of tiles from a wms.
This is a very good feature.
But to use it efficiently is necessary to know the
maxsize value applied in the mapfile of the wms server.
Is
Heck if you are going the Perl route, you could use Perl mapscript and
build an app where you pass it the mapfile and from that you can return
anything you want, in any format and not be limited to whats in the
getcapabilities document. This would be more expandable to other
information that
But to use it efficiently is necessary to know the
maxsize value applied in the mapfile of the wms server.
Is this information retrievable from the getcapabilities or there is a
differente cgi request to have this information ?
Yes and no. From MapServer as
Hi,
How about making an utility that captures the layer bounds from
GetCapabilities, takes the centre point of the bounds, checks the min/max scale
limits from the GetCapabilities and then calculates a reasonable BBOX and makes
a GetMap query with WIDTH=400 and HEIGTH=400. By increasing the