Re: [udig-devel] how to get modal tools back on the toolbar?

2013-11-06 Thread Frank Gasdorf
Carl, I forgot to add the URL of the mailing-list registration page : https://locationtech.org/mailman/listinfo/udig-dev HTH, Frank 2013/11/6 Carl Fredricksen > Sorry not on net.refractions.udig.project.ui but > net.refractions.udig.project.ui.editor > > > On Wed, Nov 6, 2013 at 12:50 AM, Ca

Re: [udig-devel] how to get modal tools back on the toolbar?

2013-11-05 Thread Frank Gasdorf
Thank you Carl for this hint. Could you please register at the new udig-dev mailing list at LocationTech.org and post it again? - Frank Am 06.11.2013 01:53 schrieb "Carl Fredricksen" : > Sorry not on net.refractions.udig.project.ui but > net.refractions.udig.project.ui.editor > > > On Wed, Nov 6,

Re: [udig-devel] how to get modal tools back on the toolbar?

2013-11-05 Thread Carl Fredricksen
Sorry not on net.refractions.udig.project.ui but net.refractions.udig.project.ui.editor On Wed, Nov 6, 2013 at 12:50 AM, Carl Fredricksen < carl.at.compu...@gmail.com> wrote: > Afterwards go to the action bar contributors in the > net.refractions.udig.project.ui plugin.xml and find > >

Re: [udig-devel] how to get modal tools back on the toolbar?

2013-11-05 Thread Carl Fredricksen
Afterwards go to the action bar contributors in the net.refractions.udig.project.ui plugin.xml and find on net.refractions.udig.project.ui.internal.MapEditorActionBarContributor just uncomment, or input, the following lines: @Override public void contributeToCoo

[udig-devel] How to open property page on click of custom menu item in Eclipse RCP using custom plugin

2013-09-17 Thread vishnu soman
Hi All, I need to open a properties page on the click of my custom menu item entry using my new plugin. What all things do i need to add to my plugins.xml This plugin.xml does not produce the desired result.

Re: [udig-devel] How to find whether three coordinates are collinear

2013-06-05 Thread andrea antonello
Hi Vishun, definitely I would choose the approach of the slope. If they are collinear, the slope between any of the coords will result in the same value. >From a quick look at your code I see that you round the values. Why are you doing this? You definitely will loose precision and come up with di

[udig-devel] How to find whether three coordinates are collinear

2013-06-05 Thread vishnu soman
Hi All, I am sure that my questions is a very generic one , probably a pure java problem. However i have been trying to find a way to identify whether three coordinates are collinear using the same logic of finding it doesnt seem to work on examples which take 'Points' as inputs. Two approaches ca

Re: [udig-devel] how to listen for selection changes _WITHOUT_ a view?

2013-05-06 Thread Moser-Spitzenstaetter Ludwig
net GIS Betreff: [udig-devel] how to listen for selection changes _WITHOUT_ a view? Hello NG, i've been looking through the Workbench example with the SelectionListener from Eclipse. In my case i do not want to use a View to listen for changes, i want to use an OSGi Service. Therefo

[udig-devel] how to listen for selection changes _WITHOUT_ a view?

2013-05-05 Thread Moser-Spitzenstaetter Ludwig
Hello NG, i've been looking through the Workbench example with the SelectionListener from Eclipse. In my case i do not want to use a View to listen for changes, i want to use an OSGi Service. Therefore i have no getSite().getWorkbenchWindow() etc... How can i gain access to the SelectionS

Re: [udig-devel] How to...

2013-04-17 Thread Frank Gasdorf
Ludwig, welcome to uDIG! I guess you should start following the tutorials coming along with udig-sdk. Have a look at the SDK Quickstart-Guide at http://udig.github.io/docs/dev/SDKQuickstart/SDKQuickstart.html To add a (temp) layer you can easily define a FeatureType a create a Resource with the C

[udig-devel] How to...

2013-04-16 Thread Moser-Spitzenstaetter Ludwig
Hello Devs! I am working on an biological database application with geo-informations. i need to visualize my data on a map (thats why i came to uDig - the old version was using ESRI MapObjects) i need to add/remove points (later probably lines and polygons) it would be great if i can do

Re: [udig-devel] How to set the location of the popup resulting from button click.

2013-03-26 Thread Jody Garnett
You may wish to ask over on the SWT/JFACE forum and report back what you find. I know it is possible as I have seen calendars jface widgets and so on make use of the idea. JFace Display class gave you some ability to determine screen x / y position - allowing you to configure your pop up "shell

[udig-devel] How to set the location of the popup resulting from button click.

