elnico :))

how are you? we are nearing a final OJ1 release to continue with OJ2 based on 
on the latest JTS. we'll also move development into a git repo, at least that's 
the plan at this stage.

any comment or open issues you want to tackle before the release? ..regards ede

On 11.12.2020 17:14, jump-pilot-svn--- via Jump-pilot-devel wrote:
> Revision: 6648
>           http://sourceforge.net/p/jump-pilot/code/6648
> Author:   elnico
> Date:     2020-12-11 16:14:31 +0000 (Fri, 11 Dec 2020)
> Log Message:
> -----------
> Replaced references to deprecated ST_Estimated_Extent by ST_EstimatedExtent
>
> Modified Paths:
> --------------
>     
> core/trunk/src/com/vividsolutions/jump/datastore/postgis/PostgisDSMetadata.java
>     
> core/trunk/src/com/vividsolutions/jump/workbench/model/cache/DynamicFeatureCollection.java
>     
> core/trunk/src/org/openjump/core/ui/plugin/datastore/WritableDataStoreDataSource.java
>
> Modified: 
> core/trunk/src/com/vividsolutions/jump/datastore/postgis/PostgisDSMetadata.java
> =================================================================
> --- 
> core/trunk/src/com/vividsolutions/jump/datastore/postgis/PostgisDSMetadata.java
>    2020-12-02 16:46:55 UTC (rev 6647)
> +++ 
> core/trunk/src/com/vividsolutions/jump/datastore/postgis/PostgisDSMetadata.java
>    2020-12-11 16:14:31 UTC (rev 6648)
> @@ -17,7 +17,7 @@
>          datasetNameQuery = "SELECT DISTINCT f_table_schema, f_table_name 
> FROM geometry_columns";
>          defaultSchemaName = "public";
>          spatialDbName = "PostGIS";
> -        spatialExtentQuery1 = "SELECT ST_AsBinary(ST_Estimated_Extent( '%s', 
> '%s', '%s' ))";
> +        spatialExtentQuery1 = "SELECT ST_AsBinary(ST_EstimatedExtent( '%s', 
> '%s', '%s' ))";
>          // Nicolas Ribot: add double quotes for identifiers
>          spatialExtentQuery2 = "SELECT 
> ST_AsBinary(ST_Envelope(ST_Extent(\"%s\"))) FROM \"%s\".\"%s\"";
>          geoColumnsQuery = "SELECT f_geometry_column, coord_dimension, srid, 
> type FROM geometry_columns where f_table_schema='%s' and f_table_name = '%s'";
>
> Modified: 
> core/trunk/src/com/vividsolutions/jump/workbench/model/cache/DynamicFeatureCollection.java
> ===================================================================
> --- 
> core/trunk/src/com/vividsolutions/jump/workbench/model/cache/DynamicFeatureCollection.java
>         2020-12-02 16:46:55 UTC (rev 6647)
> +++ 
> core/trunk/src/com/vividsolutions/jump/workbench/model/cache/DynamicFeatureCollection.java
>         2020-12-11 16:14:31 UTC (rev 6648)
> @@ -55,7 +55,7 @@
>      currentQueryContext = myQueryContext;
>
>      // [mmichaud 2013-10-20] remove the test using dataset envelope.
> -    // Indeed, dataset envelope is generally computed using 
> ST_Estimated_Extent,
> +    // Indeed, dataset envelope is generally computed using 
> ST_EstimatedExtent,
>      // which is fast, but may be false.
>      // Using a false envelope is not too severe as long as it is used in 
> functions
>      // like "zoom on the whole layer", but if used in this function, it can 
> prevent
>
> Modified: 
> core/trunk/src/org/openjump/core/ui/plugin/datastore/WritableDataStoreDataSource.java
> ===================================================================
> --- 
> core/trunk/src/org/openjump/core/ui/plugin/datastore/WritableDataStoreDataSource.java
>      2020-12-02 16:46:55 UTC (rev 6647)
> +++ 
> core/trunk/src/org/openjump/core/ui/plugin/datastore/WritableDataStoreDataSource.java
>      2020-12-11 16:14:31 UTC (rev 6648)
> @@ -267,7 +267,7 @@
>                      if (jdbcConn != null) jdbcConn.setAutoCommit(true);
>                  }
>                  // Adding vacuum analyze seems to be necessary to be able to 
> use
> -                // ST_Estimated_Extent on the newly created table
> +                // ST_EstimatedExtent on the newly created table
>                  //finalizeUpdate(conn);
>              }
>
> @@ -283,7 +283,7 @@
>      /**
>       * With some databases, it may be useful to do some cleaning after a big 
> update.
>       * Example : perform a vacuum analyze in PostgreSQL to compact database 
> and to
> -     * update statistics (needed by ST_Estimated_Extent function)
> +     * update statistics (needed by ST_EstimatedExtent function)
>       */
>      @Deprecated // maybe much time consuming, to be driven by the server, 
> not the client
>      public abstract void finalizeUpdate(SpatialDatabasesDSConnection conn) 
> throws Exception;
>
>
>
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>



_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to