Le lundi 19 février 2007 à 18:55 +0100, Mike Lehmann a écrit : > OK, I ask it differently: for what purposes the database (no matter whether > Access, Postgres, HSQL or what ever) is required?
There is more than 3000 CRS defined in this database. Hard-coding all those CRS in Geotools is not a pratical solution. In addition, those definitions are maintained by an external body (http://www.epsg.org), not by Geotools. We are using the EPSG database as directly as we can. A CRS is made of many parameters carefully choosen by geodetic experts (ellipsoid axis length, bursa-wolf parameters, map projection parameters, etc.). They are often empirical values that need to be stored somewhere; we can't ask the users to know all the parameter values for their projection and supply them. > I'll ask, because I don't have any experience with databases and I don't see > a reason filling a database with a 6MB sql script for a plain transformation. Note that the HSQL database should be created in the temporary directory only the first time, or after the temporary directory has be cleaned. >From that point, the cached copy in the temporary directory should be used. Martin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users