Well,
ok.. this just a warning and not the problem:
WARNING: Failed to use ST_Estimated_Extent, falling back on envelope
aggregation
org.postgresql.util.PSQLException: ERROR: LWGEOM_estimated_extent: couldn't
locate table within current schema
I can update to gt272 witthout problem.... but not with gt273....
java.lang.NullPointerException
at org.geotools.swing.JMapPane.setTransforms(JMapPane.java:1107)
at org.geotools.swing.JMapPane.doSetDisplayArea(JMapPane.java:607)
at org.geotools.swing.JMapPane.doSetMapContext(JMapPane.java:505)
at org.geotools.swing.JMapPane.setMapContext(JMapPane.java:472)
Something happened with JMapPane. We have for the gt273 release:
http://jira.codehaus.org/browse/GEOT-3701
http://jira.codehaus.org/browse/GEOT-3699
http://jira.codehaus.org/browse/GEOT-3698
I will try to understand, and inform.
thx.
Lee
On Wed, Jan 25, 2012 at 1:29 PM, Leoze Oze <[email protected]> wrote:
> Dears all,
>
> I am trying to update an application using geotools 262 to geotools 274
> without maven (oops).
> This application is using database postgresql/postgis. (updating postgres
> 8.3 to 9.1 and postgis to 1.5 too)
>
> I m facing something strange (for me!):
> java.lang.NullPointerException
> at org.geotools.swing.JMapPane.setTransforms(JMapPane.java:1114)
> at org.geotools.swing.JMapPane.doSetDisplayArea(JMapPane.java:607)
> at org.geotools.swing.JMapPane.doSetMapContext(JMapPane.java:505)
> at org.geotools.swing.JMapPane.setMapContext(JMapPane.java:472)
>
> Trying to understand (a little), it looks like gt have problem to known
> display area from data.
> Looking at postgresql log:
> 2012-01-25 13:18:30 GMT ERROR LWGEOM_estimated_extent: couldn't locate
> table within current schema
> 2012-01-25 13:18:30 GMT STATEMENT select
> AsText(force_2d(Envelope(ST_Estimated_Extent('fgeom', 'sshared',
> 'the_geom'))))
> I found related (?) opened tickets:
> http://trac.osgeo.org/postgis/ticket/877
> http://trac.osgeo.org/postgis/ticket/510
>
> Well... I am stucking (as always :/ ).... I can't understand why I can
> update to pg9.1/postgis1.5 with gt 262 and have problem with gt274.
>
> Any pointers welcome...
>
> Thx,
> Regards,
> Lee
>
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users