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-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
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 : > Heelo Michael, > > Please, correct me if I'm wrong.. > > ShapefileDataStore not work if i'm using only stream objects!

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 12

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

2009-02-16 Thread Michael Bedward
Hi Rafael, If you don't mind me asking, why are you working directly with that low level class rather than, for example, ShapefileDataStore ? Michael 2009/2/17 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

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

2009-02-16 Thread Simone Giannecchini
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users --- Ing. Simone Giannecchini GeoSolutions S.A.S. Owner - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob:+39 333

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