Hi Alexandre,<br><br>You are giving me lots of new ideas. One of them will be only to make editable poligons at a certain resolution, for the rest of resolutions, WMS version will be available. That's the way to avoid performance problems when working with a high populated layer! very nice<br>
I am taking a look closely to all examples and info you sent me and I will let you know my opinions about them when I have studied them better. Also, I will let you know my progress which will go in the direction you recomended me.<br>
For the moment, I just wanted to thank you very very much for your help and guide.<br><br>Kind regard,<br><br>Toni M.<br><br><br><div class="gmail_quote">2011/5/13 Alexandre Dubé [via OSGeo.org] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=6369053&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
        Hi Toni,
<br><br> Thanks for the inputs.
<br><br>=== tips and tricks, performance, etc ===
<br><br> 1) WFS-T feature editing requires a certain degree of precision. It
<br>is not really relevant to do so in smallscales. So, you could setup
<br>your vector layer to be visible and editing widgets to be usable only at
<br>certain zoom levels. That way, you would display less features, thus
<br>making the application faster.
<br><br> 2) On smaller scales, you could show a WMS version of this layer
<br>instead (non editable, but at least shows something to the user).
<br><br> 3) Also, you can read your features from TinyOWS in JSON instead of
<br>GML. That makes the requests go faster.
<br><br> 4) Read the server tuning wiki page from TinyOWS.
<br><a href="http://www.tinyows.org/trac/wiki/ServerTuning" rel="nofollow" link="external" target="_blank">http://www.tinyows.org/trac/wiki/ServerTuning</a><br><br><br>=== demos ===
<br><br> Here's a bunch of old and recent demos that could help you create
<br>what you want :
<br><br> a) WFS-T demo using OpenLayers only and TinyOWS. This demo is old
<br>and use old customized versions of OpenLayers and TinyOWS. At least, it
<br>demonstrates 1) and 2) above.
<br><a href="http://dev4.mapgears.com/bdga/bdgaWFS-T.html" rel="nofollow" link="external" target="_blank">http://dev4.mapgears.com/bdga/bdgaWFS-T.html</a><br><br> b) WFS-T demo from TinyOWS website using OpenLayers and TinyOWS.
<br>Much more "up-to-date" that previous one. Demonstrates the 3) above.
<br><a href="http://tinyows.org/tracdocs/demo/OpenLayers-2.9/examples/tinyows_wfs-t.html" rel="nofollow" link="external" target="_blank">http://tinyows.org/tracdocs/demo/OpenLayers-2.9/examples/tinyows_wfs-t.html</a><br>
<a href="http://tinyows.org/trac/wiki/OpenLayersHowToTransactional" rel="nofollow" link="external" target="_blank">http://tinyows.org/trac/wiki/OpenLayersHowToTransactional</a><br><br> c) FeatureEditorGrid from GeoExt.ux. This widget allows the editing
<br>of vector features using GeoExt and Ext libraries. It can be adapted to
<br>WFS-T.
<br><a href="http://trac.geoext.org/wiki/ux/FeatureEditing" rel="nofollow" link="external" target="_blank">http://trac.geoext.org/wiki/ux/FeatureEditing</a><br><a href="http://dev.geoext.org/ux/geoext.ux/ux/FeatureEditing/examples/feature-editor-grid.html" rel="nofollow" link="external" target="_blank">http://dev.geoext.org/ux/geoext.ux/ux/FeatureEditing/examples/feature-editor-grid.html</a><br>
<br><br>=== WFSTFeatureEditing ux ===
<br><br> I'm currently working on a GeoExt.ux tool that automatically creates
<br>every components required to do WSF-T. I have a wiki page, demo and
<br>some doc. It's all non-official (still in development) and not in
<br>GeoExt.ux (yet ?) but you can take a look. I'd suggest that you read
<br>the wiki, then the sample documentation to know how the widget works.
<br><br> Basically, it uses the FeatureEditorGrid (mentioned in c) ) and
<br>doesn't show anything on load. You need to draw boxes in order to make
<br>the vector features appear, thus making the navigation faster and only
<br>shows what the user wants to edit.
<br><br><a href="http://trac.geoext.org/wiki/ux/WFSTFeatureEditing" rel="nofollow" link="external" target="_blank">http://trac.geoext.org/wiki/ux/WFSTFeatureEditing</a><br><a href="http://dev8.mapgears.com/geoext/mg-sandbox-dev/geoext.ux/ux/WFSTFeatureEditing/examples/WFSTFeatureEditing.html" rel="nofollow" link="external" target="_blank">http://dev8.mapgears.com/geoext/mg-sandbox-dev/geoext.ux/ux/WFSTFeatureEditing/examples/WFSTFeatureEditing.html</a><br>
<br> Don't hesitate to give comments, suggestions, etc.
<br><br><br>Kind regards,
<br><br>Alexandre
<br><div class="im"><br><br>On 11-05-13 09:08 AM, tmartinh wrote:
<div><div class='shrinkable-quote'><br>> Hi,
<br>>
<br>> Reason why I want this layer as a vector layer is because I want to be
<br>> able to modify features coming from Postgis database and represented
<br>> on that layer using Openlayers and following examples like
<br>> <a href="http://maps.peterrobins.co.uk/files/ol6.html" rel="nofollow" link="external" target="_blank">http://maps.peterrobins.co.uk/files/ol6.html</a> or also
<br>> <a href="http://www.openlayers.org/dev/examples/modify-feature.html" rel="nofollow" link="external" target="_blank">http://www.openlayers.org/dev/examples/modify-feature.html</a> In my case,
<br>> apart from drawing features and them modify it, which I also want, I
<br>> need to edit features coming from database and first step is to put
<br>> those features on a vector layer, am I right?
<br>>
<br>> I know I will later find other problems because some days ago I learnt
<br>> that Mapserver does not have support for WFS-T but I also found that I
<br>> can add that support using extra packages like TinyOWS.. I will see.
<br>>
<br>> Also I have to implement drawing controls for the purpose I am
<br>> explaining on the top of Geoext interface which I am using in
<br>> collaboration with Openlayers.
<br>>
<br>> Your advice on the whole thing is very welcome and I want to thank you
<br>> very much in advance.
<br>>
<br>> Kind regards,
<br>>
<br>> Toni M.
</div></div></div><div class="im">--
<br>Alexandre Dubé
<br>Mapgears
<br><a href="http://www.mapgears.com" target="_blank" rel="nofollow" link="external">www.mapgears.com</a>
<br><br>_______________________________________________
<br>Users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=6359912&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        </div><div style="color: rgb(68, 68, 68); font: 12px tahoma,geneva,helvetica,arial,sans-serif;"><div class="im">
                <div style="font-weight: bold;">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://osgeo-org.1803224.n2.nabble.com/WFS-layer-from-Mapserver-not-displaying-tp6356333p6359912.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/WFS-layer-from-Mapserver-not-displaying-tp6356333p6359912.html</a>
        </div><div><div></div><div class="h5">
        <div style="color: rgb(102, 102, 102); font: 11px tahoma,geneva,helvetica,arial,sans-serif; margin-top: 0.4em;">
                
                To unsubscribe from WFS layer from Mapserver not displaying, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.
        </div></div></div></blockquote></div><br>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/WFS-layer-from-Mapserver-not-displaying-tp6356333p6369053.html">Re: WFS layer from Mapserver not displaying</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>