[Geotools-gt2-users] Imprecision with JMapPane

2010-07-06 Thread Toshy
Hello, I have a problem with my JMapPane. I have an imprecision on the y axis when I zoom in or out. I don't have the imprecision when I pan so I suppose that's my zoom method which doesn't work. My application has 2 buttons. One zoom in with the center of the map and the other zoom out with the

Re: [Geotools-gt2-users] remove logger message

2010-06-21 Thread Toshy
Thanks Benoit. I try to do what you writed, it seems work but it doesn't remove the lines on GDAL and Kakadu libraries. Are you any idea? Didier Crest -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/remove-logger-message-tp5195724p5203363.html Sent from the geotools-gt2

[Geotools-gt2-users] remove logger message

2010-06-18 Thread Toshy
Hello, I search how remove logger message in the console. So I search the config file or where is the properties to not display the log message. Thanks, Didier Crest -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/remove-logger-message-tp5195724p5195724.html Sent from t

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

2010-06-16 Thread Toshy
Hello, I have a problem of quality from my display with WMCS. I test with Udig program and the bad quality is here too. I let several pictures from Udif, my program and the picture saved by the method ONDISK to check the differences between the pictures. I don't know why the quality is like that

Re: [Geotools-gt2-users] Selection with dynamic features

2010-06-14 Thread Toshy
Hello, To refresh the position of features, here my methods public void setLat(double lat){ latitude = lat; JTS.Point point = (JTS.Point) super.getAttribute(featureType.getGeometryDescriptor().getName(); Coordinate coord = point.getCoordinate(); coord.y = lat; } Same to longitude with c

[Geotools-gt2-users] Selection with dynamic features

2010-06-11 Thread Toshy
Hello, I create a class to select features with the examples "selection lab". And I have found a problem when my features move. So I ask if the selection works with dynamic features? I debug the program but I dont' knwo why it doesn't work. To explain. If my features move the selection work onl

[Geotools-gt2-users] How get the collection in a layer?

2010-06-04 Thread Toshy
Hello, I create my model DefaultModel with a DefaultFeatureCollection and in my layer I have a CollectionDatastore. But when I want get my model in the layer with this code : "layer.getfeatureSource().getFeatures()" The return is a DataFeatureResults but I want my model DefaultModel. How can I fo

[Geotools-gt2-users] Dynamic featureCollection and schema

2010-05-31 Thread Toshy
Hi, I create a empty DefaultFeatureCollection with an id and a simpleFeatureType. Then I add SimpleFeature dynamically after that I have created my layer with the empty collection. Unfortunately CollectionDataStore class add the SimpleFeatureType only if the collection has one element or more.

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

2010-05-06 Thread Toshy
Hello, thanks Jody for the answer. I work on the IRunnableWithProgress. But it's not my question. Where do I find the config file containing the pattern for messageFormat(pattern , ...);? And I want test the source code with an example but I don't know how do I make? With WMS : WebMapServer wms

Re: [Geotools-gt2-users] Display performance

2010-05-06 Thread Toshy
Hello, I do that because the super.paintComponent draw the panel with empty shape. And the drawing of the map is in onCompletedRendering method and that take time. So I just draw the baseImage before the modification. I don't know if it's the best way (I'm not a great developper, I'm just studen

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

2010-05-06 Thread Toshy
Hello, I look the sources. For the IProgressMonitor, NullProgressMonitor and IRunnableWithProgress classes, it's just to show the progress for a window so for geoTools it's not use, doesn't it? I replace WmsPlugin class to Logger object with org.geotools.wms? And I don't understand CatalogPlugin

Re: [Geotools-gt2-users] Display performance

2010-05-06 Thread Toshy
Hello, To remove the blink in the method paintComponent. of the JMapPane class, after the super.paintComponent(g); if(baseImage !=null){ g.drawImage(baseImage, imageOrigin.x, imageOrigin.y, null); } that remove the blink but not optimise the performance. Cheers Didier CREST -- View this mess

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

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

[Geotools-gt2-users] create a custom mark

2010-04-12 Thread Toshy
Hello, I wish create a custom style with a personnal mark. The mark will be drawing by JTS like the mark in the project (square, circle, cross ...). But I don't know how doing. I search to install properly the project to eclipse but maven eclipse:eclipse don't build. If you could help me. Sorry