Re: [udig-devel] Loading a Udig project programatically and retrievingLayers

2008-10-29 Thread Ugo Taddei
Mario Nuñez Jimenez wrote: Hello you all, I have been loading a Udig project from my application, I have been dealing with shapefile paths and wms urls in order to get it loaded at project loading but it seems that udig project file map.unmap has some encoded references. I don't know how deal w

RE: [udig-devel] Loading a Udig project programatically and retrievingLayers

2008-10-29 Thread Mario Nuñez Jimenez
Hello you all, I have been loading a Udig project from my application, I have been dealing with shapefile paths and wms urls in order to get it loaded at project loading but it seems that udig project file map.unmap has some encoded references. I don't know how deal with them, I have to update th

RE: [udig-devel] Loading a Udig project programatically and retrievingLayers

2008-10-02 Thread Mario Nuñez Jimenez
g command addmanylayers. Thank you so much for your appreciate help! Cheers. Mario. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jody Garnett Sent: miércoles, 01 de octubre de 2008 22:14 To: User-friendly Desktop Internet GIS Subject: Re: [udig-devel] Loading a Ud

RE: [udig-devel] Loading a Udig project programatically and retrievingLayers

2008-10-02 Thread Mario Nuñez Jimenez
EMAIL PROTECTED] On Behalf Of Jody Garnett Sent: miércoles, 01 de octubre de 2008 22:14 To: User-friendly Desktop Internet GIS Subject: Re: [udig-devel] Loading a Udig project programatically and retrievingLayers Mario Nuñez Jimenez wrote: > > Hello, > > I have loaded a previously s

RE: [udig-devel] Loading a Udig project programatically and retrievingLayers

2008-10-02 Thread Mario Nuñez Jimenez
TECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jody Garnett Sent: miércoles, 01 de octubre de 2008 22:14 To: User-friendly Desktop Internet GIS Subject: Re: [udig-devel] Loading a Udig project programatically and retrievingLayers Mario Nuñez Jimenez wrote: > > Hello, > > I have loa

Re: [udig-devel] Loading a Udig project programatically and retrieving Layers

2008-10-01 Thread Jody Garnett
Mario Nuñez Jimenez wrote: Hello, I have loaded a previously saved Udig Project: ProjectRegistry projectRegistry = ProjectPlugin.getPlugin().getProjectRegistry(); udigProject = projectRegistry.getProject("C:/Documents and Settings/A146855/Desktop/DEWS.udig"); But I don’t know how to get

[udig-devel] Loading a Udig project programatically and retrieving Layers

2008-10-01 Thread Mario Nuñez Jimenez
Hello, I have loaded a previously saved Udig Project: ProjectRegistry projectRegistry = ProjectPlugin.getPlugin().getProjectRegistry(); udigProject = projectRegistry.getProject("C:/Documents and Settings/A146855/Desktop/DEWS.udig"); But I don't know how to get the layers to be shown on the

RE: [udig-devel] Loading a Udig project programatically (Mario Nu?ez Jimenez)

2008-08-11 Thread sige
Hi Frederick, I am testing your code, but couldn't find the library for the classes: TelticProperties, TlticException Where are they from or are they implemented by your self? Thanks Sige Frederic Renard wrote: > > > Hi Mario, > > Here is my code: I open an existing project ,or create o

RE: [udig-devel] Loading a Udig project programatically

2008-08-10 Thread sige
Hi Mario, i am a newbie and have difficulty in achieving similar results as you. I wonder if you could post the detailed steps you have done to achieve it. I would also like to know what classes you have created and attached to what extensions. thanks a lot. Sige Mario Nuñez Jimenez wrote: >

RE: [udig-devel] Loading a Udig project programatically

2008-07-23 Thread Mario Nuñez Jimenez
I finally made it, many thanks to you two. De: [EMAIL PROTECTED] en nombre de Dave S-B Enviado el: mar 22/07/2008 13:07 Para: User-friendly Desktop Internet GIS Asunto: Re: [udig-devel] Loading a Udig project programatically If you right-click on the layer

