[udig-devel] epsg-hsql working w/ use of plugin activator

Jody Garnett jgarnett at refractions.net
Tue Dec 4 23:34:20 PST 2007


Managed to fix this; added an Activator that will load before any class 
in net.refractions.udig.libs is touched; the Activator does the following:
>     public void start(BundleContext context) throws Exception {
>         Map map = new HashMap();
>         map.put( Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER, true );
>         map.put( Hints.FORCE_STANDARD_AXIS_DIRECTIONS, true );
>         map.put( Hints.FORCE_STANDARD_AXIS_UNITS, true );
>         
>         Hints global = new Hints(map);
>         GeoTools.init( global );
>     }
I will try it out a bit more tomorrow; and perhaps we will have a real 
EPSG database for the next tech preview from trunk :-)
Jody
PS. Simone tells me that epsg-hsql is needed if the GeoTIFF support is 
ever going to work out of the box

> I backed out the experiment of epsg-hsql on trunk/ (returning to 
> epsg-wkt) the results were amazingly strange to behold, data squashing 
> and stretching onto the screen and so forth. When we do get this one 
> to work we will be able to do a much more useful CRS and Projection 
> chooser.
>
> At one point we will need to try again, but not today.
>
> Jody
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



More information about the udig-devel mailing list