[udig-devel] [jira] Created: (UDIG-1749) Code formatting

2011-02-08 Thread Siarhei Khamenka (JIRA)
Code formatting --- Key: UDIG-1749 URL: http://jira.codehaus.org/browse/UDIG-1749 Project: uDIG Issue Type: Task Components: application Affects Versions: UDIG 1.2.1 Reporter: Siarhei Khamenka

Re: [udig-devel] Jpeg and Tiff image rendering speed

2011-02-08 Thread Jody Garnett
Perhaps it is just a thought experiment. The GTRenderer does a *very* good and efficient job of calling GridCoverageRenderer. And gain tricks and speed improvements over time. By calling GridCoverageRenderer directly we are not keeping up with the latest tricks. As a quick experiment we can mak

Re: [udig-devel] Heavy or Light client?

2011-02-08 Thread Jody Garnett
I believe it is just that the work has not been done in the GeoTools WMS client to allow us to fill in the SLD_BODY parameter. It is "okay" to send any SLD off to the WMS - but depending on how it works you may just get an empty image back. Jody On 08/02/2011, at 6:08 PM, Joaquín Rodriguez-Gu

Re: [udig-devel] Jpeg and Tiff image rendering speed

2011-02-08 Thread Rueben Schulz
To Jody, I have looked into geotools rendering, but don't quite understand your phase 1 plan. org.geotools.renderer.GTRenderer is implemented by org.geotools.renderer.lite.StreamingRenderer. SteamingRenderer uses org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer when it needs to rend

Re: [udig-devel] Code formatting

2011-02-08 Thread Jody Garnett
That would be a good idea; if you have commit rights go for it :-) Although do create a jira first. Jody On 09/02/2011, at 7:28 AM, supacrazypusher wrote: > Now a lot of code is not formatted with proposed formatting style for uDig. > When the auto-formatting all file lines on save option is t

Re: [udig-devel] Extending the RCP Example

2011-02-08 Thread Jody Garnett
Interesting. So ActionBars are a facade used by a view to get at various stuff (toolbar, menu, status bar etc..). For the MapEditor those have been configured - to point to the application menus, toolbars and status bar. Perhaps for the MapViewer they have not been set up correctly? They shoul

Re: [udig-devel] working with gml

2011-02-08 Thread Jody Garnett
WKT is a suitable format; at one point you could "copy" a geometry to the clipboard; and "paste" it into your text document as WKT. There is a preference page setting with respect to that. Jody On 08/02/2011, at 7:46 PM, Jaime Lop wrote: > When I have a geometry selected I only have the "Make H

[udig-devel] Code formatting

2011-02-08 Thread supacrazypusher
Now a lot of code is not formatted with proposed formatting style for uDig. When the auto-formatting all file lines on save option is turned on it creates a lot of changed lines in patch (that differ with indentation, spacings, splitted long code lines). Is it possible to make a formatting comm

[udig-devel] Extending the RCP Example

2011-02-08 Thread Joaquín Rodriguez-Guerra Urcelay
Dear all, Taking a look at udig's source code I am trying to extend the rcp example app. I fist added the layers view: mapview.java: // Display Layer Manager and set it to use this map. Display.getDefault().asyncExec(new Runnable(){ public void run() {

Re: [udig-devel] working with gml

2011-02-08 Thread Jaime Lop
Ok, stupid thing. My targetClass is org.opengis.feature.Feature. With that I see my operation. I just need to retrieve a geometry format from there. On Tue, Feb 8, 2011 at 10:46 AM, Jaime Lop wrote: > When I have a geometry selected I only have the "Make Hole" and "Count" > operations. > > It's

Re: [udig-devel] working with gml

2011-02-08 Thread Jaime Lop
When I have a geometry selected I only have the "Make Hole" and "Count" operations. It's a good idea to use the workbench selection tutorial as an starting point. In fact I don't think I really need to get the gml, any format would be good for me. Let's say I have a MultiPolygon. Is it WKT format

Re: [udig-devel] working with gml

2011-02-08 Thread Jody Garnett
Thinking. For a geometry operation to work you may need to select the geometry with the edit tool. You could also try an operation of a feature; or a feature collection. Hey wait - you tried out the workbench selection tutorial. You can use that to sort out what is selected with the different t

Re: [udig-devel] How to make image transparent and draw it with ViewportGraphics obj?

2011-02-08 Thread Önder Ülker
Thanks Andrea, It works :) Onder. On 7 February 2011 18:17, andrea antonello wrote: > Did you try instead of: > Color.GREEN.getRGB() > which has no alpha, to use: > > new Color(1f,0f,0f,0.5f) > > where the 1f == 255 for red > and the last 0.5 is the alpha. > > Ciao, > Andrea > > > 2011/2/7 Önde

Re: [udig-devel] working with gml

2011-02-08 Thread Jaime Lop
Thanks for the quick response. I've done the workbench and the distance tool tutorials and I think I have a good understanding now of how it works. However I cannot make the operation works. I crearte my extension like this: Is org.opengis.geometry.Geometry the

Re: [udig-devel] Heavy or Light client?

2011-02-08 Thread Joaquín Rodriguez-Guerra Urcelay
Thank you Jody, I understand now. I have tried loading layers from wfs and they work fine in my case :) (not too many features). Anyways I am curious about the styling of the wms layers.. iit seems to me like the style editor works as a front end for creating sld styles which are then applied t