2013-03-26 Thread vishnu soman
Hi All, I used a GridLayout to display a popup showing line width. But the problem is that the popup opens at the center of the screen far above the 'line width ' button. Please find the attached figure showing the distance between the button and the popup. Can there be a way to specify the x,y coo

Re: [udig-devel] how to get modal tools back on the toolbar?

2012-12-20 Thread andrea antonello
> The previous MapEditor is still available in code, configure your > application to use it? (Copy and paste the existing MapEditor plugin.xml > snippet and change which class it points to) > > Other ideas: > - Make a preference setting so normal uDig users can toggle between the two > MapEditor im

Re: [udig-devel] how to get modal tools back on the toolbar?

2012-12-20 Thread Jody Garnett
The previous MapEditor is still available in code, configure your application to use it? (Copy and paste the existing MapEditor plugin.xml snippet and change which class it points to) Other ideas: - Make a preference setting so normal uDig users can toggle between the two MapEditor implementat

[udig-devel] how to get modal tools back on the toolbar?

2012-12-20 Thread Matthias Lendholt
Hi, While upgrading our application from uDig 1.2.0 SDK to 1.3.3 SDK I noticed that modal tools have been moved from the toolbar to the new palette widget. Our application offers just a very limited number of modal tools to the user and we prefer to keep them in the toolbar. So my question: Is

Re: [udig-devel] How to not see anymore "WARNING: ArcSDE Java API seems to not be on your classpath"

2012-11-17 Thread Dev thomas
OK, I've manage to get the 2 jar files . And i put them in my jre\lib\ext directory and that solve the problem Thanks 2012/11/16 Frank Gasdorf > You need an ArcSDE client installation somewhere where you can grab > the jars, see http://edndoc.esri.com/arcsde/9.3/api/japi/japi.htm > > If yo

Re: [udig-devel] How to not see anymore "WARNING: ArcSDE Java API seems to not be on your classpath"

2012-11-16 Thread Frank Gasdorf
You need an ArcSDE client installation somewhere where you can grab the jars, see http://edndoc.esri.com/arcsde/9.3/api/japi/japi.htm If you have an EDN Account you have the complete CD/DVD package to install ArcSDE/ArcGIS Server, etc. The EDN License isn't for free ;) Cheers, Frank 2012/11/16

Re: [udig-devel] How to not see anymore "WARNING: ArcSDE Java API seems to not be on your classpath"

2012-11-16 Thread Jody Garnett
Interesting, My understanding is it is provided "on the dvd" when you buy ArcSDE. Gabriel? What is the best way to obtain the esri jars these days? Or can you think of a way for us to avoid the warning listed below ... -- Jody Garnett On Friday, 16 November 2012 at 11:49 PM, Dev thomas wro

[udig-devel] How to not see anymore "WARNING: ArcSDE Java API seems to not be on your classpath"

2012-11-16 Thread Dev thomas
Hello , I've the following output when I m coding. WARNING: ArcSDE Java API seems to not be on your classpath. Please verify that all needed jars are. ArcSDE data stores will not be available. java.lang.NoClassDefFoundError: com/esri/sde/sdk/client/SeConnection Is there a way to not have this

Re: [udig-devel] how to disable snap behaviour for only one editing tool

2012-10-16 Thread ERNANDES, Fabrice
de Jesse Eichar Envoyé : vendredi 12 octobre 2012 07:39 À : User-friendly Desktop Internet GIS Objet : Re: [udig-devel] how to disable snap behaviour for only one editing tool Do you want it always disabled or just partially disabled? Jesse On Thu, Oct 11, 2012 at 4:29 PM, ERNANDES, Fabrice

Re: [udig-devel] how to disable snap behaviour for only one editing tool

2012-10-11 Thread Jesse Eichar
Do you want it always disabled or just partially disabled? Jesse On Thu, Oct 11, 2012 at 4:29 PM, ERNANDES, Fabrice < fabrice.ernan...@canal-de-provence.com> wrote: > Hello, > > ** ** > > I have several editing tools created by me that need snap behaviour but I > don’t know how I can disable

[udig-devel] how to disable snap behaviour for only one editing tool

2012-10-11 Thread ERNANDES, Fabrice
Hello, I have several editing tools created by me that need snap behaviour but I don't know how I can disable it just for one tool. Any ideas ? Thanks. Fabrice ERNANDES Société du Canal de Provence Le Tholonet CS 70064 - 13182 Aix-en-Provence Cedex 5 Ligne directe : 04 42 66 67 09 Site web :

Re: [udig-devel] how to publish

