[GPlates-discuss] importing seed points

Christian Heine chhei at paleoearthlabs.org
Mon Dec 17 07:41:50 AEDT 2018


Hi Mark,

> On 16 Dec 2018, at 20:35, Mark Brandon <mark.brandon at yale.edu> wrote:

[...]

> At that point, the "imported" geometry can be modified using the various digitize tools. To complete the important, select the New Multipoint Digitize Tool, and then select Create Feature below the New Geometry window on the right. You can select an appropriate feature option at that point. My my task, I select the Flow line option and continue from there...

Yes that of course also works. I was under the impression that you wanted to create flowlines from new features.

Make sure to save your flowlines as *.gpml files so that the flowline properties don't get lost.

Cheers,
Christian






>> On Dec 16, 2018, at 2:00 PM, Christian Heine <chhei at paleoearthlabs.org> wrote:
>> 
>> Hi Mark,
>> 
>> Flowlines/seed points are a special kind of a beast - AFAIK you cannot save them in an OGR-type format (SHP, GMT etc) as come with a few special properties which are only available in GMPl (GPlates Markup Language). This is mainly because of the attached time sequence (gpml:times property) is a nested property which is not a trivial feat in the standard GIS format.
>> 
>> Unless I am not mistaken, you'd have the following options :
>> 
>> 1) Change the points individually in GPlates - that might be the best way if you have not too many points: Change the initial feature type mapping by selecting the point(s) in question, then ctrl+e to edit, change "feature type" (first line in the window that pops up) to "Flowline" and add a new property (click on 'add property' select gpml:times and adjust as needed)
>> 
>> 2) Programmatically/manually wrap your point data in the correct GPML syntax for a flowline seed points using a text editor/script. A simple example with one point is attached. It is relatively straightforward but make sure to not break the XML.
>> 
>> 3) A pyGPlates route would be to simply feed your point geometries to construct a flowline feature: https://protect-au.mimecast.com/s/wAuECVAGXPtZr8VrIG3yKh?domain=gplates.org
>> 
>> The latter being potentially the fastest way to do this for a larger number of features.
>> 
>> HTH,
>> Christian
>> 
>> <test_flow.gpml>
>>> On 16 Dec 2018, at 15:41, Mark Brandon <mark.brandon at yale.edu> wrote:
>>> 
>>> I am trying to import a list of seed points for the flow line calculation. I have successfully used of opening a gmt file (lon\tlat\r format, line by line) and that shows up in the list of loaded feature collections. (One can also paste the gmt file into the application with the same result.) But it is not clear to me how to convert this feature into a collection of seed points for the flow line calculation.
>>> Best,
>>> Mark
>>> 
>>> _______________________________________________
>>> GPlates-discuss mailing list
>>> GPlates-discuss at mailman.sydney.edu.au
>>> https://mailman.sydney.edu.au/mailman/listinfo/gplates-discuss
>>> 
>> 
>> _______________________________________________
>> GPlates-discuss mailing list
>> GPlates-discuss at mailman.sydney.edu.au
>> https://mailman.sydney.edu.au/mailman/listinfo/gplates-discuss
> 
> _______________________________________________
> GPlates-discuss mailing list
> GPlates-discuss at mailman.sydney.edu.au
> https://mailman.sydney.edu.au/mailman/listinfo/gplates-discuss
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: Message signed with OpenPGP
URL: <http://mailman.sydney.edu.au/pipermail/gplates-discuss/attachments/20181216/adea5205/attachment.sig>


More information about the GPlates-discuss mailing list