Re: [Geotools-gt2-users] Add New Attributes to Existing SimpleFeature

2010-09-30 Thread Hutchins, Mr. Chad
This worked great! Thanks Jody! Chad _ From: Jody Garnett [mailto:jody.garn...@gmail.com] Sent: Tuesday, September 28, 2010 5:16 PM To: Hutchins, Mr. Chad Cc: geotools-gt2-users@lists.sourceforge.net Subject: Re: [Geotools-gt2-users] Add New Attributes to Existing SimpleFeatur

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

Re: [Geotools-gt2-users] How to use FeatureLock.TRANSACTION when modifying features and committing changes

2010-09-30 Thread Yingqi Tang
Jody, Just wonder if you had chance to try this test case to see if the issue I encountered is a real issue or user error? Thanks On Fri, Sep 10, 2010 at 11:56 AM, Yingqi Tang wrote: > Jody, > > I've created a simple test case, which reproduce the problem even without > multithreads scenario.

[Geotools-gt2-users] Clip a Raster(GeoTiff) using a Feature (from a ShapeFile or PostGIS)

2010-09-30 Thread Calogero Zarbo
Hello, i need some help about how to clip a raster using GeoTools 2.6.1 Library. I have a FeatureCollection (took from PostGis or from a simple ShapeFile), where i can retrieve the single Features, and i need for all of them to clip the corrispondent part of the raster and compute the average val

[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