Milton Jonathan ha scritto: > Hello again, and thanks a lot for the fast feedback! > > Well, in my really humble opinion, if the guy stated that the code is > EPSG:6618, then that is what he wants, regardless of any imprecisions in > the WKT. If he wanted something else, why put the code? > > Looking at things from my perspective, I think it makes some (but > little) sense to enforce Datum names, if that is a standard, but I agree > that checking the parameters when the name differs makes a lot more sense. > But I really think that enforcing the numbers in a text file to have > exactly the same precision as in the EPSG database is kinda out of > control. In my particular case, the software that generates the WKT has > the flattening and computes its inverse to output the WKT, meaning that > all those numbers are floating points with a lot of digits after the > point. Since different CRSs have different official precisions, I think > there is no way one can guarantee that the WKT will work in GeoTools > unless each number is printed with a different precision according to > the official EPSG values. Kinda complicated, in my opinion..
What is the software that is generating correct EPSG ids without correct parameter values? Please understand that a minor difference in the datum parameters leads to many meters of error in reprojections. I come in contact with a lot of .prj files but most of the time the authority ids are missing or referencing another authority (ESRI), whilst the params are usually true to the EPSG database. Cheers andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
