[Qgis-user] Movement patterns

Mike Flannigan mikeflan at att.net
Tue Oct 15 18:05:54 PDT 2019


I think Stefan has already given you a better answer
than the one I have.  I turn lat/long points into linear
geojson's in a single text file (outside of QGIS) and
then import the geojson into QGIS.  However, in my case
there is no timestamp, so it's probably not what you want.

On the other hand, geojson will take timestamps:
https://stackoverflow.com/questions/28989123/saving-timestamp-with-coordinates-geojson

Below is an example of just one of hundreds of lines
in the single geojson file.

"type": "FeatureCollection",
"crs": { "type": "name", "properties": { "name": 
"urn:ogc:def:crs:OGC:1.3:CRS84" } },

"features": [
{ "type": "Feature", "properties": { "id": 7, "name": "fgsde - 3-2014 - 
Waypoint Track" }, "geometry": { "type": "LineString", "coordinates": [ 
[ -95.1660333333333, 29.6906 ],  [ -95.1681333333333, 29.6917666666667 
],  [ -95.1695, 29.6925833333333 ],  [ -95.1701833333333, 29.693 ],  [ 
-95.1716666666667, 29.6939 ], [ -95.1729333333333, 29.6946166666667 ],  
[ -95.3758666666667, 29.7328 ],  [ -95.3719833333333, 29.7332333333333 
],  [ -95.3704333333333, 29.7340666666667 ],  [ -95.3702666666667, 
29.73425 ],  [ -95.3700833333333, 29.7344666666667 ],  [ 
-95.3690166666667, 29.73615 ],  [ -95.36735, 29.7383 ],  [ 
-95.3652166666667, 29.7409666666667 ],  [ -95.3632666666667, 29.74305 
],  [ -95.3630833333333, 29.74315 ],  [ -95.3629333333333, 
29.7432333333333 ],  [ -95.3629333333333, 29.7432333333333 ],  [ 
-95.3627833333333, 29.7432833333333 ],  [ -95.3624833333333, 
29.7433833333333 ],  [ -95.3624833333333, 29.7433833333333 ],  [ 
-95.3621833333333, 29.74345 ],  [ -95.3620166666667, 29.7434666666667 
],  [ -95.3618666666667, 29.7434833333333 ],  [ -95.3617, 
29.7434833333333 ],  [ -95.3602666666667, 29.7432333333333 ],  [ 
-95.3585333333333, 29.74255 ],  [ -95.3567833333333, 29.7414666666667 
],  [ -95.35295, 29.7389833333333 ],  [ -95.34965, 29.7369 ],  [ 
-95.3458833333333, 29.7344833333333 ],  [ -95.3425666666667, 29.7319 ],  
[ -95.3393833333333, 29.7295666666667 ],  [ -95.3365833333333, 
29.7277666666667 ],  [ -95.3312, 29.7243333333333 ],  [ 
-95.3279166666667, 29.7222166666667 ],  [ -95.3248, 29.7203666666667 ],  
[ -95.3198666666667, 29.7178 ],  [ -95.3164, 29.7156666666667 ],  [ 
-95.31175, 29.71265 ],  [ -95.3084666666667, 29.7104166666667 ],  [ 
-95.30365, 29.7072 ],  [ -95.30015, 29.7048666666667 ],  [ 
-95.2965833333333, 29.7025833333333 ],  [ -95.2942333333333, 29.70085 
],  [ -95.2921666666667, 29.6987666666667 ],  [ -95.2901166666667, 
29.6972166666667 ],  [ -95.28925, 29.6967 ],  [ -95.2890166666667, 
29.6966166666667 ],  [ -95.28875, 29.69655 ],  [ -95.2885, 
29.6964833333333 ],  [ -95.2882666666667, 29.6964666666667 ],  [ 
-95.2880166666667, 29.6964833333333 ],  [ -95.2877833333333, 
29.6965333333333 ],  [ -95.28755, 29.6966166666667 ],  [ -95.2873, 
29.69675 ],  [ -95.2870666666667, 29.6968666666667 ],  [ 
-95.2868166666667, 29.697 ],  [ -95.2840333333333, 29.6985 ],  [ 
-95.27975, 29.701 ],  [ -95.27745, 29.7026666666667 ],  [ 
-95.2751833333333, 29.7043833333333 ],  [ -95.2744, 29.7049666666667 ],  
[ -95.2731, 29.7059166666667 ],  [ -95.2716333333333, 29.7069166666667 
],  [ -95.27015, 29.7077333333333 ],  [ -95.2690166666667, 29.7083 ],  [ 
-95.2675333333333, 29.7085333333333 ],  [ -95.26625, 29.7084833333333 
],  [ -95.2626, 29.7082666666667 ],  [ -95.2608, 29.7082833333333 ],  [ 
-95.2573666666667, 29.7077166666667 ],  [ -95.25485, 29.7073 ],  [ 
-95.2506166666667, 29.7066 ],  [ -95.2476166666667, 29.7061 ],  [ 
-95.2447666666667, 29.7058833333333 ],  [ -95.2415666666667, 29.70615 
],  [ -95.2349333333333, 29.7067666666667 ],  [ -95.2284166666667, 
29.7074666666667 ],  [ -95.22655, 29.7082 ],  [ -95.2236166666667, 
29.7095166666667 ],  [ -95.2212833333333, 29.7099666666667 ],  [ 
-95.2171166666667, 29.7105 ],  [ -95.2115166666667, 29.71105 ],  [ 
-95.2065666666667, 29.7115166666667 ],  [ -95.20395, 29.71175 ],  [ 
-95.2022666666667, 29.7118833333333 ],  [ -95.2016333333333, 
29.7119333333333 ],  [ -95.20135, 29.71195 ],  [ -95.2013, 29.71195 ],  
[ -95.2013, 29.71195 ],  [ -95.2009, 29.712 ],  [ -95.1997666666667, 
29.7121 ],  [ -95.1984, 29.7122166666667 ],  [ -95.1982833333333, 
29.7122333333333 ],  [ -95.1981666666667, 29.71175 ],  [ -95.19715, 
29.7108666666667 ] ] } }

]
}


The result is something that looks like this:
http://www.mflan.com/temp/routes_-_svg.svg

It works quite well.


Mike



On 10/15/2019 5:39 AM, qgis-user-request at lists.osgeo.org wrote:
> Date: Tue, 15 Oct 2019 05:52:58 +0000
> From: Taimur al said<taimur_a_alsaid at hotmail.com>
> To:"qgis-user at lists.osgeo.org"  <qgis-user at lists.osgeo.org>
> Subject: [Qgis-user] Movement patterns
> Message-ID:
> 	<VE1PR02MB5663DC720CA19755F8631E00AA930 at VE1PR02MB5663.eurprd02.prod.outlook.com>
> 	
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
>
> I have a series of GPS coordinate points and i would like to connect these points using a line creating a movement pattern. These points will connect using time and date for sequencing.
>
> Can someone help me figure how to present this data on Qgis.
>
> Regards,
> Taimur
>
>
> Wildlife Biologist
> Office for Conservation of the Environment
> Diwan of Royal Court
> Muscat - Oman
> Tel: 24296627




More information about the Qgis-user mailing list