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

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

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

2013-05-06 Thread Moser-Spitzenstaetter Ludwig
I finally worked out how to gain access to the service, but when i use the uDig editor to select stuff, i do not get notifications... (i tried the info tool and the 'select with rectangle' tool (sorry, it is german here, and i have no clue how ist called in the english version...) The new code to

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

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

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

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

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

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

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

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

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

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

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

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

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

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());

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

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

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
Hello Carlos, I think you need to create a temporary layer to the map, and add the line to it. I did this last week, and I dont really know if is is the optimal way, but it worked. Regards, private void AddTempLayer() { // obtain catalog or repository

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

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

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

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

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

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

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

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

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

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

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

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

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

2010-05-18 Thread andrea antonello
Hi Mauricio, [...] > I have not chance to test in 64bit architecture, so I have experimented a > different error using udig-1.2-RC3.linux.gtk.x86. 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

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

2010-05-18 Thread Mauricio Pazos
On Tuesday 18 May 2010 10:59:30 am Mauricio Pazos wrote: > On Tuesday 18 May 2010 10:34:44 am andrea antonello wrote: > > Hi folks, > > I right now am trying the new RC3 as downloaded. > > > > In the new features install I was expecting the community update site > > to appear, but it doesn't for me

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

2010-05-18 Thread Mauricio Pazos
On Tuesday 18 May 2010 10:34:44 am andrea antonello wrote: > Hi folks, > I right now am trying the new RC3 as downloaded. > > In the new features install I was expecting the community update site > to appear, but it doesn't for me on linux 64bits. > > Did anyone try and get the site? > > Ciao > And

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

2010-05-18 Thread andrea antonello
Hi folks, I right now am trying the new RC3 as downloaded. In the new features install I was expecting the community update site to appear, but it doesn't for me on linux 64bits. Did anyone try and get the site? Ciao Andrea On Mon, May 17, 2010 at 12:00 PM, Mauricio Pazos wrote: > Hello: I h

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

2010-05-18 Thread Jody Garnett
Hi :-) I think I have included it in the latest uDig; but to answer your question it needs to be listed in one of the features. Features mark down what plugins are actually shipped. Indeed I can see featureeditor listed in net.refractions.udig_application feature.xml Jody On 18/05/2010, at 4:

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

2010-05-17 Thread Jody Garnett
That is great - thank you! On 17/05/2010, at 8:00 PM, Mauricio Pazos wrote: > Hello: I have added this "how to" page: "Update Site for Community > Contributions" > > http://udig.refractions.net/confluence/display/ADMIN/Update+Site+for+Community+Contributions > > Fill free to update / improve i

Re: [udig-devel] how to do pre-commit validation

2010-03-01 Thread Kemppilä Atte
h 01, 2010 2:47 PM To: User-friendly Desktop Internet GIS Subject: Re: [udig-devel] how to do pre-commit validation Did you have a look at how "validation" used when editing polygons? You should be able to hook into any part of the editing process. If "pre" commit is not covere

Re: [udig-devel] how to do pre-commit validation

2010-03-01 Thread Jody Garnett
Did you have a look at how "validation" used when editing polygons? You should be able to hook into any part of the editing process. If "pre" commit is not covered then please submit a patch ... it will be easier then trying to make a custom "Commit" command. A couple of questions for you ... -

Re: [udig-devel] How to embed MapViewer into org.eclipse.ui.part.MultiPageEditorPart

2010-02-21 Thread Jody Garnett
Oh I see - yes that example was just supposed to show how to use ApplicationGIS.drawMap if you wish to fix it please sent email and we can make the change. Jody On Mon, Feb 22, 2010 at 3:34 PM, LSA wrote: > Sorry for being obscure. > StaticGisWindget is from here: > net.refractions.udig.tutoria

Re: [udig-devel] How to embed MapViewer into org.eclipse.ui.part.MultiPageEditorPart

2010-02-21 Thread LSA
Sorry for being obscure. StaticGisWindget is from here: net.refractions.udig.tutorials.examples.StaticGISWidget. I just copy-pasted it to my project. StaticGisWidget is example of using ApplicationGIS.drawMap (you suggested to try it). I need some component that can draw Map and completely

