We should be able to return an Empty ReferencedEnvelope.

The ArcSDE DataStore is going to become rapidly unsupported as ESRI is
stopping making that product available (as I understand it).

I expect we are going to have to round up "interested parties" and make a
new datastore using the GSR API.


--
Jody Garnett

On 16 October 2015 at 03:30, Robert Ward <robert.w...@scisys.co.uk> wrote:

> Hi All,
>
> I've found a problem in the ArcSDE plugin and I'm not sure the best way
> of fixing it.
> If using ArcSDE SDK 10.0 or ArcSDE SDK 10.2.2 a feature class in an
> Oracle database has an empty extent (i.e. the feature class has been
> created and has never contained any features), any calls to
> SeShape.generateRectangle with an empty extent cause a crash.
> It is easy to detect because SeExtent.isEmpty is true.
>
> The crash is happening in GeometryEncoderSDE.addSpatialFilter at line
> 260    extent.generateRectangle(seExtent);
>
> There are a several options to fix this:
> 1) After line 244 if seExtent.isEmpty() == true then fiddle the extent,
> e.g. create a valid extent in the middle of the feature class coordinate
> reference system
> 2) After line 244 if seExtent.isEmpty() == true then bail out, not sure
> to where
> 3) Earlier on the in process if it is known that the extent is empty and
> there will be no features returned then don't bother with getting data
> from the feature class.
>
> Regards
>
> Robert Ward
>
>
> SCISYS UK Limited. Registered in England and Wales No. 4373530.
> Registered Office: Methuen Park, Chippenham, Wiltshire SN14 0GB, UK.
>
> Before printing, please think about the environment.
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
------------------------------------------------------------------------------
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to