User talk:Ojw

From OpenStreetMap Wiki
Jump to navigation Jump to search

Zurich Mainstation Picture

done. [[1]]

if there was a rule for rendering railway=service (and area=railway), it would be visible in mapnik/osmarender too... i'm experimenting with it in kosmos right now.

RalpH himself 13:43, 24 November 2008 (UTC)

Got it :D [[2]]

It's way more colorful than the potlatch-version, just have a look at it. if you prefer the new one, i'll upload it immediately.

RalpH himself 15:17, 24 November 2008 (UTC)

City template problem

Sorry for the problem with the city template. The reason was that on Karlsruhe I clicked on the edit link in the page (not the one in the tab at the top). This then sends you to the edit page for the template and not for the original page, which I think is very confusing. Maybe you can fix this somehow?

-- User:Joto

Nice UK map

Hi Ojw. I was just looking at your PHP rendering work. Looks great! I particularly like your UK map. It's the first time I've visually had a feel for how much of the UK is mapped out. It's a shame the online view of the UK doesn't look more like this. -- Harry Wood 10:00, 18 May 2006 (UTC)

Problems with OSM interface

Have you tried osmeditor? Erik Johansson 12:10, 18 Jun 2006 (UTC)

I've just been trying to compile it this week, although the reason for that is that I want to display current GPS position on osmeditor and use it as a moving-map
looking at the source-code I'm wondering if Nick's already added a gpsd interface...
As far as editing goes, I'm using JOSM, but I still think that Java is a PITA - it's a stupidly large download that takes days to obtain on a modem, it's contaminating my computer with non-free software, and it can't be downloaded using apt-get like all normal software (meaning I'll never get updates if they find a security problem with the JVM)
I agree on all you points, but when it's installed java works fine. Besides Josm and some other great applications make good use of it, and it enables me to recommend it to other people not running Linux. The apt-get PITA is a grave one, but as an barbaric pragmatical user I just blame Debian legal/SPI.. ;-) Erik Johansson 07:17, 19 Jun 2006 (UTC)
I realise that this probably doesn't help, but Ubuntu can install java with apt-get. I realise that some people believe that Ubuntu is evil, so that's fine if you do. Apparently java is to be made open source at least, but mabye notBruce89 16:43, 19 Jun 2006 (UTC)
apt-get for Sun Java 1.5, as required by JOSM? I thought it could only install GNU classpath which is apparently inferior. Ojw 17:18, 19 Jun 2006 (UTC)
sudo aptitude install sun-java5-jre
installs Java 1.5, it is in Dapper's Multiverse. Licencing changes by Sun mean that distros can now include in their repositories. See vnunet story. Mabye GCJ could be supported with JOSM? - Bruce89 17:27, 19 Jun 2006 (UTC)
Thanks - that's pretty useful know about! Ojw 17:58, 19 Jun 2006 (UTC)
Thanks Bruce, I do need to upgrade my ubuntu first, which I'm reluctant to do atm.. Erik Johansson 08:24, 3 Jul 2006 (UTC)
Sorry about the late reply, but Sun's java is only available in Dapper (6.06 LTS) and above. Bruce89 12:12, 8 Aug 2006 (BST)


Do you have a nice "work flow" for how to get things into OSM? That is how would you like to work and what would the tools need to get you job done as fast as possible? Erik Johansson 12:10, 18 Jun 2006 (UTC)

At what level are you asking? For suggested tweaks to the existing tools, for tutorials on how to use the tools, or for long-term ideas of where the editing software might go?
As an example, I responded to some of Nick's research with a little sketch of a PDA editing interface I thought might be neat: User:OJW/DataGatherNotes. But it's not something that I'd buy a phone or PDA for, although it might be nice to attach to the laptop in my car (e.g. buttons on the steering wheel for "we've just passed a roundabout - mark it!")
I use a modded mouse for this on my bike. As in I removed the plastic casing and used ducttape to fasten it to my cycle handlebars (can I write "my cycle handlebars") Erik Johansson 07:17, 19 Jun 2006 (UTC)
Another example, I wrote something to let you upload waypoints easily, name them, mark them as pubs, etc. and upload them to OSM as nodes all through a web interface [3]. If you've got notes that make reference to waypoints, that would let you find them 1 and make editing easier. That project has stalled at the moment, as I can't figure out how to upload nodes to OSM using PHP (all the libraries I try are either not installed on my host's PHP installation, or give various error codes when connecting to OSM, or just plain don't create the node)
My current method for integrating waypoints with OSM is to view the waypoint on my GPS screen, or in the GPX source code, them move the mouse around in JOSM until the lat/long numbers match, and put a node there.  There are various things that would be nice in JOSM, e.g. typing a coordinate in and having it marked on screen (and it's a short step from there to marking your current position from the gpsd file) and I've put a few ideas as JOSM feature requests in trac
That's horribly tedious... So you want waypoint integration in JOSM, so josm can higlight waypoints that have been loaded form the GPX file, would that be a good idea?Erik Johansson 07:17, 19 Jun 2006 (UTC)
That would be good, to display waypoints in JOSM. It can already load waypoint files, but they just display as grey dots the same as any other points (can't select them to view the name or anything).
The other good feature for JOSM would be for it to read a lat/long from a file, and monitor that file for changes - if the file is created by a gpsd script, it would let you do editing directly while you move, by seeing your current position on the JOSM map.
You know you can change the colour of a GPX track/waypoints? Wouldn't it be hard to work with a moving map? Erik Johansson 14:57, 19 Jun 2006 (UTC)
Finding them isn't so much a problem, as knowing which one is "waypoint 113, start of Birch Street". Your colour suggestion is still useful though, as it makes it easier to find waypoints if you know their approximate area.
Moving map wouldn't necessarily have to follow your position (though would be nice when you're not trying to edit), just display it and let the user zoom around themselves.
Just a note that there's now a tool for importing lists of waypoints. Ojw 23:33, 6 Aug 2006 (BST)

Why don't we have any tags?

While generating PDF atlas, one of the things which stood-out about OpenStreetmap data was the lack of tags. Projects like WikiProject United Kingdom Motorways have marked roads as 100% complete when they comprise only generic unlabelled segments, indistinguishable from a farm track by anything other than their two-lanes and slip-road junctions.

At the time this was done there was no support for ways, and nothing that rendered anything, and the only scheme for tagging was the class scheme (which was pretty rudimentary). There seemed to be no point in adding tags until ways and a decent renderer were developed. Even now the creation of very long ways doesn't seem to be very practical. 80n 20:50, 2 Jul 2006 (UTC)

Organisationally, none of the ideas developed by the Map Features people are getting across to the Editing people.

It's a travesty that the applet promotes the use of the class tag when the best scheme at the moment is Map Features. Map Features isn't perfect and is very Anglo-centric, but is currently the best documented, most well thought out and most comprehensive scheme that we have. 80n 20:50, 2 Jul 2006 (UTC)
I wouldn't call "highway=byway" anglocentric ;-)
What would be really good is some server-side rules that just go through the data slowly, correcting stuff. e.g.
  • "Name=x" to "name=x"
  • "amenity=pub" to "amentiy=public_house" (or whatever the preferred version is)
  • "class=primary" to "highway=primary" (if that's what we're using)
  • "highway=railway" to "railway=rail"
It would be interesting to see how JOSM chooses its dropdown list of tag names too - it often seems to put "Name" as the default, when osmarender prefers lowercase.

Noone's being lazy either - the editors have each taken the time to trace-out an entire motorway, marking junctions and roundabouts and all-sorts. I think it's just not obvious to people using the editors what meta-data is available for them to add.

Until there is some way for the users to pick a tagging scheme this will continue. IMHO all tags should be prohibited until a user selects a tagging scheme, otherwise they might as well enter total rubbish (like freeway=turnpike, oneway=left, bike=cannondale) for all the good it will do anyone. 80n

On the online editor, or on JOSM, you get your GPS trace, and create a white line showing the road. That's it - there's nothing you can do in the editor that will make your road look any better than a white line. If you somehow figured-out that you were supposed to add "highway=motorway" to the road, it wouldn't magically turn blue and get displayed with motorway symbols. And if you looked at other, well-tagged motorways, they'd look just the same as your generic line segments. There's no feedback, no way of showing people what they've got, and comparing it to what they can aim for. And precious little instruction (you can't mark a segment as railway, you have to set railway=rail)

Agreed. Without WISIWYG we will not attract the masses that are needed to cover the whole planet. 80n 20:50, 2 Jul 2006 (UTC)

Hopefully with osmarender PHP rendering and PDF atlas and Freemap and all the rest, we'll start to see how bare the maps look, and start putting in the meta-info. But will it be too late, after the person who entered the route in JOSM has moved onto something else, without ever realising that they were supposed to type "highway=motorway;Name=M1;oneway=yes" into the editor, and line-up all the segments in a particular order?

It is still very early days for the project. There is an enormous amount of mapping to be done. But because there is very little guidance, and because the best scheme is Anglo-centric, the tagging of ways is nowhere near as good as it needs to be. 80n 20:50, 2 Jul 2006 (UTC)

Rendering ways

BTW There are far too many renderers that do a good job of segments, but don't deal with tags on ways. This is really destructive as it encourages people to tag segments and not to tag or create ways. Tags on segments should be prohibited (except where they override an identical tag on a way - and even then I'm not sure that is a good idea). 80n 20:50, 2 Jul 2006 (UTC)

Which renderers? Maybe we should create a page where people can report things they'd like changed in the renderers (like the Proposed map features page, but for bug reports as well as enhancement requests). Or just use wiki pages as we do already...
pps. I'm thinking it might be useful to have a program which autogenerates osmarender stylesheets, so that you can add feature types (and handle mistagged segments) without a lot of cutting/pasting.


(Not posted to the dev mailing list, as the people there are busy enough without getting all the complaints yet)

I was just showing someone how to use JOSM to edit their railway journeys yesterday, but when we went to to view their handiwork (even 24 or 48 hours later), the railway wasn't visible. The journey was too long to render it easily (why can't JOSM export "only data within the current view" so that we can render the area we're working on?) so the person was left not knowing what they contributed to the project.


How did you get the airport data into Cranfield and Waddington? Is this from DAFIF? Bruce89 21:05, 6 Aug 2006 (BST)

I traced it from Landsat photos using the online editing applet. Ojw 21:40, 6 Aug 2006 (BST)
Although it looks like at least one person got a GPS tracklog down Heathrow runway...
I'm afraid to say that the diagonal runway has been closed to planes, it is just a taxiway now. Bruce89 10:56, 7 Aug 2006 (BST)
I'll put together a list of "tags" for runways sometime. They tend to need things like length, width, surface, active/inactive, private/military/civil, etc. Ojw 11:05, 7 Aug 2006 (BST)
Take a look at the proposed features page/airports section. I just added an example render of Copenhagen airport and the osmarender2 rules I used for it. The data for the runways where taken from the AIP documents for Copenhagen Airport. The AD (Aerodrome Description) document gives the lat/lon for the runway thresholds, and the ADC (Aerodrome Description Chart) shows the runways and taxiways with a lat/lon grid overlaid, making it easy to plot and name the taxiways. AIP documents for the various aerodromes should be available from the various national CAA's. Dutch 11:03, 20 Aug 2006 (BST)

Almien Coastlines request

Could you please do a coastline for the Isle of Amager (the island where Copenhagen airport is locate. It should be in the NGA CD21 shape files, somewhere around 55.65320,12.64406 Dutch 11:07, 20 Aug 2006 (BST)

Starting now. It's tile 22 (lookup PGS tiles) Ojw 17:43, 20 Aug 2006 (BST)

Current coastlines situation

I was confused by your comment here. It seemed to me that this needed thrashing out as a proper discussion, hence I set up the section: Proposed features/Coastline#Deprecation?

...but since then, everyone I've asked about it (including chatting to User:80n at the mapping party on Saturday) have never heard of the deprecation purge idea, and certainly don't support it. But you wrote the script, so you probably know better than anyone. What's the current recommendation for coastline? Is it a case of "Run the script for areas you are interested in, but don't get carried away" ? -- Harry Wood 12:22, 10 September 2007 (BST)

Yes, anyone mapping an area is encouraged to import coastlines for that area if they don't already exist. Ojw 13:39, 10 September 2007 (BST)


Hi, I notcied you have been adding superstars to images. I created set of stars a short while ago. Since you use the stars, I wondered if you recon there should be some standardisation of stars (as in example). Also the superstar seems to have been used for images and for people. Should there be a different superstar for images do you think? 17:00, 16 Sept 2006 (BST)

Create or find a better image and add it to the Template:Featured page - the superstar is only there as a placeholder until someone comes up with a more appropriate image. Ojw 17:04, 16 September 2006 (BST)


I figured out, what caused the login to fail: if the Zip gets too big (no idea how big exactly but in the 6-11 MB range) the php apparently doesn't get the username and the login fails. apparently the hangs at this point, not really getting the information that the upload has been rejected. --Deelkar (talk) 01:52, 5 December 2006 (UTC)

furthermore the should first move the PNGs to a (Temporary) subdir, pack them there and then delete them otherwise PNGs generated while compressing the first batch will get deleted. This step can also be used to keep the zip size down for the upload. --Deelkar (talk) 02:06, 5 December 2006 (UTC)

also I noted some projection errors (?) documented here: Image:Z12_X2148_Y1332_to_X2149_Y1332.png --Deelkar (talk) 02:53, 5 December 2006 (UTC)

They won't align with tiles generated by the old tiles@home program, since that does additional projections inside each tile that the tilespipe doesn't Ojw 12:36, 5 December 2006 (UTC)

tiles@home account

  1. Hi,

I would like to use an unuserd Dual Xeon Server (running FC6) to render tiles.
I'm installin all the pieces on my laptop for testing. --EdoM (Parliamone) 16:04, 24 April 2007 (BST)

Email me (I can't really send your password via a wiki talk page!) Ojw 19:23, 24 April 2007 (BST)
  1. Hi,

I sent you an E-Mail with an Account request, did you rescived it? Cant wait let my PC work for tiles@home :-) --falstaff 12:07, 24 Ocotober 2007 (UTC+2)

  1. Hi! I sent you an email with an account request for t@h. Thanks! --Accurimbono 08:35, 5 May 2008 (UTC)

MapOf wallpaper

I just love the MapOf wallpaper generation that you have put into Template:Place, however i feel that it is missing an OSM Mini-osm-logo.png or Osm linkage.png& CC File:By-sa-20-88x31.png or File:By-sa-20-80x15.png logo in some corner. Could that be easily put on the map as a last step? Perhaps also "", so that anyone can simply use the image anywhere, easily, legally. Tnx, Stefanb 13:58, 15 June 2007 (BST)

maybe the small logos should be used for images smaller than eg 300x300 and normal logos otherwise. -- Stefanb 18:25, 15 June 2007 (BST)

Yes the MapOf wallpaper is neat. What's its proper name? This kind of thing (url parameters for fetching maps) gives lots of potential for simple mapping mashups. In fact take a look at MediaWiki plugin. I've sketched out some ideas on that page, with the assumption that something like this will be available. Just some ideas. Feel free to edit! -- Harry Wood 18:37, 10 July 2007 (BST)

This Simple image MediaWiki Extension is now installed and running on this wiki (as of London Hack Day) Example:


If people start making extensive use of this (which they haven't yet) then your MapOf script will start seeing some more action, but if you look at the SRC url there, we're pointing browsers at firefishy's proxy, so that'll take the strain. Also we deployed the Slippy Map MediaWiki Extension at the same time. Maybe this will end up being used more

-- Harry Wood 21:29, 24 February 2008 (UTC)

Did the MapOf service switch projections or something? Images are coming through horizontally squashed. This is a problem on all the wiki pages which use the plugin (<map> syntax). For example WikiProject United Kingdom -- Harry Wood 21:28, 17 July 2008 (UTC)

MapOf with mapnik??

Hi, I use your MapOf script to create wallpapers as described here: Wallpaper and i have a question about that here: Talk:Wallpaper. Thanks in advance....

MapOf with marker


We want to use the MapOf Site in a program called "Geocache Scanner". We want to create an image with coordinates of the geocache in the middle, but we need an marker on that point. The german mailinglist said I should ask you. Perhaps you can give us the source code, that we can implement the feature. Thanks in advance. John07 --John07 14:33, 20 December 2007 (UTC) problems

Hi! some days ago you pointed me to the and in svn.
I'm just trying the scripts but i encounter some problems. I suppose you are the script creator, so can i ask you?

problem 1: timestamps

I have some tracklogs form different devices. While the does'nt care about the timestamp format, the request the timestamp as
but some devices (Nokia Sport Tracker) add the second fraction to the timestamp

so the script will exit on error. My device (a Windows PDA with OSMtracker) sepatate the minutes from second with a dot and not a colon.


Could you modify the script to manage this kind of issue? --EdoM (lets talk about it) 10:20, 11 February 2008 (UTC)

Try something like "text[17] = ':'" before interpreting it? Ojw 13:48, 11 February 2008 (UTC)

problem 2: video rendering

once i fix the timestamp in the wrong files, when i try to have the video rendered i obtain this error:

[marascalchie@edomobile video rendering]$ python 
Loading data
 * Luca.gpx
 * 20080106 083644.gpx
 * Roberto.gpx
 * 20080106-1329-pavia-tracklog.gpx
 * 20080106-1329-pavia-waypoints.gpx
 * Davide.gpx
Read 14359 points in 6 files
Calculating extents
Centred on 45.092486, 9.222541
 - Lat 45.047486 to 45.137486, Long 9.158799 to 9.286284
 - Ratio: 1.416502
Creating image 720 x 600 px
Outputting to out_m.mpg at 720 x 600
Traceback (most recent call last):
  File "", line 499, in <module>
  File "", line 417, in drawTitle, 70)
  File "", line 52, in addFrame
    buf = surface.get_data_as_rgba()
AttributeError: 'cairo.ImageSurface' object has no attribute 'get_data_as_rgba'

I don't know python so i can't troubleshot the error. --EdoM (lets talk about it) 10:37, 11 February 2008 (UTC)

as poined out on ML, the problem should be the surface.get_data_as_rgba() was replaced by get_data() and i'm trying to modify the code, but i can't find any documentation about pycairo! --EdoM (lets talk about it) 17:35, 11 February 2008 (UTC)
i'm still trying to have a render going. If i change get_data_as_rgba() to get_data() i have this error:
Traceback (most recent call last):
  File "", line 501, in <module>
  File "", line 419, in drawTitle, 70)
  File "", line 58, in addFrame
    s= pygame.image.frombuffer(buf, (self.width,self.height), "RGBA")
TypeError: char buffer type not available

any idea? --EdoM (lets talk about it) 16:06, 12 February 2008 (UTC)

I managed to resolve the problem just writing every single frame to a png and loading it in pygame. I can send you the patched code. --EdoM (lets talk about it) 16:28, 19 February 2008 (UTC)

problem 3: fade out to map not working

As explained on Party Render talk page, fade out to the map no longer works. The problem seems to be that URL no longer exists. Is there any alternative ?

Looks like that directory was missed when the dev server was changed. I've restored the directory from backup - do you have a URL that you can test it with? Ojw 13:45, 22 December 2009 (UTC)
yeah, it seems to be working now, thanks! In my example, was trying with [4] to make a Party Video at [5]. As it now works and map is perfectly aligned with GPS tracks, I would say it is fixed now. Thanks again! --mnalis 18:11, 22 December 2009 (UTC)

Featured images


as I see you are involved putting featured images on the main page. On the proposal page I read "Once consensus is reached here..." but I can not find where the consensus was reached. Because I would like to see my image "Map with individual POI display" on the main page which I uploaded already some weeks ago and I would like to know where and how I can support my image to reach the consensus. Thanks, --Plenz 15:46, 8 March 2008 (UTC)

"Consensus" seems to mean "lack of objections" on the featured image proposals page, so maybe the phrase needs changing.
The POI map will be featured (perhaps even next week) but it would be nice to have the description written in 3rd person (i.e. as a description rather than a message, e.g."my brand new program": -> "Plenz' website"). Ojw 12:46, 9 March 2008 (UTC)
Thanks for your comment. Meanwhile Frederik told me what to do. I supposed that I only had to add my picture on the "proposal" page, then it would be discussed and after that it would be moved to the "featured" list. That's why I asked. I did not know that I can insert my picture by myself.
I changed the text and hope, it is better now. If not, please let me know. --Plenz 08:11, 10 March 2008 (UTC)


Hi Ojw, i tried to send you an email to get an account for T@H. Did you receive one? It is from an account. --Beckmi 14:15, 7 June 2008 (UTC)

I have several emails to do, so probably yes. Ojw 16:52, 7 June 2008 (UTC)
Thanks. --Beckmi 14:01, 8 June 2008 (UTC)

SOTM2008 - Need lift to Limerick?

I see you arriving at 15:40 on 10th July. I will arrive 17:50 and pick up a hire car - lift available if you want to travel down that night Michael Collinson mike _atthingie

Thanks. I have a hotel room in Dublin on Thursday evening, so I can't leave for Limerick until Friday. That would be too late for you? Ojw 21:58, 25 June 2008 (UTC)

Rotating images

You can simply use mogrify, it's the "batch conversion" part of Imagemagick. "mogrify -rotate 90 *" rotates all images in the folder. HannesHH down?

Hi Ojw, since yesterday I'm playing around with pyroutelib2. I'd like to understand how it works and probably contribute to it. My target is an online routing app for OSM. I'd like to move the cache from filesystem to a database with expire date and access number to each tile (probably older than 3 days OR accessed > 3 times => reload?). I'm experimenting with Google appengine and it's datastore for this purpose.

Since about 3 hours ago, returns nothing anymore. Did you notice my excessive access and turn it down? Will it go live again? Or do you have any suggestion how I can set something similar locally? I don't mind if I have to download the planet file and setup MySQL for that.

Thanks for the lib and all around it. --Indomapper 14:50, 17 July 2008 (UTC)

Hi. Yes I notice the problem too, although I haven't investigated it yet. I think it's been like that for a week or more? As far as I can tell it contains data for central London but nowhere else. See for the limits (although you can't zoom-out on that map yet). Ojw 20:41, 17 July 2008 (UTC)
Two days ago and yesterday morning, everything was fine. And it returned nice data for Indonesia too, that's what I am experimenting with. Update: I just checked, now everything works again (both London and Indonesia). Thanks for the help. I hope you don't mind me using it until I have another solution. I'll let you know if I have something to show. --Indomapper 09:27, 18 July 2008 (UTC)
Hi again, the online routing app is almost ready. Before it goes live, I want to ask your permission for using your API. I don't know how many people will be interested on using it. I myself found it's useful for finding routing errors in the map. If it hits your server too much, just let me know and I'll take it offline, so please give me your permission :-). The other thing is, I noticed that the data is about one month old. Do you have any plan on updating it? Thank you. --Indomapper 10:24, 29 July 2008 (UTC)


The page suggest moving them if they have had no discussion over the last three months. Many of those I moved had had no discussion for the last five+ months, and for some the last discussion went all the way back in 2007. Circeus 03:44, 31 October 2008 (UTC)

I originaly made that suggestion to help clear up the proposed feature page. I believe most of what you see there may have been accepted and not marked as such or they were additions to the already approved features. --Nickvet419 01:31, 1 November 2008 (UTC)

We are currently working on the proposal system. The real focus right now is to make the proposed feature page up to date with current proposals and making shure that proccess is easy to use and understand. the proposals that are sitting in the Abandoned list are proposals that havent been worked on in the last 3 months. also some of them might have been forgotton in the proposal proccess. Well have to look at each one to figure out if they have actually been abandoned or just forgotton about/not properly finnished. Proposals are just a way to vote and agree on a standard way of marking things. If you do find proposals that are already on map feature page, just mark it with {{Post-vote clean-up}} and note what list it is on, so we can get it fixed. thanks --Nickvet419 00:56, 3 November 2008 (UTC)

Your great T-shirt design

On Merchandise a t-shirt you designed is available. I like it very much, but would prefer a different url capitalization: Could you provide a version which writes the web address as instead of --Dwi Secundus 01:52, 8 March 2009 (UTC)

Source code is at Image:OjwT.svg - you're welcome to modify that and upload it to a t-shirt printing place. Ojw 18:01, 18 December 2009 (UTC)

Templates and <map> fun

I had a look at your template problem on Sample areas page, and fixed it for you (using #tag docs here )

I was thinking of pointing the mediawiki plugin at 'GetMap' instead of 'MapOf', since GetMap supports mapnik and other tilesets. Trouble is you've made GetMap take a 'permalink' URL instead of lat,lon,zoom. Could you possibly tweak it to make it support lat,lon,zoom as an alternative to permalink, so that this URL would work for example:

-- Harry Wood 02:49, 22 March 2009 (UTC)

Yes that (lat/lon as GET fields) is something I've been meaning to do for a while. I also wonder is there a better name for the image service than mapof/getmap and all the other temporary names I've been using? Ojw 10:07, 22 March 2009 (UTC)
For the benefit of google maps enthusiasts coming over here looking for things, we might prefer to call it the "OpenStreetMap static maps API", or "staticmap" for short. ...then again "GetMap" sounds good to me :-) -- Harry Wood 15:45, 25 May 2009 (UTC)

Just noticing one of the GSoC projects is about static maps. -- Harry Wood 14:30, 26 May 2009 (UTC)

yeah I know. it would be too rude to do his project in an afternoon though... Ojw 21:21, 26 May 2009 (UTC)

Problem using PyRoutelib2

Hi Owj,

I'm looking to use PyRouteLib2 to calculate a the distance between two points to use for traffic information. But currently I am struggling to get just node data from it, mostly when using the "car" transport value. The values I am using are:

51.8804,-0.454, 51.8244,-0.4946, "car"

Based upon data from the slippy map. I was wondering if maybe my values are too inaccurate and not pinned on to the road properly, or if the code is doing something unexpected, but all I get back is: no_route, and looking at the source it's pretty complicated. So I was wondering if you had any insight in to the problem.

Thanks very much,

MattCopp 15:38, 7 April 2009 (UTC)

Most likely to be lack of map data - URL in [6] is rather unmaintained - did it download any OSM files, and if so do they contain any data? Ojw 18:27, 7 April 2009 (UTC)

AirNav Rules for Kosmos

Dear Ojw, I am currently playing with Kosmos and your Air Nav Style, I added some things but as I do not know what your intention was, I didn't wanted to overwrite your style. I made the changes on my Userpage and added some screenshots, mybe you have a look: User:TobiBS/Kosmos Air Nav Rules

The only problem might be, that the airspaces are not yet defined in the map, same for the reporting points and taxiways are not yet tagged that fine and of course the WayCenter attribute doesn't work as I expected it. Maybe you have also some ideas for this stuff. TobiBS 22:04, 23 May 2009 (UTC)

Static Maps

StaticMaps throws a wobbly if you point it somewhere where the tiles aren't available: [7]. Not sure what it should do to handle that better though. -- Harry Wood 11:29, 16 August 2009 (UTC)

Gaza map for 1 year on

I have just noticed that Gaza is now amazingly detailed following an upload from Jumpstart. The mapping uses both the satellite photography that the OSM community purchased and also a ground survey organised by JumpStart. I have added it as a proposed featured image and am messaging you because it seems very appropriate to use this image early in Jan10, one year on from the crisis that got us started on the work. PeterIto 18:21, 1 December 2009 (UTC)

OK, looks good. (p.s gaza also featured in week 39) Ojw 19:22, 1 December 2009 (UTC)

OJW's list of IoW points

Is this information still useful as a separate list, or has it all been added to the map by now? Could we delete the page? Jonathan Bennett 00:38, 10 December 2009 (UTC)

welcome to delete it - IoW was completely mapped already. Ojw 21:07, 10 December 2009 (UTC)

getMap in mapJumper

Hi, I would like to add getMap in the mapJumper but I get problems.

I cannot access directly the image file because the mapJumper builds the uri with & separator and not %26 so I cannot pass a permalink. I tryed also to pass the parameters (lat, lon, zoom, layer) to the root file (index.php I suppose) with : but it gives nothing.

I it a way to define an API for the index.php file and/or the map.php file to send a request without permalink ?


In the first case we let to the user the choice of paramettersand the permalink form field is filled, in the second case, we give the user the image with default values. In the two cases, the permalink is rebuilt in the index/map file.

Thanks if you can set the getMap service mapJumper compliant. FrViPofm 16:05, 20 December 2009 (UTC)

External links proposal

Seems to me like the external links proposal could use some changes in the light of many comments favoring url over website, etc. Mind if I take over there?

-Cov 00:05, 29 January 2010 (UTC)


I have downloaded Pyrender and am trying to run it. Considerable hacking was required to get the slippy map to request tiles and for the server to download tile data. I still haven't gotten it to render anything. Is there an up-to-date version of this code anywhere?

--TomashPilshchik 5 February 2010

I have all layers working.

--TomashPilshchik 7 February 2010

Hi Ojw, I asked you per wiki mail a few weeks ago if pyrender is maintained anymore. No response so far. So I guess it's really abandoned and the Pyrender page can be updated accordingly? --MichaelS 23:25, 1 January 2013 (UTC)

Rename/Merging article Georeferenced Video

Hi Owj,

currently we are working on a better video mapping article, cause it might get more popular with my JOSM Video Mapping plugin. So would it be ok if we 'cannibalize' your georeferenced video article, put the general stuff to the video mapping article and rename the page e.g. 'video to gpx script' ? --!i! 07:55, 19 June 2010 (UTC)

StaticMap server error

Hello, I'm trying out your StaticMap tool, its rather good. Though I've got an error when trying to add a route relation as an overlay. I've tried a few different route relations, they all give an error instead of an image. The error is "500 Internal Server Error". Example image url: [8]. Everything else works fine, its just adding a relation doesn't. Thanks. --Vclaw 00:24, 23 July 2010 (UTC)

Image of the week

Hi Ojw, I didn't find a source for the 25-m-precision of the corine data you mentioned - so I didn't translate this part in the german caption. I am not an expert in these things and I also can't find this information on WikiProject_Corine_Land_Cover--so can you add it there, if it's right? Greetings -- Schusch 08:20, 18 October 2010 (BST)


Sry if I ask you again but I'm not sure if I did it already. You seem to care about the wiki, are you interested in joining the wikiteam? --!i! This user is member of the wiki team of OSM 18:26, 6 November 2010 (UTC)

Your tube map

I like your version of the Tube Network Map. Actually I've dropped this in as an optional layer for a thing I'm working on. Check it out: . Works quite nicely (although you have to untick the 'tube lines' overlay while viewing your tiles). Did you make this tileset using pyrender? -- Harry Wood 16:38, 26 November 2010 (UTC)


while looking for some code to generate track overlays (for a private project), i found your [GPX_slippy_map], which is pretty much exactly what i was looking for, great!

i just find it a little sad that both your install on the dev server and the code in the repository are more or less broken, so maybe i can help by pointing out the errors, which should not be hard to correct:.

in the code in svn:

  • the gpx overlay server url is missing "/${z}/${x}/${y}.png" at the end, so the overlay images urls are not generated correctly (openlayers api change?)
  • with that fixed, and error_reporting(0); on top of some pages (similar problems to dev server, see below), it works on my server!

in your installation on the dev server:

  • getting the traces list is broken, can't tell why because i don't have access to the code, it DOES work with the code in svn
  • but it works when maually specifying a trace id
  • your tile.php generates a HUGE pile of php error messages inside the http headers (enough for my proxy to discard the replies due to excessive headers), besides that, it seems to work, you might just stick error_reporting(0); into tile.php for a quick fix

--r00t 03:08, 11 January 2011 (UTC)

btw, a lot of warnings are generated by your usage of


this causes a warning if the array returned does not have an element 0, but list() actually lets you skip elements without using a dummy variable, simply by leaving the spot blank, so:


is cleaner, and causes no warnings. --r00t 13:46, 13 January 2011 (UTC)

Orthophotos of entire Denmark

Hi, just a notification on your page as well.

I have just added instructions for different editors at Fugro#Editor setup. The next step for me is to contact the developers of the different editors to add the imagery to the default layers. But there might still be a dns update and change of hostname in a few days (the old one would still work though) Findvej 04:21, 17 January 2011 (UTC)

usage policy of tools on

Hi, I'm writing some scripts for geocaching statistics and was looking for a GeoNames alternative using OSM data. I've found which serves my ideas very well.

Are you the author of this script? Am I allowed to call it from a) a personal python script or b) a freely distributed OS python script? Do you impose any usage restrictions? On what base data are you operating? Is this from a one-time planet dump or cloudmade shapefiles or do you have some kind of updating scheme?

For some countries (e.g. New Zealand) you only get the country name with no further subdivision. Any way to contribute to fix this? Thanks...Chaos99 14:01, 1 March 2011 (UTC)

Static images sometimes broken

For our guide of all libraries of the University of Cologne

we included links to the StaticMap-Service. Recently we experienced problems and broken images when viewing such a web page (e.g. The corresponding link is

Interestingly enough the image is shown when loading, but then the browser shows a message like:

The image can't be displayed because it contains errors.

It seems that only the last few bytes are corrupted.


--Flimm 13:35, 10 March 2011 (UTC)

replied at User talk:Flimm Ojw 13:40, 15 March 2011 (UTC)

Re: OSM T-shirt

No, I don't know what shade the OSM T-shirt was, as I don't own one and have never seen one. If my edit of the gawd-awful image was wrong, feel free to revert it. Not only is it horribly pixelized, like it was enlarged 10x from a much smaller photo, it appeared as if the white balance was off as well, as if it had been photographed by candlelight in a cave. I ran it through GIMP to autocorrect white balance, and that's what came out.  — User8192 (talk) 00:20, 3 December 2011 (UTC)

Static Maps Custom Icons


According to the wiki:

The static maps API supports custom icons via url. However, when I go to, I can't find a way to add custom markers via the API described there. Is it missing?

I guess what they mean is that for each icon you can choose its style on this page (to get this page, look at the list of markers underneath the map on this page and click on the icon there to change it) - it's better than only having one type of push-pin, but I probably wouldn't call it "custom" icons! Ojw 18:49, 9 December 2011 (UTC)

Linking to Forks

iotw, please do not mislead. FOSM is a fork and is NOT the OpenStreetMap CC BY-SA map.'s default Mapnik tiles will *remain* CC BY-SA. FOSM has around 23 contributors. OpenStreetMap has around 2500 daily contributors. -- Firefishy 12:22, 7 August 2012 (BST)

SVG support for static maps?

More and more users start owning their devices with Retina displays (HiDPI). I am thinking that making the static map API output SVG will be a very good solution to address this. Newer devices new enough to have HiDPI displays certainly support SVG rendering.

What do you think? Thanks! I really enjoy using your static map API by the way. --Jiehanzheng 07:39, 28 December 2012 (UTC)