<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Stathis,<br>
<br>
Brian is talking about a database view, an object you can access
the same way as a table, but is dynamic as it "refers" to one or
more tables instead of duplicating the data in them. Have a look at
your databse documentation for more information.<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<br>
On 3/9/2011 1:06 PM, Efstathios Arapostathis wrote:
<blockquote
cite="mid:AANLkTimJ3Ye6O8Hd8Lp123o_L+7yaob_pQ-HxG-2QK5q@mail.gmail.com"
type="cite">Hi,
<div><br>
</div>
<div> I'm not sure that I understand for what the term "view"
stands..</div>
<div>Stathis<br>
<br>
<div class="gmail_quote">On Mon, Mar 7, 2011 at 12:06 AM, Brian
Fischer <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:bfischer@houstoneng.com">bfischer@houstoneng.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="white" link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size: 11pt;
color: rgb(31, 73, 125);">We will typically just
create a view that has all the information that you
want to use for identify results in it. MapServer
connects to views just like tables.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt;
color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt;
color: rgb(31, 73, 125);">The join would work as
well.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt;
color: rgb(31, 73, 125);"> </span></p>
<div>
<p class="MsoNormal"><b><span style="font-size: 11pt;
color: rgb(31, 73, 125);">Brian Fischer,</span></b><span
style="font-size: 11pt; color: rgb(31, 73, 125);">
</span><span style="font-size: 11pt; color: rgb(89,
89, 89);">CFM GIS Manager<br>
<b>Houston Engineering, Inc.</b><br>
Phone: Direct: 763-493-6664 / W: 763.493.4522 / M:
763.229.2734</span></p>
</div>
<p class="MsoNormal"><span style="font-size: 11pt;
color: rgb(31, 73, 125);"> </span></p>
<div>
<div style="border-right: medium none; border-width:
1pt medium medium; border-style: solid none none;
border-color: rgb(181, 196, 223) -moz-use-text-color
-moz-use-text-color; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size:
10pt; color: windowtext;">From:</span></b><span
style="font-size: 10pt; color: windowtext;">
Brent Fraser [mailto:<a moz-do-not-send="true"
href="mailto:bfraser@geoanalytic.com"
target="_blank">bfraser@geoanalytic.com</a>]
<br>
<b>Sent:</b> Sunday, March 06, 2011 12:59 PM<br>
<b>To:</b> Efstathios Arapostathis<br>
<b>Cc:</b> <a moz-do-not-send="true"
href="mailto:geomoose-users@lists.sourceforge.net"
target="_blank">geomoose-users@lists.sourceforge.net</a><br>
<b>Subject:</b> Re: [Geomoose-users] Identify
service - database issue</span></p>
</div>
</div>
<div>
<div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Stathis <br>
<br>
Have a look at the mapserver documentation on
PostGIS (<a moz-do-not-send="true"
href="http://mapserver.org/input/vector/postgis.html"
target="_blank">http://mapserver.org/input/vector/postgis.html</a>),
especially the examples showing a "join"<br>
<br>
</p>
<pre>Best Regards,</pre>
<pre>Brent Fraser</pre>
<p class="MsoNormal"><br>
On 3/6/2011 5:32 AM, Efstathios Arapostathis
wrote: </p>
<p class="MsoNormal"> Hi, </p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> I have a PostGIS database
with two tables:</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> The first table is called
"Averofdata" and has geometry information and
some other attributes. Primary key for that
table is column "gid"</p>
</div>
<div>
<p class="MsoNormal">The second table is called
"Events" and has additional information
regarding table "Averofdata". Primary key for
that table is columd "eventid"</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">A have created a "New foreign
key" constraint with these two keys.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> My question is:</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">How could I display
information from table "Events" in Geomoose
using the identify </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thanks!</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Best regards,</p>
</div>
<div>
<p class="MsoNormal">Stathis Arapostathis</p>
</div>
<div>
<p class="MsoNormal">Student: </p>
</div>
<div>
<p class="MsoNormal">PHD Candidate,</p>
</div>
<div>
<p class="MsoNormal">Harokopion University of
Athens</p>
</div>
<pre> </pre>
<pre> </pre>
<pre>------------------------------------------------------------------------------</pre>
<pre>What You Don't Know About Data Connectivity CAN Hurt You</pre>
<pre>This paper provides an overview of data connectivity, details</pre>
<pre>its effect on application quality, and explores various alternative</pre>
<pre>solutions. <a moz-do-not-send="true" href="http://p.sf.net/sfu/progress-d2d" target="_blank">http://p.sf.net/sfu/progress-d2d</a></pre>
<pre> </pre>
<pre> </pre>
<pre>_______________________________________________</pre>
<pre>Geomoose-users mailing list</pre>
<pre><a moz-do-not-send="true" href="mailto:Geomoose-users@lists.sourceforge.net" target="_blank">Geomoose-users@lists.sourceforge.net</a></pre>
<pre><a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/geomoose-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a></pre>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</body>
</html>