<div dir='ltr'>
Dear Jeff McKenna,<div><br></div><div>Thanks for the information. But if I do that it means I had to put a layer also in one folder because if I make the mapfile is spouse I had the map in a folder and also put the path to add to PostgreSQL. I use the the command shp2pgsql to add my layers, then I would like to now if is possible to add the WMS/WFS service to them. I hope I explain good my question</div><div><br></div><div>Thanks!</div><div><br></div><div>Best Regards,</div><div>José Santos</div><div><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Fri, 12 Oct 2012 09:39:45 -0700<br>From: <a href="/user/SendEmail.jtp?type=node&node=5008448&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a><br>To: <a href="/user/SendEmail.jtp?type=node&node=5008448&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a><br>Subject: Re: PostgreSQL and WMS/WFS<br><br>

        On 12-10-12 12:33 PM, Saint wrote:
<br>> Dear all, 
<br>> 
<br>> I would like to know if is possible set up a service (WMS/WFS) for a layer
<br>> stored within Postgres. 
<br>> 
<br>> I have one WEBGIS application that can't connect to PostgreSQL but if I use
<br>> the data inside Postgres I can get the URL from WMS and add the maps.
<br>> 
<br><br>Hello,
<br><br>Yes you can setup a MapServer WMS and/or WFS service for a PostGIS
<br>layer. (for example, for WFS just follow the instructions at
<br><a href="http://www.mapserver.org/ogc/wfs_server.html" rel="nofollow" target="_blank" link="external">http://www.mapserver.org/ogc/wfs_server.html</a>)
<br><br>If your layer is not a PostGIS layer but just a Postgres table with xy
<br>columns it is also possible (for example, see
<br><a href="https://github.com/mapserver/mapserver/wiki/VirtualSpatialData" rel="nofollow" target="_blank" link="external">https://github.com/mapserver/mapserver/wiki/VirtualSpatialData</a>).
<br><br>-jeff
<br><br><br><br><br>-- 
<br>Jeff McKenna
<br>MapServer Consulting and Training Services
<br><a href="http://www.gatewaygeomatics.com/" rel="nofollow" target="_blank" link="external">http://www.gatewaygeomatics.com/</a><br><br><br>_______________________________________________
<br>mapserver-users mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=5008329&i=0" rel="nofollow" target="_blank" link="external">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" target="_blank" link="external">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>

        
        
        
        <br>
        <br>
        <hr size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.n6.nabble.com/PostgreSQL-and-WMS-WFS-tp5008325p5008329.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1560.n6.nabble.com/PostgreSQL-and-WMS-WFS-tp5008325p5008329.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;line-height:1.5em">
                
                To unsubscribe from PostgreSQL and WMS/WFS, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble:email.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble:email.naml-instant_emails%21nabble:email.naml-send_instant_email%21nabble:email.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div>                                      </div>


        
        
        <div class="signature" style="margin-top:1em;color:#666666;font-size:11px;">
                                José Santos
<br/>GIS Analyst  
                        </div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/PostgreSQL-and-WMS-WFS-tp5008325p5008448.html">RE: PostgreSQL and WMS/WFS</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/Mapserver-User-f4226646.html">Mapserver - User mailing list archive</a> at Nabble.com.<br/>