I think if you take that back to the geotools devel they will be interesed in the files; indeed I am pretty sure if you ask you can commit your update directly. Jody
On Fri, May 15, 2009 at 9:07 AM, Emily Gouge <[email protected]> wrote: > Okay for those of you who are interested I think I've solved my problem in a > really complicated way :) > > I ended up going into the geotools epsg-hsql project and finding Martin's > instructions for creating the EPSG.sql file. I downloaded the latest epsg > codes from the epsg authority and followed Martins instructions and make > myself a new EPSG.sql file. The newer epsg database had the 3785 projection > in it. > > I however did have to make one change to 3785 projection in the EPSG.sql > file to get this to work - I had to change > 'Mercator (1SP) (Spherical)' to 'Mercator (1SP)' as GeoTools referencing > doesn't seem to support 'Mercator (1SP) (Spherical)' in the > EPSG_COORDOPERATIONMETHOD table. I'm not entirely sure what effects this > will have (if any); although it seems to work okay for my needs. > > If anybody is interested in this new EPSG.sql file I can provide it. > > Emily > > Emily Gouge wrote: >> >> Thanks Andrea, >> >> I would guess that this works well for 1.1, but for uDig trunk we are >> using the hsql version of the epsg jar which doesn't seem to have >> epsg.properties file in it. Instead it has an EPSG.sql file which seems >> much harder to understand :) However, this looks like it might be what I >> need to edit. I'll play around with it and see if I can figure it out. >> >> Thanks! >> Emily >> >> andrea antonello wrote: >>> >>> Hi Emily, >>> >>>> Yes, this is on uDig trunk. >>>> >>>> I saw this page but it doesn't help me because neither 900913 or 3785 >>>> are in >>>> the geotools epsg-hsql jar (or at least I can't find them). I don't >>>> know >>>> how to add something to this jar for my local use; or add it somewhere >>>> else. >>>> >>>> I see the "Adding the Projection" section; but to what am I adding that >>>> insert statement? >>> >>> Since I needed to do that for udig 1.1, I have solved it the way you >>> need it also. >>> Inside the epsg jar you will find an epsg.properties file. Inside >>> there the list of crs is kept, one per line: >>> >>> epsgnumber=WKTdefinition >>> >>> Make sure you have a unique number and add your definition. >>> What I do is substitute the original jar in the udig libs at the first >>> time JGrass is run. You might make a custom package so you probably >>> don't need that. >>> >>> Ciao >>> Andrea >>> >>> >>> >>> >>>> Thanks, >>>> Emily >>>> >>>> Jody Garnett wrote: >>>>> >>>>> I hope this is udig trunk? The google projection now has an offical >>>>> epsg >>>>> code... >>>>> >>>>> http://docs.codehaus.org/display/GEOTDOC/08+Google+Maps+Projection >>>>> >>>>> On Thu, May 14, 2009 at 4:35 AM, Emily Gouge <[email protected]> >>>>> wrote: >>>>>> >>>>>> I have a GeoWebCache layer in projection 900913. I'm trying to view >>>>>> this >>>>>> layer in uDig however uDig doesn't recognize the 900913 projection >>>>>> (even >>>>>> if >>>>>> I add it as a custom CRS). Any ideas on how I can get uDig to >>>>>> recognize >>>>>> the >>>>>> 900913 projection - how can I add it to default list of projections >>>>>> supported by uDig (either manually or programmatically)? >>>>>> >>>>>> Thanks, >>>>>> Emily >>>>>> _______________________________________________ >>>>>> User-friendly Desktop Internet GIS (uDig) >>>>>> http://udig.refractions.net >>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel >>>>>> >>>>> _______________________________________________ >>>>> User-friendly Desktop Internet GIS (uDig) >>>>> http://udig.refractions.net >>>>> http://lists.refractions.net/mailman/listinfo/udig-devel >>>> >>>> _______________________________________________ >>>> User-friendly Desktop Internet GIS (uDig) >>>> http://udig.refractions.net >>>> http://lists.refractions.net/mailman/listinfo/udig-devel >>>> >>> _______________________________________________ >>> User-friendly Desktop Internet GIS (uDig) >>> http://udig.refractions.net >>> http://lists.refractions.net/mailman/listinfo/udig-devel >> >> _______________________________________________ >> User-friendly Desktop Internet GIS (uDig) >> http://udig.refractions.net >> http://lists.refractions.net/mailman/listinfo/udig-devel > > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel > _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
