Hi Mohammed,

Thanks for clarification.
My fault. I did not understand that the worldfile was created in case it is not found. That's why I was not asked for coordinates the second time I wanted to load the image.

Your code is committed.
It should be available in next nightly build.

Michaël

Le 09/02/2011 06:45, Mohammed Rashad a écrit :


2011/2/9 Michaël Michaud <[email protected] <mailto:[email protected]>>

    Hi Mohammed,

    I have tested your patch, but I have some concerns.

    From now on, when I try to load an image without tfw file, i'm no
    more asked for coordinates. Image is directly loaded with default
    coordinates (image coordinates ?).
    From time to time, I'm asked for coordinates, and if I push
    "Finish" without giving valid coordinate, the image is loaded
    (this behaviour is OK for me, but not repeatable).

    My concerns are :
    - Why the coordinates panel does not always appear if there is no
    tfw file (this question is probably not related to your code, it
    is probably related to how openwizard manage options and panels)
    - I agree that the user must be able to load image if he does not
    know coordinates, but he must also be able to enter world
    coordinates !
    If I apply your code, it is no more possible.

    I think one of these behaviours must be guaranted :
    - image without tfw file is ALWAYS loaded AFTER the user has been
    asked for coordinates (default coordinates are used if the user
    does not enter valid coordinates)
    - image without tfw file is loaded before or after being asked for
    coordinates (if we cannot find the reason why the second panel is
    not always shown), but he can input world coordinates for the
    image after the image has been loaded (georeferencing)

    What do you think about it ?


well I am not clear about your concerns.
Image without tfw will be asked for coordinates and if he doesnt enter the coordinates it will apply the default minx,miny,maxx,maxy and also creates a world file based on the extent. so when next time if it loads the image it will reads the tfw file created by the above procedure This is the expected behaviour. If you dont want to write to world file. that is also possible using a small change in code.

I think my code is working because once we do not enter the world coordinates it uses a default minx.... values and creates a world file the next time you load the image the world file is present and it reads the tfw file and opens the image.

Is that you need to know. if not i am ready to explain more :)



    Michaël


    Le 08/02/2011 06:28, Mohammed Rashad a écrit :
    Currently when loading raster it checks for world file and if
    world file is not found it shows a dialog asking for
    minx,miny,maxx,maxy.
    I am trying to do that if no worldfile is not found the above
    code should be applied and remove asking for extent
    because when loading a georeferenced raster image with no world
    file the user who loads the image may not be aware of its extent.

    so for loading rasters without knowing extent he needs to use
    gdal or other kind of library or may be another gis software to
    know the extent.

    this problem should be removed with my patch. please verify the
    patch and add it to svn

-- 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
    [email protected]  
<mailto:[email protected]>
    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
    [email protected]
    <mailto:[email protected]>
    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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to