Hi,
OK, I commited the code.
Not sure how extent is computed for images with jgw file, but it does
not reflect actual extent of the raster.
Anyway, it would be nice to have the same properties info for sextante
raster.
Michaël
Le 14/02/2011 09:20, Mohammed Rashad a écrit :
Hi Michaël Michaud,
I tested only for shapefiles and it works fine. I will check for
raster images. raster images if no jgw is present it uses grid extent.
I think
problem will only with rasters where no jgw files are present and we
create one using the patch I given before. The code which creates the
jgw file based on grid extent. but vector files have a function to
retrieve the extent but I think it is missing in sextante raster.
Please commit it if it works for shape/gml
2011/2/14 Michaël Michaud <michael.mich...@free.fr
<mailto:michael.mich...@free.fr>>
Hi Mohammed, hi Matthias,
I've done some more work on Mohammed's code (attached), but have
still some questions before comitting
I18N : done for english and french and prepared for other languages
Display : I have reworked the layout a bit, and hopefully solved
the problem showed in Matthias's screenshot
Extent : I'm not sure why it should be aligned on top
Lines 197, 444, 457, 541 : I did not notice changes. Maybe
Mohammed already changed it
As matthias, I could not use Mohammed's patch (plain file is OK,
or maybe you have an option for more standard patch)
My main concern is that : xmin, ymin, xmax, ymax displayed in the
properties window are not the one I can get from layerViewPanel
(jpeg with jgw file) :
- displayed : 0.5, -0.5
- layerViewPanel : 0, 0
Michaël
Le 12/02/2011 18:34, Matthias Scholz a écrit :
Hi Rashad,
thanks for your work, but there are some things to do for you.
- I18N in LayerPropertiesPlugIn and the keys in the english
default lang files (Extent, xmin, xmax, ymin, ymax...)
- The display of the dialog is now a little bit wrong, because
not all informations are visible. Please see the attachment. I
know that this is not caused by you, because the problem is the
dialog itself. The content isn't scale with the window size. This
should be fixed generally.
- the word "Extend:" should be aligned on top
- can you please explain your changes in line 197, 444, 457, 541
(linenumbers of the original source). I do not really understand
why you have changed some conditions?
And finally it's ok if you mail the plain java source file. Your
diff seems to be wrong, because in the patch file are the whole
source included as a difference.
Regards
Matthias
please apply this patch for showing layer extent on
layerproperties contextmenu
--
Thanks && Regards
Rashad
------------------------------------------------------------------------
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel
Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development
cycle.
Locate bottlenecks in serial and parallel code that limit
performance.
http://p.sf.net/sfu/intel-dev2devfeb
------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel
Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
--
Thanks && Regards
Rashad
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel