From: Sunburned S. <sun...@gm...> - 2007-04-17 16:04:53
|
I understand now that every geometry in lib2geom maintains its own "coordinate system". I am curious how this will work with the spatial index. For a spatial index to work won't I need to have geometries on a common coordinate system? Perhaps this is a foolish question. Scott On 4/16/07, mgsloan <mg...@gm...> wrote: > > On 4/16/07, MenTaLguY <me...@ry...> wrote: > > > > On Mon, 16 Apr 2007 14:04:46 -0700, "Sunburned Surveyor" < > > sun...@gm...> wrote: > > > I know that SVG uses a coordinate system in which the "X" or > > "northing" > > > coordinate value increases as you move "down" the screen or page. Is > > this > > > the coordinate system that lib2geom uses, or does the library employ a > > > more typical coordinate system in which the "X" or "northing" > > coordinate value > > > decreases as you move "down" the screen or page. > > > > > > If lib2geom does not use the SVG coordinate system, does it provide > > code > > > to do the translation? > > > > The short answer is that (ideally) nothing in lib2geom really > > cares. The ultimate interpretation of the coordinate system is up to the > > client. > > > > Yeah, I've gotten in trouble for making methods like cw (clockwise) and > ccw (counter-clockwise) before, as these would imply a particular coordinate > system (or at least, the desired behavior varies depending on your view of > the coord sys). > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Lib2geom-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/lib2geom-devel > > |