2012-06-18 Thread Frank Gasdorf
2012/6/16 Jody Garnett : > So … how to we push this to udig.github.com? I would like make a blog post > once we have anything ready for to show. > > Copy and Paste, commit and push ;) we shouldn't do this daily or in a > CI build. in my opinion if we release uDig we should update > udig.github.com

[udig-devel] how to publish

2012-06-16 Thread Jody Garnett
> So … how to we push this to udig.github.com (http://udig.github.com)? I would > like make a blog post once we have anything ready for to show. > > Copy and Paste, commit and push ;) we shouldn't do this daily or in a > CI build. in my opinion if we release uDig we should update > udig.github.c

Re: [udig-devel] How to get vector data in udig

2012-05-08 Thread Jody Garnett
> Messaggio originale > Da: jody.garn...@gmail.com (mailto:jody.garn...@gmail.com) > Data: 6-mag-2012 15.30 > A: mailto:alessandra.bacc...@virgilio.it)>, > "User-friendly Desktop Internet GIS" (mailto:udig-devel@lists.refractions.net)> > Ogg: Re: [udig-devel] H

Re: [udig-devel] How to get vector data in udig

2012-05-06 Thread Jody Garnett
There should be examples of how to add your database to the uDig catalog. - http://udig.refractions.net/confluence/display/DEV/2+Catalog The example for PostGIS as as follows: Map params = new HashMap(); params.put("dbtype", "postgis"); // must be "postgis" params.put("host", "www.refractions.n

[udig-devel] How to get vector data in udig

2012-05-04 Thread alessandra.baccari
Hi!After i have choose mySql database and table, what is the block of code (in java) that gets the geographical information(vector data)? Thanks to much! ___ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.

Re: [udig-devel] How to know number of layers in a map ?

2012-04-20 Thread Jody Garnett
The EditManger holds on to the currently selected layer. You should just be able to use indeOf method on getMapLayers() to figure out what "index" it is in. Actually you may just be able to read the z order right out of the layer; since that is why getMapLayers() a list. It is a list of the la

Re: [udig-devel] How to open a map and display it on workspace

2012-04-20 Thread Jody Garnett
Could you review the OpenMapAction class and ask questions about what is not clear? Perhaps place a breakpoint in the debugger to see how it works? You should probably just be able to *make* an OpenMapAction and use it to "open a map and display it on a workspace". I think it loads the map into

[udig-devel] How to know number of layers in a map ?

2012-04-18 Thread nanithehaddock
I'm working on some GIS based application and i need to know How many layers are in one Map and what is the path for currently selected layer. my code for this is: String path=ApplicationGIS.getActiveMap().getMapLayers().get(0).getID().getPath(); System.out.println("path of the gi

Re: [udig-devel] How to access displaying image from UdigEditor ?

2012-04-18 Thread Frank Gasdorf
Or you might have a look at ViewportModel.getRenderManagerInternal().getImage() There you can grab the last Image, that has been rendered. But note, that it can be null, if the renderer has not been invoked (e.g. Map Area is minimized of an other editor is in front of the Map)! Frank 2012/4/18 a

Re: [udig-devel] How to access displaying image from UdigEditor ?

2012-04-18 Thread kranthi kumar
thanks for reply, but i want to take that displaying map as BufferedImage input. so please tell how to access that map as BufferedImage input file for example: BufferedImage image=ImageIO.open(input); here: input: should be come from udigEditor -> after opening image(map), i want that current displ

Re: [udig-devel] How to access displaying image from UdigEditor ?

2012-04-18 Thread andrea antonello
You might want to look at: net.refractions.udig.project.ui.ApplicationGIS.drawMap(DrawMapParameter) If you pass the current vieport parameters, it will create you the same image. Andrea On Wed, Apr 18, 2012 at 9:11 AM, nanithehaddock wrote: > I'm new to udig. and i'm trying to access the input

Re: [udig-devel] How to open a map and display it on workspace

2012-04-18 Thread kranthi kumar
please tell some what clear. On Sat, Apr 14, 2012 at 1:34 PM, Jody Garnett wrote: > Hi Nanithe: > > I think you need to add the loaded Map to the project the user is working > in; and then you can use the open map command. > > For a code example I suggest looking at the source code of "OpenMapAct

[udig-devel] How to access displaying image from UdigEditor ?

2012-04-18 Thread nanithehaddock
I'm new to udig. and i'm trying to access the input image(map) which is already displaying in Udig-Editor the following is my code to take udig map editor: Display display=Display.getCurrent(); IWorkbenchPage workbenchpage=PlatformUI.getWorkbench().getActiveWorkbenchWindow().getAct

Re: [udig-devel] How to open a map and display it on workspace

