<html st="" repl="http://schemas.microsoft.com/repl/" ss="urn:schemas-microsoft-com:office:spreadsheet" z="urn:schemas-microsoft-com:" sp="http://schemas.microsoft.com/sharepoint/" x="urn:schemas-microsoft-com:office:excel" w="urn:schemas-microsoft-com:office:word" xsi="http://www.w3.org/2001/XMLSchema-instance" v="urn:schemas-microsoft-com:vml" dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns="http://www.w3.org/TR/REC-html40" s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xsd="http://www.w3.org/2001/XMLSchema" q="http://schemas.xmlsoap.org/soap/envelope/" p="urn:schemas-microsoft-com:office:powerpoint" o="urn:schemas-microsoft-com:office:office" oa="urn:schemas-microsoft-com:office:activation" m="http://schemas.microsoft.com/office/2004/12/omml" wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" d="DAV:" c="urn:schemas-microsoft-com:office:component:spreadsheet" pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" b="urn:schemas-microsoft-com:office:publisher" a="urn:schemas-microsoft-com:office:access" rs="urn:schemas-microsoft-com:rowset" rtc="http://microsoft.com/officenet/conferencing" x2="http://schemas.microsoft.com/office/excel/2003/xml" dsss="http://schemas.microsoft.com/office/2006/digsig-setup" dsp="http://schemas.microsoft.com/sharepoint/dsp" ex12t="http://schemas.microsoft.com/exchange/services/2006/types" dssi="http://schemas.microsoft.com/office/2006/digsig" spwp="http://microsoft.com/sharepoint/webpartpages" sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" udc="http://schemas.microsoft.com/data/udc" udcxf="http://schemas.microsoft.com/data/udc/xmlfile" ois="http://schemas.microsoft.com/sharepoint/soap/ois/" udcp2p="http://schemas.microsoft.com/data/udc/parttopart" sps="http://schemas.microsoft.com/sharepoint/soap/" ec="http://www.w3.org/2001/04/xmlenc#" dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" ds="http://www.w3.org/2000/09/xmldsig#" mrels="http://schemas.openxmlformats.org/package/2006/relationships" odc="urn:schemas-microsoft-com:office:odc" mver="http://schemas.openxmlformats.org/markup-compatibility/2006" ppda="http://www.passport.com/NameSpace.xsd" udcs="http://schemas.microsoft.com/data/udc/soap" html="http://www.w3.org/TR/REC-html40">
  <head>
    <style type="text/css">
      <!--
        body { margin-bottom: 1px; font-variant: normal; margin-left: 4px; margin-top: 4px; margin-right: 4px; line-height: normal }
        li.msonormal { margin-bottom: .0001pt; font-size: 12.0pt; margin-left: 0in; font-family: Times New Roman,serif; margin-top: 0in; margin-right: 0in }
        span.emailstyle17 { color: #1F497D; font-family: Calibri,sans-serif }
        a:visited { color: purple; text-decoration: underline }
        p { margin-bottom: 0; margin-top: 0 }
        span.msohyperlink { color: blue; text-decoration: underline }
        span.msohyperlinkfollowed { color: purple; text-decoration: underline }
        a:link { color: blue; text-decoration: underline }
        p.msonormal { margin-bottom: .0001pt; font-size: 12.0pt; margin-left: 0in; font-family: Times New Roman,serif; margin-top: 0in; margin-right: 0in }
        div.msonormal { margin-bottom: .0001pt; font-size: 12.0pt; margin-left: 0in; font-family: Times New Roman,serif; margin-top: 0in; margin-right: 0in }
      -->
    </style>
    
  </head>
  <body vlink="purple" lang="EN-US" link="blue">
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">All&#44;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">How about incrementally loading the SHAPE files at some predetermined interval into POSTGIS is this feasible&#44; are the data files to large&#44; etc&#63;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Lucida Grande">bobb</font>    </p>
<br>      <br>
    <p style="margin-top: 0; margin-bottom: 0">
      <br>
      <br>
      &gt;&gt;&gt; &quot;Fawcett&#44; David &#40;MPCA&#41;&quot; &lt;David.Fawcett@state.mn.us&gt; wrote:<br>    </p>
    <div style="margin-bottom: 0; background-color: #f3f3f3; margin-left: 15px; padding-left: 7px; margin-top: 0; margin-right: 0; border-left: solid 1px #050505">
      <div class="WordSection1">
<br>          
        <div style="color: #1F497D; font-size: 11.0pt; font-family: Calibri,sans-serif">
          <p style="margin-top: 0; margin-bottom: 0">
            Your client has some pretty custom requirements.&#160;&nbsp;How current does the data published by the Web server need to be&#63;&#160;&nbsp;Could it be refreshed nightly or hourly&#44; or do changes to the data have to be immediately reflected in on the Web&#63;<o p="#DEFAULT"></o>          </p>
        </div>
<br>          
        <div style="color: #1F497D; font-size: 11.0pt; font-family: Calibri,sans-serif">
          <p style="margin-top: 0; margin-bottom: 0">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
        <div style="padding-right: 0in; padding-top: 3.0pt; padding-bottom: 0in; padding-left: 0in; border: none; border-top: solid #B5C4DF 1.0pt">
<br>            
          <div style="font-size: 10.0pt; font-family: Tahoma,sans-serif">
            <p style="margin-top: 0; margin-bottom: 0">
              From:            </p>
          </div>
          <div style="font-size: 10.0pt; font-family: Tahoma,sans-serif">
            <p style="margin-top: 0; margin-bottom: 0">
              mapserver-users-bounces@lists.osgeo.org &#91;mailto:mapserver-users-bounces@lists.osgeo.org&#93; <b>On Behalf Of </b>Flavio Carmo<br><b>Sent:</b>&nbsp;Monday&#44; November 29&#44; 2010 1:49 PM<br><b>To:</b>&nbsp;Stephen Woodbridge<br><b>Cc:</b>&nbsp;mapserver-users@lists.osgeo.org<br><b>Subject:</b>&nbsp;Re: &#91;mapserver-users&#93; Re: Join from SHP file to PostgreSQL table<o p="#DEFAULT"></o>            </p>
          </div>
        </div>
        <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
          <o p="#DEFAULT">
          &#160;</o>        </p>
        <div>
          <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
            Hi&#44;<o p="#DEFAULT"></o>          </p>
        </div>
        <div>
          <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
        <div>
          <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
            Sorry&#44; but i cant upload the shapes to postgres. The shapefiles are modified using arcview and the data in the postgres is modified using a custom desktop software that my client uses for about 5 years. The software open the shapefiles&#44; then using a ODBC connection with postgres&#44; make the join in memory and shows the information for each geometry.<o p="#DEFAULT"></o>          </p>
        </div>
        <div>
          <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
        <div>
          <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
            I cant undo this situation&#44; so&#44; my client propose to me to uses a opensource solution to also make this join in a WMS service. He knows Geoserver and Mapserver. Geoserver cant do this too&#44; so i&#39;ve hoped that mapserver could be a solution.<o p="#DEFAULT"></o>          </p>
        </div>
        <div>
          <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
            <o p="#DEFAULT">
            &#160;</o>          </p>
        </div>
        <div>
          <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
            Regards&#44;<o p="#DEFAULT"></o>          </p>
        </div>
        <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
          <br>
          Fl&#225;vio Carmo<br><br><o p="#DEFAULT"></o>        </p>
        <div>
          <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
            On Mon&#44; Nov 29&#44; 2010 at 16:35&#44; Stephen Woodbridge &lt;<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>&gt; wrote:<o p="#DEFAULT"></o>          </p>
          <div>
            <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
              On 11/29/2010 2:21 PM&#44; flaviocarmo wrote:<o p="#DEFAULT"></o>            </p>
            <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
              <br>
              Hi&#44;<br><br>Thanks all for your responses. Im a novice in Mapserver so&#44; after reading&#44;<br>now i know that:<br><br>- I cant use a JOIN to shown only geometrys with the CODE field stored on<br>Postgres &#40;or another Database&#41; because joins cannot modify the look of a<br>map&#59;<br><br>- I need to use a template always to show the queries results&#59;<br><br>- Case-sensitive fields can be a problem in a query with mapserver&#59;<br><br>- The &quot;PG:&quot; string for was my mistake. I missed in the mail&#44; but was in my<br>MAP file. Sorry.<br><br>Now what&#63; There isnt a way to solve my issue&#63; My client needs a opensource<br>solution to deliver his data. His current solution &#40;ESRI ArcGIS Server&#41; is<br>too expensive to buy another license&#44; so he asked for a solution with the<br>same quality&#44; but opensource.<br><br>There is a way to workaround this&#63;<o p="#DEFAULT"></o>            </p>
            <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
              <o p="#DEFAULT">
              &#160;</o>            </p>
          </div>
          <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
            Favlio&#44;<br><br>I would put all the data in a postgres/postgis database and display it from there. There is a simple shapefile loader:&nbsp;&#160;shp2pgsql. In this setup you can easily join tables&#44; create inherited tables if you are working with data like streets.shp for multiple countries so the parent table can be used to seamlessly display the multiple streets tables as a single layer in mapserver.<br><br>He may have to rethink his work flow a little because the tools are different&#44; but this would be the case regardless if he is changing the software that he is using.<br><br>-Steve W<o p="#DEFAULT"></o>          </p>
          <div>
            <div>
              <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
                <br>
                _______________________________________________<br>mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o p="#DEFAULT"></o>              </p>
            </div>
          </div>
        </div>
        <p style="margin-top: 0; margin-bottom: 0" class="MsoNormal">
          <o p="#DEFAULT">
          &#160;</o>
        </p>
      </div>
    </div>
  </body>
</html>