<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">You can do automatic import of data and
      generate mapserver layers automatically.<br>
      The procedure is to do scripts ( python or bash in my case).  I
      usually run ogrinfo a couple of times in the script.<br>
      First, write the header part of the mapfile with extent for all
      data. <br>
      Then I examine the individual object types with ogrinfo -sql ...
      and make point, line and polygon layers depending on what I find.<br>
      One thing to remember is that mapserver doesn't like layers that
      don't exist. So avoid such layers or create dummy data.<br>
      <br>
      If You have many vector files, they can be assembled softly with
      either ogrtindex or vrt:s <br>
      Generally VRT:s are more flexible.  The VRT can be used directly
      in mapserver as data.<br>
      <br>
      Writing VRT:s can also be a good way to really merge and process
      data in a smart way with ogr2ogr.<br>
      <br>
      Lars Schylberg<br>
      <br>
      Den 2016-01-29 kl. 16:31, skrev Francis, Mike:<br>
    </div>
    <blockquote
cite="mid:BLUPR0501MB2050AEC4F9CF389276AB9BB3BCDB0@BLUPR0501MB2050.namprd05.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 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:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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"><font size="2" color="#1f497d"
            face="Calibri"><span style="font-size:11.0pt;color:#1F497D">Thanks,
              I was converting to shape files for performance reasons
              and to merge multiple vector maps of the same type into
              one shape file.   For my application the user imports one
              or more vector maps and software has to automatically
              generate the layers for rendering them.  I guess a better
              question would have been if there is an easy way to
              rendering a lot of separate vector maps in map server via
              an automated software process.<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="2" color="#1f497d"
            face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="2" color="#1f497d"
            face="Calibri"><span style="font-size:11.0pt;color:#1F497D">Thanks
              again<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="2" color="#1f497d"
            face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="2" color="#1f497d"
            face="Calibri"><span style="font-size:11.0pt;color:#1F497D">Mike<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="2" color="#1f497d"
            face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="2" color="#1f497d"
            face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></font></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><font size="2" face="Calibri"><span
                    style="font-size:11.0pt;font-weight:bold">From:</span></font></b>
              Michael Smith [<a class="moz-txt-link-freetext" href="mailto:michael.smith.erdc@gmail.com">mailto:michael.smith.erdc@gmail.com</a>]
              <br>
              <b><span style="font-weight:bold">Sent:</span></b> Friday,
              January 29, 2016 3:32 PM<br>
              <b><span style="font-weight:bold">To:</span></b> Francis,
              Mike <a class="moz-txt-link-rfc2396E" href="mailto:mfrancis@srcinc.com"><mfrancis@srcinc.com></a>;
              '<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>'
              <a class="moz-txt-link-rfc2396E" href="mailto:mapserver-users@lists.osgeo.org"><mapserver-users@lists.osgeo.org></a><br>
              <b><span style="font-weight:bold">Subject:</span></b> Re:
              [mapserver-users] Rendering VMAP1 & VMAP2 in VPF
              Format<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><font size="2" face="Calibri"><span
              style="font-size:11.0pt"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="2" color="#0070c0"
            face="Calibri"><span style="font-size:10.5pt;color:#0070C0">Notice:
              This message originated outside of SRC.</span></font><font
            size="2" color="black"><span
              style="font-size:10.5pt;color:black">
              <o:p></o:p></span></font></p>
        <div>
          <div>
            <p class="MsoNormal"><font size="2" color="black"
                face="Calibri"><span
                  style="font-size:10.5pt;color:black">You don't have to
                  convert it (although it may bring you performance to
                  do so). If your GDAL contains the OGDI driver, you can
                  read it natively (<a moz-do-not-send="true"
                    href="http://www.gdal.org/drv_ogdi.html">http://www.gdal.org/drv_ogdi.html</a>)<o:p></o:p></span></font></p>
          </div>
          <div>
            <p class="MsoNormal"><font size="2" color="black"
                face="Calibri"><span
                  style="font-size:10.5pt;color:black"><o:p> </o:p></span></font></p>
          </div>
          <div>
            <p class="MsoNormal"><font size="2" color="black"
                face="Calibri"><span
                  style="font-size:10.5pt;color:black">Mike<o:p></o:p></span></font></p>
          </div>
          <div>
            <p class="MsoNormal"><font size="2" color="black"
                face="Calibri"><span
                  style="font-size:10.5pt;color:black"><o:p> </o:p></span></font></p>
          </div>
          <div>
            <p class="MsoNormal"><font size="2" color="black"
                face="Calibri"><span
                  style="font-size:10.5pt;color:black"><o:p> </o:p></span></font></p>
          </div>
          <div>
            <p class="MsoNormal"><font size="2" color="black"
                face="Calibri"><span
                  style="font-size:10.5pt;color:black"><o:p> </o:p></span></font></p>
          </div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><font size="2" color="black"
                  face="Calibri"><span
                    style="font-size:11.0pt;color:black;font-weight:bold">From:
                  </span></font></b><font color="black"><span
                  style="color:black">mapserver-users <<a
                    moz-do-not-send="true"
                    href="mailto:mapserver-users-bounces@lists.osgeo.org"><a class="moz-txt-link-abbreviated" href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a></a>>
                  on behalf of "Francis, Mike" <<a
                    moz-do-not-send="true"
                    href="mailto:mfrancis@srcinc.com"><a class="moz-txt-link-abbreviated" href="mailto:mfrancis@srcinc.com">mfrancis@srcinc.com</a></a>><br>
                  <b><span style="font-weight:bold">Date: </span></b>Friday,
                  January 29, 2016 at 8:55 AM<br>
                  <b><span style="font-weight:bold">To: </span></b>"<a
                    moz-do-not-send="true"
                    href="mailto:%27mapserver-users@lists.osgeo.org">'<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a></a>'"
                  <<a moz-do-not-send="true"
                    href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>><br>
                  <b><span style="font-weight:bold">Subject: </span></b>[mapserver-users]
                  Rendering VMAP1 & VMAP2 in VPF Format<o:p></o:p></span></font></p>
          </div>
          <div>
            <p class="MsoNormal"><font size="2" color="black"
                face="Calibri"><span
                  style="font-size:10.5pt;color:black"><o:p> </o:p></span></font></p>
          </div>
          <blockquote style="border:none;border-left:solid #B5C4DF
            4.5pt;padding:0in 0in 0in
            4.0pt;margin-left:3.75pt;margin-right:0in"
            id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE">
            <div>
              <div>
                <p class="MsoNormal"><font size="2" color="black"
                    face="Calibri"><span
                      style="font-size:11.0pt;color:black">Good Morning,<o:p></o:p></span></font></p>
                <p class="MsoNormal"><font size="2" color="black"
                    face="Calibri"><span
                      style="font-size:11.0pt;color:black"> <o:p></o:p></span></font></p>
                <p class="MsoNormal"><font size="2" color="black"
                    face="Calibri"><span
                      style="font-size:11.0pt;color:black">What is the
                      easiest way to load Vector Maps (VMAP1 &
                      VMAP2) into map server.  From what I have read
                      vector maps need to be converted into a shape file
                      and then a layer needs to be defined for that
                      shape file.  I have created a script that takes
                      set of VPF files and creates a point, line, area,
                      and text shape file.  From that point I am able to
                      create a layer that is able to render lines and
                      points. I have not been able to get areas and text
                      vector data to display anything.   Does a layer
                      require a special property to render area and
                      text?  Is there an easier way to render VPF data?<o:p></o:p></span></font></p>
                <p class="MsoNormal"><font size="2" color="black"
                    face="Calibri"><span
                      style="font-size:11.0pt;color:black"> <o:p></o:p></span></font></p>
                <p class="MsoNormal"><font size="2" color="black"
                    face="Calibri"><span
                      style="font-size:11.0pt;color:black">Thanks,<o:p></o:p></span></font></p>
                <p class="MsoNormal"><font size="2" color="black"
                    face="Calibri"><span
                      style="font-size:11.0pt;color:black"> <o:p></o:p></span></font></p>
                <p class="MsoNormal"><font size="2" color="black"
                    face="Calibri"><span
                      style="font-size:11.0pt;color:black">Mike Francis
                      <o:p></o:p></span></font></p>
              </div>
            </div>
            <p class="MsoNormal"><font size="2" color="black"
                face="Calibri"><span
                  style="font-size:10.5pt;color:black">_______________________________________________
                  mapserver-users mailing list
                  <a moz-do-not-send="true"
                    href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
                  <a moz-do-not-send="true"
                    href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></span></font></p>
          </blockquote>
        </div>
      </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>