2012-04-14 Thread Jody Garnett
Hi Nanithe: I think you need to add the loaded Map to the project the user is working in; and then you can use the open map command. For a code example I suggest looking at the source code of "OpenMapAction". -- Jody Garnett ___ User-friendly Desk

[udig-devel] How to open a map and display it on workspace

2012-04-11 Thread nanithehaddock
please give some code to open a map and display it on workspace.. Shell shell = new Shell(Display.getDefault()); FileDialog dialog = new FileDialog(shell); String fileSelected = dialog.open(); StyleView styleView = null; try{ IWor

Re: [udig-devel] How to add tools to coolbar?

2012-01-17 Thread Jody Garnett
It should be possible; we have an example of adding a Tool to a view toolbar which you should be able to adapt. - The Info view has the Info Tool on its view toolbar - The Table view has the selection tool on its view toolbar I suspect that the entry needs to be added as a normal Action; with

[udig-devel] How to add tools to coolbar?

2012-01-17 Thread Susana Fernández García
Hello, I have a problem with the toolbar. I added a MapView editor to my RCP application. My application has a main toolbar (coolbar), and I want to declaratively add tools of Udig (like zoom in, pan... not all) that work on the map. I created a new toolbar with the URI my coolbar and in "comma

Re: [udig-devel] how to select features in a udig map layer

2011-11-23 Thread Jody Garnett
There is an example of GetSelectedFeaturesFromLayer.java It is contained in the code examples (included with the SDK etc...) Here is a direct link: https://github.com/uDig/udig-platform/blob/master/plugins/net.refractions.udig.tutorials.examples/src/net/refractions/udig/tutorials/examples/GetSel

[udig-devel] how to select features in a udig map layer

2011-11-22 Thread Kumar Khadka
dear sir, First of all thanks to reply my msg. sir plz help me by sending source code to select features in udig map layer ___ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel

Re: [udig-devel] How to create a modal tool without context menu?

2011-09-16 Thread Matthias Lendholt
Jody, thanks for that hint! I thought the extension point requires extensions of SimpleTool since it is defined in the extension point xml: basedOn="net.refractions.udig.project.ui.tool.SimpleTool"/> but the Zoomtool is just based on the AbstractModalTool. So I changed it in my tools. It w

Re: [udig-devel] How to create a modal tool without context menu?

2011-09-15 Thread Jody Garnett
Not all tools have a context menu; have a look at the zoom tool for example? Can I ask what actions are shown in the context menu which you would like to remove? There may be another way... -- Jody Garnett On Thursday, 15 September 2011 at 5:13 AM, Matthias Lendholt wrote: > Hey, > > I w

[udig-devel] How to create a modal tool without context menu?

2011-09-15 Thread Matthias Lendholt
Hey, I want to add some modal tools to my application. This is quite simple using the extension point "net.refractions.udig.project.ui.tool". Unfortunately the SimpleTool (which is the base class for all modal tools) automatically opens a context menu (third mouse button) in "public final void

Re: [udig-devel] How to run modal toolbar contributions (for comparison)

2011-08-17 Thread Jody Garnett
In particular the following looks to be where the side effects occur... public void setActiveEditor(IEditorPart targetEditor) { super.setActiveEditor(targetEditor); IToolManager toolManager = ApplicationGIS.getToolManager(); toolManager.contributeGlobalActions(targetEditor, getActionBars());

[udig-devel] How to run modal toolbar contributions (for comparison)

2011-08-17 Thread Jody Garnett
Hi Scott: The code to do the modal toolbar contributions seems to have some fun side effects a) keyboard bindings work b) default tool activated (not sure if it is set on the MapViewer or just activated) To try these things out; so you can step through with a debugger and reproduce the same

Re: [udig-devel] How to strip most menus from udig

2011-06-29 Thread Jesse Eichar
In addition to Jody's answer. Look at the eu.udig.tutorials.tool-view tutorial. It shows how to remove tools from the tool bar. Jesse On Wed, Jun 29, 2011 at 11:37 PM, poultee wrote: > Hi, > I just completed the rcp tutorial. I was now wondering, how can i remove or > change the menus that pe

Re: [udig-devel] How to strip most menus from udig

2011-06-29 Thread Jody Garnett
Rather than retype this email each time the question is asked I have created a wiki page for this question: - http://udig.refractions.net/confluence/display/DEV/How+do+I+turn+off+menus On Thu, Jun 30, 2011 at 7:37 AM, poultee wrote: > Hi, > I just completed the rcp tutorial. I was now wondering,

Re: [udig-devel] How to strip most menus from udig

