Sure, will grab the nightly this evening and test it.
BTW, SDO_AGGR_MBR works like a charm over here:
---cut---
SQL> SELECT SDO_UTIL.TO_WKTGEOMETRY(MDSYS.SDO_AGGR_MBR(GEOM)) FROM
"LINESTRING"
SDO_UTIL.TO_WKTGEOMETRY(MDSYS.SDO_AGGR_MBR(GEOM))
-------------------------------------------------------
POLYGON ((1.0 1.0, 2.0 1.0, 2.0 2.0, 1.0 2.0, 1.0 1.0))
---cut---
Tilman
On Thu, 2007-10-18 at 11:36 +0200, Andrea Aime wrote:
Tilman Klar ha scritto:
> Hi Andrea,
>
> sorry for the delay on that - I haven't been in the office yesterday.
>
> I fetched the newest nightly build and installed it some minutes ago.
> When recreating the spatial indexes, specifying LAYER_GTYPE as geometry,
> this build works for shapezip-export when dealing with the types POINT
> and POLYGON. Great work, thanks!
>
> However, when trying to export data with the type LINESTRING, I'm
> running into the same problems as before (empty file).
>
> I'm attaching a very simple testcase which should cause this behaviour.
It seems to be causing a different one here.
I cannot even compute the bbox, what I get is:
SELECT MDSYS.SDO_AGGR_MBR(GEOM) FROM "LINESTRING"
Error: java.sql.SQLException: ORA-06502: PL/SQL: errore di numero o valore
ORA-06512: a "MDSYS.SDO_CONSTRUCT_DIM_ARRAY", line 33
ORA-06512: a "MDSYS.SDOAGGR", line 24
ORA-06512: a "MDSYS.AGGRMBR", line 14
, SQL State: 65000, Error Code: 6502
I tried to modify the table creation statement a bit but I keep on
getting the same errors no matter what, it seems SDO_AGGR_MBR does
not like this linestring...
Yet, I have other linestring data and I think I've spotted another
couple of bugs related to the Oracle/shapezip output combination,
both having to do with CRS handling:
http://jira.codehaus.org/browse/GEOT-1521
http://jira.codehaus.org/browse/GEOS-1413
I'm fixing both of them as I write this mail. Can you grab today's
nightly (generated during the european afternoon) and see if this
one works for you?
Cheers
Andrea