Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] R: Re: Piece of code and classes of render

1) when user  highlighted your table on view , connect your  database (mysql postgis etc ) read features ,
2) create an temp datasource  ( in memory , or shape file , or collection  )
3) add features  to temp datasource that you ve created at 1st step .
4) create a layer at map ( or select existing) using temp datasource;
5) add the layer you ve created to map.


On May 9, 2012, at 1:47 PM, <alessandra.baccari@xxxxxxxxxxx> wrote:

> 
> if you read carefully, I wrote that I do not need connection, so I do not have to connect to the database, but I simply have a catalog as mySql catalog from the point of view of the code! Client-side I want that when the client adds a plan showing the My tool over at MySQL, Teradata PostGIS etc. and when the client click on my tool shows a wizard that contains workflow and various tables and when the client select the table of my tools (which contains several fields including a geometrical field) I want the customer sees on the uDig! So I want to know what classes I need, and pieces of code that make me render my tables of udig!
> I hope I was clear!
> Thank you!
> ----Messaggio originale----
> Da: foimarco@xxxxxxxxx
> Data: 9-mag-2012 12.29
> A: "User-friendly Desktop Internet GIS"<udig-devel@xxxxxxxxxxxxxxxxxxxxx>
> Ogg: Re: [udig-devel] Piece of code and classes of render
> 
> You did not told us what do you mean by 'table'
> It is not clear if you have to access a database or a file. Since I
> presume you are not connecting to database, the question is: what is
> the file format of your data?
> On this depends a lot of subsequent design of your code.
> 
> Marco
> 
> 2012/5/9  <alessandra.baccari@xxxxxxxxxxx>:
> >  Hi!
> > I must render on Udig the table of my tool as the table of mySql, but i
> > haven't need of connection!one of your co-worker told me that the class
> > MapView has a render manager, but I looked at the code and it is commented
> > in a tutorial plugin! So choosing one of the mysql tables as it does to
> > render on uDig? what is the piece of code that render the table of mySql?
> > and what classes I need?I did a catalog as of the catalog of mySql but i
> > want render on udig the table of my tool!
> > Thank you!
> >
> > _______________________________________________
> > User-friendly Desktop Internet GIS (uDig)
> > http://udig.refractions.net
> > http://lists.refractions.net/mailman/listinfo/udig-devel
> >
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
> 
> 
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top