A Satellite Navigation and Global Positioing Systems forum. Sat Nav Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Sat Nav Banter forum » GPS and Sat Nav Newsgroups » uk.rec.gps (UK Sat Nav)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

uk.rec.gps (UK Sat Nav) (uk.rec.gps) for the discussion of all aspects of the UK use of Global Positioning Systems and any other satellite positioning/navigation systems which may be developed. Also any improvements, or extensions to the above and radio navigation systems.

Tags: , ,

British Canals & locks



 
 
Thread Tools Display Modes
  #1  
Old February 7th 10, 10:33 PM posted to uk.rec.gps
f825_633
external usenet poster
 
Posts: 1
Default British Canals & locks

Apologies if this is the wrong group.

I'm after a waypoint list of locks etc on the UK canal system,
specifically the Oxford& Grand Union,

I've googled for ages and not found such a thing - hard to image some
sort of list doest exist.


Ads
  #2  
Old February 7th 10, 11:05 PM posted to uk.rec.gps
andrew
external usenet poster
 
Posts: 6
Default British Canals & locks

f825_633 wrote:

Apologies if this is the wrong group.

I'm after a waypoint list of locks etc on the UK canal system,
specifically the Oxford& Grand Union,

I've googled for ages and not found such a thing - hard to image some
sort of list doest exist.


It exists on OSM but getting it out of the database is beyond me, its
probably availabe as a shapefile too.

Mapomatic have a canal based download for garmins.

http://www.mapomatic.net/garmin-maps-download/

AJH

  #3  
Old February 16th 10, 10:57 PM posted to uk.rec.gps
Einar Ryeng
external usenet poster
 
Posts: 5
Default British Canals & locks

andrew writes:
f825_633 wrote:

I'm after a waypoint list of locks etc on the UK canal system,
specifically the Oxford& Grand Union,

I've googled for ages and not found such a thing - hard to image some
sort of list doest exist.


It exists on OSM but getting it out of the database is beyond me, its
probably availabe as a shapefile too.


The easiest way to get this out of OSM is probably through OSM XAPI,
which allows you to write simple queries directly in the URL. Details
can be found on:

http://wiki.openstreetmap.org/index.php/Osmxapi

....though I have a feeling that it might not be an easy read for
people not familiar with the OpenStreetMap project. :-/ In any case it
requires some computer literacy to use it.

In brief, the way to use it is:

1) The base URL to XAPI is
http://xapi.openstreetmap.org/api/0.6/

2) The rest of the URL is the query. OSM data consist primarily of
"nodes" and "ways", and most locks are probably nodes. Thus, for
any query for nodes we want a URL starting with:

http://xapi.openstreetmap.org/api/0.6/node

3) OSM covers the entire world. To restrict it to UK, add a bounding
box (bbox) with coordinates bbox=left,bottom,right,top in decimal
degrees, so the URL becomes e.g.:

http://xapi.openstreetmap.org/api/0.6/node[bbox=-8,50,2,59]

This URL probably works, and would give you a huge (really!!)
(Please don't try, there are better ways to download that amount of
data) file of all nodes OSM has in the UK and parts of France and
Ireland. However, most of those nodes will not be of any use, and
hardly any of them are related to canals at all. You need to
specify which types of nodes you want.

4) Elements in OSM are tagged with key=value pairs to say which
feature it is. Locks seems to be tagged with waterway=lock_gate

http://xapi.openstreetmap.org/api/0.6/node[bbox=-8,50,2,59][waterway=lock_gate]

which is the URL you want to download. This will give you a file
named data.osm which is in OpenStreetMap's xml format.

5) You might be interested in more elements than just locks, take a
look at http://wiki.openstreetmap.org/wiki/M...tures#Waterway
for a list of tags that may be useful to you. The XAPI queries does
not allow matching "feature1 OR feature2", so every type of feature
you want must be downloaded in a separate query. For a query that
matches any node with a waterway tag, use:

http://xapi.openstreetmap.org/api/0.6/node[bbox=-8,50,2,59][waterway=*]

6) To convert the downloaded .osm file(s) to .gpx, you need a command
line program named gpsbabel which converts between various types of
geospatioal file formats. The specific command (well, on Linux in
any case) for converting the downloaded file to GPX is:

gpsbabel -i osm -f data.osm -o gpx -F data.gpx

Hope this helps. Beware, there may be more steps to this that I
haven't thought of, particularly regarding the resulting gpx
file. I've never loaded gpx files created this way onto my GPS so I
have no idea of the details of it.


Cheers,

--
Einar Ryeng
  #4  
Old February 18th 10, 10:47 PM posted to uk.rec.gps
Andrew Case
external usenet poster
 
Posts: 1
Default British Canals & locks

In message , f825_633
writes
Apologies if this is the wrong group.
I'm after a waypoint list of locks etc on the UK canal system,
specifically the Oxford& Grand Union,
I've googled for ages and not found such a thing - hard to image
some
sort of list doest exist.


Not quite what you're after, but the excellent CanalPlanAC
http://canalplan.eu/
will enable you to plan a route and then export for GPS
--
Andrew Case

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.SEO by vBSEO 2.4.0
Copyright ©2004-2010 Sat Nav Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Credit Consolidation - Spanish Property - Barbara Boxer - Sell Early Stock Thoughts - Business in 2007