Re: [Geotools-gt2-users] How-to Calculate a FileLength parameter

2009-02-18 Thread Michael Bedward
Sorry to be a bit slow Rafael (in replying and understanding :) but can you explain a little more about what you are trying to do in your app ? Michael 2009/2/17 Rafael Soto rafael.s...@gmail.com: Heelo Michael, Please, correct me if I'm wrong.. ShapefileDataStore not work if i'm using

Re: [Geotools-gt2-users] How-to Calculate a FileLength parameter

2009-02-18 Thread Roth Timothy L CONTR USSTRATCOM/J8651
Please take my name off this list. ...Tim -Original Message- From: Michael Bedward [mailto:michael.bedw...@gmail.com] Sent: Wednesday, February 18, 2009 4:25 AM To: Rafael Soto Cc: geotools-gt2-users@lists.sourceforge.net Subject: Re: [Geotools-gt2-users] How-to Calculate a FileLength

Re: [Geotools-gt2-users] How-to Calculate a FileLength parameter

2009-02-18 Thread Michael Bedward
Hi Rafael, I don't work with application servers but hopefully someone else on the list can offer advice. Meanwhile, here is how the ShapeFileWriter class calculates file length for the header... int fileLength = 100; for (int i = geometries.getNumGeometries() - 1; i = 0; i--) {

Re: [Geotools-gt2-users] How-to Calculate a FileLength parameter

2009-02-17 Thread Rafael Soto
Heelo Michael, Please, correct me if I'm wrong.. ShapefileDataStore not work if i'm using only stream objects!! I need pass a valid local or remote URL/URI to it works.. My application require work only memory mode. Is there any way to use the ShapefileDataStore so? On Tue, Feb 17, 2009 at

[Geotools-gt2-users] How-to Calculate a FileLength parameter

2009-02-16 Thread Rafael Soto
Hi Folks, I'm using the module Geotools to work with shapefiles. I have a question at the time of writing the header file in the specific parameter *fileLength* in *shapefileWriter.writeHeaders* method. How do I calculate this parameter because I am having problems when uses this archive in

Re: [Geotools-gt2-users] How-to Calculate a FileLength parameter

2009-02-16 Thread Roth Timothy L CONTR USSTRATCOM/J8651
Please remove me from this list. I don't use Geotools. ...Tim -Original Message- From: Rafael Soto [mailto:rafael.s...@gmail.com] Sent: Monday, February 16, 2009 8:07 AM To: geotools-gt2-users@lists.sourceforge.net Subject: [Geotools-gt2-users] How-to Calculate a FileLength parameter

Re: [Geotools-gt2-users] How-to Calculate a FileLength parameter

2009-02-16 Thread Simone Giannecchini
this list. I don't use Geotools. ...Tim -Original Message- From: Rafael Soto [mailto:rafael.s...@gmail.com] Sent: Monday, February 16, 2009 8:07 AM To: geotools-gt2-users@lists.sourceforge.net Subject: [Geotools-gt2-users] How-to Calculate a FileLength parameter Hi Folks, I'm using