<div dir="ltr"><br><div>Hi Fernando,</div><div><br></div><div>So you want the items to show in the map, but not in the select results? That might be difficult. I see 2 possible options:</div><div><br></div><div>- first option is that you can filter the empty records in the database before display (create a database view). Only items with populated table values will draw</div><div><br></div><div>- second option is to draw empty records and non-empty records as different LAYERS (one GROUP) and only enable the select template for the LAYER that has populated table values.</div><div><br></div><div>It sounds like option two might be what you need if you want to draw all items but select only some.</div><div><br></div><div>Tanya</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 24, 2015 at 3:36 AM, Fernando <span dir="ltr"><<a href="mailto:nando_gcia@hotmail.com" target="_blank">nando_gcia@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><span lang="en"><span>This is the</span> <span>full table of</span> <span>my database</span><span>:</span><br><br>CREATE TABLE c2_climatizacion<br>(<br> gid serial NOT NULL,<br> entity character varying(16),<br> handle character varying(16),<br> layer character varying(254),<br> lyrfrzn smallint,<br> lyrlock smallint,<br> lyron smallint,<br> lyrvpfrzn smallint,<br> lyrhandle character varying(16),<br> color smallint,<br> entcolor smallint,<br> lyrcolor smallint,<br> blkcolor smallint,<br> linetype character varying(254),<br> entlinetyp character varying(254),<br> lyrlntype character varying(254),<br> blklinetyp character varying(254),<br> elevation numeric,<br> thickness numeric,<br> linewt smallint,<br> entlinewt smallint,<br> lyrlinewt smallint,<br> blklinewt smallint,<br> refname character varying(254),<br> ltscale numeric,<br> extx numeric,<br> exty numeric,<br> extz numeric,<br> docname character varying(254),<br> docpath character varying(254),<br> doctype character varying(32),<br> docver character varying(16),<br> tipo character varying(7),<br> nombre character varying(31),<br> dimensione character varying(8),<br> dimensio_1 character varying(9),<br> calibre character varying(6),<br> indentific character varying(7),<br> diametro character varying(50),<br> the_geom geometry(MultiLineString,3857),<br> CONSTRAINT c2_climatizacion_pkey PRIMARY KEY (gid)<br>)<br><br> <span>And</span> <span>selecting</span> <span>features</span> <span>I show</span> <span>the following results:</span><span class=""><br><br> <span>-----------------------------------</span><br>> NOMBRE:<br>> TIPO:<br>> DIMENSIONES:<br>> CALIBRE:<br>> DIAMETRO:<span></span><br><br> </span><span>But I want</span> <span>that when</span> <span>these</span> <span>5 columns</span> <span>is</span> <span>empty</span> <span>then</span> <span>not show</span> <span>in the results of</span> <span>selecting</span> <span>features.<br><br></span></span>How I can do? <br><br><span lang="en">T<span>here any</span> <span></span></span><span lang="en"><span><span lang="en"><span>GeoMOOSE</span> </span>programmer</span> <span>can tell</span> <span>me</span> <span>how to modify</span> <span>the file</span> <span>select.php? please.<br></span></span><span class=""><br><div>> > _______________________________________________<br>> > Geomoose-users mailing list<br>> > <a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>> > <a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br></div> </span></div></div>
<br>_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br></blockquote></div><br></div>