Re: [udig-devel] How to embed MapViewer into org.eclipse.ui.part.MultiPageEditorPart

2010-02-21 Thread Jody Garnett
I am not sure what static gis widget is? Is it a MapViewer? confused ... Can I confirm you are using the MapViewer class as follows: mapviewer = new MapViewer(parent, SWT.SINGLE | SWT.DOUBLE_BUFFERED ); You will need to go through a couple of steps to have it draw something ... mapviewer.setMap(

Re: [udig-devel] How to embed MapViewer into org.eclipse.ui.part.MultiPageEditorPart

2010-02-21 Thread LSA
Jody, thanks for reply! //Do you have any indication why your MapViewer is not showing anything? No, I don`t have any indication. I tried using StaticGisViewer, like this: public class SampleView extends ViewPart { /** * The ID of the view as specified by the extension.

Re: [udig-devel] How to embed MapViewer into org.eclipse.ui.part.MultiPageEditorPart

2010-02-19 Thread Jody Garnett
You can render a map into an Image (for exporting to file or displaying statically on the screen - have a look at ApplicationGIS utility class for the example). Do you have any indication why your MapViewer is not showing anything? Can you give us a cut down example that shows the problem? Jo

Re: [udig-devel] How to set any Layer as an active/current layer?

2010-01-20 Thread Jody Garnett
The EditManager is in charge of the active layer; so if you are writing your MapCommand navigate from the map into edit manager and you should be able to find your way. The other thing would be to check the layer view implementation and see how it does it. Jody On 21/01/2010, at 5:28 PM, Sanjay

Re: [udig-devel] How to use MapViewer to display WMS layers ?

2009-12-21 Thread Jody Garnett
Can you call a command to change the view port bounds to the size required to display your layer? Jody On 18/12/2009, at 8:23 AM, Olivier THIERRY wrote: > Hi, > > I am a newvbie with uDig. I need to display a map with WMS layers in > my own Eclipse RCP application. > I try to use MapViewer but

Re: [udig-devel] how to create a messagebox in udig

2009-12-15 Thread Mauricio Pazos
On Saturday 12 December 2009 11:55:48 am Elton Chan wrote: > Hi there, > > I would like to create a messagebox after clicking a button on the toolbar. > I have created a new icon with the actionTool extension. > > However, I try to use the following code in run(). > Display display = new Di

Re: [udig-devel] how to add a new spatial operation (tutorial)

2009-11-16 Thread Mauricio Pazos
On Friday 13 November 2009 02:35:16 pm andrea antonello wrote: > Mauricio, > I wasn't able to really get through that yet, but this is a great > think you guys did here!! > Looking forward to exploit it sooner or later. > > Ciao > Andrea I will be so glad if the community could extend the initial s

Re: [udig-devel] how to add a new spatial operation (tutorial)

2009-11-13 Thread andrea antonello
Mauricio, I wasn't able to really get through that yet, but this is a great think you guys did here!! Looking forward to exploit it sooner or later. Ciao Andrea On Thu, Nov 12, 2009 at 12:44 PM, Mauricio Pazos wrote: > Hello everyone, we have published a tutorial which shows how to extend the >

Re: [udig-devel] how to refresh a layer

2009-11-10 Thread Jody Garnett
An alternate we could do is to guess the bounds based on the extent of the CRS used; this would result in "extra" draw requests when nothing is on the screen. Thank you for explaining the issue. jody On Wed, Nov 11, 2009 at 12:03 PM, redstar wrote: > Thank you very much. > I have solved the prob

Re: [udig-devel] how to refresh a layer

2009-11-10 Thread redstar
Thank you very much. I have solved the problem, and I'd like to share it. The problem is caused by bouds. I use gml datasource to render map. And in gml datasource, there are some code like: Envelope temp = new Envelope(); CoordinateReferenceSystem c

Re: [udig-devel] how to refresh a layer

2009-11-10 Thread Mauricio Pazos
On Monday 09 November 2009 07:31:57 am redstar wrote: > I used these cod to refresh the layer: > > ILayer layer = LayerUtil.getLayerByName("GPS"); > layer.refresh(ApplicationGIS.getActiveMap().getBounds(null)); > > > However, I can see the point moved and moved out of a box bound(quite samll > boun

Re: [udig-devel] how to refresh a layer

2009-11-09 Thread redstar
I'm sure i have the proper crs. and i have tried these code: ReferencedEnvelope re = new ReferencedEnvelope(env,layer.getCRS()); layer.refresh(re); But the problem is not solved. 2009/11/9 andrea antonello > hi redstar, > this really seems to be that the wrong bounding box is passed. > Are y

Re: [udig-devel] how to refresh a layer

2009-11-09 Thread redstar
I get the same result. 2009/11/9 Ugo Taddei > how about forcing a complete refresh (no bbox?): > > > ILayer layer = LayerUtil.getLayerByName("GPS"); > layer.refresh( null ); > > > >> Andrea >> >> >> >> ___ User-friendly Desktop Internet GIS (uDig)

Re: [udig-devel] how to refresh a layer

2009-11-09 Thread Ugo Taddei
Hi, andrea antonello wrote: hi redstar, this really seems to be that the wrong bounding box is passed. Are you sur you are passing it in the proper coordinate system? I remember it being inworld coordinates and it has to have the proper crs, so it has to be a referencedenvelope (this all comes f

Re: [udig-devel] how to refresh a layer

2009-11-09 Thread andrea antonello
hi redstar, this really seems to be that the wrong bounding box is passed. Are you sur you are passing it in the proper coordinate system? I remember it being inworld coordinates and it has to have the proper crs, so it has to be a referencedenvelope (this all comes from memory, so doublecheck it)

Re: [udig-devel] how to refresh a layer

2009-11-08 Thread redstar
yeah, i have tried that and it dont work as well. And i also tried these code and got the same result: ILayer layer = LayerUtil.getLayerByName("GPS"); Envelope env = new Envelope(x-100,x+100,y-100,y+100); layer.refresh(env); 2009/11/9 andrea antonello > > I used these cod to refresh the layer

Re: [udig-devel] how to refresh a layer

2009-11-08 Thread andrea antonello
> I used these cod to refresh the layer: > > ILayer layer = LayerUtil.getLayerByName("GPS"); > layer.refresh(ApplicationGIS.getActiveMap().getBounds(null)); By memory (don't have my environment up yet) the following should refresh the whole layer: layer.refresh(null); > However, I can see the poi

Re: [udig-devel] how to refresh a layer

2009-11-08 Thread redstar
I used these cod to refresh the layer: ILayer layer = LayerUtil.getLayerByName("GPS"); layer.refresh(ApplicationGIS.getActiveMap().getBounds(null)); However, I can see the point moved and moved out of a box bound(quite samll bound than map bound), and then disappeared. 2009/11/8 Jody Garnett

Re: [udig-devel] how to refresh a layer

2009-11-07 Thread Jody Garnett
The layer method refresh should schedule the layer to be redrawn; it takes either null or the region of the screen to be redrawn. Is this how you are asking the layer to redraw? Jody On Sun, Nov 8, 2009 at 12:01 AM, redstar wrote: > but it woud disappear even i refresh the layer every 1min. it's

Re: [udig-devel] how to refresh a layer

2009-11-07 Thread redstar
but it woud disappear even i refresh the layer every 1min. it's long enough for udig to finish. 2009/11/7 andrea antonello > Hmmm, I think I remember when I started I used a mapgraphic and the > continuos redraw of the layer or parts of it at some point always > broke. I guess it is dues to the

Re: [udig-devel] how to refresh a layer

2009-11-07 Thread andrea antonello
Hmmm, I think I remember when I started I used a mapgraphic and the continuos redraw of the layer or parts of it at some point always broke. I guess it is dues to the fact that if it doesn't finish to refresh and the next event comes, it is queued and at some point it stalls and discard stuff. And

Re: [udig-devel] how to refresh a layer

2009-11-07 Thread redstar
Is it caused by udig cache mechanism? 2009/11/7 redstar > Thanks, Andrea. > I render the point by gml datasource in udig, and it displayed as a image > defined by geotool PointSymbolizer > ___ User-friendly Desktop Internet GIS (uDig) http://udig.refra

  1   2   3   >