[OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread Christopher Schmidt
Hi,

After a recent spate of OSM activity, especially with regards to
rendering and so on, I've put together a bookmarklet designed to help
visualize changes to OSM data in Mapnik more rapidly.  

http://labs.metacarta.com/osm/up-to-date/

Using osmosis, osm2pgsql, and Mapnik, a bookmarklet which will draw the
'current' state of the database, delayed by less than 10 minutes. Simply
press this button, and an image will be drawn over the map showing the
current state of the database.

You simply drag the bookmarklet to your browser bookmarks toolbar, and
click it on any OSM map: InformationFreeway, main map, /browse/ pages,
etc.

I believe that all the kinks of this particular service have been
worked out at this point, though I'm happy to take any feedback or
criticism you have. (Please CC me on any important feedback.) 

Best Regards,
-- 
Christopher Schmidt
MetaCarta

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread LeedsTracker
2009/1/22 Christopher Schmidt crschm...@metacarta.com:
 http://labs.metacarta.com/osm/up-to-date/

Just tried it on a few places I updated last night, very smooth!

In mapnik, some bits rendered slightly differently in style (e.g. base
background colour differs). Some names (e.g. of buildings or streets)
rendered differently to weekly mapnik too.

None of these things bothers me personally. Seems like a very useful
addition, thanks very much for your work.

cheers,
LT

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread Christopher Schmidt
On Thu, Jan 22, 2009 at 12:23:56PM +, LeedsTracker wrote:
 2009/1/22 Christopher Schmidt crschm...@metacarta.com:
  http://labs.metacarta.com/osm/up-to-date/
 
 Just tried it on a few places I updated last night, very smooth!
 
 In mapnik, some bits rendered slightly differently in style (e.g. base
 background colour differs). 

This is intentional. When you zoom in or out, it's nice to see a
difference between what is 'up-to-date' and what is not -- the way I've
implemented that is with a background color change (from tan - white).

 Some names (e.g. of buildings or streets)
 rendered differently to weekly mapnik too.

Positioning, or text? Positioning may be different, because the image is
not tiled in the same way, so I've seen things shift a little due to
different available spacing.

Regards,
-- 
Christopher Schmidt
MetaCarta

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread Chris Hill
Christopher Schmidt wrote:
 After a recent spate of OSM activity, especially with regards to
 rendering and so on, I've put together a bookmarklet designed to help
 visualize changes to OSM data in Mapnik more rapidly.  

 http://labs.metacarta.com/osm/up-to-date/
   
Very nice indeed.  This is very welcome and for the two little checks I 
have done it worked perfectly.

Thanks for a neat extension to the Mapnik layer for the mapper.

Cheers, Chris

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread LeedsTracker
2009/1/22 Christopher Schmidt crschm...@metacarta.com:
 On Thu, Jan 22, 2009 at 12:23:56PM +, LeedsTracker wrote:
 2009/1/22 Christopher Schmidt crschm...@metacarta.com:
 In mapnik, some bits rendered slightly differently in style (e.g. base
 background colour differs).

 This is intentional. When you zoom in or out, it's nice to see a
 difference between what is 'up-to-date' and what is not -- the way I've
 implemented that is with a background color change (from tan - white).

Yes, makes sense.

 Some names (e.g. of buildings or streets)
 rendered differently to weekly mapnik too.

 Positioning, or text? Positioning may be different, because the image is
 not tiled in the same way, so I've seen things shift a little due to
 different available spacing.

Seems to be slightly different rules about which names are rendered.

E.g. this area has no changes since last mapnik weekly (AFAIK):
http://www.openstreetmap.org/?lat=53.79741lon=-1.58727zoom=17layers=B000

Switching between mapnik and your layer, names for buildings or pubs
are rendered in one and not another. Same for some icons, e.g. cafe
icon in one, the postoffice next door in another.

Minor things, but you asked for feedback!

cheers,
LT

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread Steve Chilton
Very neat.
Works well and very quick.
I tested on something I did last night which shows fine, but it was a
coastal area and no land/sea (ie no coast showing) which is a little
disorientating (I was editing a river/coastline combination) so presume
it doesn't pick/use the relevant shapefiles.
Thanks for the work

STEVE

Steve Chilton, Learning Support Fellow
Manager of e-Learning Academic Development
Centre for Educational Technology
Middlesex University
phone/fax: 020 8411 5355
email: ste...@mdx.ac.uk
http://www.mdx.ac.uk/schools/hssc/staff/profiles/technical/chiltons.asp

Chair of the Society of Cartographers: http://www.soc.org.uk/

SoC conference 2008:
http://www.abdn.ac.uk/cartographers08/

-Original Message-
From: talk-boun...@openstreetmap.org
[mailto:talk-boun...@openstreetmap.org] On Behalf Of Christopher Schmidt
Sent: 22 January 2009 12:09
To: talk@openstreetmap.org
Subject: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

Hi,

After a recent spate of OSM activity, especially with regards to
rendering and so on, I've put together a bookmarklet designed to help
visualize changes to OSM data in Mapnik more rapidly.  

http://labs.metacarta.com/osm/up-to-date/

Using osmosis, osm2pgsql, and Mapnik, a bookmarklet which will draw the
'current' state of the database, delayed by less than 10 minutes. Simply
press this button, and an image will be drawn over the map showing the
current state of the database.

You simply drag the bookmarklet to your browser bookmarks toolbar, and
click it on any OSM map: InformationFreeway, main map, /browse/ pages,
etc.

I believe that all the kinks of this particular service have been
worked out at this point, though I'm happy to take any feedback or
criticism you have. (Please CC me on any important feedback.) 

Best Regards,
-- 
Christopher Schmidt
MetaCarta

___
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] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread maning sambale
Nice and quick on firefox.  But on safari:

Safari can't use JavaScript for this action.
Safari can't run the script (function() { var s =
document.createElement(script);
s.src=http://labs.metacarta.com/osm/up-to-date/bookmarklet.js;;
document.body.appendChild(s)})() because Safari doesn't allow
JavaScript to be used in this way.

Still a nice piece of javascript.

On Thu, Jan 22, 2009 at 9:18 PM, Steve Chilton s.l.chil...@mdx.ac.uk wrote:
 Very neat.
 Works well and very quick.
 I tested on something I did last night which shows fine, but it was a
 coastal area and no land/sea (ie no coast showing) which is a little
 disorientating (I was editing a river/coastline combination) so presume
 it doesn't pick/use the relevant shapefiles.
 Thanks for the work

 STEVE

 Steve Chilton, Learning Support Fellow
 Manager of e-Learning Academic Development
 Centre for Educational Technology
 Middlesex University
 phone/fax: 020 8411 5355
 email: ste...@mdx.ac.uk
 http://www.mdx.ac.uk/schools/hssc/staff/profiles/technical/chiltons.asp

 Chair of the Society of Cartographers: http://www.soc.org.uk/

 SoC conference 2008:
 http://www.abdn.ac.uk/cartographers08/

 -Original Message-
 From: talk-boun...@openstreetmap.org
 [mailto:talk-boun...@openstreetmap.org] On Behalf Of Christopher Schmidt
 Sent: 22 January 2009 12:09
 To: talk@openstreetmap.org
 Subject: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

 Hi,

 After a recent spate of OSM activity, especially with regards to
 rendering and so on, I've put together a bookmarklet designed to help
 visualize changes to OSM data in Mapnik more rapidly.

 http://labs.metacarta.com/osm/up-to-date/

 Using osmosis, osm2pgsql, and Mapnik, a bookmarklet which will draw the
 'current' state of the database, delayed by less than 10 minutes. Simply
 press this button, and an image will be drawn over the map showing the
 current state of the database.

 You simply drag the bookmarklet to your browser bookmarks toolbar, and
 click it on any OSM map: InformationFreeway, main map, /browse/ pages,
 etc.

 I believe that all the kinks of this particular service have been
 worked out at this point, though I'm happy to take any feedback or
 criticism you have. (Please CC me on any important feedback.)

 Best Regards,
 --
 Christopher Schmidt
 MetaCarta

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



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




-- 
cheers,
maning
--
Freedom is still the most radical idea of all -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
--

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread Marc Schütz
 After a recent spate of OSM activity, especially with regards to
 rendering and so on, I've put together a bookmarklet designed to help
 visualize changes to OSM data in Mapnik more rapidly.  
 
 http://labs.metacarta.com/osm/up-to-date/
 
 Using osmosis, osm2pgsql, and Mapnik, a bookmarklet which will draw the
 'current' state of the database, delayed by less than 10 minutes. Simply
 press this button, and an image will be drawn over the map showing the
 current state of the database.
 
 You simply drag the bookmarklet to your browser bookmarks toolbar, and
 click it on any OSM map: InformationFreeway, main map, /browse/ pages,
 etc.
 
 I believe that all the kinks of this particular service have been
 worked out at this point, though I'm happy to take any feedback or
 criticism you have. (Please CC me on any important feedback.) 

Great work!

However, the rendering rules seem to be different. For example:

http://www.openstreetmap.org/?lat=49.9008lon=10.89623zoom=17layers=B000TFTF

The street Klosterstraße has the additional name Main-Radweg of a 
cycleroute relation of which it is a member.

Regards, Marc

-- 
NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread Christopher Schmidt
On Thu, Jan 22, 2009 at 01:18:35PM +, Steve Chilton wrote:
 Very neat.
 Works well and very quick.
 I tested on something I did last night which shows fine, but it was a
 coastal area and no land/sea (ie no coast showing) which is a little
 disorientating (I was editing a river/coastline combination) so presume
 it doesn't pick/use the relevant shapefiles.

Right, this is part of the 'real' reason behind the background color
change: I dropped all the coastal shapefiles from my osm.xml, which is
why I went with the white background. (Yes, I'm lazy.) 

Regards,
-- 
Christopher Schmidt
MetaCarta

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread Christopher Schmidt
On Thu, Jan 22, 2009 at 09:28:16PM +0800, maning sambale wrote:
 Nice and quick on firefox.  But on safari:
 
 Safari can't use JavaScript for this action.
 Safari can't run the script (function() { var s =
 document.createElement(script);
 s.src=http://labs.metacarta.com/osm/up-to-date/bookmarklet.js;;
 document.body.appendChild(s)})() because Safari doesn't allow
 JavaScript to be used in this way.
 
 Still a nice piece of javascript.

What version of Safari? I'm using Version 3.1.2 (5525.20.1) on OS X
without problems.

 On Thu, Jan 22, 2009 at 9:18 PM, Steve Chilton s.l.chil...@mdx.ac.uk wrote:
  Very neat.
  Works well and very quick.
  I tested on something I did last night which shows fine, but it was a
  coastal area and no land/sea (ie no coast showing) which is a little
  disorientating (I was editing a river/coastline combination) so presume
  it doesn't pick/use the relevant shapefiles.
  Thanks for the work
 
  STEVE
 
  Steve Chilton, Learning Support Fellow
  Manager of e-Learning Academic Development
  Centre for Educational Technology
  Middlesex University
  phone/fax: 020 8411 5355
  email: ste...@mdx.ac.uk
  http://www.mdx.ac.uk/schools/hssc/staff/profiles/technical/chiltons.asp
 
  Chair of the Society of Cartographers: http://www.soc.org.uk/
 
  SoC conference 2008:
  http://www.abdn.ac.uk/cartographers08/
 
  -Original Message-
  From: talk-boun...@openstreetmap.org
  [mailto:talk-boun...@openstreetmap.org] On Behalf Of Christopher Schmidt
  Sent: 22 January 2009 12:09
  To: talk@openstreetmap.org
  Subject: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet
 
  Hi,
 
  After a recent spate of OSM activity, especially with regards to
  rendering and so on, I've put together a bookmarklet designed to help
  visualize changes to OSM data in Mapnik more rapidly.
 
  http://labs.metacarta.com/osm/up-to-date/
 
  Using osmosis, osm2pgsql, and Mapnik, a bookmarklet which will draw the
  'current' state of the database, delayed by less than 10 minutes. Simply
  press this button, and an image will be drawn over the map showing the
  current state of the database.
 
  You simply drag the bookmarklet to your browser bookmarks toolbar, and
  click it on any OSM map: InformationFreeway, main map, /browse/ pages,
  etc.
 
  I believe that all the kinks of this particular service have been
  worked out at this point, though I'm happy to take any feedback or
  criticism you have. (Please CC me on any important feedback.)
 
  Best Regards,
  --
  Christopher Schmidt
  MetaCarta
 
  ___
  talk mailing list
  talk@openstreetmap.org
  http://lists.openstreetmap.org/listinfo/talk
 
 
 
  ___
  talk mailing list
  talk@openstreetmap.org
  http://lists.openstreetmap.org/listinfo/talk
 
 
 
 
 -- 
 cheers,
 maning
 --
 Freedom is still the most radical idea of all -N.Branden
 wiki: http://esambale.wikispaces.com/
 blog: http://epsg4253.wordpress.com/
 --

