Hi Michael,
I tryed this but it seems the featureTypeStyles() method doesn't
exist... I'm using geotools 2.5.1
Should I update geotools to a more recent version ?
Is changing the pom.xml file all I have to do for this ?
Le 18 févr. 09 à 23:40, Michael Bedward a écrit :
> Hi Benoit,
>
> There i
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--) {
Hi Benoit,
There is a back door...
Instead of...
style.addFeatureTypeStyle(fts);
...which is deprecated, you can do this...
((List)style.featureTypeStyles()).add(fts);
...which is ugly, but not deprecated :-)
I've no idea whether that is 'bad practice' or not
Michael
No - that hasn't been included in the OperationJAI classes. The
easiest way for you to do it is to use JAI directly.
For example, assuming that your two grid coverages have the same
bounds here is one was of doing it...
import javax.media.jai.operator.MultiplyDescriptor;
RenderedImage img1 = co
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
p
Hi List !
I'm still working on styles and I have create a TextSymbolizer that
indicates the value of my linear shaped feature.
I don't use SLD file but rather create my styles programmatically.
I want to do two things with my text :
- first, I want it to be centered with respect to the associa
Hi Michael, hi everyone,
Good news, I found a way to get rid of almost all deprecated methods.
Almost, because there is still one method I don't know how to avoid...
The idea is to use a StyleBuilder object instead of the StyleFactory
used in the example.
The API is a bit different, but you can
Hello,
Are there any way in geotools to multiply two Coverages in Geotools, just
like it is done with gridcoverage and constant.
Thanks.
--
View this message in context:
http://n2.nabble.com/Making-an-Operation-with-two-GridCoverages-as-operand--in-Geotools-tp2347456p2347456.html
Sent from the g
setMapArea, um, sets the map area :-)
Specifically, it's just a setter method for the mapArea field (= class
variable) in JMapPane. Next time the display is due to be repainted,
mapArea is passed as an argument to the object that does the
drawing...
http://javadoc.geotools.fr/2.5/org/geotools/re
Hi Daniele,
thanks for your reply. I have no way to share my data, it would be a
rather big pack. I created a mosaic of a srtm dem (geotiff), and
therefore have a shpfile index. That is the input file in the code I
posted previously.
I successfully read the whole geotiff using a geotiff reader,
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!
Hi Martin,
the getMetadataNames is not supported in the AbstractGridCoverage2DReader
nor in the GeoTiffReader or ImageMosaicReader.
Anyway, what do you exactly mean with "Tiled tiff"?
Do you have a single "internally tiled" tiff file or do you have several
tiff files representing tiles of an image
Dear all,
in current 2.5-Snapshot, I am unable to read metadata of a tiled tiff,
read using the code below. Reading the javadoc, the operation should be
supported. I am trying to get access to the nodata parameter, achievieng
something similar to the geotiff reader's reader.getMetadata().getNoDa
Hi,
thanks for the explanation, although i am curious to know, the function
setMapArea(), how does it actually zoom in? because i understand that it
defines the area to zoom into, but HOW does it do that?
My guess would be that it listens for the mouse click, which would invoke a
mouseclick li
14 matches
Mail list logo