<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
2) But yes, my second goal is like you described: to<br>
create a postgreSQL database VIEW (instead of table)<br>
that contain polygon, line, and point data.<br>
<br>
And yes, this database view is supposed to act like<br>
project file. Thus, user just need to open the<br>
database views to see the project, instead opening<br>
project file(s) on her/his local hard drive.</blockquote><div><br>Explain what you mean by "open the database views".  Data in a view is still just data.  PostGIS does not have any internal means to display data (unless you count looking at text or binary as display).  You can use views (or for your case, it would seem better to do something like organizing the data into schemas) to organize your data, but that still is not going to get you to anything like an ArcView .apr file which controls both links to the where the data resides as well as information about how to style that data.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
See, the goal is to eliminate the need of project<br>
files, and replace them with database views instead.<br>
Database views are more organized because they are<br>
stored in the database server, as oppossed to project<br>
files that are scattered through each user's local<br>
hard drive.</blockquote><div><br>I've seen some mighty unorganized databases and some mighty organized file systems, I'm not quite sure I buy your logic.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
So how to achieve the goal? Can the geomunion function<br>
help me create such view that contains polygon, lines,<br>
and points?<br>
<br>
Thanks,<br>
-Kresh<br>
<br>
--- Dane Springmeyer <<a href="mailto:blake@hailmail.net">blake@hailmail.net</a>> wrote:<br>
<br>
> Hi Kreshna,<br>
><br>
> Do you mean to visualize your data? To actually view<br>
> it in a map<br>
> interface?<br>
><br>
> Postgis is just a backend for storage, analysis, and<br>
> data<br>
> manipulation. You can have tables within postgis<br>
> that contain both<br>
> polygon, line and point data in one table if you<br>
> want to. But I don't<br>
> think that is what you are asking.<br>
><br>
> If you want to view an overlay of different data<br>
> then you need to load<br>
> your shapefiles in the data viewer like QGis or<br>
> uDig, then save<br>
> "projects" that view all the data layers together.<br>
><br>
> Let me know if I can help anymore,<br>
><br>
> dane<br>
><br>
><br>
> On Feb 25, 2008, at 8:47 PM,<br>
<div><div></div><div class="Wj3C7c">> <a href="mailto:kreshna_iceheart@yahoo.com">kreshna_iceheart@yahoo.com</a> wrote:<br>
><br>
> > I wonder about a thing:<br>
> ><br>
> > Does postGIS have spatial-related database views<br>
> that<br>
> > work like ArcView .ARP project files?<br>
> ><br>
> > See, with project files, it is possible to combine<br>
> > several SHP files of various types (polygons,<br>
> lines,<br>
> > etc) , in a single view.<br>
> ><br>
> > Now, is it possible to to such thing with postGIS<br>
> > database? Are there views to combine various types<br>
> of<br>
> > spatial tables? (polygons, lines, etc)<br>
> ><br>
> > Many thanks,<br>
> > -Kresh<br>
> ><br>
> ><br>
><br>
__________________________________________________________________<br>
> > So be it. If saying "NO" means being alone, then<br>
> to hell with love,<br>
> > with women, with marriage, with God, religions,<br>
> bars, nightclubs,<br>
> > computer games, and all the shit life keeps<br>
> pumping at me. I'll walk<br>
> > alone, but with freedom and a healed pride.<br>
> ><br>
> ><br>
> ><br>
> ><br>
><br>
____________________________________________________________________________________<br>
> > Never miss a thing.  Make Yahoo your home page.<br>
> > <a href="http://www.yahoo.com/r/hs" target="_blank">http://www.yahoo.com/r/hs</a><br>
> > _______________________________________________<br>
> > postgis-users mailing list<br>
> > <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
> ><br>
><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
><br>
><br>
<br>
<br>
__________________________________________________________________<br>
So be it. If saying "NO" means being alone, then to hell with love, with women, with marriage, with God, religions, bars, nightclubs, computer games, and all the shit life keeps pumping at me. I'll walk alone, but with freedom and a healed pride.<br>

<br>
<br>
      ____________________________________________________________________________________<br>
Never miss a thing.  Make Yahoo your home page.<br>
<a href="http://www.yahoo.com/r/hs" target="_blank">http://www.yahoo.com/r/hs</a><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>************************************<br>David William Bitner