Re: [Talk-GB] New Map Style feedback

2015-11-03 Thread Andrew M. Bishop
Richard Fairhurst <rich...@systemed.net> writes:

> There are many people, myself included, who have the technical knowledge and
> resources to set up a UK-only render, updated once a week by a reimport from
> a Geofabrik extract.

I count myself in this group since a couple of years ago I was also
unhappy with the default OSM style and osm-carto specification of it
so created my own Mapnik stylesheet generator.  I stopped maintaining
the stylesheet just over a year ago since trying to keep up with
osm-carto was too difficult but I do keep generating tiles from it
every week.

To see a comparison of my tiles and the standard OSM ones I created
this web-page:

http://www.gedanken.org.uk/mapping/custom-maps/comparison.html

My description of the stylesheet generator is here with links to the
source code download:

http://www.gedanken.org.uk/mapping/custom-maps/

The Mapnik stylesheet is generated by some Perl scripts based on some
TAB separated text files which I manage in a simple spreadsheet.  The
SQL statements, Mapnik Layers and Styles are all auto-generated and
are arranged in a very different way from the standard osm-carto
styles.


Of particular interest to a UK map is my choice to draw RoW markings
over highway markings.  For example a designated right of way on a
private road is marked as a footpath and as a private road.

-- 
Andrew.
------
Andrew M. Bishop   http://www.gedanken.org.uk/mapping/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Wish LIst for Mapnik Stylesheet (overmapping of private features)

2013-09-08 Thread Andrew M. Bishop
Chris Fleming m...@chrisfleming.org writes:

 On Sat, Sep 07, 2013 at 02:45:51PM +0100, OpenStreetmap HADW wrote:
 Is there a mechanism for getting requests onto the wish list for the
 Open Street Map Mapnk style sheets?

 I would look at adding an Issue to the github project:
 https://github.com/gravitystorm/openstreetmap-carto

There are already 439 open tickets in the OSM trac system for mapnik
rendering:

https://trac.openstreetmap.org/query?status=!closedcomponent=mapnik

I would hope that whoever might fix the bugs in the rendering
stylesheet would start with those rather than discard all of them and
start with a new bug list on github.

-- 
Andrew.
--
Andrew M. Bishop   http://www.gedanken.org.uk/mapping/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Ongoing routing develiopments

2013-06-25 Thread Andrew M. Bishop
Neil Pilgrim osm-talk...@kepier.clara.net writes:

 On 24 June 2013 17:48, Andrew M. Bishop osm-li...@gedanken.org.uk wrote:

 May I suggest that you give Routino (http://www.routino.org/) a try?
 There is a UK example running on that website that you can try out.

 Disclaimer: I wrote Routino, so I might be slightly biased.

 Perhaps I missed it, but is there a last updated from OSM date/time
 listed somewhere on the test site? just tested it locally and I
 thought I added a turn restriction - though admittedly the first I've
 done - and it seems to have ignored it.

There isn't a way to know the date of the OSM database extract that
was used, but there is a way to know when the routing database was
created.  On the router web page, select the data tab and then the
link under the Statistics sub-heading and it will tell you lots of
information including the date and size of the routing database.

On the http://www.routino.org/uk/ UK routing pages the database is
re-generated twice a week (Saturday and Tuesday) using an OSM extract
downloaded that same morning.  I can't vouch for the age of the
downloaded database (from the GeoFabrik website) but I think it is
less than a day old.

If you want to check whether the turn restriction that you added has
been recognised by Routino your best bet is to use the visualiser.  On
the same data tab of the router webpage there is a link at the
bottom under the Visualiser sub-heading; follow this.  This will
take you to another map and on here you can select a region (keep it
fairly small) and press the Display Turn Restriction button.  This
will interrogate the routing database and draw on the map all of the
turn restrictions in that region.

There are lots of other options as well for visualising the routing
data which can be useful to work out what's wrong if a route cannot be
found.  In the next version there will be an additional button to
display OSM data errors (problems found when parsing the data).  This
might then give you feedback about why Routino couldn't understand
your turn restriction (if that was the case).

-- 
Andrew.
--
Andrew M. Bishop   http://www.routino.org/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Ongoing routing develiopments

2013-06-25 Thread Andrew M. Bishop
lsces les...@lsces.co.uk writes:

 Disclaimer: I wrote Routino, so I might be slightly biased. 

 Andrew
 Added that to my list, but I find it a little cumbersome with respect to the
 other options. Having now got osrm working on my own server, the way that
 you can drag the route around is very nice. That said, my main 'problem'
 with the current routing engines is their novel way of identifying one's
 motion at a change of route such as at a roundabout. What prompted me to dig
 deeper was being in the wrong lane on the M25 because of these 'mistakes' :(
 Oh and making this work well on a tablet/smartphone. Your website is a bit
 heavy for that target.

Your feedback is useful, even if slightly negative.

When you say cumbersome I guess that you a referring to the web
interface rather than the command line version?  I have always
considered the web interface as a secondary part of Routino.  It is
however a necessary feature for allowing the primary feature - the
routing software - to be displayed.  Unfortunately when I wrote the
web interface the only choice was OpenLayers but it seems that most
maps these days are using Leaflet.

If you have any more feedback, particularly about the quality of the
routing instructions, I would be interested to hear it (off-list if
you prefer).

-- 
Andrew.
--
Andrew M. Bishop   http://www.routino.org/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Ongoing routing develiopments

2013-06-24 Thread Andrew M. Bishop
lsces les...@lsces.co.uk writes:

 OK - moved on from YOURS to OSRM to see if I could get that to work, but I've
 not even got out of the starting gate. I'm fairly competent at addressing
 dependency problems, and there were a few while building all the bits of
 YOURS, but OSRM has me stumped from the start.

 Anybody looked at OSRM for handling UK routing? Is it worth the effort to
 get it working on SUSE 12.3 or should I switch back to getting gosmore
 working instead? Or is there a third option? I'm working with YOURS and OSRM
 because they are both listed as options in Locus Pro, but perhaps there is a
 saner 'route' to a locally hosted routing system?

May I suggest that you give Routino (http://www.routino.org/) a try?
There is a UK example running on that website that you can try out.

The only dependencies that you need are libz and libbz2 to get it
compiled and one additional Perl module to get the web pages fully
working.


Disclaimer: I wrote Routino, so I might be slightly biased.

-- 
Andrew.
--
Andrew M. Bishop   http://www.gedanken.org.uk/mapping/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] maxspeed changes

2012-09-26 Thread Andrew M. Bishop
SomeoneElse li...@mail.atownsend.org.uk writes:

 Andrew M. Bishop wrote:
 As the author of an OSM data consumer (the router Routino) I think
 that distinguishing between single and dual carriageways is mostly
 irrelevant in the argument for preferring numeric values for maxspeed
 tags.  The real reason which I see, and which is much more difficult
 to handle, is when you consider that there are ~200 countries in the
 world and they each might have their own speed limits.

 How do you handle the routing of vehicles for whom the UK national
 single-carriageway speed limit is not 60mph?

At run-time a speed limit for each type of road can be specified (or a
default one picked from the pre-defined profiles for each mode of
transport).  When routing the lower of the road's maxspeed tag value
and the routing profile's speed limit for that road type is used.

You could say that this means that the maxspeed tag is useless in most
cases because if it isn't specified (or isn't parseable) then the
run-time limit specified for each road type gets used instead.  This
is true except that there is only one run-time limit specified and a
trans-national route needs to take account of local laws.  A limit
tagged on the highway is always better than a router's default.

At the moment though Routino doesn't store the value of maxspeed:hgv
tags but if people started using them then it might be worth adding.

Perhaps those hypothetical JOSM tagging presets that I suggested last
time should have the full set of limits included.

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk
  http://www.routino.org/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] UK Rights of Way - WikiProject

2012-05-06 Thread Andrew M. Bishop
Nick Whitelegg nick.whitel...@solent.ac.uk writes:

 and allows multi-layer rendering such as
 that done on Freemap.

Not sure what you mean by this. Could you clarify? If it's just
designations that make this happen, I think both systems work.

 See www.free-map.org.uk and note how the designations are indicated
 by a coloured transparent layer while the underlying physical ways
 are indicated by the standard OS styles for roads,tracks and
 paths.

 Having just path, track, or the various types of road mean that the
 rules for writing the stylesheet are simpler.  However it's no big
 deal.

Just to add another data point, I have a customised Mapnik stylesheet
that I use on my websites that replicates the OS style of having the
right of way overlay the physical nature.

For tags of {foot,horse,bicycle}={designated,permissive} on anything
other than highway={path,footwa,bridleway,cycleway} an overlay is
drawn using either a footpath, bridleway or cycleway style.

Description:
http://www.gedanken.org.uk/mapping/custom-maps/

Example:
http://www.gedanken.org.uk/mapping/osm-routes/

If we could modify the default stylesheet then we wouldn't have to
worry about tagging for the renderer on these highway types.  An OS
map can be used by walkers, horse riders and cyclist to plan routes
but the default OSM stylesheet produces maps that cannot be used for
this.


For the question about whether highway=footway, highway=bridleway and
highway=path are redundant my vote would be that they are overlapping
rather than duplicates.  A highway=bridleway should be assumed to have
no obstructions in it that would stop horse or bicycle traffic while
a highway=footway may do.

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk
   http://www.gedanken.org.uk/mapping/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] UK Rights of Way - WikiProject

2012-05-06 Thread Andrew M. Bishop
Andy Street m...@andystreet.me.uk writes:

 On Fri, 2012-05-04 at 14:32 +0100, Andrew Chadwick wrote:
 I'd agree that generic consumers will struggle with highway=path,
 designation=* but that is a wider OSM issue and not limited to the
 path/footway, etc. debate. Anyone using OSM data should be
 pre-processing it to take into account local laws/customs and their
 particular use case. For example, you are probably going to come a
 cropper if you go around assuming that roads across the globe without an
 explicit maxspeed tag all have the same default value.

As the author of a consumer of OSM data I for one would prefer it if
there was a single set of tags worldwide.  In my case the consumer of
the data is Routino a router for OSM data (http://www.routino.org/).

My personal opinion is that the biggest risk to OSM's future is if we
don't agree on a subset of tagging rules to be used worldwide.  The
idea that there could be a pre-processor to handle local laws and
customs is impractical.  There are literally hundreds of regions that
might use their own tagging rules each of which needs to be defined by
a geographical region and list of rules.  Each consumer of data then
needs to implement the full set of pre-processor rules.

With a single set of rules a way can be taken from an OSM XML file and
it will be immediately apparent who is permitted to use it.  With a
pre-processor it is necessary to take the way from the file, search
through the whole file to find the nodes that are referenced by it,
search through all defined regions to determine which one the nodes
belong to and then apply the selected pre-processor.

One thing that we shouldn't lose sight of is that each item in OSM is
created once and edited a few times by a small number of editors but
used many hundreds of time each day by many dozens of data consumers.
Since the number of times the data is read far exceeds the number of
times the data is written (by orders of magnitude) the complexity
should be in the writing side and not the reading side.


 I also fail to see how highway=footway/cycleway/bridleway would help
 here either. Looking at this[1] wiki page shows all manner of different
 default permissions dependent on different geographical regions. The
 only way I can see to completely eradicate this problem would be a full
 set of access tags (foot=*, horse=*, etc) on every way but that is not
 something either of us would find desirable.

A set of worldwide default permissions would be an alternative to
having every way tagged with every possible traffic type.  This would
then need just a single pre-processor step that can be applied without
geographical constraints.

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk
  http://www.routino.org/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] UK counties

2010-04-21 Thread Andrew M. Bishop
Andy Mabbett a...@pigsonthewing.org.uk writes:

 On Tue, April 20, 2010 09:52, Ed Loach wrote:

 I think in some places there are relations for both admin boundary
 and ceremonial county, if that is the same as traditional.

 Is there an easy way (a wiki page, perhaps; or some kind of category view)
 to see links to all such relations, and other such sets, as a list?

I have a web page that contains all OSM route and boundary relations
in a browsable, sortable, map enabled viewer.  It can also tell you
about some of their interesting tags, their length, their shape
(closed loop or not) and the number of nodes and ways they contain.

http://www.gedanken.org.uk/mapping/osm-boundaries/
http://www.gedanken.org.uk/mapping/osm-routes/

I also have similar pages for certain types of nodes (amenity, shop,
tourism, historic) which are linked from the above.

The data is extracted from OSM twice a week and covers the UK.

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk
   http://www.gedanken.org.uk/mapping/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Looking for places to map?

2010-02-28 Thread Andrew M. Bishop
Dave F. dave...@madasafish.com writes:

 Andrew M. Bishop wrote:
 One thing that might be useful for this in the UK is my recently
 updated web page:

 http://www.gedanken.org.uk/mapping/osm-boundaries/

 I'm going to find this useful, thanks.

 One thing I think might improve it is to put the Add/Remove higher up the list
 so that it's not hidden off the bottom of the screen. Below Boundaries maybe?

The trouble with moving the links up is that the boundary details then
get moved down.  You could try hiding the filter options (click on the
'hide' button next to them) to make more space.

 Any clues as to why this one can't be added:

 Boundary Details id = 81941
 name = Bath  North East Somerset
...

 Others of similar type do display

The clue to this is in the name.  I haven't replaced the '' with
'amp;' in the GPX file which means that it isn't valid XML so it
doesn't get displayed.  If you come back in a couple of hours it
should be fixed.


You might be interested to know that I have improved the shape
detection algorithm so that each disconnected part of the relation is
tested.  This means that now it might say 2x loop + line + branched
when previously it just said branched.  It also reports any
duplicated ways that exist (and I have fixed a few of these already).

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk
  http://www.gedanken.demon.co.uk/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Looking for places to map?

2010-02-28 Thread Andrew M. Bishop
Brian Prangle bpran...@googlemail.com writes:

 Can't seem to find Birmingham in your drop down list of bondaries!

The list of boundaries is all of the ones that I could find in the OSM
planet dump for the UK.  There is a relation called City of
Birmingham, I don't know if this is the one that you are looking for.

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk
  http://www.gedanken.demon.co.uk/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Looking for places to map?

2010-02-27 Thread Andrew M. Bishop
Steve Doerr steve.do...@blueyonder.co.uk writes:

 On 23/02/2010 20:51, Ed Loach wrote:
 Can I just add that it is also best to document the relation numbers
 of boundaries somewhere fairly obvious on the wiki, to try and
 prevent duplicate relations appearing for the same boundary.

 So for example, all the Essex districts have their relations
 documented on the Essex wiki page:
 http://wiki.openstreetmap.org/wiki/Essex


 Is there a (non-techy) way of searching for boundary relations in a given 
 area?

One thing that might be useful for this in the UK is my recently
updated web page:

http://www.gedanken.org.uk/mapping/osm-boundaries/

This contains all UK boundary relations and allows filtering by type
('boundary' tag) and administrative level ('admin_level' tag) and
limiting them to those that overlap the selected map area.  Clicking
on a boundary in the results list will give you the important tags and
tell you the number of ways and nodes it contains, its length and its
shape (open, closed, branched).  You can also add them to the map or
download a GPX trace for them.

One thing that has surprised me is that there are relatively few
boundaries that form closed loops, many are open (linear with two
ends), broken (multiple linear sections) or branched (include at least
one three-way junction).

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk
   http://www.gedanken.org.uk/mapping/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


[Talk-GB] Routino version 1.1 released

2009-06-14 Thread Andrew M. Bishop
A new version of the Routino routing software is now available along
with the online page for the UK.  There have been some small
improvements to the web pages and the router, but the most important
one is the ability to provide a percentage preference for each type of
highway instead of just yes/no.

http://www.gedanken.org.uk/mapping/routino/router.html


The main new thing of interest to readers of this mailing list is a
data visualiser web page.  This is based on the idea mentioned here a
couple of weeks ago of displaying junctions with snooker balls on them
indicating the number of connected highways (therefore allowing
unexpected highway ends to be identified).  In addition to the
aforementioned junctions there is also the choice to display one-way
streets or speed limits (or weight/height/width/length limits if you
prefer).

http://www.gedanken.org.uk/mapping/routino/visualiser.html


The source code is available for download like before, but this time
the full set of HTML, CSS, JavaScript and CGI scripts are available in
the download.  This means that a local version of the online pages can
be set up very quickly.

http://www.gedanken.org.uk/software/routino/

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk
  http://www.gedanken.demon.co.uk/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Question regarding mapping inaccuracies.

2009-06-01 Thread Andrew M. Bishop
Shaun McDonald sh...@shaunmcdonald.me.uk writes:

 I'm wondering if someone will be able to implement an efficient
 version of the snooker ball visualisation on 
 http://www.cyclestreets.net/blog/2009/03/26/thats-a-really-odd-route/

 As a quick hack I have generated such a map for the UK.

 http://www.gedanken.org.uk/mapping/osm-junctions/junctions.html

 The junction data comes from Routino[1] and as such not all highway
 junctions are included (only highways that are routable).  The
 rendering is performed client-side so is rather slow (probably my
 Javascript isn't optimum).  The server will only allow downloading a
 limited amount of data at a time so I recommend you zoom in to the
 highest or penultimate zoom level.


 Nice start.

 I'd like to be able to zoom in more, particularly in central London.  
 I've also found that clicking Get Junctions often gets an area,  
 where only a little bit is visible at the highest zoom, and you have  
 to pan and re-request to get for the current area. I'd also like a  
 permalink, and a link to the osm site for easy editing.

I did say that it was a quick hack :-)

I have limited the depth of zoom because I am caching tiles from the
main openstreetmap tile server and don't want to overload them with
requests.  The maximum zoom is 15.

The data that you get when you press the button is from all of the
zoom 13 tiles that are completely visible within the map window in the
browser.  If you have zoomed in too far for any whole tiles to be
visible you get one tile's worth of data.  If you zoom out you
obviously get more, but the server won't send more than a 3x3 area to
avoid swamping the user.

I have added a permalink and a link to the main OSM site for editing.

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk
  http://www.gedanken.demon.co.uk/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Question regarding mapping inaccuracies.

2009-05-31 Thread Andrew M. Bishop
Shaun McDonald sh...@shaunmcdonald.me.uk writes:

 On 29 May 2009, at 20:23, Peter Miller wrote:

 On 29 May 2009, at 15:42, Shaun McDonald wrote:

 I'm wondering if someone will be able to implement an efficient
 version of the snooker ball visualisation on 
 http://www.cyclestreets.net/blog/2009/03/26/thats-a-really-odd-route/

 That's very useful. Is it possible for anyone to view that mapping
 view through Cycle Streets?

 No due to reasons of poor performance, hence why I'm asking is someone  
 else would be interested in implementing something similar with far  
 better performance and global coverage. The original authors would be  
 really happy to see it implemented elsewhere, as it would bring great  
 benefits to the OSM data.

As a quick hack I have generated such a map for the UK.

http://www.gedanken.org.uk/mapping/osm-junctions/junctions.html

The junction data comes from Routino[1] and as such not all highway
junctions are included (only highways that are routable).  The
rendering is performed client-side so is rather slow (probably my
Javascript isn't optimum).  The server will only allow downloading a
limited amount of data at a time so I recommend you zoom in to the
highest or penultimate zoom level.


[1] http://www.gedanken.org.uk/mapping/router/router.html
http://www.gedanken.org.uk/software/routino/

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk
  http://www.gedanken.demon.co.uk/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Route planner using UK OSM data

2009-03-26 Thread Andrew M. Bishop
Bob Hawkins bobhawk...@waitrose.com writes:

 Using the link  http://www.gedanken.org.uk/mapping/router/router.html in IE 
 7, although the details to the left of the map frame are present, I see an 
 empty area - no map.  Should I be able to? 

Yes, the map should appear on the right in a frame with a thicker
border than the parameters on the left.

It is quite possible that either the JavaScript or CSS support in IE7
is insufficient to display the map.  I must admit that I didn't test
with anything other than Firefox - I don't have Windows here to try
IE7 and that is probably the least standards compliant of popular
browsers.

This list isn't the right place to discuss details like this; if
anybody else has a similar problem they should contact me directly.

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Route planner using UK OSM data

2009-03-25 Thread Andrew M. Bishop
Peter Childs pchi...@bcs.org writes:

I decided that what would be fun to implement is a routing algorithm
that can find the best (shortest or quickest) route between any two
OSM highway nodes. I know that there are other routing algorithms
available but this started as an intellectual exercise so I developed
my own. It seemed to work so I added a fancy web front end to it and
put it on a server.

http://www.gedanken.org.uk/mapping/router/router.html

 Neat, there seam to be a lot of good routing method appearing for OSM.
 All with interesting differences over what the commersial sources
 produce, (eg Google, Multimap, etc) Not usually wrong but different,

 Does anyone know of any Routing code thats Open Source.

 Is there any way to encourage the system to use Dual Carriage Way
 Primary Roads over Single Carriage Way Primary Roads (or in this case
 Seconday) eg eg A289 vs B2108 is Strood, Kent.

Encouraging dual-carriageway rather than single will need some way of
detecting one rather than the other.  Perhaps lanes=n (n1) and
oneway=true would work if enough people tag them like that.

For the problem of preferring primary roads instead of secondary I
already have a solution but not an implementation (yet).

Instead of a checkbox to allow or disallow a particular type of
highway there would be a percentage preference.  This means that you
could set primary roads to 100% and secondary roads to 50%.  When
planning the route and there is a choice between the two then the
secondary will only be taken if the route is less than 50% of the
length of the primary.  In general a highway type with a weighting of
W% would appear 100/W times as long as it really is.


 Also people seam to have used Trunk and Primary interchangeable. what
 is meant to be the difference.

For the UK this is simple:

http://wiki.openstreetmap.org/index.php/Map_Features#Highway

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Route planner using UK OSM data

2009-03-24 Thread Andrew M. Bishop
Peter Miller peter.mil...@itoworld.com writes:

 Would you consider the GPL licence?

 Name ideas:

 Tora- The Open Routing Algorithm?

 Aora- Andrew's..

 What's it written in, maybe that could help with the namePyOra,  
 for example?

 A name... Who is this project aimed at? You need to answer that one  
 before choosing the name. If is a bunch of clever back-end code that  
 can be used by anyone wanting to put a journey planner together then  
 you need a name that works for techies, otherwise you have the much  
 harder task of building a pubic facing brand which will probably need  
 marketing and other stuff to make it work.

 Assuming you are producing something for the techie community then it  
 needs to be memorable and relatively unique. Avoid a phrase that just  
 says what is is because there are going to be too many of those! If  
 the project is good and gets used then the name will become well known  
 so the most important thing for a techie project is that it is good.  
 It is also important to build a community that can engage with it, so  
 do provide a way for people to engage with the project - a wiki page  
 for describing the project and for feedback and suggestions seems to  
 work well and of course making it open source. Is also takes a lot of  
 work.

To answer the questions posed here:

Yes, it would be GPLv2 (or above).  [Perhaps GPLv3 would be better
because one of the new concepts in that is software as a service -
i.e. the use of GPL software through a webpage.]  I don't want to
start a discussion on that here though.

It is written in C for Linux.  Currently the web pages use JavaScript
and perl scripts; I should probably include them in the release.

I never really plan who my software is aimed at.  It's useful for me
is my normal motivation.  I am not planning to go into competition
with Google maps by providing a web service.  Also I don't think that
it is really a TomTom competitor in the embedded domain.  The software
will be for techies and the existing web page will remain as a
demonstration of what it can do.

I am not new to releasing software[1] but I haven't crowdsourced a
name before.  Normally I haven't had a problem with thinking of one;
in this case I didn't really bother I just wanted to get it visible to
start with.

A wiki page?  Perhaps just a mailing list to start with.


Give me a couple of weeks and the code will be available.  For your
part make sure that you tag all the highways you edit with routing
software in mind.

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk

[1] http://www.gedanken.org.uk/software/

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


Re: [Talk-GB] Route planner using UK OSM data

2009-03-23 Thread Andrew M. Bishop
Tim Waters (chippy) chippy2...@gmail.com writes:

 I decided that what would be fun to implement is a routing algorithm
 that can find the best (shortest or quickest) route between any two
 OSM highway nodes. I know that there are other routing algorithms
 available but this started as an intellectual exercise so I developed
 my own.  It seemed to work so I added a fancy web front end to it and
 put it on a server.

 This is really neat. it's good to see a few excellent routers occuring
 because of OSM.
 I think your one is quite powerful for the ability to customise the
 weighting, nice!

 Also, any plans to release the source for the router available so we
 can play too?

Yes, if people find it useful then I have no problems with releasing
the source code.  I need to tidy up a few things and write a README
file, but it was always planned that a release would occur if it
worked.

One thing that it is missing is a good name - I ought to get that
sorted out as well before releasing it.

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb


[Talk-GB] Route planner using UK OSM data

2009-03-22 Thread Andrew M. Bishop
I have been a contributor to OpenStreetMap for a while now and
recently decided to make use of some of the collected data rather than
just adding to it.

I decided that what would be fun to implement is a routing algorithm
that can find the best (shortest or quickest) route between any two
OSM highway nodes.  I know that there are other routing algorithms
available but this started as an intellectual exercise so I developed
my own.  It seemed to work so I added a fancy web front end to it and
put it on a server.

Having the complete planet routable was infeasible so I have just
included the data for Ireland and Great Britain.

You can select from any of the major OSM transport types (foot,
bicycle, horse, motorbike, motorcar, goods, hgv, psv).  For each of
the OSM highway types (motorway, trunk, primary, secondary, tertiary,
unclassified, residential, service, track, bridleway, cycleway,
footway) you can select whether to use them and if so what speed
limit.  Restrictions on one-way streets, weight, height, width and
length are also options.

The router takes into account private/public/permissive restrictions
on highways as well as tagged speed limits.  What it doesn't do is
barriers (gates, bollards) and turn restriction relations (which I
have heard about but never seen).


The router itself (requires JavaScript for the map etc):

http://www.gedanken.org.uk/mapping/router/router.html

A description of the algorithm:

http://www.gedanken.org.uk/mapping/router/

-- 
Andrew.
--
Andrew M. Bishop a...@gedanken.demon.co.uk

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb