I have long been a champion of code sharing, and also of keeping math specific algorithms out of a gis per se. But is there a searchable area we can have to out up a load of library functions e.g. a point in polygon search, or find perpendicular point on line, etc. I mean functions specific to GI operations. I genuinely enjoy the site, and like to encourage sharing in our communtity, but people are 'googling' for code samples first, and maybe it would be a good diea to have a repository here, that people can use?
I think it would be an excellent way to make this a more popular resource on the internet
As for generic code, I dont agree. I think we should be able to out any code up, as there aren't that many flavours and the flavours we have are easily interchangeable; migrating in between any scripting languages is fine, as it, pretty much C# <-> Java and, to be frank, it's the logic around certain issues which more interests us. I am also not talking about massive productions of code, I am talking about functions, methods which perform very specific tasks i.e. finding a perpendicular point to a line, etc. where you actually want the algorithm in code, which you can copy over and test, then use. I have a lot of code (somewhere), which I dip into every now and again to solve a problem I have seen before.
I just think it would be a great resource, and would see me, pretty much, permalinked here.