Skip to content

supress warnings #23

Description

@tschaub

Rendering a map with city boundaries.

js> map.render("city.png")
Sep 15, 2011 1:07:56 AM org.geotools.data.postgis.PostGISDialect getOptimizedBounds
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
    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:252)
    at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
    at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
    at org.geotools.data.postgis.PostGISDialect.getOptimizedBounds(PostGISDialect.java:224)
    at org.geotools.jdbc.JDBCDataStore.getBounds(JDBCDataStore.java:1091)
    at org.geotools.jdbc.JDBCFeatureSource.getBoundsInternal(JDBCFeatureSource.java:469)
    at org.geotools.jdbc.JDBCFeatureStore.getBoundsInternal(JDBCFeatureStore.java:178)
    at org.geotools.data.store.ContentFeatureSource.getBounds(ContentFeatureSource.java:369)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
    at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
    at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
    at org.mozilla.javascript.gen.file__Users_tschaub_projects_geoscript_js_lib_geoscript_layer_js_34._c_anonymous_18(Unknown Source)
    at org.mozilla.javascript.gen.file__Users_tschaub_projects_geoscript_js_lib_geoscript_layer_js_34.call(Unknown Source)
    at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
    at org.mozilla.javascript.gen.file__Users_tschaub_projects_geoscript_js_lib_geoscript_layer_js_34._c_anonymous_20(Unknown Source)
    at org.mozilla.javascript.gen.file__Users_tschaub_projects_geoscript_js_lib_geoscript_layer_js_34.call(Unknown Source)
    at org.mozilla.javascript.ScriptableObject$GetterSlot.getValue(ScriptableObject.java:339)
    at org.mozilla.javascript.ScriptableObject.getImpl(ScriptableObject.java:2516)
    at org.mozilla.javascript.ScriptableObject.get(ScriptableObject.java:431)
    at org.mozilla.javascript.IdScriptableObject.get(IdScriptableObject.java:389)
    at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2081)
    at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1517)
    at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1510)
    at org.mozilla.javascript.gen.file__Users_tschaub_projects_geoscript_js_lib_geoscript_map_js_51._c_anonymous_6(Unknown Source)
    at org.mozilla.javascript.gen.file__Users_tschaub_projects_geoscript_js_lib_geoscript_map_js_51.call(Unknown Source)
    at org.mozilla.javascript.ScriptableObject$GetterSlot.getValue(ScriptableObject.java:339)
    at org.mozilla.javascript.ScriptableObject.getImpl(ScriptableObject.java:2516)
    at org.mozilla.javascript.ScriptableObject.get(ScriptableObject.java:431)
    at org.mozilla.javascript.IdScriptableObject.get(IdScriptableObject.java:389)
    at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2081)
    at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1517)
    at org.mozilla.javascript.gen.file__Users_tschaub_projects_geoscript_js_lib_geoscript_map_js_51._c_anonymous_12(Unknown Source)
    at org.mozilla.javascript.gen.file__Users_tschaub_projects_geoscript_js_lib_geoscript_map_js_51.call(Unknown Source)
    at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
    at org.mozilla.javascript.gen._stdin__54._c_script_0(Unknown Source)
    at org.mozilla.javascript.gen._stdin__54.call(Unknown Source)
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3143)
    at org.mozilla.javascript.gen._stdin__54.call(Unknown Source)
    at org.mozilla.javascript.gen._stdin__54.exec(Unknown Source)
    at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:650)
    at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:464)
    at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:214)
    at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:133)
    at org.mozilla.javascript.Context.call(Context.java:521)
    at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:535)
    at org.mozilla.javascript.tools.shell.Main.exec(Main.java:197)
    at org.mozilla.javascript.tools.shell.Main.main(Main.java:173)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions