Yes, Serializable would be ideal.  A nice little project for someone to
submit a patch...

Serializing the base Geometry and then recreating the PreparedGeometry is
only a win if the PG is used many times between persistence reads.  This
depends on the use case.


On Wed, Sep 11, 2013 at 5:55 AM, André Salvati <[email protected]>wrote:

>
>
> Hi,
>
> I suspect that if I serialize a Geometry or a WKB and after this
> deserialize and had to prepare it again for each request, it would more
> expensive than if I just serialize/deserialize a PreparedGeometry.
>
> Best option would be PreparedGeometry be serializable.
>
>
>
> 2013/9/10 Martin Davis <[email protected]>
>
>> Or you can serialize the underlying Geometry directly.  It would depend
>> on the dynamics of the use case as to whether the cost of recomputing the
>> PreparedGeometry is acceptable or not.
>>
>>
>> On Tue, Sep 10, 2013 at 6:50 AM, Demeter Sztanko <[email protected]>wrote:
>>
>>> You can always serialize them as WKB. I believe it is fast enough to
>>> restore the Geometry from it.
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> How ServiceNow helps IT people transform IT departments:
>> 1. Consolidate legacy IT systems to a single system of record for IT
>> 2. Standardize and globalize service processes across IT
>> 3. Implement zero-touch automation to replace manual, redundant tasks
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Jts-topo-suite-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
>>
>>
>
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user

Reply via email to