[OSM-talk] mapbook: a PDF map book creator

2012-02-24 Thread Paul Norman
I'd like to announce the release of version 0.01 of mapbook, a PDF map book
creator for mapnik generated maps. This is very much a development release
and is missing what I view to be important features.

mapbook can be found at https://github.com/pnorman/mapbook

Features:
It uses Mapnik's AGG-based renderer and should take any mapnik .xml file
Adjustable resolution and paper size
Uninteresting map pages may be skipped and omitted
Has not exploded

Dependencies
Mapnik2 (may work with older versions with minor code tweaks)
Python >= 2.6
Cairo, pycairo
Pango
Pangocairo

Notes:

The user is responsible for inserting an appropriate copyright page for the
map they are using
Printing high-DPI maps can be both time and toner intensive

Upcoming features: 
An index page feature for an overview of the area
Headings
The ability to tweak a specific page to expose the map under the border
Cleaner code?
A license for the code?
A scale bar

Known issues:
Adjusting --firstpage and --blankfirst is confusing
Some stylesheets use images for icons which do not work well at different
resolutions (e.g. osm.org mapnik). Using an alternate style which uses svg
icons (e.g. mapquest open) is suggested.


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] THANK YOU!!

2012-02-24 Thread mick
a quick thank you to those mappers who have contributed a substantial amount of 
roman features to the map in the last few weeks.

I have now got about 20% of my initial tracing of about 11,000 km of roman 
roads narrowed down to a comfortable level of accuracy.

Many thanks
mick

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] Creating a subset of OSM and storing it in Postgis tables

2012-02-24 Thread mick
I need to build a database of a subset of features from a specific area, 
storing them in a series of tables according to feature type (eg. natural, 
historic, waterway, ...) from predefined subsets of the planet file.

In doing this I hope to minimise:
1 my impact on OSM's resources
2 amount of data I have to download (I'm in Australia so I'm burdened with 20GB 
monthly traffic limits).

My current thinking is that I need to:

1. download the weekly England, Scotland & Wales excerpts from geofabrik
2. merge the 3 files
3. filter out what I don't need
4. load the rest into the db tables
5. merge in data from other sources
6. manipulate the data as I require

So far 
1. is fine, I can even do a script for when I need it

2. I have a very clunky answer for - convert to mapinfo tabs, copy 1 file to a 
new file, then manually copy the contents of the other two to the new file.

3. I can just about make very slow headway with by manually deleting individual 
redundant objects

4. failure - I can't get my head around the complexity of db design.

5. can do somewhat within the constraints of parts 1 - 4 not being solved.

6. I can manage within the constraints of parts 1 - 4 not being solved.

I think my main problem is not being able to apply tools like osmosis and 
osm2pgsql due to the docs being rather too abstract for me to see the answer, 
maybe I'm loosing my mental agility.

Is there anyone out there who can point me to simplified instructions or has 
the time and patience to help me with any part of the above.

mick

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread mick
On Fri, 24 Feb 2012 12:31:31 -
"Andy Robinson"  wrote:

> If you refer to old OS maps the location of the place name seems most often
> to be positioned in relation to certain specific features. Where there is a
> parish church they seem to use that, where not its often the post office or
> the village pub, if none of these are present then some central other
> communal  feature of the hamlet for instance. Of course this could just be a
> be cartographic approach taken by the OS.
> 
> Cheers
> Andy
> 
This suggests that there is no formal definition for placement of the "Zero 
Point" and a common sense approach is taken.

>From a number of hints in some of the genealogy lists I'm on, in .au the post 
>office and a 'coaching inn' were usually either next door to or opposite each 
>other and sometimes they were the same building.

thanks
mick

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread mick
On Fri, 24 Feb 2012 12:45:06 +
p...@trigpoint.me.uk wrote:

> There is no grid system for UK towns, however where the main post office is 
> or was is a reasonable approach to positioning the town centre.
> 
> In terms of villages the church is usually the best.
> 
> 
That make a lot of sense to me, the church has been the focal point of the 
village since Saxon times while the Post Office didn't appear until the 19th? 
century.

mick

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread mick
On Fri, 24 Feb 2012 09:20:13 +
Lester Caine  wrote:

> kenneth gonsalves wrote:
> >> Can some one advise me of the official policy for locating the centre
> >> >  of towns in the UK, i.e. the spot on the map for a point representing
> >> >  the town and used as the Zero Point for measuring distances to other
> >> >  towns.
> > in India it is usually the head post office.
> 
> In the UK nowadays you will be lucky to find a post office at all ... ;)
> 
Australia is going the same way in moving to Postal Agents and relocating the 
remaining Post Offices to obscure, out of the way locations so I doubt there is 
any formal criteria to define these points. They are becoming 'just another 
curious folk-way', as evidenced by the lack of 'Zero-Points' in .au since 
metric conversion.

