Re: [Geotools-gt2-users] writing shapefiles to stream

2010-09-30 Thread Oleg Evdakov
Unfortunately there is no temp space on GAE. It seems to be possible to use GaeVFS (Virtual File System) - an Apache Commons VFS plug-in. But I am not sure about reliability and limitations. I will look on NIO API it seems to be more elegant solution. > It looks like you can create a zip file

Re: [Geotools-gt2-users] writing shapefiles to stream

2010-09-30 Thread Ian Turton
2010/9/30 Oleg Evdakov : >  Am 30.09.2010 16:09, schrieb Ian Turton: >> 2010/9/30 Oleg Evdakov: >>>   Dear All, >>> Is it possible to create shapefiles (*.shp and other related files) in >>> OutputStream without writing them to filesystem? >> You'd need some way to tell the receiving program how to

Re: [Geotools-gt2-users] writing shapefiles to stream

2010-09-30 Thread Larry Reeder
Oleg, This is a fair amount of work, but you may be able to subclass a version of java.nio.channels.FileChannel to read/write only to memory, and then use the lower-level GeoTools ShapefileWriter and DbaseFileWriter classes to write to your memory-based FileChannel. This would get you an in-memor

Re: [Geotools-gt2-users] writing shapefiles to stream

2010-09-30 Thread Oleg Evdakov
Am 30.09.2010 16:09, schrieb Ian Turton: > 2010/9/30 Oleg Evdakov: >> Dear All, >> Is it possible to create shapefiles (*.shp and other related files) in >> OutputStream without writing them to filesystem? > You'd need some way to tell the receiving program how to find the > split between the 4

Re: [Geotools-gt2-users] writing shapefiles to stream

2010-09-30 Thread Ian Turton
2010/9/30 Oleg Evdakov : >  Dear All, > Is it possible to create shapefiles (*.shp and other related files) in > OutputStream without writing them to filesystem? You'd need some way to tell the receiving program how to find the split between the 4 or 5 files that make up a Shapefile so I don't thi

[Geotools-gt2-users] writing shapefiles to stream

2010-09-30 Thread Oleg Evdakov
Dear All, Is it possible to create shapefiles (*.shp and other related files) in OutputStream without writing them to filesystem? Thanks a lot in advance, Oleg -- Start uncovering the many advantages of virtual applianc