|
Landon, You talked earlier of a point-line-area database (Frank responding that is slow). This type of structure results in a topological database where every coordinate is stored only once and every linestring only once - a linestring becomes a set of interpolations (straight-line by default) between an ordered set of coordinates while a polygon becomes an ordered set of linestrings (rings). In my experience, this is the right way to store data (it is closest to what we're actually trying to represent) but it is, as others have said, slow. My proposed solution is to automatically store a display-ready version of the geometry elsewhere in the database and maintain integrity between the two representations with DB triggers. 99% of the time, people simply want to view data - to zoom and pan - so they just use the display-ready version (could be in SVG format for example, ready to go straight to a browser). Whenever the display version is not up to the task (spatial analysis etc), then the database will automatically use the topological version. This is also the case for data editing and building - the topology is used and the display-ready version rebuilt automatically when finished. The same technique can be used to maintain network-analysis-ready versions of the same topological data. I wish I had the time to do something along these lines with PostgreSQL/PostGis which is what I used most of the time. There is already some early topology in PostGIS Regards Peter Bayley OpenEarth. Landon Blake wrote: Thanks Frank and Rich. You guys have been a lot of help. I'll talk this info over with my buddy and we will do some testing.Landon -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Frank Warmerdam Sent: Friday, November 30, 2007 1:17 PM To: [email protected] Cc: Mark Dennehy Subject: Re: [Geowanking] Storing Simple Geometries in a RDBMS Model Landon Blake wrote: |
_______________________________________________ Geowanking mailing list [email protected] http://lists.burri.to/mailman/listinfo/geowanking
