I mean this one:
Extent: (19496742305194890055511892394450289164288.000000,
19496742305194890055511892394450289164288.000000) - (-
19496742305194890055511892394450289164288.000000, -
19496742305194890055511892394450289164288.000000)
If you look the lower left corner (the first one) is above and to the right
of the upper right corner (the second). This means that the width of the
box is negative.
It's a pretty standard representation.
Ian
On 22 January 2014 10:40, Damiano Albani <[email protected]> wrote:
> On Wed, Jan 22, 2014 at 11:25 AM, Ian Turton <[email protected]> wrote:
>
>> Infact the first envelope is more useful than the second - as you can
>> check if width (or height) is negative with the first and thus infer that
>> it is empty while with the second it is either empty or a point in the
>> centre of Null Island (see https://en.wikipedia.org/wiki/Null_Island)
>> and thus might be empty or not depending on the number of records in the
>> shapefile (which as Andrea pointts out could be expensive to calculate).
>>
>
> By "first envelope", do you mean the one with large numbers?
> Because these numbers are totally arbitrary, in the sense that the user is
> free to upload any kind of Shapefile he wants.
> So I'm afraid we can't rely on these numbers only to infer anything about
> the "real" extent.
>
>
>> I'm pretty sure GeoTools stores empty envelopes as an inside out infinite
>> envelope when they are empty (it certainly used to) so that you can easily
>> add points to the empty envelope to expand it with out having to handle any
>> special cases for empty or half empty envelopes.
>>
>
> So what is the representation of this "empty envelope"? Would it make
> sense to assign it to an empty datastore?
>
> --
> Damiano Albani
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Ian Turton
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users