Re: [udig-devel] Loading a Udig project programatically

2008-07-22 Thread Dave S-B
Oooh! And I've just noticed that I can drag that URL directly from this email on to a map in uDig to add it as a layer - nice! :) Dave S-B wrote: If you right-click on the layer you've added manually and go into properties you can see the URL for the specific layer. It's usually (always??) the

Re: [udig-devel] Loading a Udig project programatically

2008-07-22 Thread Dave S-B
If you right-click on the layer you've added manually and go into properties you can see the URL for the specific layer. It's usually (always??) the service URL followed by a hash and the layer name, e.g. http://wms.jpl.nasa.gov/wms.cgi?Service=WMS&Version=1.1.1&Request=GetCapabilities#global_m

RE: [udig-devel] Loading a Udig project programatically

2008-07-22 Thread Mario Nuñez Jimenez
>>Joddy Garnet wrote: > >True - the steps is: >1. Create and add an IService to the catalog >2. look up the IGeoResource; it is one of the children of the IService above >3. Send an add layer to catalog command (you need the IGeoResource to do >this) >The ApplicationGIS.addLayersToMap method will d

Re: [udig-devel] Loading a Udig project programatically

2008-07-17 Thread Jody Garnett
Mario Nuñez Jimenez wrote: i was reading the links you gave me, but it seems that im rough of understanding... in the one you gave me about postgis parameters i have no tried because im only trying to load just anything, then i will try postgis data. I want to load on a map, various layers, wm

Re: [udig-devel] Loading a Udig project programatically

2008-07-17 Thread Jody Garnett
Mario Nuñez Jimenez wrote: i was reading the links you gave me, but it seems that im rough of understanding... in the one you gave me about postgis parameters correct - those are the parameters to use when you make an IService. i have no tried because im only trying to load just anything, then

[udig-devel] Loading a Udig project programatically

2008-07-16 Thread Mario Nuñez Jimenez
Hello again, i was reading the links you gave me, but it seems that im rough of understanding... in the one you gave me about postgis parameters i have no tried because im only trying to load just anything, then i will try postgis data. I want to load on a map, various layers, wms, wfs, postgis

Re: [udig-devel] Loading a Udig project programatically

2008-07-15 Thread Jody Garnett
Mario Nuñez Jimenez wrote: I forgot something...I think i should do a CreateAndAddGeoResourceToMap right? I have to get an URL as a parameter, and i think i have to supply to this method: 1) if it is a WMS i need to get the capabilities URL and then concatenate # and what behind that to selec

RE: [udig-devel] Loading a Udig project programatically

2008-07-15 Thread Mario Nuñez Jimenez
need some example may be... Cheers. Mario. De: [EMAIL PROTECTED] en nombre de Jody Garnett Enviado el: lun 14/07/2008 18:50 Para: User-friendly Desktop Internet GIS Asunto: Re: [udig-devel] Loading a Udig project programatically Mario Nuñez Jimenez

RE: [udig-devel] Loading a Udig project programatically

2008-07-15 Thread Mario Nuñez Jimenez
solving this or any example or tutorial? Many thanks in advance! De: [EMAIL PROTECTED] en nombre de Jody Garnett Enviado el: lun 14/07/2008 18:50 Para: User-friendly Desktop Internet GIS Asunto: Re: [udig-devel] Loading a Udig project programatically Mario Nuñe

Re: [udig-devel] Loading a Udig project programatically

2008-07-14 Thread Jody Garnett
Mario Nuñez Jimenez wrote: Hello, i think im in the correct way: ProjectRegistry registry = ProjectPlugin.getPlugin().getProjectRegistry(); Project project = registry.getProject("file:D://workspace//project.udig"); But then with the project how may i do to load all database references, shape

[udig-devel] Loading a Udig project programatically

2008-07-14 Thread Mario Nuñez Jimenez
Hello, i think im in the correct way: ProjectRegistry registry = ProjectPlugin.getPlugin().getProjectRegistry(); Project project = registry.getProject("file:D://workspace//project.udig"); But then with the project how may i do to load all database references, shapefiles, WMS, WFS referenced el