[GPlates-discuss] importing seed points

Christian Heine chhei at paleoearthlabs.org
Mon Dec 17 06:00:47 AEDT 2018

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/zIjaC3Q8Z2F41w9qHgC9Me?domain=gplates.org

The latter being potentially the fastest way to do this for a larger number of features.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_flow.gpml
Type: application/octet-stream
Size: 9719 bytes
Desc: not available
URL: <http://mailman.sydney.edu.au/pipermail/gplates-discuss/attachments/20181216/8e73838f/attachment.obj>
-------------- next part --------------

> 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

-------------- 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/8e73838f/attachment.sig>

More information about the GPlates-discuss mailing list