Hi
well.. if nothing was changed it is a bug - from my perspective.
I layer is still not marked as changed, but it is now marked as unsaved and without datasource. So, if it is changed (moved), it can be detected and be saved with SaveDatasets.

so, I don't know.
But what happens now if an image layer is added from sextante processing? ... because here the warning should pop up first.
Did not make any test with Sextante. Is it using the same loading classes ?

Michaël

stefan

On 03/11/2011 2:56 PM, Michaël Michaud wrote:
Le 03/11/2011 09:13, Rahkonen Jukka a écrit :
Hi,
Did you take into account that I later fiscovered that "Datasets have been modified" is not as odd a question as I thought at time? Image layer can be saved into a Jump GML format and that way it can be opened back into a project. And this virtual image layer can consist of several physical image files which are referenced in that Jump GML file.

Oh,
I should have missed a mail after I wrote the bug report,

You'are right. One can save the image bouding box in a jml file and the ImageRenderer information in the jmp file, so that the image can be read again from the project.
So I revert my changes and let it as it used to be, right ?

Michaël

-Jukka Rahkonen-

    ------------------------------------------------------------------------
    *Lähettäjä:* Michaël Michaud [mailto:michael.mich...@free.fr]
    *Lähetetty:* 3. marraskuuta 2011 10:06
    *Vastaanottaja:* jump-pilot-devel@lists.sourceforge.net
    *Aihe:* Re: [JPP-Devel] User interface issues

    Hi Jukka,.
    - When closing the project with image files a dialogue
    "Datasets have been modified" appears. This does not feel
    necessary with image layers. I can see that some image layers
    can be set to Editable and Selectable state but I do not know why.
    This bug should be fixed. It's only a workaround as Image
    framework does not work in a very standard way (Layer has no
    "DataSourceQuery").

    About your second question, I found that most imageFactory
    create uneditable layers, but graphic one (png, jpg) is
    editable. I let it as is because it actually is editable (you
    can move image by move the bounding box). Not sure if it is very
    usefyl, but I think you can save the new image coordinates as a
    world file.

    Michaël

    I had never noticed that there is also an attribute table
    connected to image layers. For example for JPEG2000 with
    attached world file I can see in the IMAGEERROR colums "Width
    (22) and height (-17) cannot be <= 0. For some tiff files I can
    see IMAGEERROR 8000 Does somebody know what it mean? On the
    other hand, OJ does not open geotiff images which are using
    internal JPEG compression but that opening error is not listed
    in the IMAGEERROR column.
    -Jukka Rahkonen-


    
------------------------------------------------------------------------------
    All the data continuously generated in your IT infrastructure contains a
    definitive record of customers, application performance, security
    threats, fraudulent activity and more. Splunk takes this data and makes
    sense of it. Business sense. IT sense. Common sense.
    http://p.sf.net/sfu/splunk-d2dcopy1


    _______________________________________________
    Jump-pilot-devel mailing list
    Jump-pilot-devel@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1


_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1


_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1


_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to