Skip to main content

CaGeo: CAnonical Geospatial features

In this repository we want to collect and implement methods to extract from a set of raw GPS coordinates features that enrich the dataset, but which, simultaneously also allow dimensionality reduction.

Features:

Point Features

  • Speed: AVG, STD, MIN, MAX
  • Acceleration: AVG, STD, MIN, MAX
  • angle/direction: atan2 == Bearing: angle between the magnetic north and an object ??

Aggregate features

  • Turning Angle: AVG, STD, MIN, MAX. 𝐻𝐶𝑅 = |𝑃𝑐|/𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒 Pc is the collection of gps points at which a user changes his/her heading direction exceeding a certain threshold (Hc), and |𝑃𝑐 | represents the number of elements in Pc
  • Traveled Distance: SUM
  • Stop Rate: 𝑆𝑅 = |𝑃𝑠|/𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒 Ps is the collection of point with velocity smaller than a certain threshold
  • Velocity Change Rate: foreach point 𝑝1. 𝑉𝑅𝑎𝑡𝑒 = |𝑉2 − 𝑉1|/𝑉1; then 𝑉𝐶𝑅 = |𝑃𝑣|/𝐷𝑖𝑠𝑡𝑎𝑛𝑐𝑒 where 𝑃𝑣 ={𝑝𝑖|𝑝𝑖 ∈ 𝑃, 𝑝𝑖 . 𝑉𝑅𝑎𝑡𝑒 > 𝑉𝑟 }
  • FFT?
  • duration of movement?
  • traveled path?
  • displacement?
  • Bearing rate: B_rate(i+1) = (Bi+1 − Bi)/∆t
  • Rate of bearing rate: Br_rate(i+1) = (Brate(i+1) − Brate(i))/∆t

Derivate features

  • sinuosity ?
  • distance from POI

References:

  • A survey and comparison of trajectory classification methods
  • Understanding mobility based on GPS data
  • Revealing the physics of movement: comparing the similarity of movement characteristics of different types of moving objects
  • Predicting Transportation Modes of GPS Trajectories using Feature Engineering and Noise Removal
  • Determination transportation mode on mobile phones

Note

Per le distanze vedere Intelligent Trajectory Classification for Improved Movement Prediction

In "Identifying Different Transportation Modes from Trajectory Data Using Tree-Based Ensamble Classifier": ci sono varie misure globali

Metadata

Release files for CaGeo 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CaGeo 0.1.1
File Size Uploaded
cageo-0.1.1.tar.gz 6.6 kB Details

Release files / cageo-0.1.1.tar.gz

Download URL cageo-0.1.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
38359eebbf2185274b5c6ab98a0a0ecf1ec459b06e3c04978661075d2e319a4f
BLAKE2b-256 checksum
How to use checksums
80a014fd8e80a3a60eeff74be8ec0a3b0cf849ebc4a9e5e5e0ab2dfd854c2327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

2 release files

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page