[postgis-users] java and postgis: your suggestions and ideas

Jody Garnett jgarnett at refractions.net
Tue Feb 3 14:50:08 PST 2004


Seamus Thomas Carroll wrote:

>I have looked into using JUMP but from what I last read JUMP1.1 does not 
>support postgis.  Has this changed?  If there is a postgis driver for 
>jump1.1 that has not been officialy released where can I get it.
>  
>
I think another email answered this for you. I am going to be writing a 
Geotools2 based data loader for JUMP this week. If it works you can use 
it as an additional option.

>Regards to GISToolkit:
>Would an accuracy problem cause some layers to appear correctly while 
>causing another layer to dissappear?  If this is so I will look into the 
>code and follow your advice.
>  
>
The kind of behaviour you describe, at high levels of zoom, is 
certaintly what I would expect from a lack of percision.  Some 3D 
applications go so far as to use two doubles to represent every ordinate 
(x double&double, y double&double, z double&double).
JUMP/JTS Geometry class uses x double, y double, z double.
I seem to reclass that Java 2D Shape class uses x float, y float.

At least one of the Geotools2 based renderers ran into this kind of 
accuracy problem (they transalted from JTS Geometry to Java 2D shape).





More information about the postgis-users mailing list