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)
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
All,
So, I was thinking about adding support for Raster pulling from AutoCAD work
sessions directly. We've had this capability in place for a number of years
using MapServer calls to each layer individually. I'm researching the idea of
rebuilding the importing routines but with the added
Bob,
I'm not sure I understand what you are trying to do (on the mapserver
side or the Autocad side!). Do you want mapserver to return a list of
layers (when sent an OGC GetCapabilities or equivalent non-standard
request) in a format of your choosing, similar to the way
template-driven
Brent,
Pretty much as you describe . . .
I want a list of layers but in my own form (Not OGC), specifically, I've used a
TEMPLATE in the past to output LISP code that I can run in AutoCAD as an
executable, sort of a poor man's importer for raster images. This has been
working for over a