Re: [OSM-dev] SRTM relief

2008-01-02 Thread Nick Whitelegg
On Wednesday 02 Jan 2008 22:31, Andy Allan wrote: On Jan 2, 2008 9:55 PM, Artem Pavlenko [EMAIL PROTECTED] wrote: Hello lists, Sometime last year I was inspired by http://www.srtm.com and I even contacted developer to see if we can use SRTM derived relief maps in OSM. I don't remember

Re: [OSM-dev] SRTM relief

2008-01-03 Thread Nick Whitelegg
On Thursday 03 Jan 2008 08:53, you wrote: On Jan 2, 2008 11:50 PM, Nick Whitelegg [EMAIL PROTECTED] wrote: Hello Andy, There is the srtm2shp utility available in SVN which outputs a shapefile of contours, it outputs in Mercator - is that any good? It doesn't deal with SRTM voids yet

Re: [OSM-dev] SRTM relief

2008-01-03 Thread Nick Whitelegg
On Thursday 03 Jan 2008 09:31, Martin Spott wrote: Andy Allan wrote: One of the things I haven't worked out yet is how to render planet-wide contours in an efficient manner, since the shapefiles mulitply either in size or number to rather large amounts (for 10m contours especially) as I

[OSM-dev] UK Planet Extract Failure

2008-01-16 Thread Nick Whitelegg
UK planet failed 09/01/08 and 16/01/08 Hello Chris, Not sure why. I'll try and look into it the next couple of days (unable to SSH into anything right now). Everyone - are there any issues on dev at the moment (e.g. disc space) which means that the script to extract the UK planet won't have

[OSM-dev] Opentrail - What development environments would be best for mobile compatibility?

2008-01-25 Thread Nick Whitelegg
Hello everyone, Regarding the OpenTrail OSM walking/hiking software idea that I'd like to develop given enough time (see earlier in the week), I'd like to ensure it's compatible with phones and other mobile devices. This will probably influence what language it's written in - my initial ideas

Re: [OSM-dev] Opentrail - What development environments would be best for mobile compatibility?

2008-01-25 Thread Nick Whitelegg
Wait for the iPhone SDK. What I'd really want to do though is make it work as both a desktop and mobile app with minimal code changes, presumably an iPhone SDK wouldn't be terribly portable to a non-Mac desktop environment? Nick ___ dev mailing list

Re: [OSM-dev] Opentrail - What development environments would be best for mobile compatibility?

2008-01-25 Thread Nick Whitelegg
The other thing is that depending on what OpenTrail is going to do, you might be better off adding features to an existing product, such as WhereAmI which works on most Symbian based phones (not just Nokia S60). Thanks for the replies. I'm intending it to be primarily a standard desktop app

Re: [OSM-dev] hello! need expert to hand hold me with DB setup

2008-02-16 Thread Nick Whitelegg
On Friday 15 Feb 2008 10:45, Fire Girl wrote: Hello out there tonight -- I was posting on here before and received some good advice, which led me to lots of research and i think i finally decided on wanting to get the Planet.OSM file inserted into a MYSQL database, and go onwards from there.

Re: [OSM-dev] {To Nick} hello! need expert to hand hold me with DB setup

2008-02-18 Thread Nick Whitelegg
Ah Very good! Yes, I am primarily on Windows, however certainly can setup something in a Linux environment, though I am going to need pretty good instructions. How does this PostGIS DB best run., I mean, in terms of a Linux distribution? What do you have? :-) You should be able to get

Re: [OSM-dev] Internet explorer 8 mess..

2008-03-06 Thread Nick Whitelegg
On Thursday 06 Mar 2008 19:06, David Earl wrote: On 06/03/2008 18:31, Shaun McDonald wrote: And we just tell them to install a real browser that works. And guarantee that 99% of people never look at OSM. I make these wonderful TV sets, much better than the competition, which I plan to sell

[OSM-dev] Is this week's planet corrupted?

2008-03-07 Thread Nick Whitelegg
Hello everyone, Have tried three times unsuccessfully to extract UK and southern England data from this week's planet. The resulting file ends prematurely. Is the whole planet corrupt this week? Thanks, Nick ___ dev mailing list

Re: [OSM-dev] Is this week's planet corrupted?

2008-03-08 Thread Nick Whitelegg
On Friday 07 Mar 2008 21:22, you wrote: On Fri, 2008-03-07 at 18:46 +, Nick Whitelegg wrote: Hello everyone, Have tried three times unsuccessfully to extract UK and southern England data from this week's planet. The resulting file ends prematurely. Is the whole planet corrupt

Re: [OSM-dev] Is this week's planet corrupted?

2008-03-08 Thread Nick Whitelegg
On Saturday 08 Mar 2008 07:58, Nick Whitelegg wrote: On Friday 07 Mar 2008 21:22, you wrote: On Fri, 2008-03-07 at 18:46 +, Nick Whitelegg wrote: Hello everyone, Have tried three times unsuccessfully to extract UK and southern England data from this week's planet. The resulting

Re: [OSM-dev] Is this week's planet corrupted?

2008-03-08 Thread Nick Whitelegg
OK I've found the root cause - planetosm-to-db.pl imposes a maximum node limit of 25000. I've changed this. Nick Oops meant planetosm-excerpt-area. Anyway I've doubled the limit for nodes and committed to svn. Nick ___ dev mailing list

[OSM-dev] Feasibility of an 'in the field' mobile editing app?

2008-03-08 Thread Nick Whitelegg
Hello everyone, Have managed to got hold of a N95 for research purposes through work. One thing that maybe would be useful is an in the field editing application for the outdoors, where you walk, the inbuilt GPS on the phone records your track, then you choose a route type (footway, bridleway,

Re: [OSM-dev] Feasibility of an 'in the field' mobile editing app?

2008-03-08 Thread Nick Whitelegg
Actually I had sent a mail to the guys that developed Sportstracker if they wanted to open source their code, but got no answer. If someone is more lucky than me, that might provide a good basis. It already has all the functionality to record the track correctly. All it needs is

Re: [OSM-dev] Feasibility of an 'in the field' mobile editing app?

2008-03-09 Thread Nick Whitelegg
Sounds nice, but there's one problem: creating OSM ways automatically from GPS data (without user editing) is not a good idea, for several reasons: - GPS (in)precission: it is a good practice to cover certain path several times before actually creating a way Do many of us actually do that

[OSM-dev] Clickable POIs and simple POI 'wiki'

2008-03-15 Thread Nick Whitelegg
Hello everyone, As part of some Freemap enhancements I've been working on the last two days or so, I've implemented (in PHP) a simple point-of-interest 'wiki' together with a simple API for performing operations on a PostGIS OSM database. This is operational on Freemap currently

Re: [OSM-dev] Clickable POIs and simple POI 'wiki'

2008-03-16 Thread Nick Whitelegg
Hello Stefan, Hi Nick, Cool webapp! Two questions and two cents: * How does it scale? Do you mean could it be used anywhere in the world? The answer is yes, the only reason it only covers southern England is server resource issues. * Why is it named countryside (is there a technical

Re: [OSM-dev] Clickable POIs and simple POI 'wiki'

2008-03-16 Thread Nick Whitelegg
Hello everyone, As part of some Freemap enhancements I've been working on the last two days or so, I've implemented (in PHP) a simple point-of-interest 'wiki' together with a simple API for performing operations on a PostGIS OSM database. Before anyone mentions it I've discovered a bug

Re: [OSM-dev] Clickable POIs and simple POI 'wiki'

2008-03-16 Thread Nick Whitelegg
On Sunday 16 Mar 2008 11:49, Nick Whitelegg wrote: Hello everyone, As part of some Freemap enhancements I've been working on the last two days or so, I've implemented (in PHP) a simple point-of-interest 'wiki' together with a simple API for performing operations on a PostGIS OSM

[OSM-dev] osmwiki - Annotatable points of interest

2008-03-26 Thread Nick Whitelegg
Hello everyone, Have hacked my Freemap code slightly to use [EMAIL PROTECTED] maps and produced a simple, demo osmwiki application to allow people to annotate points of interest and view previous annotations. It's at http://www.free-map.org.uk/freemap/osmwiki/ You can click on a POI (e..g

[OSM-dev] OSMWidget - OpenLayers based map widget for clickable and editable POIs

2008-03-26 Thread Nick Whitelegg
Hello everyone, As part of the osmwiki demo app (see talk list on OSM) I have developed an OSMWidget JavaScript class which can be installed on any OSM-based site with a planet-based PostGIS database plus a few PHP scripts (see below) to add a slippy map with annotatable POIs and search

Re: [OSM-dev] osmwiki - Annotatable points of interest

2008-03-26 Thread Nick Whitelegg
On Wednesday 26 Mar 2008 10:20, Nick Whitelegg wrote: Hello everyone, Have hacked my Freemap code slightly to use [EMAIL PROTECTED] maps and produced a simple, demo osmwiki application to allow people to annotate points of interest and view previous annotations. Sorry, forgot to say

Re: [OSM-dev] osmwiki - Annotatable points of interest

2008-03-26 Thread Nick Whitelegg
And I'm probably missing something, but where is that on http://www.free-map.org.uk/freemap/osmwiki/ ? My english geography isn't really up to speed Kind Regards, Martijn Pannevis. Enter Fernhurst in the search box, then zoom in if necessary. Nick

[OSM-dev] dev server down?

2008-05-02 Thread Nick Whitelegg
Hello everyone, Not sure if anyone's aware but the dev server appears to have been down (can't access via http or ssh) all day Friday. Nick ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Re: [OSM-dev] [OSM-talk] Developers requested to help provide completeness tools

2008-05-14 Thread Nick Whitelegg
I get this same view. All too often I look at a place and think wow, that looks complete, but when I drum down into the data a bit it its clear that there are general gaps and the density of streets is not what you would expect. That's why I was testing out a completeness metrics method. But I

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

2008-05-17 Thread Nick Whitelegg
Am in the process of developing a mobile client for Freemap, and potentially (in conjunction with one of my students) a tool for OSM as a whole. Part of this involves converting lat/lon to Google Mercator pixel coordinates. I have the code to do this, but I guess I'm one of these people that

[OSM-dev] Freemap Mobile - Open source mobile OSM map viewer

2008-06-08 Thread Nick Whitelegg
Hello everyone, Would like to announce the initial release of Freemap Mobile, a Java ME mapping application for mobile devices. Freemap Mobile displays Freemap maps (i.e. UK countryside-orientated OSM maps) on a GPS enabled mobile phone (e.g. Nokia N95) and the source code is now available in

[OSM-dev] OSMXAPI - down?

2008-06-20 Thread Nick Whitelegg
Hello everyone, Is OSMXAPI down? I'm trying the example: http://osmxapi.hypercube.telascience.org/api/0.5/node%5bamenity=hospital%5d%5bbbox=-6,50,2,61%5d and get nothing back. I also tried a smaller bbox (-2,50,0,51) and no luck there either. Thanks, Nick

Re: [OSM-dev] OSMXAPI - down?

2008-06-20 Thread Nick Whitelegg
It's up now. Working fine now, thanks. Nick ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

[OSM-dev] J2ME and PUT requests to the API

2008-06-25 Thread Nick Whitelegg
Hello everyone, Has anyone working on J2ME OSM client apps managed to communicate with the API using the PUT method? It seems J2ME doesn't support PUT with its HttpConnection. Would like to allow people to survey OSM POIs in the field with Freemap Mobile so any workarounds would be useful. If

Re: [OSM-dev] J2ME and PUT requests to the API

2008-06-25 Thread Nick Whitelegg
Nick Whitelegg schreef: Hello everyone, Has anyone working on J2ME OSM client apps managed to communicate with the API using the PUT method? It seems J2ME doesn't support PUT with its HttpConnection. Would like to allow people to survey OSM POIs in the field with Freemap Mobile so any

[OSM-dev] [OT] any Internet Explorer script debugging experts here?

2008-08-28 Thread Nick Whitelegg
Hello everyone, Since I made changes to Freemap a couple of weeks back, it's stopped fully working on IE. Unfortunately as I do not have access to a place where I have both IE and a connection to the server it's a bit difficult to debug. Worse, the error message it gives is singularly

Re: [OSM-dev] [OT] any Internet Explorer script debugging experts here?

2008-08-28 Thread Nick Whitelegg
Hello everyone, Since I made changes to Freemap a couple of weeks back, it's stopped fully working on IE. Unfortunately as I do not have access to a place where I have both IE and a connection to the server it's a bit difficult to debug. Think someone's found the error but will update if

[OSM-dev] What's the attitude on embedding [EMAIL PROTECTED] or informationfreeway slippy maps on own site?

2008-11-21 Thread Nick Whitelegg
Hello everyone, I have to admit I haven't done much work on Freemap lately - other commitments being a big factor but an equally important factor being that my server cannot cope well with an OSM database covering most of England. So I was considering an alternative approach, in which Freemap

Re: [OSM-dev] What's the attitude on embedding [EMAIL PROTECTED] or informationfreeway slippy maps on own site?

2008-11-21 Thread Nick Whitelegg
Perfectly fine, providing the standard OSM attribution. In fact, the OpenLayers definition[0] was produced so people could do this easily! Was thinking more of server load than licencing issues (not that freemap has a huge user base!) - sorry if that was unclear. Nick

Re: [OSM-dev] libosm does not compile on debian lenny amd64

2009-01-05 Thread Nick Whitelegg
Hello Joerg, I think this is because you need to use -fPIC when compiling the individual .cpp files when making the shared library. e.g. the Mapnik OSM plugin makefile is similar in that it makes a shared library: CXXFLAGS = `xml2-config --cflags` -I/usr/local/include/mapnik

[OSM-dev] Cycle map Mapnik XML file?

2009-02-11 Thread Nick Whitelegg
Hello everyone, Is the cycle map Mapnik XML file available? Would like to know wht the projection string is to produce a Mercator projection from WGS84 lat/lon input. I think Artem might have told me at one point but unfortunately have lost the email :-( Thanks, Nick

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

2009-08-18 Thread Nick Whitelegg
Vincent MEURISSE osm-...@meurisse.org Sent by: dev-boun...@openstreetmap.org 16/08/2009 14:47 Please respond to t...@openstreetmap.org To dev@openstreetmap.org cc Subject Re: [OSM-dev] OpenStreetView: Digital Photos: Getting the field of view angle On Sunday 16 August 2009 14:42:26 Nick

[OSM-dev] Thoughts for footnav - a 3D navigation tool for off road users

2009-08-19 Thread Nick Whitelegg
Further to my post the other day about photographic countryside views, I've got some initial ideas about the features of footnav, a 3D navigation tool using OSM and SRTM data aimed primarily at countryside users. The eventual aim (one day, and it may depend on phones being powerful enough

[OSM-dev] Footnav - new 3D project aimed at countryside users

2009-09-17 Thread Nick Whitelegg
Hello everyone, A quick update on the Footnav project, which I've hinted at once or twice on here. Footnav aims to be a 3D mobile navigation application for countryside users e.g. hikers, off road cyclists, showing OSM data (paths, 3D models of stiles, gates etc, and hills using SRTM data).

Re: [OSM-dev] [OSM-talk] Footnav - new 3D project aimed at countryside users

2009-09-17 Thread Nick Whitelegg
Hello Matt, Hello everyone, A quick update on the Footnav project, which I've hinted at once or twice on here. Footnav aims to be a 3D mobile navigation application for countryside users e.g. hikers, off road cyclists, showing OSM data (paths, 3D models of stiles, gates etc, and hills

Re: [OSM-dev] Footnav - new 3D project aimed at countryside users

2009-09-18 Thread Nick Whitelegg
Hello Stefan, Your project is interesting. You seem to have done a lot of work. Can you provide some screenshots, so we can really see what you have done? Can do, though it's not that impressive at the moment: just wireframe 3D representations of landscape features from SRTM. OSM data is the

Re: [OSM-dev] 3d Import into OpenArena working

2009-10-13 Thread Nick Whitelegg
I think, the future for openstreetmap will not be Blender or any gaming engine like openarena. I think, the most used platform for openstreetmap will be WebGL, a 3D-rendering API integrated in the browsers, usable with JavaScript. It is already integrated in developer versions of WebKit

Re: [OSM-dev] 3d Import into OpenArena working

2009-10-14 Thread Nick Whitelegg
WebGL looks interesting, and am thinking of having a play with it. The main issue I see is it introduces a web dependency; if you're in the field and you don't have web access (or don't want to pay for data download) a standalone mobile application would be useful too. But I agree, it does

Re: [OSM-dev] 3d Import into OpenArena working

2009-10-14 Thread Nick Whitelegg
I don't think, it have to introduce a web dependency. It is just a java script application running inside a browser. The script don't have to be on a website. It can also be a local file. The map data can also be local files - maybe. That's the issue, that JS cannot normally read local files

[OSM-dev] Quick OSM read-only API optimised for rendering

2009-10-26 Thread Nick Whitelegg
As part of an experiment with WebGL (3D in browser rendering of OSM data) I'm planning on doing, I've developed a quick read-only OSM API and data format optimised for rendering. The rationale was, that if the front end is doing only rendering of OSM data (no editing), the standard OSM XML

Re: [OSM-dev] Quick OSM read-only API optimised for rendering

2009-10-26 Thread Nick Whitelegg
A better data format for rendering would contain only point of interest nodes, with ways represented as polylines of points, with no need for the client to look up the coordinates of the way's constituent nodes by ID. What you're talking for is a xml/json frontend for a postgis-db. The

[OSM-dev] WebGL 3D OSM viewer project

2009-11-27 Thread Nick Whitelegg
Hello everyone, After spending a bit of time getting familiar with WebGL (in-browser hardware accelerated 3D graphics) I have now managed to develop an application which will download and render OSM data with WebGL. Not very impressive yet (all ways are rendered as white lines!) but I thought

Re: [OSM-dev] WebGL 3D OSM viewer project

2009-11-27 Thread Nick Whitelegg
Hi Peter, It always fails with: Error: this.wgl is null Source File: http://www.free-map.org.uk/3d/main.js Line: 164 Puzzled by this, unless it's something that's changed on the latest nightly build - it worked for me this morning, using the nightly build from yesterday (Thursday). What OS

Re: [OSM-dev] need some javascript help

2010-02-24 Thread Nick Whitelegg
Another cleaner option is to use all that AJAX magic stuff to load the content in a div rather than in an iframe. May I suggest you the ajax for dummies book? It's a nice hands-on introduction to this javascript stuff. AJAX is easy. ;-) Particularly if you use prototype (www.prototypejs.org).

Re: [OSM-dev] need some javascript help

2010-02-24 Thread Nick Whitelegg
The javascript queries the server with what the user entered in the 2 text fields, the server sends a load of text back and loads it into a specified div. Oops - meant to say the JavaScript loads the text into the specified div. Nick ___ dev

Re: [OSM-dev] OSM Data into J2ME Application

2010-04-28 Thread Nick Whitelegg
Hello Daniel, To parse XML data you'll need the JSR 172 API for Java ME, this includes the JAXP parser, which is a SAX-style XML parser. JSR172 also allows you to contact web services from a Java ME client which might be useful for you. if you have had any Java ME experience, you might want to

[OSM-dev] Status of PHPRoute?

2010-07-02 Thread Nick Whitelegg
Hello everyone, I am potentially going to be involved with a work project which will involve using routing, however we are going to need custom functionality, so wish to deploy a routing engine and a copy of the OSM database for our city on our own server and, crucially, modify it for our

[OSM-dev] OS LandForm Panorama (contour data) parsing tools?

2010-08-12 Thread Nick Whitelegg
Hi, I'm interested (depending on how much work is involved - as I'm focusing on OpenTrailView at the moment), as I belive one or two others have done, in overlaying OS Landform Panorama contours and OSM footpaths on VectorMap District data. To save effort, are there any open source scripts

[OSM-dev] Mapnik/Postgres: Permissions Issue with contour layer

2010-11-09 Thread Nick Whitelegg
Hi, I'm having difficulty rendering a Mapnik contour layer on a custom Mapnik tile server setup that I'm wanting to use for Freemap (this is on the SUCS website - thanks to Chris Jones!) I've asked Chris, but in case it's a tricky issue I thought I'd ask here as well. Basically OSM for the

Re: [OSM-dev] Mapnik/Postgres: Permissions Issue with contour layer

2010-11-10 Thread Nick Whitelegg
Hi Nick, Most permissions are at table level, \dp from psql client shows you what permissions currently exist. I've just granted the gis user select on geometry_columns and the contours are now displaying. Hi Chris, Great! Thanks for that and for all the help on the admin side of things,

[OSM-dev] Tool to convert OSM ways into multi-point segments?

2010-11-19 Thread Nick Whitelegg
I'm wanting to add a feature to Freemap (UK OSM-based hiking site) to allow users to tag individual trails with route descriptions, interesting features etc - with the eventual aim of allowing users to select a walking route and have a ready-made route description (note these descriptions will

Re: [OSM-dev] POI layer refusing to talk to server php

2011-01-07 Thread Nick Whitelegg
Hi, You don't really need a text file, you can generate XML directly from the PHP and have OpenLayers read that. One good format to use for the XML is GeoRSS as OpenLayers already has a parser for that. The OpenLayers parser uses GeoRSS with Atom rather than RSS 2.0. Look at

Re: [OSM-dev] POI layer refusing to talk to server php

2011-01-10 Thread Nick Whitelegg
I also believe that it is some sort of header/communication problem. I already changed the content type of the output to text/plain, but that didn't change anything. Any ideas where it gets stuck? Nop Complete guess but are you outputting anything - including spaces - before the

Re: [OSM-dev] POI layer refusing to talk to server php

2011-01-10 Thread Nick Whitelegg
1. Complete guess but are you outputting anything - including spaces - before the header() line? (in which case the header() line will have no effect). 2. Have you tried using XML or JSON as the data format instead? 1. Yes, I checked for that trip wire. The content type is evaluated and

Re: [OSM-dev] SVN accounts

2011-01-26 Thread Nick Whitelegg
Subject: [OSM-dev] SVN accounts Hi all, This might sound stupid, but I completely forgot the passwd for my SVN account, somehow managed to purge the working copy in my desktop computer, and cannot find the right e-mail. So, would be anyone kind enough to point me to the man able to reset my

[OSM-dev] Freemap and OpenTrailView moved to own SVN repository

2011-01-28 Thread Nick Whitelegg
Hi, As from today Freemap (UK OSM walkers' maps), OpenTrailView (StreetView-like connected panoramas for hiking trails), and the demo WebGL OSM viewer have been moved from the main OSM subversion repository to Freemap's own repository. You can check out the source code at

[OSM-dev] OSM formats optimised for client-side vector rendering?

2011-02-17 Thread Nick Whitelegg
Hi, Much of the stuff I'm working on or have been recently involves loading OSM data from file or the web, and rendering it client side (e.g. WebGL OSM viewer and an augmented-reality app for walkers which I'm just starting work on now). Because of this, my server (OSM PostGIS-based) provides

Re: [OSM-dev] OSM formats optimised for client-side vector rendering?

2011-02-17 Thread Nick Whitelegg
Warren Sent by: jywar...@gmail.com Date: 17/02/2011 01:11PM Cc: Nick Whitelegg nick.whitel...@solent.ac.uk, dev@openstreetmap.org Subject: Re: [OSM-dev] OSM formats optimised for client-side vector rendering? yes, for the record, in Cartagen the limitation was that JavaScript cannot read XML, so my

Re: [OSM-dev] OSM formats optimised for client-side vector rendering?

2011-02-17 Thread Nick Whitelegg
One has to remember though that if you're using an OSM PostGIS database the raw data already is stored in a renderable format, i.e. a series of points and lines, so converting this to OSM format could not actually be done easily because links between ways and nodes are not stored. Nick

Re: [OSM-dev] OSM formats optimised for client-side vector rendering?

2011-02-18 Thread Nick Whitelegg
I think I have these resources in order from most significant to least significant for the average app store app. So when he says client-side, I'm starting to wonder because client-server apps are generally less responsive and require more mobile bandwidth, consuming 2 precious resources. I mean

[OSM-dev] Viability of huge shapefile of LandForm Panorama contours in Mapnik?

2011-03-06 Thread Nick Whitelegg
Hi, Sometime, perhaps over Easter, I'd like to do something I've been meaning to do for a while, and that is create pseudo-Landranger maps by combining OS Vector Map District, contours from OS Landform Panorama, and OSM footpaths. However, to do this I need to transform the contour data from

Re: [OSM-dev] Viability of huge shapefile of LandForm Panorama contours in Mapnik?

2011-03-06 Thread Nick Whitelegg
However, to do this I need to transform the contour data from DXF into something more usable, e.g. shapefile. Apparently gdal can now do this. What I'm a little concerned about, though, is the viability of creating one huge shapefile containing all the contours for the UK, which would be

Re: [OSM-dev] [Talk-GB] Viability of huge shapefile of LandForm Panorama contours in Mapnik?

2011-03-06 Thread Nick Whitelegg
Nick, This has been on my list of things to do for a while too, Same with me, but it's never been the no.1 priority, hence it's never really seen the light of day yet. Maybe the next rainy weekend we get I'll do a concentrated push at it... but like many of my project ideas, it didn't get

[OSM-dev] Osmosis duplicate nodes / osm2pgsql primary keys

2011-03-15 Thread Nick Whitelegg
Hi, I'm having a problem trying to import multiple .osm files (one for UK rights of way, one for UK permissive paths, one for UK tracks) into the postgis database. If I don't use slim mode I get out of memory errors when importing the tracks file (the others are small enough so go in OK) -

[OSM-dev] Austrian National Grid - latlon

2011-06-18 Thread Nick Whitelegg
Hi, I'm developing an augmented reality Android app for walkers, and presenting on it, and hoping to demo it, next month at SoTM-EU. Currently it internally works in British National Grid, to keep things simple so that the app can deal in metres. I'd presume there's a similar Austrian national

Re: [OSM-dev] Austrian National Grid - latlon

2011-06-23 Thread Nick Whitelegg
Thanks everyone for input to this. Got proj4java working on android, after removing the AWT dependencies, and works fine with EPSG:3785 (google mercator) and 27700 (OSGB). Given the German projections seem a little simpler I might use EPSG:31469 as it seems to cover the Vienna area. Nick Hi

[OSM-dev] Datum shifting code (towgs84 parameters?)

2011-06-28 Thread Nick Whitelegg
Hi, Following on from my post about the Austrian grid system, I'm having a bit of trouble using the Java Proj.4 library as it ignores datum shifts which means the projected values are about 100m out. For OSGB it's not a problem as I have another library which does the job but for anywhere else

[OSM-dev] OSB bug?

2011-09-30 Thread Nick Whitelegg
Hi, Have just tried using openstreetbugs.schokokeks.de (Firefox 3.6.16 running on Windows 7) to add one or two new bugs, and the dialog to add bug details is not coming up. Furthermore if an existing bug is clicked the text is not showing. Is this an, erm, bug? e.g. maybe due to an openlayers

Re: [OSM-dev] OSB bug?

2011-09-30 Thread Nick Whitelegg
Have just tried using openstreetbugs.schokokeks.de (Firefox 3.6.16 running on Windows 7) ... Sorry schokokeks.org... Nick ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

[OSM-dev] Tiled osm2pgsql import?

2011-10-09 Thread Nick Whitelegg
Related to the ongoing discussion on talk, and given the large memory requirements of osm2pgsql imports, has anyone published a tiled import script, where the import area is broken into say degree tiles, and each tile imported as a separate osm2pgsql job? If not, I'm inclined to do one

[OSM-dev] Downloading OOC tiles from an app

2011-11-03 Thread Nick Whitelegg
Not sure who maintains the out-of-copyright stuff, but I thought I'd best ask this in the light of recent discussions. I am developing an Android app OpenTrail - which amongst other things shows tiles from Freemap (my own) plus out-of-copyright tiles from ooc.openstreetmap.org. I have found

Re: [OSM-dev] how to call from php?

2011-11-16 Thread Nick Whitelegg
Hello Judy, Do you mean embed a map in your website and show POIs as markers? This is described in the wiki at http://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example For POIs, what you should do is download a planet.osm extract for your area of interest, see

Re: [OSM-dev] speeding up loading an OSM dump into PostGIS?

2011-12-01 Thread Nick Whitelegg
Yes, I'd like the whole rendering stack to become more lightweight, at least for small extracts, so that more people can play with rendering their own tiles, either on their home laptop/desktop or on fairly cheap servers. Absolutely. A custom rendering server needs to be able to run on low-spec

[OSM-dev] Using pgRouting

2011-12-04 Thread Nick Whitelegg
Hi, Bit of background: my Freemap site (free-map.org.uk) allows people to generate self-describing walking routes by drawing a route on the slippy map using the OpenLayers vector drawing tool. Some server-side code then works out which geometries in the underlying PostGIS DB make up the way.

[OSM-dev] Fw: Re: Merkaator port to Android

2011-12-04 Thread Nick Whitelegg
-Forwarded by Nick Whitelegg/FT/Solent on 04/12/2011 11:53AM - To: jaak.laine...@gmail.com From: Nick Whitelegg/FT/Solent Date: 04/12/2011 11:53AM Subject: Re: [OSM-dev] Merkaator port to Android - drawing draft lines and notes on top of that, saves it as GPX which needs postprocessing

Re: [OSM-dev] Osm2pgsql failure with low-end server

2011-12-08 Thread Nick Whitelegg
700 MB is a tiny machine, but then the Finland data set isn't that large either... it must be possible somehow ;) Incidentally why would it run out of memory in slim mode? I had the same problem too some time ago when trying to import the whole of England, back in the days before the county

Re: [OSM-dev] Patch for osm2pgsql duplicate keys

2011-12-12 Thread Nick Whitelegg
I know on my (rather old) version of osm2pgsql, append fails with duplicate ways. Will have to try the new version and see if I get the same problem. Nick Sorry, this is with slim mode only. Dup ways give no error with regular mode. Does the patch relate to slim mode or regular mode? Nick

[OSM-dev] kothic-js demo with LandForm Panorama contours on Freemap

2011-12-30 Thread Nick Whitelegg
Hi, Over Christmas I've been knocking together a demo which uses kothic-js client side rendering for Freemap, incorporating LandForm PANORAMA contours. You can see it at http://www.free-map.org.uk/0.6/; full details on the blog post at http://www.free-map.org.uk/wordpress/?p=221. It's best

Re: [OSM-dev] kothic-js demo with LandForm Panorama contours on Freemap

2012-01-06 Thread Nick Whitelegg
this on github as soon as it is more or less complete. Have you contacted the kothic-js developer about your patch? Would be cool if we get this upstream. Regards Philipp On Fri, 2011-12-30 at 11:33 +, Nick Whitelegg wrote: Hi, Over Christmas I've been knocking together a demo which uses kothic-js

Re: [OSM-dev] Leaflet 0.3 released

2012-02-14 Thread Nick Whitelegg
Hi Vladimir, I've just tried building (previous version I had didn't rely on the 'jake' build system), following the documented instructions. After installing node.js and the node modules I get an error about being unable to find uglify-js, even though it did appear to install properly.

Re: [OSM-dev] (reverse) GeoCoding on. Android

2012-04-11 Thread Nick Whitelegg
Hello Graham, You should be able to use, or at least adapt, any Java OSM parsing code (e.g. that used in JOSM, Osmosis etc)Android uses the same SAX parser as standard Java. See https://github.com/nickw1/Freemap/tree/master/java/freemaplib/src/freemap/ for a Java parsing library which I have

[OSM-dev] Non-ASCII characters in XML generated from PostGIS

2012-05-17 Thread Nick Whitelegg
Hi, I'm having some problems with generating XML from a postgis database from PHP on the Freemap server: http://www.free-map.org.uk/0.6/ws//bsvr.php?bbox=44.0,11.0,445000.0,115000.0poi=place,amenity,naturalannotation=1inProj=27700outProj=epsg:4326 It's basically falling over on the

Re: [OSM-dev] Non-ASCII characters in XML generated from PostGIS

2012-05-18 Thread Nick Whitelegg
There's a few issues here that are colliding. First of all, you're returning HTML entities in an XML document. That's going to throw an error. In your example, you have Atilde; , which isn't defined for XML, only for HTML.

[OSM-dev] Directly reprojecting OSM/PBF files?

2012-11-18 Thread Nick Whitelegg
Hi, I'd like to reproject the whole of the England OSM file into BNG (EPSG:27700). It appears there is an experimental GDAL driver for OSM, or alternatively I could code a simple utility to do it using Osmium and proj.4, but, to save time, is there a pre-existing tool to do this very job? I

Re: [OSM-dev] Is there any API to get data from OSM as geoJson?

2013-02-07 Thread Nick Whitelegg
Hello Ander, I have an API for generating OSM data as geojson from a PostGIS database. The live api is part of the UK-orientated Freemap site and currently works with selected areas of the UK only, see http://www.free-map.org.uk/0.6/about.html However the code is open source and should in

[OSM-dev] osm2pgsql: avoid addition to planet_osm_point when importing ways?

2013-09-14 Thread Nick Whitelegg
Hi, I want to import some highways into a PostGIS database but encounter a problem when any constituent nodes with tags are added to planet_osm_point. Is there a way to tell osm2pgsql to *only* import the ways into planet_osm_line and not put anything into planet_osm_point at all? None of the

Re: [OSM-dev] osm2pgsql: avoid addition to planet_osm_point when importing ways?

2013-09-14 Thread Nick Whitelegg
btw the version of osm2pgsql is: osm2pgsql SVN version 0.81.0 (64bit id space) -Nick Whitelegg/FT/Solent wrote: - To: dev@openstreetmap.org From: Nick Whitelegg/FT/Solent Date: 14/09/2013 01:35PM Subject: osm2pgsql: avoid addition to planet_osm_point when importing ways? Hi, I want

Re: [OSM-dev] osm2pgsql: avoid addition to planet_osm_point when importing ways?

2013-09-15 Thread Nick Whitelegg
OK thanks for that, will have a play. I think I thought the style file was just for selecting which attributes were added as database columns rather than selecting which objects were added. Nick -Paul Norman penor...@mac.com wrote: - To: 'Nick Whitelegg' nick.whitel...@solent.ac.uk

[OSM-dev] Hikar (augmented reality) points from SOTM

2013-09-15 Thread Nick Whitelegg
Hi, As some of you who attended SOTM may know, I'm working on hikar, an augmented reality app for walkers which aims to overlay OSM ways on a phone's camera feed. There were one or two points made by people at the conference (by Robert - that's why I'm emailing you direct - and others) which

[OSM-dev] Accessing postgis on the dev server

2013-12-09 Thread Nick Whitelegg
- So I'm wondering whether we could, if enough people raise contributions, have an OSM read only, hobbyist server which could be used to host not-for-profit, open source (only) projects. it could be either global or just for the UK (or any other individual country). It could contain a

[OSM-dev] Accessing postgis on the dev server

2013-12-09 Thread Nick Whitelegg
Also, is it ok if I import processed_p.shp coastlines (as SQL) and Ordnance Survey LandForm PANORAMA contours to the DB - or would that overload the server? To clarify - this would be a *separate* set of tables, the aim is *not* to pollute the OSM data itself !!! Thanks, Nick

Re: [OSM-dev] Accessing postgis on the dev server

2013-12-09 Thread Nick Whitelegg
I can give you access to postgres, and you will then be able to create databases for yourself (though if you need postgis in them you'll have to ask me to add that). Obviously if you use too much resource then we may ask you to cut back. Keep in mind though that the dev server is intended for

  1   2   >