Hi again,
I am aware of this problem. Looks like they are some problems coming
from the postgis values.
Grab the interesting code part from the demo and paste it in your classes.
If you dont see anything at startup, hit the small "earth" icon at the
top. it will center the map on the datas.
Mi
The demo builds but when I run it with
org.geotools.demo.widgets.StreamWidgetsDemo as the main class I get
this...
java.lang.NullPointerException
at
org.geotools.gui.swing.datachooser.JPostGISDataPanel.(JPostGISDataPanel.java:74)
at
org.geotools.demo.widgets.StreamWidgetsDemo$4.a
VASkO wrote:
> Is there any method to get the clicked FeatureCollection from a Layer?
>
There are some examples of making a Filter for a BBOX query; usually you
make abounding box the size of the pixel and perform a query that way.
-
http://docs.codehaus.org/display/GEOTDOC/Filter+Examples#Fil
The GeoTools 2.5-M3 milestone release is available for download:
* http://geotools.codehaus.org/2.5-M3
The GeoTools 2.5 series has been updated to use *Java 5*, and has
undergone many improvements. This release is centred around making a new
Feature model available. The new feature model is
Excellent - thanks Johann.
I had searched the code with grep jstreamnavmap and hadn't thought to
grep for a subclass (duh !)
cheers
Michael
2008/8/4 johann wrote:
>
> You can find a demo on svn :
> http://svn.geotools.org/trunk/demo/example/src/main/java/org/geotools/demo/widgets/StreamWidgetsDe
Martin,
I determined that I need to transform the four corners of the source envelope
and then select the max& min values for both the latitude and longitude values
from the four points to duplicate the results of the envelope transformation.
thanks,
-Jay
- Original Message
> From:
Jay Parsons a écrit :
> I noticed a difference when I convert coordinates based on whether the points
> are transformed as an envelope or points.
> This just seems to happen for the longitude values and not latitude.
What are your sourceCRS, targetCRS and step2 transform? A system.out.println of
Angel, Eric wrote:
> Is there a performance difference between using CQL vs creating your own
> filters?
>
There are three ways to produce a Filter; they all produce the same object:
1. FilterFactory2 is fast; you as the programmer are saying exactly what
you mean
2. CQL has the overhead of a
Is there a performance difference between using CQL vs creating your own
filters?
I'm currently using the below code and it's really slow.
---
FilterFactory2 ff2 =
CommonFactoryFinder.getFilterFactory2(GeoTools.getDefaultHints());
Expression stateProperty = ff2.propert
All,
I noticed a difference when I convert coordinates based on whether the points
are transformed as an envelope or points.
This just seems to happen for the longitude values and not latitude.
Sample code:
MathTransform step2;
GeneralEnvelope targetEnvelope;
MathTransform step2 = fact
Hey Jody
Seems like we solved the problem associated with this. The issue and the
solution was as follows:
We were reading the BBOX in EPSG:32616 coordinate system, but when rendering
the ez image we were converting the bbox into EPSG:4326 coordinates when
creating the image. There must have been
Michael Bedward a écrit :
> Hi Johann,
>
> Are there any demos, test cases or code fragments that I can look at
> to get a bit more understanding of how JStreamNavMap should be used ?
>
> cheers
> Michael
>
You can find a demo on svn :
http://svn.geotools.org/trunk/demo/example/src/main/java/org
mmmhhh, allrighty, i found it...
Indeed it was a matter of old jar's that still where in the
classpath... I thought i removed all the directories containing the
old jars, but there was one left, configured in the projectfiles of my
ide (IntelliJ), and these where copied in the deployment directory
Wouter Schaubroeck ha scritto:
> Mm, the problem is getting bigger... I have a application
> (basically a wms server) that was working on 2.4.1 code, this weekend
> i upgraded it to 2.4.4, and now i'm also getting the NoSuchFieldError:
> FEATURE_2D error...
>
> This is part of the stacktrace:
Mm, the problem is getting bigger... I have a application
(basically a wms server) that was working on 2.4.1 code, this weekend
i upgraded it to 2.4.4, and now i'm also getting the NoSuchFieldError:
FEATURE_2D error...
This is part of the stacktrace:
java.lang.NoSuchFieldError: FEATURE_2D
Hi Johann,
Are there any demos, test cases or code fragments that I can look at
to get a bit more understanding of how JStreamNavMap should be used ?
cheers
Michael
2008/7/30 johann sorel <[EMAIL PROTECTED]>:
> Hello,
>
> If you can switch on the latest GeoTools (snapshot one)
> I suggest you us
16 matches
Mail list logo