This is a clean solution. I handled everything in the php script. The false easting and false northing are computed as the center of the display. The initial <g> element has the transformation included. The intersection polygon and the actual geometry use the PostGIS translate function. Thanks for the ideas. Bruce Rindahl
--- In svg-developers@yahoogroups.com, "brucerindahl" <[EMAIL PROTECTED]> wrote: > > Thomas > This is a solution. See: > http://www.lrcwe-data.com/tmp/relative2.svg > It works in IE/ASV, Mozilla and looks better in Opera > Andreas - this is based on your interface so what do you think? I > guess I could send everything in relative coordinates with a false > easting and northing built into the map construct. PostGIS has a > transform function so we could send the false easting and northing to > each php script and load into the <g> elements. Then PostGIS could > fire back the transformed coordinates as each path element. I may > take a crack at this and let you know. > Bruce > > --- In svg-developers@yahoogroups.com, thomas.deweese@ wrote: > > > > Hi all, > > > > I also meant to mention that moving the primary (large) offset > into a > > transform will > > also help a lot (not so many of your bits will be 'wasted' on > essentially > > unchanging > > data): > > > > <path d="M489409.9,-4379209.97 [...] > > > > becomes: > > > > <path transform="translate(489409.9,-4379209.97)" d="M 0,0 [...] > > > > > > > > svg-developers@yahoogroups.com wrote on 05/10/2006 08:54:13 PM: > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Everything you need is one click away. Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/