[Geotools-gt2-users] (Newbie) transform WGS84 (lat/lon) to UTM32

2010-01-14 Thread Schuster Stefan
Hi, I'm new to GeoTools, therefore my question might be quiet simple. What I want to do is to transform a coordinate from WGS84 to UTM32. Based on the UserGuide found on http://docs.codehaus.org/display/GEOTDOC/03+How+to+Transform+a+Geometry I have the following code:

Re: [Geotools-gt2-users] (Newbie) transform WGS84 (lat/lon) to UTM32

2010-01-14 Thread Schuster Stefan
Hi again, I guess I found the solution for my Problem, on http://www.epsg-registry.org/ I found for UTM zone 32N the code EPSG:32632, which produces the same results as the transformation on the cited website in the original post. Furthermore I mixed up lon and lat in my example code.

Re: [Geotools-gt2-users] JTS, WGS84 and Coordinate

2010-01-14 Thread Jan Torben Heuer
Jan Torben Heuer wrote: Ok, then, how do I force JTS.transform to interpret the AXIS as x/y respective easting/northing? Ok, thanks, Michael, found it i you link! Cheers, Jan -- From address is valid until 01.01.2010

Re: [Geotools-gt2-users] (Newbie) transform WGS84 (lat/lon) to UTM32

2010-01-14 Thread Jan Torben Heuer
Schuster Stefan wrote: Furthermore I mixed up lon and lat in my example code. Just read my post: JTS, WGS84 ,... ;-) Jan -- From address is valid until 01.06.2010 -- Throughout its 18-year history, RSA Conference

[Geotools-gt2-users] Looking for some geometry operations

2010-01-14 Thread tommy408
I just moved to geotools from postgis. I'm looking for some of these operations. -Merge two linestrings ( not union) -line interpolate point, get a point along a linestring -- View this message in context: http://n2.nabble.com/Looking-for-some-geometry-operations-tp4392303p4392303.html Sent

Re: [Geotools-gt2-users] Looking for some geometry operations

2010-01-14 Thread Justin Deoliveira
Look no further than JTS, its the geometry library that GeoTools is built around. http://tsusiatsoftware.net/jts/main.html -Justin tommy408 wrote: I just moved to geotools from postgis. I'm looking for some of these operations. -Merge two linestrings ( not union) -line interpolate

[Geotools-gt2-users] Style.getDescription().getTitle() returns null

2010-01-14 Thread Marco Peters
Hello I've just noticed that calling Style.getDescription().getTitle() might return null. For my test ShapeFile Default Styler was returned in GeoTools version 2.5.3. Now for 2.6.0 and 2.6.1 null is returned. Is this an intended behaviour or is it a bug? Thanks Marco

Re: [Geotools-gt2-users] Looking for some geometry operations

2010-01-14 Thread tommy408
I know, I was looking for some examples. Some of these operations are useful but I can't find any examples. Like setPoint of a LineString. Justin Deoliveira wrote: Look no further than JTS, its the geometry library that GeoTools is built around.

Re: [Geotools-gt2-users] gt-referencing: questions from a newbie

2010-01-14 Thread jle
Here is my test code: public App(String latitude, String longitude, String height) { lat = Double.parseDouble(latitude); lon = Double.parseDouble(longitude); this.height = Double.parseDouble(height); double[] srcPts = {lon, lat, this.height}; double[]

[Geotools-gt2-users] JMapFrame is very slow? Why?

2010-01-14 Thread Development
Hi all, I implemented loading a bunch of shapefiles from a xml file and than i added them as layers. The problem i have is that for me JMapFrame seems to be verys slow (by Resizing the Frame) , although the shapefiles a add (12) are very small and low detailed. I just extended the examples

Re: [Geotools-gt2-users] JMapFrame is very slow? Why?

2010-01-14 Thread Andrea Aime
Development ha scritto: Hi all, I implemented loading a bunch of shapefiles from a xml file and than i added them as layers. The problem i have is that for me JMapFrame seems to be verys slow (by Resizing the Frame) , although the shapefiles a add (12) are very small and low detailed.

[Geotools-gt2-users] 2.6.1 :-)

2010-01-14 Thread Jody Garnett
Happy Friday Michael: With 2.6.1 going out today I hope we can update the version referenced on the website documentation (and perhaps get some feedback from this email list). Jody -- Throughout its 18-year history, RSA

[Geotools-gt2-users] Reading huge JP2k images (Java Heap Space)

2010-01-14 Thread Michael Härtel
Hello list, I know that there was a posting to the list covering the exact topic but I am still unable to read a small subset from a huge image. The JP2k image is 114500 x 28820 pixels in size and it is tiled. the tiles have the dimension 15000 x 15000 (!). my first attempt was to read one

[Geotools-gt2-users] GeoTools 2.6.1 Released

2010-01-14 Thread Jody Garnett
The GeoTools 2.6.1 release is now available for download: geotools-2.6.1-bin.zip geotools-2.6.1-project.zip geotools-2.6.1-doc.zip This release contains a host of improvements and bug fixes. In particular the JMapPane has received a lively round of testing and feedback, MySql is back among the

Re: [Geotools-gt2-users] Reading huge JP2k images (Java Heap Space)

2010-01-14 Thread Simone Giannecchini
Deak Michael, please read below... --- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob:+39 333 8128928

Re: [Geotools-gt2-users] Altitude and datetime in kml file for geotools 2.6

2010-01-14 Thread Fabien Carrion
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have found out the problems. The altitude is available in track.getDefaultGeometry().getPointN(0).getCoordinate().z where track is a SimpleFeature I have made a small patch on the KML parser to get the TimeStamp and to set it as an

Re: [Geotools-gt2-users] JMapFrame is very slow? Why?

2010-01-14 Thread Michael Bedward
Hello, Further to Andrea's reply - JMapPane is essentially just a dumb display panel. It's just smart enough to calculate affine transforms etc but all of the real work is done by the rendering classes. Michael --

Re: [Geotools-gt2-users] Beginner question about feature query

2010-01-14 Thread Michael Bedward
2010/1/14 tommy408 wrote: You're right, in my test using filter with datasource was faster for some reason. The power of a spatial index :) Good to hear things are working for you. cheers Michael -- Throughout its