2011-06-29 Thread Jody Garnett
> > Hi, > I just completed the rcp tutorial. That is great! > I was now wondering, how can i remove or change the menus that persist > after i close all perspectives > In the tutorial they talk a bit about action sets and how you can use them to control some of the menu contributions. Most of

[udig-devel] How to strip most menus from udig

2011-06-29 Thread poultee
Hi, I just completed the rcp tutorial. I was now wondering, how can i remove or change the menus that persist after i close all perspectives -- View this message in context: http://udig-devel.19327.n5.nabble.com/How-to-strip-most-menus-from-udig-tp4536808p4536808.html Sent from the udig-devel mai

Re: [udig-devel] How to fix a problem in uDig 1.2.0 (bundle net.refractions.udig.project.ui 1.2.0)

2011-05-27 Thread Jody Garnett
Can you go over the custom app tutorial again; it shows how to define "feature" to contain your plugin. You can set up dependencies between features so that the correct software is bundled up. The way I think of it is: * features bundle your plugins for export * dependencies between your plugin

[udig-devel] How to fix a problem in uDig 1.2.0 (bundle net.refractions.udig.project.ui 1.2.0)

2011-05-27 Thread mvsanchez
I am developing a plug in in uDig 1.2.0. When I try to export and validate the plug in the system show this error: Cannot complete the install because one or more required items could not be found. Software being installed: Visibilitytool 1.0.0.201105261734 (net.refractions.tutorials.visibilityt

Re: [udig-devel] How to track when a layer added to Map

2011-03-15 Thread Jody Garnett
Welcome to uDig! Please send your questions to the developer list (udig-devel). One of the things the company I work for does is developer support; allowing people to email me directly. The uDig map layer viewport data structures done using EMF. You can use notifier to listen to any event chan

Re: [udig-devel] how to create line

2011-03-09 Thread Mauricio Pazos
On Wednesday 09 March 2011 02:20:29 am carlos henrique de souza junior wrote: > hello guys my name is carlos > I'm starting to uDig and am with some doubts > how do I create a line and put this information online, to appear in > the view INFORMATION? > > could you inform me how this is done or dire

Re: [udig-devel] how to create line Line2D teste = new Line2D.Double(new Double(e.x), new Double(e.y), e.x + 122, e.y + 15 ); TTTT = getContext().getDrawFactory() .createDrawShapeCommand(teste, Color.

2011-03-09 Thread Joaquín Rodriguez-Guerra Urcelay
mbre de carlos henrique de souza junior [carlos.henrique@gmail.com] Enviado el: miércoles, 09 de marzo de 2011 2:30 Para: udig-devel@lists.refractions.net Asunto: [udig-devel] how to create line Line2D teste = new Line2D.Double(new Double(e.x), new Double(e.y), e.x + 122, e.y + 15 );

[udig-devel] how to create line Line2D teste = new Line2D.Double(new Double(e.x), new Double(e.y), e.x + 122, e.y + 15 ); TTTT = getContext().getDrawFactory() .createDrawShapeCommand(teste, Color.BLAC

2011-03-08 Thread carlos henrique de souza junior
hello guys my name is carlos I'm starting to uDig and am with some doubts how do I create a line and put this information online, to appear in the view INFORMATION? I tried from a code I found the map but when I move the line does not move and do not know how to add information in this line I fou

[udig-devel] how to create line

2011-03-08 Thread carlos henrique de souza junior
hello guys my name is carlos I'm starting to uDig and am with some doubts how do I create a line and put this information online, to appear in the view INFORMATION? could you inform me how this is done or direct me where to study on this? ___ User-friend

Re: [udig-devel] How to include a layer upon start up of application

2011-02-18 Thread Jody Garnett
There are a couple facilities; eclipse supplies a workbench startup callback which you can use. I often use it to populate the catalog with an initial database connection required for a custom module. You could use it to add the shapefile to your catalog; and create a new map with it. The othe

[udig-devel] How to include a layer upon start up of application

2011-02-18 Thread Timothy J. Cleland
I have a custom application of UDig, and I'd like to make it so that upon opening the application, a shapefile (specifically, countries.shp which I include with the build of the app) opens as a layer all ready for the user to use as a base map to refer to and edit. I know that once you open the sh

Re: [udig-devel] How to use MapGraphic to draw a graph

2011-02-17 Thread Jody Garnett
Thank you for the quick reply, Jody. > > The "glass pane" is one of the ways to go. I can draw the zoom in/zoom out > bar by using "glass pane". But it seems that I can achieve the same goal > using Layer. > by using a layer, I can add the zoom in/out bar to a Layer as a feature, and > then I c

Re: [udig-devel] How to use MapGraphic to draw a graph

2011-02-17 Thread Fred Chen
tail on this topic. it will be perfect if you have some code snippets. Thanks, Derek Date: Thu, 17 Feb 2011 20:19:21 +1000 From: jody.garn...@gmail.com To: udig-devel@lists.refractions.net Subject: Re: [udig-devel] How to use MapGraphic to draw a graph There is

Re: [udig-devel] How to use MapGraphic to draw a graph

2011-02-17 Thread Jody Garnett
There is also the "glass pane" which is used to render with draw2d over top of the rest of the rendering system. See the "tracking" tutorial here for an example: http://udig.refractions.net/confluence/display/DEV/2+Training+Materials The interesting part for you will be sorting out if your zoom

Re: [udig-devel] How to use MapGraphic to draw a graph

2011-02-17 Thread andrea antonello
Does the mapgraphic appear in the list of decoration objects? You have to pull it on the map to be drawn. Andrea On Thu, Feb 17, 2011 at 4:42 AM, Fred Chen wrote: > Hi, > > I want to implement a zoom in/zoom out bar. It is something like the > vertical bar in google maps. The map will be zoom in

[udig-devel] How to use MapGraphic to draw a graph

2011-02-17 Thread Fred Chen
Hi, I want to implement a zoom in/zoom out bar. It is something like the vertical bar in google maps. The map will be zoom in or out when users clicks on the bar. I am trying to implement the net.refractions.udig.mapgraphic.MapGraphic interface to draw the bar. So I followed the net.refractio

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] How to make image transparent and draw it with ViewportGraphics obj?

2011-02-07 Thread andrea antonello
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 Önder Ülker : > Hey All, > I have developed LOS Analyse for my application. I want to show the result > matrix in t

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

2011-02-07 Thread Önder Ülker
Hey All, I have developed LOS Analyse for my application. I want to show the result matrix in transparent form. Relevant cells of the result matrix is red (invisible) or green (visible). I create image from buffered image and draw it. But it is opaque. I want it set it e.g %50 transparent. But i

Re: [udig-devel] how to take part? w/ git?

2011-02-01 Thread Jody Garnett
This is one of the main entry points for potential udig developers. 1) From the main developers page http://udig.refractions.net/developers/ 2) Under join the team 3) We have the following three - How to Take part - Development Enviornment - Project Procedures Still your point is valid; perhaps w

Re: [udig-devel] how to take part? w/ git?

2011-02-01 Thread andrea antonello
Oh man, I don't understand how wide the documentations are. Every time you pull a page it looks new to me :) You think it would make sense to put there just the link to the gitorious udig community repo and then refer to the general git instructions (miss the link right now)? Andrea On Tue, Feb

[udig-devel] how to take part? w/ git?

2011-02-01 Thread Jody Garnett
I went to answer a private email today (on how to take part in udig). My usual link (http://udig.refractions.net/confluence/display/ADMIN/How+to+take+part) is out of date as it provides svn instructions :-P Help! Jody ___ User-friendly Desktop Intern

Re: [udig-devel] How to clear the blackboard?

2011-01-03 Thread Jody Garnett
not sure I understand; what is drawing the point? Do you have a draw command going that you wish to invalidate? Jody On 03/01/2011, at 7:43 PM, kon...@gmx.de wrote: > Hey Guys! > > I'm trying to clear the blackboard after I've placed a point inside. > > IBlackboard blackboard = map.getBlackb

[udig-devel] How to clear the blackboard?

2011-01-03 Thread konfri
Hey Guys! I'm trying to clear the blackboard after I've placed a point inside. IBlackboard blackboard = map.getBlackboard(); // .. places the point inside blackboard.clear(); The debugger tells me, that there is no content after the clear() method call. Unfortunately, the point is still visibl

Re: [udig-devel] How to add GeoTiff from code

2010-12-20 Thread Jody Garnett
Second approach is good; usually the CRS data has to be baked into your TIFF file (that is what makes it a GeoTIFF). If you don't have such information you could consider adding a "world file" and a "prj" sidecar file. ie same filename but with different extensions. You can also right click on

[udig-devel] How to add GeoTiff from code

2010-12-20 Thread Ned Haubein
Hi, I have a geotiff file that I can drag and drop into uDig with no problems.  I'm trying to add this same file from code, and can't quite figure out how to do it. I've tried two ways, neither with success: First (try/catch ommitted for readability) GeoTiffFormat format = new GeoTiffFormat();

Re: [udig-devel] how to access to "FeatureTableControl" of "TableView"

2010-10-25 Thread Jody Garnett
Thanks Jesse; I would like to update our source code example links in the wiki. Jody On Fri, Oct 22, 2010 at 5:36 PM, Jesse Eichar wrote: > The same link in the git repo is: > http://gitorious.org/udig/udig-platform/blobs/master/tutorials/net.refractions.udig.tutorials.examples/src/net/refractio

Re: [udig-devel] how to access to "FeatureTableControl" of "TableView"

2010-10-21 Thread Jesse Eichar
The same link in the git repo is: http://gitorious.org/udig/udig-platform/blobs/master/tutorials/net.refractions.udig.tutorials.examples/src/net/refractions/udig/tutorials/examples/GetSelectedFeaturesFromLayer.java This is mostly for jody. Just go to the repo and you can see a button that looks

Re: [udig-devel] how to access to "FeatureTableControl" of "TableView"

2010-10-21 Thread Jody Garnett
I just grabbed the link out of the developers guide; I am not sure how to link to things in the git repository yet? Jody On Fri, Oct 22, 2010 at 8:05 AM, Tawan Banchuen wrote: > Very useful for me too.  Thanks Jody. > > On 22/10/2010, at 10:22 AM, Jody Garnett wrote: > >> Here is an example for

Re: [udig-devel] how to access to "FeatureTableControl" of "TableView"

2010-10-21 Thread Tawan Banchuen
Very useful for me too. Thanks Jody. On 22/10/2010, at 10:22 AM, Jody Garnett wrote: > Here is an example for getting the selected features: > > http://svn.refractions.net/udig/udig/trunk/tutorials/net.refractions.udig.tutorials.examples/src/net/refractions/udig/tutorials/examples/GetSelectedFe

Re: [udig-devel] how to access to "FeatureTableControl" of "TableView"

2010-10-21 Thread Jody Garnett
Here is an example for getting the selected features: http://svn.refractions.net/udig/udig/trunk/tutorials/net.refractions.udig.tutorials.examples/src/net/refractions/udig/tutorials/examples/GetSelectedFeaturesFromLayer.java The example uses featureSource.getFeatures(query); however you can use f

Re: [udig-devel] how to access to "FeatureTableControl" of "TableView"

2010-10-21 Thread Alberto Debiasi
yes, it wil be very useful for me. Thanks!! 2010/10/20 Jody Garnett > The features in the table view are those available for the current layer. > > The table view watches the workbench; and when a layer is selected it does > its best to show the contents of that layer. > The reason getSelection

Re: [udig-devel] how to access to "FeatureTableControl" of "TableView"

2010-10-20 Thread Jody Garnett
The features in the table view are those available for the current layer. The table view watches the workbench; and when a layer is selected it does its best to show the contents of that layer. The reason getSelection() is available is that the table view is a control for the user to change what

[udig-devel] how to access to "FeatureTableControl" of "TableView"

2010-10-20 Thread alcesgabbo
hello everybody, i'm a beginner of UDIG and I've this problem: I'm developing a plugin for udig. This plugin should access to the features inside the table "TableView". (for example a function takes in input a list of features and it plots a chart as output) I would like to know how can i get

Re: [udig-devel] How to render geometries with vertices

2010-10-07 Thread Mauricio Pazos
On Thursday 07 October 2010 09:29:51 am Hochmeister Rudolf wrote: > Hi, > > We use axios splitting module and want to increase usability of the tool. > Is there a way to display all geoms with vertices on the currently selected > layer by default, when activating the split tool (pressing the tool b

[udig-devel] How to render geometries with vertices

2010-10-07 Thread Hochmeister Rudolf
Hi, We use axios splitting module and want to increase usability of the tool. Is there a way to display all geoms with vertices on the currently selected layer by default, when activating the split tool (pressing the tool button) without explicitly selecting any geom. This would ease the split-pr

Re: [udig-devel] How to use the Polygon Tool in a TitleAreaDialog

2010-08-24 Thread Mauricio Pazos
On Monday 23 August 2010 02:22:30 pm Jonathan Roques wrote: > Hi all ! > I need to include the Polygon Tool in order to create some features, but > I saw that this tool is designed to operate either in an Editor or in a > View... So my question is : is it possible to put this tool in a Dialog > ?..

Re: [udig-devel] How to use the Polygon Tool in a TitleAreaDialog

2010-08-23 Thread Jody Garnett
When used in a view toolbar; all it does is change the mode of the current map. There is an ready-to-go action that will change the tool used by the map. But there is nothing special about this action you can take the same steps from any point in the applicaiton - such as a cheatsheet. I am use

[udig-devel] How to use the Polygon Tool in a TitleAreaDialog

2010-08-23 Thread Jonathan Roques
Hi all ! I need to include the Polygon Tool in order to create some features, but I saw that this tool is designed to operate either in an Editor or in a View... So my question is : is it possible to put this tool in a Dialog ?...and obviously how ? thanks before ! <>

Re: [udig-devel] How to integrate uDig into Swing Application???

2010-08-18 Thread Balint Persics
Hi! I would recommend using GeoTools as uDIG is a complete SDK/Application, which uses GeoTools as a data source and rendering library. For GeoTools, see the tutorial and the wiki. http://docs.geotools.org/stable/userguide/quickstart.html http://docs.codehaus.org/display/GEOTDOC/Home

[udig-devel] How to integrate uDig into Swing Application???

2010-08-18 Thread Sankar Mondal
Hi Jody & Andrea  1)  I have a swing application, where on a button click(e.g. view into map), I need to display/render some vector infromation into map as a layer. Is it possible to open uDig on that button(e.g. view into map) click with the layer infromation as a parameter.     2) Withou

Re: [udig-devel] How to extend the import wizard?

2010-05-25 Thread Jody Garnett
Hi Kon: The eclipse import wizard extension point is well documented on the web; if you are bringing in new information we ask that you place it on the uDig catalog for the rest of the application to find. Have a look a the source code for the tutorials: - http://udig.refractions.net/confluence

[udig-devel] How to extend the import wizard?

2010-05-25 Thread konfri
Hey Guys! I would like to extend the import wizard by providing an additional way to import source. The point "Import XML file" would process some XML files of a given folder. What plug-in do I need to add to my plugin.xml Dependencies? And what about the Extensions? I just started working wi

Re: [udig-devel] how to update the udig community site

2010-05-18 Thread Mauricio Pazos
On Tuesday 18 May 2010 01:38:06 pm Mauricio Pazos wrote: > On Tuesday 18 May 2010 01:20:14 pm andrea antonello wrote: > > I think you should simply removing (i.e. leave empty) the "Version to > > match" field of the udig_platform entry in the dependencies tab of the > > net.refractions.udig_applica

Re: [udig-devel] How to add or remove plug-ins to product export wizard?

2010-05-18 Thread Jody Garnett
Oh I see you are thinking of the tutorial; the tutorials are gathered up in the sdk - wonder if I missed one. I was thinking of the following plugin near the bottom (since I just added it) Please go through the custom app tutorial to see how to make your own features; the custom app tutoria

Re: [udig-devel] how to update the udig community site

2010-05-18 Thread Mauricio Pazos
On Tuesday 18 May 2010 01:20:14 pm andrea antonello wrote: > I think you should simply removing (i.e. leave empty) the "Version to > match" field of the udig_platform entry in the dependencies tab of the > net.refractions.udig_application-feature. > Could you please try that? I would myself but I h

Re: [udig-devel] how to update the udig community site

2010-05-18 Thread andrea antonello
Mauricio, [...] > More ... > I have a look at net.refractions.udig-features/feature.xml > I have changed the url section with "1.2" but it do not work I think you should simply removing (i.e. leave empty) the "Version to match" field of the udig_platform entry in the dependencies tab of the net.r

Re: [udig-devel] how to update the udig community site

2010-05-18 Thread andrea antonello
Yeah, I was wondering.. this is a udig issue, not of our plugins. There is a discrepancy between the polugins, so no plugin will ever be installed. Hmmm, I am on IRC right now, perhaps we can spend a moment to face the problem? Ciao Andrea On Tue, May 18, 2010 at 12:27 PM, Mauricio Pazos wrot

Re: [udig-devel] how to update the udig community site

2010-05-18 Thread Mauricio Pazos
On Tuesday 18 May 2010 12:04:08 pm andrea antonello wrote: > [...] > > > You are right. Add the url using the "New Remote Site" > > http://udig.refractions.net/files/update/1.2/community > > We used to have the community site there by default at some point. > > Not sure who did that, I guess Jesse.

Re: [udig-devel] how to update the udig community site

2010-05-18 Thread andrea antonello
[...] > You are right. Add the url using the "New Remote Site" > http://udig.refractions.net/files/update/1.2/community We used to have the community site there by default at some point. Not sure who did that, I guess Jesse. Any hint here? Andrea ___ U

Re: [udig-devel] how to update the udig community site

2010-05-18 Thread Mauricio Pazos
On Tuesday 18 May 2010 11:47:05 am andrea antonello wrote: > But does the community site appear to you by default or did you enter > the remote url? > > This is my first issue. I do not get anything. I would have to enter > the community site manually as remote site. You are right. Add the url usin

  1   2   3   4   >