Re: [OSM-dev] Disallowing certain characters in tag keys

2010-10-16 Thread OJ W
+1. much sanity ensues. On Sat, Oct 16, 2010 at 7:44 PM, Jochen Topf joc...@remote.org wrote: So I'd like us to think about whether we can disallow a few characters from appearing in tag keys. ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] aviation maps?

2010-08-11 Thread OJ W
If you have a source of data that can be used, then entering that into openstreetmap is usually trivial. Getting the data tends to be the problem. For example I have a converter for [some elements of] ARINC424 data, although it's not legally possible to upload the results.

Re: [OSM-dev] aviation maps?

2010-08-11 Thread OJ W
On Wed, Aug 11, 2010 at 5:57 PM, Ákos Maróy a...@maroy.hu wrote: in Europe at least, airspace information is freely available Like this? http://www.nats-uk.ead-it.com/public/index.php%3Foption=com_contenttask=blogcategoryid=167Itemid=220.html ___ dev

Re: [OSM-dev] OSM - POI files?

2010-04-17 Thread OJ W
Can anyone with working software/instructions help out on this thread: http://forum.ctc.org.uk/viewtopic.php?f=5t=36113 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

[OSM-dev] OSM - POI files?

2010-04-16 Thread OJ W
Is there some application that extracts a list of POIs from an OSM file, e.g. as GPX or whatever? It would need to collapse each polygon down into one central point, so that the output is just a list of points. ___ dev mailing list

Re: [OSM-dev] Pyroutelib vs Pyroutelib2?

2010-02-17 Thread OJ W
I should probably know more about the history of this program than I do, but here goes... I think pyroutelib was part of some huge GUI application for mobile phones, whereas pyroutelib2 just pulled-out the routing code into a smaller set of files that was easier to import into another project.

Re: [OSM-dev] Finding closet node for PyrouteLib?

