[OSM-talk] New script to do CSV -> OSM

Nick Burch openstreetmap at gagravarr.org
Wed Mar 21 10:00:44 GMT 2007


On Tue, 20 Mar 2007, 80n wrote:
> You might want to take a look at this one:
> http://www.informationfreeway.org/?lat=6705525.09682&lon=51680.97455&zoom=14&layers=B00
>
> <node id='26608538' timestamp='2007-03-18 17:29:10' lat='51.4775'
> lon='0.461388888888889'>

Bah. Perl doesn't support +0 and -0, it treats them as the same. So, my 
code that looked if it was a W or S lat/long, and minus'd it, didn't work 
in the case that the hour part was 0.

I've committed a fix to the script so it won't get all confused, and I'll 
fix up the couple of airports affected (which will almost all be in the 
UK!)

Nick




More information about the talk mailing list