On Tue, Nov 2, 2010 at 4:01 AM, Mauricio Pazos <mauricio.pa...@axios.es> wrote: > On Monday 01 November 2010 11:08:53 am lv wrote: >> Hi, >> >> I am new in GIS and GeoTool. My question is about how to change the >> Geoserver's source code. I should send this email to Geoserver's mailing >> list but nobody can tell me how to modify Geoserver's source code at >> Geoserver's mailing-list. I have waited for more than 2 weeks. >> What I need >> is offsetting the GIS data after getting data from source (database or >> others) and before publishing map. The reason why I cannot use SLD is that >> my boss gave me a jar file and I should use this JAR file to offset data. >> My boss does not want to use SLD. This JAR file can create random data. I >> should get these random data and offset the correct GIS data. In each >> layer, ever point should be moved to different place. For example, 30% >> points should be moved to North 100 meters. 30% points should be moved to >> south 20 meters. The rest points should be moved to east 300 meters. >> >> Should I change the Geoserver's source code or the jar file of GeoTool at >> Geoserver? Which part of code should I modify if I should change the jar >> files of GeoTool? >> >> Thanks a lot. > Probably, the community has not a good answer. > > You should do a code review to identify the components involved. In general, > geotools and geoserver have a flexible architecture based in factories, > builders, etc.. Thus, if you identify the collaboration required for > geoserver, you should provide a new implementation, something like an > adapter to call your "jar", maintaining the interface, so your project won't > require modify geoserver. > > Actually, I this is not a good reply :). >
Yours is a good answer - the main problem with Iv's question is that it won't work. If s/he randomly changes every request then all I have to do is make a 1000(000) requests and average the points to get the true response. Several people have already told her/him that s/he needs to modify the source data but apparently "the boss" doesn't want to do it right. We kind of lost interest then. Ian -- Ian Turton ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel