Re: [Geotools-gt2-users] GeoTools Information

2010-05-05 Thread Michael Bedward
Hello, I'm moving your post from the developer list to the GeoTools user list. > ---Is there any possibility to develope a geotools web based application? That's what GeoServer is: http://geoserver.org/display/GEOS/Welcome > ---If you have sample examples please forward to me. All of our curre

Re: [Geotools-gt2-users] Rescale GridCoverage2D with fixed resolution

2010-05-05 Thread Michael Bedward
Hi Linda, When you say rescale do you mean that you want to resample an existing grid coverage at a new resolution or simply change the stated resolution of the coverage without modifying its data ? Michael On 5 May 2010 23:29, Adnila wrote: > > Hey all, > now I am trying to use a fixed resolu

Re: [Geotools-gt2-users] Reading tiff files

2010-05-05 Thread Michael Bedward
Hi Nicholas, > This works great except for when you query for a point that falls on one of > the pixels directly > on the edge the tiff. The outermost pixels aren't considered to be inside the > region. Pictures > make this much clearer: > http://opentripplanner.org/attachment/ticket/163/bad_po

Re: [Geotools-gt2-users] Correct CQL filter usage?

2010-05-05 Thread Jody Garnett
The filter system is typeless; in interpreting the filters we cheat :-) So when you do a less then comparison against an attribute we know is a Double; we do our best to do the comparison as a number; rather then as a string. Try using the FilterFactory directly if you want more control over wha

Re: [Geotools-gt2-users] support WMS-C

2010-05-05 Thread Jody Garnett
The project started out in geotools (for world wind tiles); and is now located here: - http://svn.refractions.net/udig/udig/trunk/plugins/net.refractions.udig.catalog.wms/src/net/refractions/udig/catalog/wmsc/ Jody On 05/05/2010, at 11:19 PM, Toshy wrote: > > Thanks Andrea for the answer. >

Re: [Geotools-gt2-users] support WMS-C

2010-05-05 Thread Toshy
I found the sources but I'm not sure. the sources are to create a server like TileCache and geoWebCache? Or to use theses 2 servers? For my application I have TileCache and I want use java objects to create a layer and display my tiles with a smooth display and remove the blink in my jMapPane dur

[Geotools-gt2-users] Correct CQL filter usage?

2010-05-05 Thread Thorsten Reitz
Hi all, this time I have a question related to the usage of CQLK filter constructs. I have noticed that when using a simple filter like "Attribute < 5", the compareTo method of String is used. This will also evaluate numbers like 10, 100, or 1000 to evaluate to true in the IsLessThanImpl filte

Re: [Geotools-gt2-users] Routing ALgorithmen

2010-05-05 Thread Nicholas Bergson-Shilcock
Excerpts from Jody Garnett's message of Tue May 04 20:18:34 -0400 2010: > Apparently not! > - http://opentripplanner.org/browser/trunk/pom.xml > > If you do see an oppertunity to collaborate it would be great. You will find > the geotools graph module very flexible and you should be able to teach

Re: [Geotools-gt2-users] Problem with a featureTypeBuilder

2010-05-05 Thread Andrea Aime
GuiCheBZH ha scritto: > Hi, > I need help with a weird behaviour of my application. > My problem is when I use a kml file with lines and polygons. > > When I create the geometry from the file with that, the display is perfect: > SimpleFeatureTypeBuilder typeBuilder = new SimpleFeatureTypeBuilder(

[Geotools-gt2-users] Problem with a featureTypeBuilder

2010-05-05 Thread GuiCheBZH
Hi, I need help with a weird behaviour of my application. My problem is when I use a kml file with lines and polygons. When I create the geometry from the file with that, the display is perfect: SimpleFeatureTypeBuilder typeBuilder = new SimpleFeatureTypeBuilder(); typeBuilder.setName("Geometry"

Re: [Geotools-gt2-users] support WMS-C

2010-05-05 Thread Andrea Aime
Toshy ha scritto: > Thanks Andrea for the answer. > > I look the Udig project, but it's a big project and my internet connection > is low so I would like the path to get the WMS-C sources. I will try to > backport to GeoTools. Unfortunately I have no idea, I don't have a uDig checkout either. Som

[Geotools-gt2-users] Rescale GridCoverage2D with fixed resolution

2010-05-05 Thread Adnila
Hey all, now I am trying to use a fixed resolution for a rescaling of a gridcoverage2D. The user should be able to choose a resolution from a GUI. What am I supposed to do if I want the rescaling with a fixed resolution for example from 500m to 1000m. I need a generic solution. At the moment I

Re: [Geotools-gt2-users] support WMS-C

2010-05-05 Thread Toshy
Thanks Andrea for the answer. I look the Udig project, but it's a big project and my internet connection is low so I would like the path to get the WMS-C sources. I will try to backport to GeoTools. Cheers Didier CREST -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/sup

Re: [Geotools-gt2-users] quickstart and example pages

2010-05-05 Thread GTn00b
I'm running through the quickstart example again and encounter a problem. I follow the instructions word for word, but when I get to the section labeled Updating the IDE (Eclipse only) I run the mvn eclipse:eclipse command as described, but then GeoTools does not show up in my project. It seems t

Re: [Geotools-gt2-users] support WMS-C

2010-05-05 Thread Andrea Aime
Didier CREST ha scritto: > Hello, > > I would like known if GeoTools supports WMS-C and display tile layer? It does not, but uDig has code that can be used for the purpose waiting to be backported to GeoTools. We just need someone with enough resources to do the move, update the headers, make t

Re: [Geotools-gt2-users] GridCoverage2D values and coordinates

2010-05-05 Thread Adnila
hey michael, thank you very much for your help. It worked very well. thanks a lot. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GridCoverage2D-values-and-coordinates-tp5003644p5008532.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. -

[Geotools-gt2-users] support WMS-C

2010-05-05 Thread Didier CREST
Hello, I would like known if GeoTools supports WMS-C and display tile layer? Thanks. Didier CREST -- ___ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net

Re: [Geotools-gt2-users] Mismatched hashes in geotools repo

2010-05-05 Thread William Temperley
Thanks Michael On 4 May 2010 02:18, Michael Bedward wrote: > Thanks for pointing this out Will.  I'll forward your message to the > GeoTools developers list. > > Michael > > On 4 May 2010 07:54, William Temperley wrote: >> Hi all >> >> In the geotools repository [1], I think there's a small prob

Re: [Geotools-gt2-users] GridCoverage2D values and coordinates

2010-05-05 Thread Michael Bedward
Hi Linda, > But what about the x and y coordinates. I need the world coordinates. Until > now I did not found any method to get them. The only method seems to be to > transform grid coordinates to world coordinates. But I think that this is > very unnecessary because the world coordinates are in t

Re: [Geotools-gt2-users] [Geotools-devel] reading (geo)TIFF within a given bbox (Envelope)

2010-05-05 Thread Simone Giannecchini
you can use gdalinfo to check the structure of the data and gdal_translate/gdalado to modify them easily. Simone. --- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39

Re: [Geotools-gt2-users] [Geotools-devel] reading (geo)TIFF within a given bbox (Envelope)

2010-05-05 Thread Simone Giannecchini
Ciao Martin, this is a snippet that can help I believe: http://pastebin.com/Zqb7jzBt It does show how to read and crop a coverage. See also below... --- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder - Software Engineer Via Carignoni 51 550

Re: [Geotools-gt2-users] [Geotools-devel] reading (geo)TIFF within a given bbox (Envelope)

2010-05-05 Thread Martin Tomko
Aha, cool, I was not aware of that. I am using SRTM DEM data, so subsampling is not an option, I need full res. I should check if they are inner tiled (although I don't assume so). Is that something that gdal can help me with, to perform the tiling? Any hint welcome. Thanks for bearing with me!

Re: [Geotools-gt2-users] [Geotools-devel] reading (geo)TIFF within a given bbox (Envelope)

2010-05-05 Thread Andrea Aime
Martin Tomko ha scritto: > Thanks Andrea, > I really don't know enough how the mechanisms work behind the scenes, > hence my question. > I understand that if you have a tiled source of coverage, only the > relevant tiles can be read. (btw, I only played with tiled tiffs a long > time ago - would

Re: [Geotools-gt2-users] [Geotools-devel] reading (geo)TIFF within a given bbox (Envelope)

2010-05-05 Thread Martin Tomko
Thanks Andrea, I really don't know enough how the mechanisms work behind the scenes, hence my question. I understand that if you have a tiled source of coverage, only the relevant tiles can be read. (btw, I only played with tiled tiffs a long time ago - would have been 2.4 or so, and had trouble

Re: [Geotools-gt2-users] Routing ALgorithmen

2010-05-05 Thread Andy Turner
Hi, I've been using this: http://wiki.openstreetmap.org/wiki/Traveling_Salesman Based on OpenStretMap, open source and Java. I simply use it for routing from A to B at the moment, but was planning on using it for more... Best wishes, Andy http://www.geog.leeds.ac.uk/people/a.turner --

Re: [Geotools-gt2-users] [Geotools-devel] reading (geo)TIFF within a given bbox (Envelope)

2010-05-05 Thread Andrea Aime
Martin Tomko ha scritto: > Hi guys (Andrea *2, Michael ) > thanks for the hints. Indeed, the GridGeometry2D approach will not help > my case, but a similar approach should be somehow possible. > > IN fact, if it was possible to read the current envelope of the geotiff > in without the actual ras

Re: [Geotools-gt2-users] [Geotools-devel] reading (geo)TIFF within a given bbox (Envelope)

2010-05-05 Thread Martin Tomko
Hi guys (Andrea *2, Michael ) thanks for the hints. Indeed, the GridGeometry2D approach will not help my case, but a similar approach should be somehow possible. IN fact, if it was possible to read the current envelope of the geotiff in without the actual raster data, do the cropping operation a