-- 
Christopher Schmidt
MetaCarta

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread Christopher Schmidt
On Thu, Jan 22, 2009 at 02:42:43PM +0100, Marc Schütz wrote:
  After a recent spate of OSM activity, especially with regards to
  rendering and so on, I've put together a bookmarklet designed to help
  visualize changes to OSM data in Mapnik more rapidly.  
  
  http://labs.metacarta.com/osm/up-to-date/
  
  Using osmosis, osm2pgsql, and Mapnik, a bookmarklet which will draw the
  'current' state of the database, delayed by less than 10 minutes. Simply
  press this button, and an image will be drawn over the map showing the
  current state of the database.
  
  You simply drag the bookmarklet to your browser bookmarks toolbar, and
  click it on any OSM map: InformationFreeway, main map, /browse/ pages,
  etc.
  
  I believe that all the kinks of this particular service have been
  worked out at this point, though I'm happy to take any feedback or
  criticism you have. (Please CC me on any important feedback.) 
 
 Great work!
 
 However, the rendering rules seem to be different. For example:
 
 http://www.openstreetmap.org/?lat=49.9008lon=10.89623zoom=17layers=B000TFTF
 
 The street Klosterstraße has the additional name Main-Radweg of a 
 cycleroute relation of which it is a member.

The osm.xml files are largely the same (I think I'm out of date by a
couple commits, but they're the same other than that). I'm using the
default.style that ships with osm2pgsql, so maybe this is doing
something different than the main site.

The only other possibility that I'm not entirely sure of the likelihood
of is that diff parsing has messed up this relation in some way.

Anyway, thanks for the feedback; I have no immediate suggestions on a
possible reason for this behavior.

Regards,
-- 
Christopher Schmidt
MetaCarta

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread Jon Burgess
2009/1/22 Christopher Schmidt crschm...@metacarta.com:
 On Thu, Jan 22, 2009 at 02:42:43PM +0100, Marc Schütz wrote:
  After a recent spate of OSM activity, especially with regards to
  rendering and so on, I've put together a bookmarklet designed to help
  visualize changes to OSM data in Mapnik more rapidly.
 
  http://labs.metacarta.com/osm/up-to-date/
 
  Using osmosis, osm2pgsql, and Mapnik, a bookmarklet which will draw the
  'current' state of the database, delayed by less than 10 minutes. Simply
  press this button, and an image will be drawn over the map showing the
  current state of the database.
 
  You simply drag the bookmarklet to your browser bookmarks toolbar, and
  click it on any OSM map: InformationFreeway, main map, /browse/ pages,
  etc.
 
  I believe that all the kinks of this particular service have been
  worked out at this point, though I'm happy to take any feedback or
  criticism you have. (Please CC me on any important feedback.)

 Great work!

 However, the rendering rules seem to be different. For example:

 http://www.openstreetmap.org/?lat=49.9008lon=10.89623zoom=17layers=B000TFTF

 The street Klosterstraße has the additional name Main-Radweg of a 
 cycleroute relation of which it is a member.

 The osm.xml files are largely the same (I think I'm out of date by a
 couple commits, but they're the same other than that). I'm using the
 default.style that ships with osm2pgsql, so maybe this is doing
 something different than the main site.

 The only other possibility that I'm not entirely sure of the likelihood
 of is that diff parsing has messed up this relation in some way.

 Anyway, thanks for the feedback; I have no immediate suggestions on a
 possible reason for this behavior.

The osm2pgsql on the main site has a small tweak so that it does not
process any route relations. This was implemented a few months back
when people objected to these routes being shown.


-- 
Jon

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread Christopher Schmidt
On Thu, Jan 22, 2009 at 02:52:12PM +, Jon Burgess wrote:
 2009/1/22 Christopher Schmidt crschm...@metacarta.com:
  On Thu, Jan 22, 2009 at 02:42:43PM +0100, Marc Schütz wrote:
   After a recent spate of OSM activity, especially with regards to
   rendering and so on, I've put together a bookmarklet designed to help
   visualize changes to OSM data in Mapnik more rapidly.
  
   http://labs.metacarta.com/osm/up-to-date/
  
   Using osmosis, osm2pgsql, and Mapnik, a bookmarklet which will draw the
   'current' state of the database, delayed by less than 10 minutes. Simply
   press this button, and an image will be drawn over the map showing the
   current state of the database.
  
   You simply drag the bookmarklet to your browser bookmarks toolbar, and
   click it on any OSM map: InformationFreeway, main map, /browse/ pages,
   etc.
  
   I believe that all the kinks of this particular service have been
   worked out at this point, though I'm happy to take any feedback or
   criticism you have. (Please CC me on any important feedback.)
 
  Great work!
 
  However, the rendering rules seem to be different. For example:
 
  http://www.openstreetmap.org/?lat=49.9008lon=10.89623zoom=17layers=B000TFTF
 
  The street Klosterstraße has the additional name Main-Radweg of a 
  cycleroute relation of which it is a member.
 
  The osm.xml files are largely the same (I think I'm out of date by a
  couple commits, but they're the same other than that). I'm using the
  default.style that ships with osm2pgsql, so maybe this is doing
  something different than the main site.
 
  The only other possibility that I'm not entirely sure of the likelihood
  of is that diff parsing has messed up this relation in some way.
 
  Anyway, thanks for the feedback; I have no immediate suggestions on a
  possible reason for this behavior.
 
 The osm2pgsql on the main site has a small tweak so that it does not
 process any route relations. This was implemented a few months back
 when people objected to these routes being shown.

Is that in the default.style? Or is it deeper in the C code? 

(I guess another question is whether these routes are useful in the
up-to-date view, since it is more of an 'editor' tool.)  

Regards,
-- 
Christopher Schmidt
MetaCarta

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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread sylvain letuffe

 The osm.xml files are largely the same (I think I'm out of date by a
 couple commits, but they're the same other than that). 

Many thanks for the wiki page, strangely, I was working on the exact same 
thing at the same time ;-)

Seams we came accross to almost the same tools and solution.

My question now, if it please you to give a little technical details, is :

- how big is your rendering server ?
- can you hold the load for several users ?
- are you using mod_tile ? 
- do you have cache on tiles ?

-- 
Sylvain Letuffe li...@letuffe.org
qui suis-je : http://slyserv.dyndns.org



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


Re: [OSM-talk] Up-to-Date, Minutely Mapnik Bookmarklet

2009-01-22 Thread Ed Loach
 After a recent spate of OSM activity, especially with regards
 to
 rendering and so on, I've put together a bookmarklet designed
 to help
 visualize changes to OSM data in Mapnik more rapidly.
 
 http://labs.metacarta.com/osm/up-to-date/

I'm not entirely sure what a bookmarklet is, but if I cut and paste
the javascript contents of the href='' on that page into the address
bar of IE7 when I have the area selected it seems to do something. I
only gave it a few seconds after making a change though, so the only
difference I noticed was the background colour. I'll give it a few
minutes and try again.

Ed





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