2010-02-10 Thread OJ W
The data object in that routing module should have a findNode() function that gives the nearest routable node for your chosen transport type. This function is located in loadOsm.py (don't just choose the nearest OSM node since that might be a county boundary or something - the findNode function

Re: [OSM-dev] Coordinate to Pixel at lowzoom

2009-10-08 Thread OJ W
Do the conversion at 8 zoom levels higher than your tile (i.e. the tile which that pixel represents) i.e. if someone clicks the top-left pixel of 1,1...@z1 then do tile2ll of 256,2...@z8. If they click the 3rd pixel across from that then do tile2ll of 256+3,2...@z8. (replace 8 by log2 of your

Re: [OSM-dev] Coordinate to Pixel at lowzoom

2009-10-08 Thread OJ W
err, that should probably be z9 in my example. Something like: lookup_x = tile_x * tile_width + pixel_x lookup_y = tile_y * tile_width + pixel_y lookup_z = tile_z + log2(tile_width) ___ dev mailing list dev@openstreetmap.org

[OSM-dev] Corrupted/missing text in OSM node pages?

2009-08-08 Thread OJ W
OSM node history page seems to be letting some HTML through from node tags, while deleting anything between angle-brackets. Compare http://www.openstreetmap.org/api/0.6/node/458755979 with http://www.openstreetmap.org/browse/node/458755979 ___ dev

[OSM-dev] remove redirect from old ti...@home server?

2009-07-28 Thread OJ W
Currently http://dev.openstreetmap.org/~ojw/ is redirecting to tah.openstreetmap.org. Would it greatly inconvenience anyone if I stopped that from happening and put an actual website on dev.openstreetmap.org/~ojw/ ? ___ dev mailing list

Re: [OSM-dev] Fw: [Geowanking] [Fwd: [Ann] LinkedGeoData.org]

2009-07-15 Thread OJ W
like the WOEID system that Yahoo! were pushing for us to use? ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] Slippy Map Elevation Overlay

2009-04-30 Thread OJ W
It's computationally a bit more expensive on the server, but you can have a tile server that makes the white areas of regular maps transparent and overlays them on top of relief maps (i.e. opposite order to what you tried). It's trivial PHP/GD code, and uses less CPU on the client-side than

Re: [OSM-dev] GSoC Ideas

2009-03-26 Thread OJ W
PHP code is available to stitch-together map images from existing tileservers into an PNG/JPEG image (for use by things like mediawiki plugins): http://dev.openstreetmap.org/~ojw/GetMap/ maybe could add some drawing code to that, e.g. to plot locations, add icons?

Re: [OSM-dev] OSM data on on-board-terminals

2009-03-07 Thread OJ W
we did a bit of work with python/cairo that sounds similar to your idea: http://wiki.openstreetmap.org/wiki/Pyrender the way that works is: you have lots of OSM files each containing enough data to draw one tile. Many formats have been tried- osm.gz files are probably easiest to understand.

Re: [OSM-dev] Fwd: Static Maps URL

2009-02-05 Thread OJ W
It doesn't have markers, but this URL will stitch images together: http://dev.openstreetmap.org/~ojw/GetMap/ ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] Complete tileset - experiments with tile sizes and disk space

2008-12-22 Thread OJ W
On Mon, Dec 22, 2008 at 1:43 PM, Bill Magee b...@billmagee.co.uk wrote: I don't do *nix but on WinXP the typical allocation size for large disks is 4kb (and I assume other file systems will do similar). Any tile under 4kb (lots of them) will occupy this 4kb regardless. Back when ti...@home

Re: [OSM-dev] surveillance cams not shown in any render

2008-12-12 Thread OJ W
In the current stylesheet I think I can see: rule e=node k=amenity v=speed_trap On Fri, Dec 12, 2008 at 1:37 PM, 80n 80n...@gmail.com wrote: Speed cameras did used to be rendered in Osmarender. Not sure whether it has been removed deliberately (some people are opposed to helping motorists

Re: [OSM-dev] The wiki defines the database (was: relations)

2008-11-05 Thread OJ W
On Wed, Nov 5, 2008 at 1:35 AM, Erik Johansson [EMAIL PROTECTED] wrote: On Wed, Nov 5, 2008 at 12:26 AM, Matt Amos [EMAIL PROTECTED] wrote: there have been occasions when real mappers have documented their tags on the wiki, only to have the wiki pages overwritten by someone else's better

Re: [OSM-dev] What country is something in?

2008-11-02 Thread OJ W
Perhaps someone who knows GIS software could take a simple coastline dataset like GSHHS (doesn't need to be as detailed as PGS or OSM, and GSHHS doesn't split-up polygons) then expand all the coasts by 20 miles and provide an OSM file that we can import sections of as part of a country's border?

Re: [OSM-dev] Best way to validate user input

2008-11-02 Thread OJ W
How about this for a link showing some of the features displayed on typical charts? http://www.avn.faa.gov/index.asp?xml=naco/online/aero_guide Does X-plane/flightgear have any radionavigation data they could add to the chart? OSM itself only has airports+runways at the moment. On Sat, Nov 1,

Re: [OSM-dev] What country is something in?

2008-10-31 Thread OJ W
That's why it was so surprising to see the imported USA and California borders in OSM running along the beach - surely we want to move them out to sea? Currently the borders are marked with the 2 countries - do we need to allow region:left=international if it's a border with the ocean instead of

Re: [OSM-dev] Good explanation of latitude-to-pixel conversion?

2008-05-17 Thread OJ W
and Polar radii[1]. The original post helps to understand why taking into account the variation of radius was necessary: http://osdir.com/ml/gis.openstreetmap.devel/2006-12/msg00016.html OJ W [EMAIL PROTECTED] writes: e.g. wikipedia will tell you all about how mercator itself works: http

[OSM-dev] Openlayers cyclemap permalinks

2008-05-17 Thread OJ W
The cycle map seems to have the openlayers permalink bug [1] - is it possible to apply the latest openlayers corrections so that it uses lat/long in permalinks? Can someone from OL also reply to this, saying how to do the correction? [1]

[OSM-dev] Filtered export using OSMXAPI?

2008-05-15 Thread OJ W
Just occurred to me (sorry if this is obvious) that the export tab could let you type in a couple of tag/value pairs and generate a link to OSMXAPI of the area with the filter you've specified. So you could export (e.g.) all train lines within the visible area, without too much new code...

Re: [OSM-dev] download a bbox from tiles

2008-04-08 Thread OJ W
On Tue, Apr 8, 2008 at 4:19 PM, Sven Grüner [EMAIL PROTECTED] wrote: Edoardo Marascalchi schrieb: how can i download just a section of the map giving a bbox? in the party video render script the url is defined as:

Re: [OSM-dev] download a bbox from tiles

2008-04-08 Thread OJ W
Try zooming out. It can't find a zoom level detailed enough to give the resolution it wants e.g. this works: http://dev.openstreetmap.org/~ojw/bbox/?W=12.381605S=43.108255E=12.403933N=43.127255width=600height=600 Based on the extent of map requested, and size of image, it tries to pick a

Re: [OSM-dev] slippymap doesnt wrap around +-180deg

2008-04-02 Thread OJ W
Follow the F-22's ;) http://it.slashdot.org/article.pl?sid=07/02/25/2038217 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev