Tommaso Agnoloni wrote:
Hi,
I'm trying to set a crs (ccordinate reference system) to the
shapefiles I'm creating using geotools but it seems it doesn't have
any effect;
This is the code I'm using
Any hint on how to set it ?
Set it in as the metadata parameter when you create your
Satyanarayana Murty Pindiproli ha scritto:
hi guys ,
Can someone please send me the link to unsubscribe from this mail-list.
I am no longer in a similar project and am not active in this group.
Ever seen what's at the bottom of all the mails in this list?
Geotools-gt2-users mailing list
Ciao Gabriella,
I understand you are trying to create a GridCoverage2D from a
worldimage whose raster is a jpeg image.
If this guess is correct then the code you are using is incorrect.
A correct snippet of code to cope with your needs would be as follows:
// get a reader
final WorldImageReader
thanks, geometries are read from oracle and converted by OraReader to
JTS geometry.
anyway I solved it with MemoryFeatureCollection class
this is currently my class, just one feature is created ... problem is
that resulting svg file is without this feature. what did I forgot ?
public class
Hello all,
I am trying to find
org.geotools.gui.swing.StyledMapPane.java
in the source code.
any body have any idea about this?
Thanks in advance.
vamsee
-
Using Tomcat but need to do more? Need to support web services,
Alessio Fabiani a écrit :
Just a hint,
for LENIENT_DATUM_SHIFT parameter, do not forget to write
crs = CRS.decode(EPSG:27200, true)
instead of
crs = CRS.decode(EPSG:27200)
Just a slight precision: CRS.decode(EPSG:27200, true) is actually for
Hints.FORCE_LONGITUDE_AXIS_FIRST. The
There is a tutorial here:
http://docs.codehaus.org/display/GEOTOOLS/Web+Map+Server+Tutorial
But it is out of date, but only some of the method signatures have
changed. Armed with the javadocs, it shouldn't be hard to figure out. I
do need to update it though.
And GeoTools does not currently
There is an alternative available - JMapPane, see the last example:
-
http://www.foss4g2006.org/materialDisplay.py?contribId=186amp;sessionId=44amp;materialId=slidesamp;confId=1
Or the source code here:
-
Sorry for my questions that probably have easy answers. Has anyone seen
this error message?
FactoryRegistry scanForPlugins
WARNING: Can't load a service for category MathTransformProvider.
java.lang.NoClassDefFoundError: javax/media/jai/WarpAffine
at java.lang.Class.forName0(Native Method)
Simone Giannecchini wrote:
Ciao Gabriella,
you were seeing that complain about bursa-wolf parameters missing
because you are implicitly requesting a datum-shift when going to
WGS84 but your wkt was not providing the bursa wolf parameters to
control the shift. I added hem to mine wkt.
The code
URL imgURL = (new File(data/nz2_2.jpg)).toURL();
GridCoverage2D gc = (GridCOverage2D) wir.read(null);
now compiles in both 2.2 code to 2.3_M0
but the image does not get plotted, but I don't get any error either
gaby
--
***
I have tried the same code with GeoTools 2.1.0. Now the DataStore
object pgDataStore causes the following exception:
java.io.IOException: The parameteres map isn't correct!!
at
org.geotools.data.postgis.PostgisDataStoreFactory.createDataStore(PostgisDataStoreFactory.java:175)
at
Gabriella Turek wrote:
The code
URL imgURL = (new File(data/nz2_2.jpg)).toURL();
GridCoverage2D gc = (GridCOverage2D) wir.read(null);
now compiles in both 2.2 code to 2.3_M0
but the image does not get plotted, but I don't get any error either
gaby
Correction I do get error messages
Amy Johnson a écrit :
FactoryRegistry scanForPlugins
WARNING: Can't load a service for category MathTransformProvider.
java.lang.NoClassDefFoundError: javax/media/jai/WarpAffine
Java Advanced Imaging is probably not installed on your machine. You can
donwload it from there:
Java Advanced
I tried that code today, but using geotools 2.2, with no namespace nor schema parameters. The returned pgDataStore value was null when not having the postgresql jdbc driver in the classpath. After adding it, it worked fine. Maybe it has something to do with your case.
Bye,Antonio
I have to be able to read images from an ARCIMS server that
is not configured to support WMS.
To make it work with geotools, I get the map image URL from the server,
write the image to a temp jpg file, write out a world file and a a prj
file and read it back in as usual using a WorldImageReader,
16 matches
Mail list logo