W3C home > Mailing lists > Public > www-archive@w3.org > April 2009

sanitizing cardio trainer tracks for sharing?

From: Dan Connolly <connolly@w3.org>
Date: Tue, 21 Apr 2009 14:07:13 -0500
To: Dan Brickley <danbri@danbri.org>, Tim Berners-Lee <timbl@w3.org>, Norman Walsh <ndw@nwalsh.com>
Cc: www-archive <www-archive@w3.org>
Message-Id: <1240340833.7316.33.camel@pav.lan>
I have some cardio training tracks; I want to publish them,
but with all the points within about 200 meters of my house
elided for privacy.

I put together this Makefile stanza:

cardio_20apr_pub.gpx: CardioTrainer_Apr-20-2009_03-20PM.gpx
	$(GPSBABEL) -i gpx -f $< \
		-x radius,distance=$(NEIGHBORHOOD_RADIUS),lat=$(HOME_LAT),lon=
$(HOME_LON),exclude \
		-o gpx -F $@


(The actual LAT/LON that I'm using are different; I'd rather
not include them in this message to www-archive.)

And this converts it from gpx format to KML format:
	$(GPSBABEL) -i gpx -o kml $< $@
cardio_20apr_pub.kml: cardio_20apr_pub.gpx


But when I look at the resulting .kml in Google Earth,
all the points are there, even the ones within 200 M of
my house.

Clues? help?

Dan Connolly, W3C http://www.w3.org/People/Connolly/
gpg D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Tuesday, 21 April 2009 19:07:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:33:35 UTC