Ah sorry moving too quickly (yay coffee). That is indeed a good question, older 
copies of uDig were using the epsg-h2 jar, I understand epsg-hsql is the 
preferred choice these days.

uDig also provides a few additional codes (which you can do with a property 
file and a bit of setup). 
- 
https://github.com/uDig/udig-platform/blob/master/plugins/org.locationtech.udig.libs/epsg.properties

Still those are all in the "custom" code range and you were looking for 3857

uDig may do a EPSG lookup (you can do a search given a CRS). Some of the EPSG 
codes are more accurate (contains helpful transforms?) when read from the EPSG 
database.

We have example code for that here:

http://docs.geotools.org/stable/userguide/library/referencing/crs.html#matching-a-coordinatereferencesystem

Let me know if "matching" helps?

-- 
Jody Garnett

On 14 August 2014 at 6:50:40 am, mroguski (mrogu...@megabit.com.pl) wrote:

OK, I will try with uploading the definition to postgis.  

But still I find it strange that udig does that correctly. You wrote that it  
read my prj file.  
Yes, but when I read the file everything was OK as well.  
The question is why udig displayed the data correctly when it read CRS from  
postgis and my app did not :/  



--  
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Problem-with-reference-systems-transformations-tp5156398p5156415.html
  
Sent from the geotools-gt2-users mailing list archive at Nabble.com.  

------------------------------------------------------------------------------  
_______________________________________________  
GeoTools-GT2-Users mailing list  
GeoTools-GT2-Users@lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users  
------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to