thanks
mick

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread SomeoneElse

Richard Fairhurst wrote:

(shame it's a Google map, though)


Indeed.  According to Google someone has knocked down Derby cathedral 
and rebuilt it across the road.


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread Richard Fairhurst
Philip Barnes wrote:
> in an unknown village if you want to find the pub, head for the church.

Or in a cathedral city...:
http://www.imbibit.co.uk/

(shame it's a Google map, though)

cheers
Richard



--
View this message in context: 
http://gis.19327.n5.nabble.com/Map-Co-ordinates-for-towns-etc-in-UK-tp5510568p5512719.html
Sent from the General Discussion mailing list archive at Nabble.com.

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread phil
In my experience as a rambler, who enjoys a pint. The church and pub in a 
village are not far apart, so in an unknown village if you want to find the 
pub, head for the church.

Phil


On 24/02/2012 12:31 Andy Robinson wrote:

If you refer to old OS maps the location of the place name seems most often
to be positioned in relation to certain specific features. Where there is a
parish church they seem to use that, where not its often the post office or
the village pub, if none of these are present then some central other
communal feature of the hamlet for instance. Of course this could just be a
be cartographic approach taken by the OS.

Cheers
Andy

> -Original Message-
> From: Lester Caine [mailto:les...@lsces.co.uk]
> Sent: 24 February 2012 09:20
> To: OSM Talk
> Subject: Re: [OSM-talk] Map Co-ordinates for towns, etc in UK
>
> kenneth gonsalves wrote:
> >> Can some one advise me of the official policy for locating the centre
> >> > of towns in the UK, i.e. the spot on the map for a point
> >> > representing the town and used as the Zero Point for measuring
> >> > distances to other towns.
> > in India it is usually the head post office.
>
> In the UK nowadays you will be lucky to find a post office at all ... ;)
>
> --
> Lester Caine - G8HFL
> -
> Contact - http://lsces.co.uk/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve -
> http://enquirysolve.com/ Model Engineers Digital Workshop -
> http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread phil
There is no grid system for UK towns, however where the main post office is or 
was is a reasonable approach to positioning the town centre.

In terms of villages the church is usually the best.


On 24/02/2012 11:39 Nathan Edgars II wrote:

I don't know if any UK towns use an addressing grid. Locally, when the
grid zero point lies within the downtown area, I've used this (e.g. the 
intersection of Orange and Central in Orlando).

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread Andy Robinson
If you refer to old OS maps the location of the place name seems most often
to be positioned in relation to certain specific features. Where there is a
parish church they seem to use that, where not its often the post office or
the village pub, if none of these are present then some central other
communal  feature of the hamlet for instance. Of course this could just be a
be cartographic approach taken by the OS.

Cheers
Andy

> -Original Message-
> From: Lester Caine [mailto:les...@lsces.co.uk]
> Sent: 24 February 2012 09:20
> To: OSM Talk
> Subject: Re: [OSM-talk] Map Co-ordinates for towns, etc in UK
> 
> kenneth gonsalves wrote:
> >> Can some one advise me of the official policy for locating the centre
> >> >  of towns in the UK, i.e. the spot on the map for a point
> >> > representing  the town and used as the Zero Point for measuring
> >> > distances to other  towns.
> > in India it is usually the head post office.
> 
> In the UK nowadays you will be lucky to find a post office at all ... ;)
> 
> --
> Lester Caine - G8HFL
> -
> Contact - http://lsces.co.uk/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve -
> http://enquirysolve.com/ Model Engineers Digital Workshop -
> http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php
> 
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] osm2pgsql hstore (was: Wind turbines no longer rendered on mapnik layer)

2012-02-24 Thread Nathan Edgars II

On 2/16/2012 6:00 PM, Jochen Topf wrote:

Generic key names can be confusing, especially when one OSM object is used for
multiple things. Say there is a way tagged as railway and at the same time this
way is part of an area tagged as a generating station. Does "power_source" mean
the type of generating station or the type of power used by the railway
(overhead vs. third rail vs. unelectrified)? I hope this example is
hypothetical, but people do strange things in OSM...


A better example is a highway=service service=alley with a railway=rail 
service=spur down the middle.


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread Nathan Edgars II
I don't know if any UK towns use an addressing grid. Locally, when the 
grid zero point lies within the downtown area, I've used this (e.g. the 
intersection of Orange and Central in Orlando).


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread kenneth gonsalves
On Fri, 2012-02-24 at 09:20 +, Lester Caine wrote:
> kenneth gonsalves wrote:
> >> Can some one advise me of the official policy for locating the
> centre
> >> >  of towns in the UK, i.e. the spot on the map for a point
> representing
> >> >  the town and used as the Zero Point for measuring distances to
> other
> >> >  towns.
> > in India it is usually the head post office.
> 
> In the UK nowadays you will be lucky to find a post office at
> all ... ;) 

