From: Gilles D. <gr...@sc...> - 2001-10-31 20:23:51
|
According to Andrew Daviel: > On Fri, 19 Oct 2001, Gilles Detillieux wrote: > > My question would be how much support do you need. Right now, all the > > developers are pretty strapped for time, so you probably won't get a lot > > of development work done for you. However, if you want to make changes > > to the C++ code yourself, I'm sure Geoff, myself, or a few others can > > suggest the best approaches and where to put in the changes. If they're > > done in a general enough way, they could even be incorporated into the > > 3.2 development code. > > What is the best way for me to do this ? Send you a patch file ? Put > my code tree somewhere you can look at it ? > I was using 3.2.0b3 I think but can use a later snapshot if that is > better. > I haven't looked at it for a couple of weeks and have forgotten exactly > where I got to; I had it working on a Mercator world map but need > to check the scaling for zoomed-in maps for it to be useful. For small to medium sized changes, patches against the latest snapshot have the best chance of being applied successfully to the current CVS tree. I should point out that anything that goes into the distributed source should be fairly general and configurable, and not something that would only work at one site. > > I don't know what that would involve, but it might be possible with a > > front-end wrapper script for htsearch. > > It's not so bad - map clicks are passed as form elements map.x and map.y > in the URL as usual, but I need to scale them. Actually, it's a > philosophical issue I guess - do I pass pure latitude and longitude to > htsearch, thus always requiring a wrapper, or do I pass click x,y plus > map extents, and map size in pixels in the config file, allowing me to > do the transformation of click point into position inside htsearch. > I have currently done the latter. Sounds reasonable. If it requires htsearch changes anyway, may as well make it self-contained if you can. -- Gilles R. Detillieux E-mail: <gr...@sc...> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 |