[postgis-users] PostGIS-PostgreSQL
Doug_Newcomb at fws.gov
Doug_Newcomb at fws.gov
Mon Jul 13 09:31:02 PDT 2009
I have a postgis dataset that is a series of fish collection trawls with
the geometry fields for the endpoints and for the line between the
endpoints. It seemed like the easiest way to do analysis on the endpoints
separately of the line the endpoints create at the time. Two geometry
colums with differnt names and different indexes. I'd do it differently
now, but it seemed to work well then.
Doug
Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb at fws.gov
---------------------------------------------------------------------------------------------------------
The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of Interior.
Life is too short for undocumented, proprietary data formats.
"Peter N.
Schweitzer"
<pschweitzer at usgs To
.gov> chris.hermansen at timberline.ca,
Sent by: PostGIS Users Discussion
postgis-users-bou <postgis-users at postgis.refractions.
nces at postgis.refr net>
actions.net cc
Subject
07/13/2009 11:17 Re: [postgis-users]
AM PostGIS-PostgreSQL
Please respond to
PostGIS Users
Discussion
<postgis-users at po
stgis.refractions
.net>
Chris Hermansen wrote:
> I should have mentioned that it's not considered good practice to
> have more than one geometry column per table, and hence more than
> one geometry object per row. This makes sense if you think of rows
> as representational instances of real world objects.
Hmmm. I'm storing two geometry columns, because in one I have the
geographic (unprojected) coordinates, and in the other the coordinates
in some projection. This is to support several different map interfaces
some of which are projected, others not. Since the points don't change
frequently, I can generate the projected coords once and then simply
use them rather than recalculate them on every web hit. It's denormalized,
but seems sensible to me. Would you disagree with this method?
Peter
--
Peter N. Schweitzer (MS 954, U.S. Geological Survey, Reston, VA 20192)
(703) 648-6533 FAX: (703) 648-6252 email: pschweitzer at usgs.gov
<http://geology.usgs.gov/peter/>
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20090713/efa551c3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20090713/efa551c3/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic06900.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20090713/efa551c3/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20090713/efa551c3/attachment-0002.gif>
More information about the postgis-users
mailing list