[JPP-Devel] open file

2010-12-19 Thread Mohammed Rashad
How to use FileOpen in a custom plugin? -- Rashad -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social B

Re: [JPP-Devel] raster layer

2010-12-19 Thread Mohammed Rashad
sure 2010/12/19 Michaël Michaud > Hi Mohammed, > > Imagej has a tool like this >> > we can read cell values by code using this > > http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_load_a_Sextante_raster_layer_and_read_its_cell_values > > > I know you already wrote code

Re: [JPP-Devel] get a point feature

2010-12-19 Thread Benjamin Gudehus
Hi Michaël, I've uploaded and added the diagram into the wiki page. --Benjamin 2010/12/19 Michaël Michaud > Hi Benjamin, > > Nice diagram, > Can it be made accessible from > > http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Developer_Documentation_and_HowTo > It could be plac

Re: [JPP-Devel] get a point feature

2010-12-19 Thread Michaël Michaud
Hi Benjamin, Nice diagram, Can it be made accessible from http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Developer_Documentation_and_HowTo It could be placed near PlugInContextDiagram Michaël Le 19/12/2010 19:02, Benjamin Gudehus a écrit : Hi Mohammed, I've created an uml cl

Re: [JPP-Devel] raster layer

2010-12-19 Thread Michaël Michaud
Hi Mohammed, Imagej has a tool like this we can read cell values by code using this http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_load_a_Sextante_raster_layer_and_read_its_cell_values I know you already wrote code to read cell values. My idea is that from her

Re: [JPP-Devel] get a point feature

2010-12-19 Thread Benjamin Gudehus
Hi Mohammed, I've created an uml class diagram. http://www.abload.de/img/openjump-feature-modeltewe.png This should help to understand the relations between the classes Coordinate, Geometry, Feature, FeatureCollection, FeatureSchema, Layer and LayerManager. Related classes are grouped into pack

Re: [JPP-Devel] raster layer

2010-12-19 Thread Mohammed Rashad
On Sun, Dec 19, 2010 at 9:39 PM, Giuseppe Aruta wrote: > Hi Michael > > >>My opinion is that it would be better to have a common way to toggle >>visibility for all layers including Sextante Raster Layers. > > I agree > > >>About getting cell values, I think a useful plugin would be to

[JPP-Devel] points in lines

2010-12-19 Thread Mohammed Rashad
How to find that a given point is in the line or not? -- Rashad -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the

Re: [JPP-Devel] raster layer

2010-12-19 Thread Giuseppe Aruta
Hi Michael >My opinion is that it would be better to have a common way to toggle >visibility for all layers including Sextante Raster Layers. I agree >About getting cell values, I think a useful plugin would be to >display cell values of the topmost visible raster layer in

Re: [JPP-Devel] get a point feature

2010-12-19 Thread Mohammed Rashad
Hi agian, how to add the linestring as a layer? 2010/12/19 Michaël Michaud > Le 19/12/2010 11:44, Mohammed Rashad a écrit : > > thanks > One more thing > How to create a linestring by code knowing its two > LINESTRING (129 313, 188 266, 195 318, 190 317, 97 333) > > To create linestring from it

Re: [JPP-Devel] get a point feature

2010-12-19 Thread Michaël Michaud
Le 19/12/2010 11:44, Mohammed Rashad a écrit : thanks One more thing How to create a linestring by code knowing its two LINESTRING (129 313, 188 266, 195 318, 190 317, 97 333) To create linestring from its coordinates, use JTS's : *com.vividsolutions.jts.geom.GeometryFactory*.createLineString(.

Re: [JPP-Devel] get a point feature

2010-12-19 Thread Mohammed Rashad
also one more thing how read a line feature from a linestring like LINESTRING (129 313, 188 266, 195 318, 190 317, 97 333) Do I need to seperate it like 129,313 188,266 195,318 and map it . Is that the way or any other way is there? On Sun, Dec 19, 2010 at 4:14 PM, Mohammed Rashad wrote: > than

Re: [JPP-Devel] get a point feature

2010-12-19 Thread Mohammed Rashad
thanks One more thing How to create a linestring by code knowing its two LINESTRING (129 313, 188 266, 195 318, 190 317, 97 333) 2010/12/19 Michaël Michaud > Le 19/12/2010 08:55, Mohammed Rashad a écrit : > > How to get a point feature for the given attribute name? > What I mean is search for t

Re: [JPP-Devel] get a point feature

2010-12-19 Thread Michaël Michaud
Le 19/12/2010 08:55, Mohammed Rashad a écrit : How to get a point feature for the given attribute name? What I mean is search for the point feature which has attribute name = myattributename. If you want to find a feature with a given attribute value (name = 'myname') you have to loop through a