Re: [OSM-dev] comments in mapnik ruleset

2009-08-16 Thread John Smith
--- On Mon, 17/8/09, Martin Koppenhoefer wrote: > I recently installed mapnik and am reading a lot in the > ruleset. > Therefore I noticed that some of the rules that are > inactive don't > have spaces between the last text and the > end-of-comment-sign. > Basically it is sometime rule> and >

[OSM-dev] comments in mapnik ruleset

2009-08-16 Thread Martin Koppenhoefer
Hi, I recently installed mapnik and am reading a lot in the ruleset. Therefore I noticed that some of the rules that are inactive don't have spaces between the last text and the end-of-comment-sign. Basically it is sometime instead of <\rule --> I don't know if this is a problem for mapnik, at l

Re: [OSM-dev] strange Osmosis/XML/...? problem yesterday

2009-08-16 Thread Stephan Knauss
Brett Henderson wrote: > I was able to avoid the bug by using the Woodstox StAX XML parser. JOSM suffers from the same problem. Look here: http://lists.openstreetmap.org/pipermail/josm-dev/2009-August/003268.html It happens with the xerces bundled with java. Using a more recent xerces resolves t

Re: [OSM-dev] OpenStreetView: Digital Photos: Getting the field of view angle

2009-08-16 Thread Barnett, Phillip
There's an online calculator at http://www.worldserver.com/turk/quicktimevr/calculators.html#EXIF which, if you plug the EXIF data in, will give you FOV. I've just tried this with a random picture from Flickr, and it seemed to give sensible results. Cheers PHILLIP BARNETT SERVER MANAGER 20

Re: [OSM-dev] OpenStreetView: Digital Photos: Getting the field of view angle

2009-08-16 Thread Richard Weait
On Sun, Aug 16, 2009 at 9:47 AM, Vincent MEURISSE wrote: > In fact you don't really need the size of film (captor size). Most of the > camera store the focal in both real and equivalent distance. > If I take a random picture from a nikon D300 the exif information contain > this: > Focal Length: 70

Re: [OSM-dev] OpenStreetView: Digital Photos: Getting the field of view angle

2009-08-16 Thread Vincent MEURISSE
On Sunday 16 August 2009 14:42:26 Nick Whitelegg wrote: > The thing I don't really know much about is: how can you get the > field-of-view angle of a photo taken from a digital camera (either a > standalone camera or within a phone)? The formula is : Tan(angle/2)=size of film/(2*focal) for a stan

Re: [OSM-dev] OpenStreetView: Digital Photos: Getting the field of view angle

2009-08-16 Thread Stefan de Konink
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Nick Whitelegg schreef: > If anyone's an expert on photography theory I'd welcome any explanations > on how to obtain the field-of-view angle of digital photos. You can extract it using the exif tags, if the sensor specs and focus information is pr

Re: [OSM-dev] OpenStreetView: Digital Photos: Getting the field of view angle

2009-08-16 Thread Thomas Wood
I've seen some quite awesome apps on the iphone that allow for augmented reality. http://layar.eu/ is one such example from a quick google. And another - http://www.youtube.com/watch?v=5fZk0HaIs4s 2009/8/16 Nick Whitelegg : > Hello everyone, > > Have been thinking a bit more about my own interests

[OSM-dev] OpenStreetView: Digital Photos: Getting the field of view angle

2009-08-16 Thread Nick Whitelegg
Hello everyone, Have been thinking a bit more about my own interests within the "OpenStreetView" project introduced by John McKerrell at SOTM. My particular interest is an in the field navigation tools for countryside users, particularly walkers/hikers/mountaineers etc, which I'm giving the co

Re: [OSM-dev] strange Osmosis/XML/...? problem yesterday

2009-08-16 Thread Brett Henderson
Brett Henderson wrote: Thanks for all this. These unicode problems are the bane of my existence :-) Any help is much appreciated. I've run some experiments. I've been using the unicode character 0x10330 and experimenting with creating a test file then copying it via osmosis. It seems that

[OSM-dev] Bug?

2009-08-16 Thread John Smith
I was trying to combine a way with another way and got this in both potlatch and JOSM An unusual error happened (in 'putrelation' -1.0). The server said: uninitialized constant Changeset::SCALE Please e-mail rich...@... with a bug report, saying what you were doing at the time. _

Re: [OSM-dev] A new way to split the planet

2009-08-16 Thread Nic Roets
On Sun, Aug 16, 2009 at 4:15 AM, Paul Johnson wrote: > On Fri, 2009-08-14 at 20:07 +0200, Nic Roets wrote: > > > 3. Use an OO spreadsheet to choose the rectangles (density4.ods). OO > > will makes it quite easy: As you drag to highlight a rectangle, it > > will display the sum (of nodes) in the s

Re: [OSM-dev] strange Osmosis/XML/...? problem yesterday

2009-08-16 Thread Brett Henderson
Andy Allan wrote: On Fri, Aug 14, 2009 at 3:16 PM, Andy Allan wrote: On Fri, Aug 14, 2009 at 12:54 PM, Frederik Ramm wrote: Hi, Frederik Ramm wrote: The result file should have been something like 400 bytes. This sounds trivial but in the original case where the .osc contained