<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Bob,<br>
<br>
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 output
(<a class="moz-txt-link-freetext" href="http://mapserver.org/output/template_output.html">http://mapserver.org/output/template_output.html</a>) returns feature
info in a custom format ?<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
On 1/28/2013 8:02 AM, Basques, Bob (CI-StPaul) wrote:<br>
</div>
<blockquote
cite="mid:C9CEA89772DA74488B5A5B6EB17DC48106599DBB@055-CH1MPN1-003.055d.mgd.msft.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Comic Sans MS";
panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Comic Sans MS";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS"">All,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS"">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
functionality of reading a getcapabilities call to flesh out
the listing of the available layers in the server. Yes I
know there is a FDO provider in AutoCAD, but that is only
available in Map and Civil, not regular AutoCAD (or ARCH,
still??) Versions which we also support.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS"">First thought was to build a XML parser as a
separate web service, that would make the call(s) to
mapserver. This would output the data in a AutoCAD readable
form such as AutoLISP. Another thought was to read our
GeoMoose MapBook, an XML file, for listing out the available
layers behind MapServer, this has the advantage of using our
existing tools and methods for access the data and it would
be completely automated with the GeoMoose MapBook becoming
the master data catalog.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS"">Whatever comes of this will also be eventually
morphed into a Feature importer (WFS, etc) as well, which we
also already have in place, but in a manner that could be
improved.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS"">So, back to the question, can a XML return from
MapServer be passed through a TEMPLATE to change the output?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS"">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS"">Bobb<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;font-family:"Comic Sans
MS""><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<br>
</body>
</html>