our post offices have very little to do with letters nowadays. Although
most of them have vanished, localities are still centered on where the
post office was.
-- 
regards
Kenneth Gonsalves


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread John Sturdy
The logical centre and the geometrical centre aren't necessarily
anywhere near each other --- for example, what is generally thought of
as the "city centre" of Cambridge UK is some way west of the crossing
point between the lines between the northmost and southmost, and
westmost and eastmost, points of the outline of the city.

(I tried drawing those lines a few years ago, they crossed in Mill
Road Cemetery, which makes it the "dead centre" of the city ;-) )

__John

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread Lester Caine

kenneth gonsalves wrote:

Can some one advise me of the official policy for locating the centre
>  of towns in the UK, i.e. the spot on the map for a point representing
>  the town and used as the Zero Point for measuring distances to other
>  towns.

in India it is usually the head post office.


In the UK nowadays you will be lucky to find a post office at all ... ;)

--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread Tom Hughes

On 24/02/12 08:42, p...@trigpoint.me.uk wrote:


London distances are, I believe, measured from Marble Arch.


I always understood it to be Charing Cross and wikipedia seems to agree:

http://en.wikipedia.org/wiki/Charing_cross#Official_use_as_central_point

That is the only one that I know in the UK though, and I suspect there 
is no fixed rule for working it out.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread phil
London distances are, I believe, measured from Marble Arch.

Phil


On 24/02/2012 8:23 Richard Mann wrote:

We're kinda proud of the fact that the government doesn't bother with such 
things as defining the centre of the town (or seasons). It's just one of those 
things that makes us different from ze French.

So the place tag will be wherever people feel like (usually the nearest open 
space to the centre of town, to help rendering). And you should choose your own 
centre of the town for measurement purposes. I suppose we could crowdsource a 
set of zeropoints if someone comes up with an appropriate tag. Just don't 
expect the place tags to be in the same location.

Richard


On Fri, Feb 24, 2012 at 1:14 AM, mick  wrote:

I hope this isn't off-topic, if so I apologise.

Can some one advise me of the official policy for locating the centre of towns 
in the UK, i.e. the spot on the map for a point representing the town and used 
as the Zero Point for measuring distances to other towns.

In Australia this was taken as the centre of the road and the middle of the 
plot of land occupied by Post Office and marked by a triangular concrete mile 
post painted white with black characters about 1 metre high with a bevelled 
top. the vertical faces visibly from the road indicated the distance to the 
next town in the direction of travel. The upper face on the '0' post showed the 
distance to the state capital.

I was told this by a NSW Dept of Main Roads Clerk of Works about 1973.

When the roads went metric in 1976 these posts rapidly disappeared, replaced by 
"International Standard" metal posts with green shields marking the 5 KM 
intervals but with no 'Zero Post'. A few towns kept their Zero Posts and moved 
them to a park.

mick

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk




___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Map Co-ordinates for towns, etc in UK

2012-02-24 Thread Richard Mann
We're kinda proud of the fact that the government doesn't bother with such
things as defining the centre of the town (or seasons). It's just one of
those things that makes us different from ze French.

So the place tag will be wherever people feel like (usually the nearest
open space to the centre of town, to help rendering). And you should choose
your own centre of the town for measurement purposes. I suppose we could
crowdsource a set of zeropoints if someone comes up with an appropriate
tag. Just don't expect the place tags to be in the same location.

Richard

On Fri, Feb 24, 2012 at 1:14 AM, mick  wrote:

> I hope this isn't off-topic, if so I apologise.
>
> Can some one advise me of the official policy for locating the centre of
> towns in the UK, i.e. the spot on the map for a point representing the town
> and used as the Zero Point for measuring distances to other towns.
>
> In Australia this was taken as the centre of the road and the middle of
> the plot of land occupied by Post Office and marked by a triangular
> concrete mile post painted white with black characters about 1 metre high
> with a bevelled top. the vertical faces visibly from the road indicated the
> distance to the next town in the direction of travel. The upper face on the
> '0' post showed the distance to the state capital.
>
> I was told this by a NSW Dept of Main Roads Clerk of Works about 1973.
>
> When the roads went metric in 1976 these posts rapidly disappeared,
> replaced by "International Standard" metal posts with green shields marking
> the 5 KM intervals but with no 'Zero Post'. A few towns kept their Zero
> Posts and moved them to a park.
>
> mick
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk