From john.cannon at sydney.edu.au Wed Sep 6 14:29:11 2017 From: john.cannon at sydney.edu.au (John Cannon) Date: Wed, 6 Sep 2017 04:29:11 +0000 Subject: [GPlates-discuss] Colour by appearance time... Message-ID: <1E57973145EDFC41B1D69DE11923922801B86FD0F1@ex-mbx-pro-05> > I have a shape file containing point data with PlateID and the age each point should appear. I however want to change the appearance of the points. Principally I want to make them much larger and make them retain a colour representative of their time of appearance, rather than the colour-age feature where the older a given feature gets the cooler the colour. To colour by feature appearance times you can set up a colour style (in Manage Colouring dialog) by going to 'ColorByProperty' then selecting 'Add' and then specifying a palette file and a shapefile attribute to colour with. The attached screenshot shows a colour style called AbsAge using the shapefile attribute FROMAGE (entered as "gpml:shapefileAttributes:FROMAGE") and a colour palette (CPT) file. This assumes your shapefile has a FROMAGE attribute (this is what GPlates uses by default to map to the appearance time of a feature). Some example CPTs files are here... https://protect-au.mimecast.com/s/W91ABZie6RmlhX?domain=tectonicwaters.wordpress.com To change the point sizes you can do that in the menu Tools > Configure Geometry Rendering, but it applies to all layers and is constant (ie, cannot change with appearance time). -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture.PNG Type: image/png Size: 262396 bytes Desc: Capture.PNG URL: From bruce.eglington at usask.ca Wed Sep 20 14:17:19 2017 From: bruce.eglington at usask.ca (Eglington, Bruce) Date: Wed, 20 Sep 2017 04:17:19 +0000 Subject: [GPlates-discuss] Time dependent rasters Message-ID: <95f41074d1a140b39466788323d36825@Mail02.usask.ca> Good day Where are the settings for ages for time dependent rasters stored? I would like to change some age values and manually add another blanks raster to as to cancel the oldest raster I have in a sequence. I can see where to put the raster itself in the gpml file but can't find where to specify the age at which it is supposed to be visible. Thanks Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sabin.zahirovic at sydney.edu.au Wed Sep 20 16:11:51 2017 From: sabin.zahirovic at sydney.edu.au (Sabin Zahirovic) Date: Wed, 20 Sep 2017 06:11:51 +0000 Subject: [GPlates-discuss] Time dependent rasters Message-ID: Hi Bruce, The age information for a time dependent raster is stored in the filename ? essentially the last integer in the name. For example: MIT-P08_Asia_UM30_LM12-0.jpg MIT-P08_Asia_UM30_LM12-2.jpg MIT-P08_Asia_UM30_LM12-3.jpg MIT-P08_Asia_UM30_LM12-5.jpg MIT-P08_Asia_UM30_LM12-6.jpg MIT-P08_Asia_UM30_LM12-9.jpg The age needs to be prefixed with a dash or an underscore, from memory. Alternatively, if your rasters don?t have ages in the filename, you can load them up anyway as time-dependent rasters, and you will be greeted with a screen to enter the corresponding age values. Let me know if you get stuck? Cheers, Sabin -- DR SABIN ZAHIROVIC | Postdoctoral Research Associate School of Geosciences | Faculty of Science THE UNIVERSITY OF SYDNEY Rm 403, Madsen Building F09 | The University of Sydney | NSW | 2006 M +61 416 775 589 P +61 2 9351 3625 E sabin.zahirovic at sydney.edu.au | W https://protect-au.mimecast.com/s/q0YwBQfMJWLnt9?domain=earthbyte.org | R http://www.researchgate.net/profile/Sabin_Zahirovic F https://protect-au.mimecast.com/s/drxzBeuxl7pgUm?domain=facebook.com | T https://protect-au.mimecast.com/s/Db1pBJUZa4OYSE?domain=twitter.com CRICOS 00026A This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments. From: GPlates-discuss on behalf of "Eglington, Bruce" Reply-To: GPlates general discussion mailing list Date: Wednesday, 20 September 2017 at 2:17 pm To: "GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au)" Subject: [GPlates-discuss] Time dependent rasters Good day Where are the settings for ages for time dependent rasters stored? I would like to change some age values and manually add another blanks raster to as to cancel the oldest raster I have in a sequence. I can see where to put the raster itself in the gpml file but can?t find where to specify the age at which it is supposed to be visible. Thanks Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sabin.zahirovic at sydney.edu.au Wed Sep 20 16:11:51 2017 From: sabin.zahirovic at sydney.edu.au (Sabin Zahirovic) Date: Wed, 20 Sep 2017 06:11:51 +0000 Subject: [GPlates-discuss] Time dependent rasters Message-ID: Hi Bruce, The age information for a time dependent raster is stored in the filename ? essentially the last integer in the name. For example: MIT-P08_Asia_UM30_LM12-0.jpg MIT-P08_Asia_UM30_LM12-2.jpg MIT-P08_Asia_UM30_LM12-3.jpg MIT-P08_Asia_UM30_LM12-5.jpg MIT-P08_Asia_UM30_LM12-6.jpg MIT-P08_Asia_UM30_LM12-9.jpg The age needs to be prefixed with a dash or an underscore, from memory. Alternatively, if your rasters don?t have ages in the filename, you can load them up anyway as time-dependent rasters, and you will be greeted with a screen to enter the corresponding age values. Let me know if you get stuck? Cheers, Sabin -- DR SABIN ZAHIROVIC | Postdoctoral Research Associate School of Geosciences | Faculty of Science THE UNIVERSITY OF SYDNEY Rm 403, Madsen Building F09 | The University of Sydney | NSW | 2006 M +61 416 775 589 P +61 2 9351 3625 E sabin.zahirovic at sydney.edu.au | W https://protect-au.mimecast.com/s/rNKaBYfD0mKNfW?domain=earthbyte.org | R http://www.researchgate.net/profile/Sabin_Zahirovic F https://protect-au.mimecast.com/s/m4kKB9U1NAGdS6?domain=facebook.com | T https://protect-au.mimecast.com/s/krZGBXur1Jobin?domain=twitter.com CRICOS 00026A This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments. From: GPlates-discuss on behalf of "Eglington, Bruce" Reply-To: GPlates general discussion mailing list Date: Wednesday, 20 September 2017 at 2:17 pm To: "GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au)" Subject: [GPlates-discuss] Time dependent rasters Good day Where are the settings for ages for time dependent rasters stored? I would like to change some age values and manually add another blanks raster to as to cancel the oldest raster I have in a sequence. I can see where to put the raster itself in the gpml file but can?t find where to specify the age at which it is supposed to be visible. Thanks Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christian.Heine at shell.com Wed Sep 20 18:41:14 2017 From: Christian.Heine at shell.com (Christian.Heine at shell.com) Date: Wed, 20 Sep 2017 08:41:14 +0000 Subject: [GPlates-discuss] Time dependent rasters In-Reply-To: References: Message-ID: <79A2F7156CC1D441B593C58CF6BECAD9AF957A79@SEACMW-S-53401.europe.shell.com> Bruce ? to add to Sabin?s reply: the settings are saved in a GPML file which is stored in the directory where your time-dependent rasters are located. There, the file mapping and raster registration is saved. Usually it simply takes the basename of the first raster file encountered and adds a *.gpml suffix. The GML:featureMember element stores the setttings ? in there, the subelement stores the raster translation (mapping coordinates from raster pixels to lon-lat) and the keeps track of assinging the files to ages using elements. So I guess you could just alter the file, but then it might be the case that GPlates doesn?t create a corresponding cache file (albeit a ?reload? of the layer might fix that) ? haven?t tested this. Cheers, Christian -- Christian Heine, Ph.D. Senior Geodynamicist Specialist Geosciences PTU/E/F Shell Global Solutions International B.V. Kessler Park 1, 2288 GS Rijswijk SIP: +31 70 447 5541 W: https://protect-au.mimecast.com/s/pLG0B1fb4XnvFE?domain=shell.com G: https://protect-au.mimecast.com/s/Ld1wBKU73bo9UY?domain=goo.gl From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Sabin Zahirovic Sent: Wednesday, 20 September 2017 8:12 AM To: GPlates general discussion mailing list ; GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au) Subject: Re: [GPlates-discuss] Time dependent rasters Hi Bruce, The age information for a time dependent raster is stored in the filename ? essentially the last integer in the name. For example: MIT-P08_Asia_UM30_LM12-0.jpg MIT-P08_Asia_UM30_LM12-2.jpg MIT-P08_Asia_UM30_LM12-3.jpg MIT-P08_Asia_UM30_LM12-5.jpg MIT-P08_Asia_UM30_LM12-6.jpg MIT-P08_Asia_UM30_LM12-9.jpg The age needs to be prefixed with a dash or an underscore, from memory. Alternatively, if your rasters don?t have ages in the filename, you can load them up anyway as time-dependent rasters, and you will be greeted with a screen to enter the corresponding age values. Let me know if you get stuck? Cheers, Sabin -- DR SABIN ZAHIROVIC | Postdoctoral Research Associate School of Geosciences | Faculty of Science THE UNIVERSITY OF SYDNEY Rm 403, Madsen Building F09 | The University of Sydney | NSW | 2006 M +61 416 775 589 P +61 2 9351 3625 E sabin.zahirovic at sydney.edu.au | W https://protect-au.mimecast.com/s/GN1YBofZnDlkHg?domain=earthbyte.org | R http://www.researchgate.net/profile/Sabin_Zahirovic F https://protect-au.mimecast.com/s/e4MrBZUe5ZYzhV?domain=facebook.com | T https://protect-au.mimecast.com/s/0RmgBrsZqWVJHJ?domain=twitter.com CRICOS 00026A This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments. From: GPlates-discuss > on behalf of "Eglington, Bruce" > Reply-To: GPlates general discussion mailing list > Date: Wednesday, 20 September 2017 at 2:17 pm To: "GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au)" > Subject: [GPlates-discuss] Time dependent rasters Good day Where are the settings for ages for time dependent rasters stored? I would like to change some age values and manually add another blanks raster to as to cancel the oldest raster I have in a sequence. I can see where to put the raster itself in the gpml file but can?t find where to specify the age at which it is supposed to be visible. Thanks Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.cannon at sydney.edu.au Wed Sep 20 19:46:36 2017 From: john.cannon at sydney.edu.au (John Cannon) Date: Wed, 20 Sep 2017 09:46:36 +0000 Subject: [GPlates-discuss] Time dependent rasters In-Reply-To: <79A2F7156CC1D441B593C58CF6BECAD9AF957A79@SEACMW-S-53401.europe.shell.com> References: <79A2F7156CC1D441B593C58CF6BECAD9AF957A79@SEACMW-S-53401.europe.shell.com> Message-ID: <1E57973145EDFC41B1D69DE11923922801B871DC1B@ex-mbx-pro-05> Hi Bruce, Doing an import (re Sabin?s suggestion) is best and doesn?t void your GPlates warranty :-) Also note that, in the next GPlates release (soon), time can be anywhere in the filename (not just at the end). Otherwise, if you have to manually edit the GPML file, then Christian?s advice should work. Note that the time ?instants? in the import dialog are converted to time ?periods? in the GPML file (using mid-points between instants). For example, time instants 0, 2, 3, 5, 6, 9 are converted to time periods (-inf, 1), (1, 2.5), (2.5, 4), (4, 5.5), (5.5, 7.5), (7.5, inf) which are the time intervals each individual raster is visible. Regards, John From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Christian.Heine at shell.com Sent: Wednesday, 20 September 2017 6:41 PM To: gplates-discuss at mailman.sydney.edu.au Subject: Re: [GPlates-discuss] Time dependent rasters Bruce ? to add to Sabin?s reply: the settings are saved in a GPML file which is stored in the directory where your time-dependent rasters are located. There, the file mapping and raster registration is saved. Usually it simply takes the basename of the first raster file encountered and adds a *.gpml suffix. The GML:featureMember element stores the setttings ? in there, the subelement stores the raster translation (mapping coordinates from raster pixels to lon-lat) and the keeps track of assinging the files to ages using elements. So I guess you could just alter the file, but then it might be the case that GPlates doesn?t create a corresponding cache file (albeit a ?reload? of the layer might fix that) ? haven?t tested this. Cheers, Christian -- Christian Heine, Ph.D. Senior Geodynamicist Specialist Geosciences PTU/E/F Shell Global Solutions International B.V. Kessler Park 1, 2288 GS Rijswijk SIP: +31 70 447 5541 W: https://protect-au.mimecast.com/s/e4MrBZUe5VQ6CJ?domain=shell.com G: https://protect-au.mimecast.com/s/W91ABZi2WmY9Ck?domain=goo.gl From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Sabin Zahirovic Sent: Wednesday, 20 September 2017 8:12 AM To: GPlates general discussion mailing list >; GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au) > Subject: Re: [GPlates-discuss] Time dependent rasters Hi Bruce, The age information for a time dependent raster is stored in the filename ? essentially the last integer in the name. For example: MIT-P08_Asia_UM30_LM12-0.jpg MIT-P08_Asia_UM30_LM12-2.jpg MIT-P08_Asia_UM30_LM12-3.jpg MIT-P08_Asia_UM30_LM12-5.jpg MIT-P08_Asia_UM30_LM12-6.jpg MIT-P08_Asia_UM30_LM12-9.jpg The age needs to be prefixed with a dash or an underscore, from memory. Alternatively, if your rasters don?t have ages in the filename, you can load them up anyway as time-dependent rasters, and you will be greeted with a screen to enter the corresponding age values. Let me know if you get stuck? Cheers, Sabin -- DR SABIN ZAHIROVIC | Postdoctoral Research Associate School of Geosciences | Faculty of Science THE UNIVERSITY OF SYDNEY Rm 403, Madsen Building F09 | The University of Sydney | NSW | 2006 M +61 416 775 589 P +61 2 9351 3625 E sabin.zahirovic at sydney.edu.au | W https://protect-au.mimecast.com/s/0RmgBrsZqMOasZ?domain=earthbyte.org | R http://www.researchgate.net/profile/Sabin_Zahirovic F https://protect-au.mimecast.com/s/2mpABDcnvg4AtA?domain=facebook.com | T https://protect-au.mimecast.com/s/NX12BDU2R394CR?domain=twitter.com CRICOS 00026A This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments. From: GPlates-discuss > on behalf of "Eglington, Bruce" > Reply-To: GPlates general discussion mailing list > Date: Wednesday, 20 September 2017 at 2:17 pm To: "GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au)" > Subject: [GPlates-discuss] Time dependent rasters Good day Where are the settings for ages for time dependent rasters stored? I would like to change some age values and manually add another blanks raster to as to cancel the oldest raster I have in a sequence. I can see where to put the raster itself in the gpml file but can?t find where to specify the age at which it is supposed to be visible. Thanks Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christian.Heine at shell.com Wed Sep 20 21:18:00 2017 From: Christian.Heine at shell.com (Christian.Heine at shell.com) Date: Wed, 20 Sep 2017 11:18:00 +0000 Subject: [GPlates-discuss] Time dependent rasters In-Reply-To: <1E57973145EDFC41B1D69DE11923922801B871DC1B@ex-mbx-pro-05> References: <79A2F7156CC1D441B593C58CF6BECAD9AF957A79@SEACMW-S-53401.europe.shell.com> <1E57973145EDFC41B1D69DE11923922801B871DC1B@ex-mbx-pro-05> Message-ID: <79A2F7156CC1D441B593C58CF6BECAD9AF957AC9@SEACMW-S-53401.europe.shell.com> Uh, the last thing one would want to do is to void the GPlates warranty! Christian From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of John Cannon Sent: Wednesday, 20 September 2017 11:47 AM To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] Time dependent rasters Hi Bruce, Doing an import (re Sabin?s suggestion) is best and doesn?t void your GPlates warranty :-) Also note that, in the next GPlates release (soon), time can be anywhere in the filename (not just at the end). Otherwise, if you have to manually edit the GPML file, then Christian?s advice should work. Note that the time ?instants? in the import dialog are converted to time ?periods? in the GPML file (using mid-points between instants). For example, time instants 0, 2, 3, 5, 6, 9 are converted to time periods (-inf, 1), (1, 2.5), (2.5, 4), (4, 5.5), (5.5, 7.5), (7.5, inf) which are the time intervals each individual raster is visible. Regards, John From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Christian.Heine at shell.com Sent: Wednesday, 20 September 2017 6:41 PM To: gplates-discuss at mailman.sydney.edu.au Subject: Re: [GPlates-discuss] Time dependent rasters Bruce ? to add to Sabin?s reply: the settings are saved in a GPML file which is stored in the directory where your time-dependent rasters are located. There, the file mapping and raster registration is saved. Usually it simply takes the basename of the first raster file encountered and adds a *.gpml suffix. The GML:featureMember element stores the setttings ? in there, the subelement stores the raster translation (mapping coordinates from raster pixels to lon-lat) and the keeps track of assinging the files to ages using elements. So I guess you could just alter the file, but then it might be the case that GPlates doesn?t create a corresponding cache file (albeit a ?reload? of the layer might fix that) ? haven?t tested this. Cheers, Christian -- Christian Heine, Ph.D. Senior Geodynamicist Specialist Geosciences PTU/E/F Shell Global Solutions International B.V. Kessler Park 1, 2288 GS Rijswijk SIP: +31 70 447 5541 W: https://protect-au.mimecast.com/s/Rv1VB2fMplqNt4?domain=shell.com G: https://protect-au.mimecast.com/s/nbpeB1U2d8AoIe?domain=goo.gl From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Sabin Zahirovic Sent: Wednesday, 20 September 2017 8:12 AM To: GPlates general discussion mailing list >; GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au) > Subject: Re: [GPlates-discuss] Time dependent rasters Hi Bruce, The age information for a time dependent raster is stored in the filename ? essentially the last integer in the name. For example: MIT-P08_Asia_UM30_LM12-0.jpg MIT-P08_Asia_UM30_LM12-2.jpg MIT-P08_Asia_UM30_LM12-3.jpg MIT-P08_Asia_UM30_LM12-5.jpg MIT-P08_Asia_UM30_LM12-6.jpg MIT-P08_Asia_UM30_LM12-9.jpg The age needs to be prefixed with a dash or an underscore, from memory. Alternatively, if your rasters don?t have ages in the filename, you can load them up anyway as time-dependent rasters, and you will be greeted with a screen to enter the corresponding age values. Let me know if you get stuck? Cheers, Sabin -- DR SABIN ZAHIROVIC | Postdoctoral Research Associate School of Geosciences | Faculty of Science THE UNIVERSITY OF SYDNEY Rm 403, Madsen Building F09 | The University of Sydney | NSW | 2006 M +61 416 775 589 P +61 2 9351 3625 E sabin.zahirovic at sydney.edu.au | W https://protect-au.mimecast.com/s/V81oBdUEqwOkt1?domain=earthbyte.org | R http://www.researchgate.net/profile/Sabin_Zahirovic F https://protect-au.mimecast.com/s/oDLWBaTpQvo6ul?domain=facebook.com | T https://protect-au.mimecast.com/s/38L3BqU3epngtD?domain=twitter.com CRICOS 00026A This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments. From: GPlates-discuss > on behalf of "Eglington, Bruce" > Reply-To: GPlates general discussion mailing list > Date: Wednesday, 20 September 2017 at 2:17 pm To: "GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au)" > Subject: [GPlates-discuss] Time dependent rasters Good day Where are the settings for ages for time dependent rasters stored? I would like to change some age values and manually add another blanks raster to as to cancel the oldest raster I have in a sequence. I can see where to put the raster itself in the gpml file but can?t find where to specify the age at which it is supposed to be visible. Thanks Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruce.eglington at usask.ca Wed Sep 20 23:12:32 2017 From: bruce.eglington at usask.ca (Eglington, Bruce) Date: Wed, 20 Sep 2017 13:12:32 +0000 Subject: [GPlates-discuss] Time dependent rasters In-Reply-To: <1E57973145EDFC41B1D69DE11923922801B871DC1B@ex-mbx-pro-05> References: <79A2F7156CC1D441B593C58CF6BECAD9AF957A79@SEACMW-S-53401.europe.shell.com> <1E57973145EDFC41B1D69DE11923922801B871DC1B@ex-mbx-pro-05> Message-ID: <6daffa4b36f141dcb71ed9d150cffd5f@Mail01.usask.ca> Hi Thanks to Sabin, Christian and John. I had actually generated the raster sequence via the import menu which provided the option to specify ages appropriate to each raster (since number in the my file titles don?t correspond to age) but I was left with the oldest raster extending back into the distant past. John?s comments have helped me locate the appearance/disappearance ages for each raster under the TimePosition gpml entry. I was looking for the exact numbers I had entered, not the mid-points. My sequence of time dependent raster works just as I would like. Cheers Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of John Cannon Sent: Wednesday, September 20, 2017 03:47 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] Time dependent rasters Hi Bruce, Doing an import (re Sabin?s suggestion) is best and doesn?t void your GPlates warranty :-) Also note that, in the next GPlates release (soon), time can be anywhere in the filename (not just at the end). Otherwise, if you have to manually edit the GPML file, then Christian?s advice should work. Note that the time ?instants? in the import dialog are converted to time ?periods? in the GPML file (using mid-points between instants). For example, time instants 0, 2, 3, 5, 6, 9 are converted to time periods (-inf, 1), (1, 2.5), (2.5, 4), (4, 5.5), (5.5, 7.5), (7.5, inf) which are the time intervals each individual raster is visible. Regards, John From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Christian.Heine at shell.com Sent: Wednesday, 20 September 2017 6:41 PM To: gplates-discuss at mailman.sydney.edu.au Subject: Re: [GPlates-discuss] Time dependent rasters Bruce ? to add to Sabin?s reply: the settings are saved in a GPML file which is stored in the directory where your time-dependent rasters are located. There, the file mapping and raster registration is saved. Usually it simply takes the basename of the first raster file encountered and adds a *.gpml suffix. The GML:featureMember element stores the setttings ? in there, the subelement stores the raster translation (mapping coordinates from raster pixels to lon-lat) and the keeps track of assinging the files to ages using elements. So I guess you could just alter the file, but then it might be the case that GPlates doesn?t create a corresponding cache file (albeit a ?reload? of the layer might fix that) ? haven?t tested this. Cheers, Christian -- Christian Heine, Ph.D. Senior Geodynamicist Specialist Geosciences PTU/E/F Shell Global Solutions International B.V. Kessler Park 1, 2288 GS Rijswijk SIP: +31 70 447 5541 W: https://protect-au.mimecast.com/s/44GqB7U8qYl1s1?domain=shell.com G: https://protect-au.mimecast.com/s/drxzBeuxM42NTd?domain=goo.gl From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Sabin Zahirovic Sent: Wednesday, 20 September 2017 8:12 AM To: GPlates general discussion mailing list >; GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au) > Subject: Re: [GPlates-discuss] Time dependent rasters Hi Bruce, The age information for a time dependent raster is stored in the filename ? essentially the last integer in the name. For example: MIT-P08_Asia_UM30_LM12-0.jpg MIT-P08_Asia_UM30_LM12-2.jpg MIT-P08_Asia_UM30_LM12-3.jpg MIT-P08_Asia_UM30_LM12-5.jpg MIT-P08_Asia_UM30_LM12-6.jpg MIT-P08_Asia_UM30_LM12-9.jpg The age needs to be prefixed with a dash or an underscore, from memory. Alternatively, if your rasters don?t have ages in the filename, you can load them up anyway as time-dependent rasters, and you will be greeted with a screen to enter the corresponding age values. Let me know if you get stuck? Cheers, Sabin -- DR SABIN ZAHIROVIC | Postdoctoral Research Associate School of Geosciences | Faculty of Science THE UNIVERSITY OF SYDNEY Rm 403, Madsen Building F09 | The University of Sydney | NSW | 2006 M +61 416 775 589 P +61 2 9351 3625 E sabin.zahirovic at sydney.edu.au | W https://protect-au.mimecast.com/s/Db1pBJUZo2qlh4?domain=earthbyte.org | R http://www.researchgate.net/profile/Sabin_Zahirovic F https://protect-au.mimecast.com/s/xMnXB1UlJ3Rmun?domain=facebook.com | T https://protect-au.mimecast.com/s/Ov16Blfz2XYJId?domain=twitter.com CRICOS 00026A This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments. From: GPlates-discuss > on behalf of "Eglington, Bruce" > Reply-To: GPlates general discussion mailing list > Date: Wednesday, 20 September 2017 at 2:17 pm To: "GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au)" > Subject: [GPlates-discuss] Time dependent rasters Good day Where are the settings for ages for time dependent rasters stored? I would like to change some age values and manually add another blanks raster to as to cancel the oldest raster I have in a sequence. I can see where to put the raster itself in the gpml file but can?t find where to specify the age at which it is supposed to be visible. Thanks Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruce.eglington at usask.ca Thu Sep 21 09:13:51 2017 From: bruce.eglington at usask.ca (Eglington, Bruce) Date: Wed, 20 Sep 2017 23:13:51 +0000 Subject: [GPlates-discuss] Minimum bounding areas for polygons Message-ID: <78d1da17574e468cb147d815ad6bc514@Mail01.usask.ca> Hi folks A separate and very different topic from my previous postings. Is there something already built in to GPlates codes to be able to calculate the minimum bounding surface area for a polygon situated on top of a specific plate polygon? The reason I am asking is that, when reconstructing geological maps on top of moving and fragmenting polygon blocks, one often has a younger basin cover on top of older stratigraphic units. At the time when an older unit is visible and before deposition of the younger unit, it would be useful to fill in the area of the younger sedimentary cover with the attributes of the older unit as a first approximation for the spatial extent of those sediments. I have been trying to think of a methodology one might follow and the simplest seems to be to calculate minimum bounding area for each adjacent stratigraphic unit. If the younger sediment unit has a smaller area than the older one and is situated within the extent of the older one, then it is approximately enclosed by the older units polygon so one could colour it. If not, then don't colour. BUT, this all depends on having the ability to compute minimum bound areas for unit polygons at different ages within code such as GPlates.. Maybe someone is already doing something similar for other purposes or has alternative suggestions. Cheers Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sabin.zahirovic at sydney.edu.au Thu Sep 21 11:48:53 2017 From: sabin.zahirovic at sydney.edu.au (Sabin Zahirovic) Date: Thu, 21 Sep 2017 01:48:53 +0000 Subject: [GPlates-discuss] Minimum bounding areas for polygons Message-ID: <3F62B08E-406A-4EEB-AD99-690B37FF4D6D@sydney.edu.au> Hi Bruce, What you are describing sounds like a job for pyGPlates workflows, rather than GPlates GUI itself. You can download pyGPlates from here: https://protect-au.mimecast.com/s/Jb1WBnU2N93Gun?domain=sourceforge.net There?s a lot of documentation and examples here: https://protect-au.mimecast.com/s/Xq1VBlSY6OMVF6?domain=gplates.org Cheers, Sabin From: GPlates-discuss on behalf of "Eglington, Bruce" Reply-To: GPlates general discussion mailing list Date: Thursday, 21 September 2017 at 9:13 am To: "GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au)" Subject: [GPlates-discuss] Minimum bounding areas for polygons Hi folks A separate and very different topic from my previous postings. Is there something already built in to GPlates codes to be able to calculate the minimum bounding surface area for a polygon situated on top of a specific plate polygon? The reason I am asking is that, when reconstructing geological maps on top of moving and fragmenting polygon blocks, one often has a younger basin cover on top of older stratigraphic units. At the time when an older unit is visible and before deposition of the younger unit, it would be useful to fill in the area of the younger sedimentary cover with the attributes of the older unit as a first approximation for the spatial extent of those sediments. I have been trying to think of a methodology one might follow and the simplest seems to be to calculate minimum bounding area for each adjacent stratigraphic unit. If the younger sediment unit has a smaller area than the older one and is situated within the extent of the older one, then it is approximately enclosed by the older units polygon so one could colour it. If not, then don?t colour. BUT, this all depends on having the ability to compute minimum bound areas for unit polygons at different ages within code such as GPlates.. Maybe someone is already doing something similar for other purposes or has alternative suggestions. Cheers Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sabin.zahirovic at sydney.edu.au Thu Sep 21 11:48:53 2017 From: sabin.zahirovic at sydney.edu.au (Sabin Zahirovic) Date: Thu, 21 Sep 2017 01:48:53 +0000 Subject: [GPlates-discuss] Minimum bounding areas for polygons Message-ID: <3F62B08E-406A-4EEB-AD99-690B37FF4D6D@sydney.edu.au> Hi Bruce, What you are describing sounds like a job for pyGPlates workflows, rather than GPlates GUI itself. You can download pyGPlates from here: https://protect-au.mimecast.com/s/vxwbB0Ta2OkYsZ?domain=sourceforge.net There?s a lot of documentation and examples here: https://protect-au.mimecast.com/s/nbpeB1U2RVMvF7?domain=gplates.org Cheers, Sabin From: GPlates-discuss on behalf of "Eglington, Bruce" Reply-To: GPlates general discussion mailing list Date: Thursday, 21 September 2017 at 9:13 am To: "GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au)" Subject: [GPlates-discuss] Minimum bounding areas for polygons Hi folks A separate and very different topic from my previous postings. Is there something already built in to GPlates codes to be able to calculate the minimum bounding surface area for a polygon situated on top of a specific plate polygon? The reason I am asking is that, when reconstructing geological maps on top of moving and fragmenting polygon blocks, one often has a younger basin cover on top of older stratigraphic units. At the time when an older unit is visible and before deposition of the younger unit, it would be useful to fill in the area of the younger sedimentary cover with the attributes of the older unit as a first approximation for the spatial extent of those sediments. I have been trying to think of a methodology one might follow and the simplest seems to be to calculate minimum bounding area for each adjacent stratigraphic unit. If the younger sediment unit has a smaller area than the older one and is situated within the extent of the older one, then it is approximately enclosed by the older units polygon so one could colour it. If not, then don?t colour. BUT, this all depends on having the ability to compute minimum bound areas for unit polygons at different ages within code such as GPlates.. Maybe someone is already doing something similar for other purposes or has alternative suggestions. Cheers Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christian.Heine at shell.com Fri Sep 22 02:09:09 2017 From: Christian.Heine at shell.com (Christian.Heine at shell.com) Date: Thu, 21 Sep 2017 16:09:09 +0000 Subject: [GPlates-discuss] Minimum bounding areas for polygons In-Reply-To: <78d1da17574e468cb147d815ad6bc514@Mail01.usask.ca> References: <78d1da17574e468cb147d815ad6bc514@Mail01.usask.ca> Message-ID: <79A2F7156CC1D441B593C58CF6BECAD9AF95808C@SEACMW-S-53401.europe.shell.com> Bruce, sounds to me like a job for a Python-glued workflow that uses pyGPlates as Sabin remarked but then utilise any GIS module (GDAL/OGR)/shapely/QGIS python to compute a convexhull to test geometrical relationships (e.g. "within"). I am not aware that GPlates can do convexhull or the like operations but there are other GIS modules in Python that can do this. Either pre-process the data or do it all in one run. Cheers, Christian From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of Eglington, Bruce Sent: Thursday, 21 September 2017 1:14 AM To: GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au) Subject: [GPlates-discuss] Minimum bounding areas for polygons Hi folks A separate and very different topic from my previous postings. Is there something already built in to GPlates codes to be able to calculate the minimum bounding surface area for a polygon situated on top of a specific plate polygon? The reason I am asking is that, when reconstructing geological maps on top of moving and fragmenting polygon blocks, one often has a younger basin cover on top of older stratigraphic units. At the time when an older unit is visible and before deposition of the younger unit, it would be useful to fill in the area of the younger sedimentary cover with the attributes of the older unit as a first approximation for the spatial extent of those sediments. I have been trying to think of a methodology one might follow and the simplest seems to be to calculate minimum bounding area for each adjacent stratigraphic unit. If the younger sediment unit has a smaller area than the older one and is situated within the extent of the older one, then it is approximately enclosed by the older units polygon so one could colour it. If not, then don't colour. BUT, this all depends on having the ability to compute minimum bound areas for unit polygons at different ages within code such as GPlates.. Maybe someone is already doing something similar for other purposes or has alternative suggestions. Cheers Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.cannon at sydney.edu.au Sat Sep 23 02:57:20 2017 From: john.cannon at sydney.edu.au (John Cannon) Date: Fri, 22 Sep 2017 16:57:20 +0000 Subject: [GPlates-discuss] Minimum bounding areas for polygons In-Reply-To: <78d1da17574e468cb147d815ad6bc514@Mail01.usask.ca> References: <78d1da17574e468cb147d815ad6bc514@Mail01.usask.ca> Message-ID: <1E57973145EDFC41B1D69DE11923922801B871E547@ex-mbx-pro-05> Hi Bruce, If you use pyGPlates for the proximity tests there are three proximity examples at: https://protect-au.mimecast.com/s/lqmYBbSXJEMncm?domain=gplates.org https://protect-au.mimecast.com/s/z4nRBmULzpeJcZ?domain=gplates.org https://protect-au.mimecast.com/s/rNKaBYfDXEZOfJ?domain=gplates.org ...the second example finds reconstructed features overlapping a polygon. It will find any reconstructed geometry that either intersects the polygon outline or is completely inside the polygon. There's also an 'area()' function for polygons - https://protect-au.mimecast.com/s/ZXg4BxU0xMvGsL?domain=gplates.org Also it may be better to treat both polygons as solid... # See if minimum distance between solid/filled polygons is zero (means filled parts overlap). # We treat both polygons as solid so if one is inside the other then we get a distance of zero. if pygplates.GeometryOnSphere.distance( polygon1, polygon2, 1e-4, # Arbitrarily small threshold for efficiency since only interested in zero distance (intersection of solids). geometry1_is_solid = True, geometry2_is_solid = True) == 0: ...in case 'either' polygon is completely 'inside' the other. Note that the '1e-4' is just an optimisation - it's not needed for correct functioning. Also note that either/both geometries can be any geometry type (eg, point, multipoint, polyline or polygon) and they don?t have to be the same type as each other. Also if you want to avoid all the Shapefile/GPML file loading, etc, and go straight to creating polygons (eg, if you just have the latitude/longitude point data for a polygon)... https://protect-au.mimecast.com/s/m4kKB9U1g2OYFq?domain=gplates.org And then reconstruct the polygons using RotationModel and FiniteRotation... https://protect-au.mimecast.com/s/krZGBXuraExkTl?domain=gplates.org https://protect-au.mimecast.com/s/pLG0B1fbAEzqt6?domain=gplates.org Regards, John ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of Eglington, Bruce [bruce.eglington at usask.ca] Sent: Thursday, 21 September 2017 9:13 AM To: GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au) Subject: [GPlates-discuss] Minimum bounding areas for polygons Hi folks A separate and very different topic from my previous postings. Is there something already built in to GPlates codes to be able to calculate the minimum bounding surface area for a polygon situated on top of a specific plate polygon? The reason I am asking is that, when reconstructing geological maps on top of moving and fragmenting polygon blocks, one often has a younger basin cover on top of older stratigraphic units. At the time when an older unit is visible and before deposition of the younger unit, it would be useful to fill in the area of the younger sedimentary cover with the attributes of the older unit as a first approximation for the spatial extent of those sediments. I have been trying to think of a methodology one might follow and the simplest seems to be to calculate minimum bounding area for each adjacent stratigraphic unit. If the younger sediment unit has a smaller area than the older one and is situated within the extent of the older one, then it is approximately enclosed by the older units polygon so one could colour it. If not, then don?t colour. BUT, this all depends on having the ability to compute minimum bound areas for unit polygons at different ages within code such as GPlates.. Maybe someone is already doing something similar for other purposes or has alternative suggestions. Cheers Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruce.eglington at usask.ca Sun Sep 24 07:44:36 2017 From: bruce.eglington at usask.ca (Eglington, Bruce) Date: Sat, 23 Sep 2017 21:44:36 +0000 Subject: [GPlates-discuss] Minimum bounding areas for polygons In-Reply-To: <1E57973145EDFC41B1D69DE11923922801B871E547@ex-mbx-pro-05> References: <78d1da17574e468cb147d815ad6bc514@Mail01.usask.ca> <1E57973145EDFC41B1D69DE11923922801B871E547@ex-mbx-pro-05> Message-ID: <1ce5c1e00d364e339b3645f90a98db46@Mail01.usask.ca> Hi John, Christian and Sabin Thanks for the suggestions. I obviously need to investigate pyGPlates further and also look into other Python code to do what I want. But, your suggestions all have me on a path that looks as though it should work. Regards Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 From: GPlates-discuss [mailto:gplates-discuss-bounces at mailman.sydney.edu.au] On Behalf Of John Cannon Sent: Friday, September 22, 2017 10:57 To: GPlates general discussion mailing list Subject: Re: [GPlates-discuss] Minimum bounding areas for polygons Hi Bruce, If you use pyGPlates for the proximity tests there are three proximity examples at: https://protect-au.mimecast.com/s/q0YwBQfMA5w7t9?domain=gplates.org https://protect-au.mimecast.com/s/44GqB7U80ZxOFg?domain=gplates.org https://protect-au.mimecast.com/s/drxzBeuxVez8Fm?domain=gplates.org ...the second example finds reconstructed features overlapping a polygon. It will find any reconstructed geometry that either intersects the polygon outline or is completely inside the polygon. There's also an 'area()' function for polygons - https://protect-au.mimecast.com/s/Db1pBJUZrRvJFE?domain=gplates.org Also it may be better to treat both polygons as solid... # See if minimum distance between solid/filled polygons is zero (means filled parts overlap). # We treat both polygons as solid so if one is inside the other then we get a distance of zero. if pygplates.GeometryOnSphere.distance( polygon1, polygon2, 1e-4, # Arbitrarily small threshold for efficiency since only interested in zero distance (intersection of solids). geometry1_is_solid = True, geometry2_is_solid = True) == 0: ...in case 'either' polygon is completely 'inside' the other. Note that the '1e-4' is just an optimisation - it's not needed for correct functioning. Also note that either/both geometries can be any geometry type (eg, point, multipoint, polyline or polygon) and they don't have to be the same type as each other. Also if you want to avoid all the Shapefile/GPML file loading, etc, and go straight to creating polygons (eg, if you just have the latitude/longitude point data for a polygon)... https://protect-au.mimecast.com/s/87W8BlUAVJMWSQ?domain=gplates.org And then reconstruct the polygons using RotationModel and FiniteRotation... https://protect-au.mimecast.com/s/Qv1bBRfzJV95uD?domain=gplates.org https://protect-au.mimecast.com/s/xMnXB1UlQoV1SX?domain=gplates.org Regards, John ________________________________ From: GPlates-discuss [gplates-discuss-bounces at mailman.sydney.edu.au] on behalf of Eglington, Bruce [bruce.eglington at usask.ca] Sent: Thursday, 21 September 2017 9:13 AM To: GPlates general discussion mailing list (gplates-discuss at mail.usyd.edu.au) Subject: [GPlates-discuss] Minimum bounding areas for polygons Hi folks A separate and very different topic from my previous postings. Is there something already built in to GPlates codes to be able to calculate the minimum bounding surface area for a polygon situated on top of a specific plate polygon? The reason I am asking is that, when reconstructing geological maps on top of moving and fragmenting polygon blocks, one often has a younger basin cover on top of older stratigraphic units. At the time when an older unit is visible and before deposition of the younger unit, it would be useful to fill in the area of the younger sedimentary cover with the attributes of the older unit as a first approximation for the spatial extent of those sediments. I have been trying to think of a methodology one might follow and the simplest seems to be to calculate minimum bounding area for each adjacent stratigraphic unit. If the younger sediment unit has a smaller area than the older one and is situated within the extent of the older one, then it is approximately enclosed by the older units polygon so one could colour it. If not, then don't colour. BUT, this all depends on having the ability to compute minimum bound areas for unit polygons at different ages within code such as GPlates.. Maybe someone is already doing something similar for other purposes or has alternative suggestions. Cheers Bruce Bruce Eglington (Ph.D.) Murray Pyke Chair Geological Sciences University of Saskatchewan 114 Science Place Saskatoon SK S7N 5E2 Canada bruce.eglington at usask.ca +1-306-966-5732 -------------- next part -------------- An HTML attachment was scrubbed... URL: