[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.

This (mostly) works but is slow/inefficient, so I was wondering about using 
pgRouting for this instead.

Quick question: is pgRouting an *extension* to the standard OSM postgis DB, or 
entirely separate? In other words, if I wanted to do routing *and* make 
available a data API in which clients could query ways by type (tag), could I 
just use a pgrouting DB for this? Reason I ask is that there appears to be a 
'ways' table to store way geometries in an osm2pgrouting database.

Thanks,
Nick

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Merkaator port to Android

2011-12-04 Thread Jaak Laineste
My own experience with Vespucci on phone is that with first touch I
moved accidentally some node and there is no undo feature, so it was
unusable for me and I did not go much futher. Another major drawback
is no (proper) preset system, best if JOSM preset XMLs could be
reused. But overall it might be better approach to fix these things
than porting full JOSM or Merkaator to Android and find out that in
reality they are not usable on the go. There are actually two
different usage modes of tablets: as big-screen portable device, used
right in the field; or as a slim laptop replacement, used in the
office. For the second case porting of full editor (with some
touch-specific tweaks, not all have full keyboard for tablet) would
make perfect sense. And for the field you need offline, basic map
drafting, GPS track saving, geotagged image storage: more like digital
version walking papers, not map data editor. Totally different things.
Vespucci is somewhere in the middle and as it often happens with
middle way approach, does not serve none of the cases really well.

So I would have two questions:
a) Would there be enough users for full editor (Merkaator in
particular, as it should be technically easier to port) on Android
netbooks? This would be for office, not so much for field use.
b) Would there be enough interest for new Walking Papers for Android
or iPad (and which of them) app? This would have following key
capabilities:
 - preload offline background map. Simplified BW style like in Walking
Papers, also WMS extracts.
 - drawing draft lines and notes on top of that, saves it as GPX which
needs postprocessing on JOSM
 - easy graphical tag editing with presets, saves OSM changes, can be
postprocessed with JSOM, but in simpler cases good enough for direct
upload.
 - save GPS track
 - maybe take and save photos, with geotags
 - no graphical way editing, only point moving for standalone nodes
(like in MapZen POI collector)
 - scalable also for phones, but best with tablets

Jaak

2011/12/2 Toby Murray toby.mur...@gmail.com:
 I would suggest looking at helping to improve Vesupcci. It already
 does several things mentioned here and I think a few other things are
 at least theoretically on the roadmap. It is certainly usable on my
 Samsung Galaxy S. Editing geometry is kind of tricky and I ususally
 end up going back in JOSM and fixing things after I upload from
 Vespucci. But I don't see many options to change that on a small touch
 screen. Tablets might work better. Having an orthogonalize button
 might be neat though. One outstanding feature request is to save to a
 file that you can open in JOSM and edit before uploading.

 It has tagging presets built in although they are not graphical... it
 just offers autocomplete suggestions for tag keys and values that it
 knows about. So you have to know which tag you want, it just helps you
 fill it in quicker. But it does have a button that will send you to
 the wiki for the selected key.

 It also guesses the road name when you add an addr:street tag. In my
 experience it does fairly well.

 It displays Bing imagery by default but has several other options.

 It even does some minimal validation - highlighting streets with no name.

 Toby



 2011/12/2 Matthias Meißer dig...@arcor.de:
 Well I've got Merkaator running on my OpenPandora handhelt (Angstrome Linux)
 and noticed that this kind of editors (let's call them GIS centred) isn't
 what will work on mobile devices in the field.
 I used osm2go as well and it's realy clother to my needs but is unfortunatly
 abandoned and currently not that good for tapping devices. On the other
 sides regular Smartphones are just to small (virtual keypad) so you might
 need a real hardware keyboard as the Pandora offers, to add streetnames etc.

 What in my opinion will work esp. on Tablets is:
 -easy to use download data (select area on map, not entering them
 numericaly)
 -ultimate reduced UI (focused on adding more attributes and just POIs, not
 for complex geometry, as this is best done with a mouse)
 -mission schemas that customize the layout/workflow:
 Let's say you want to add housenumbers, so you tap on the house. The editor
 suggests the next road and already predicts the housenumber by what you
 entered to house before).
 Another usecase might be to add 3D featuers, where a wizzard presents you
 different shapes of roofs, color table, ...
 -ability to take georeferenced audio-notes, photos and embedd them
 immediately

 Yes a HTML5 might do the job and as Josh noticed, this will simplify the
 deployment for mobile platforms. On the other hand I would really suggest
 offline editing.

 But this are just ideas...would be great if anybody would give it a try to
 see if this might work :)

 bye
 Matthias

 Am 02.12.2011 14:26, schrieb Josh Doe:

 On Fri, Dec 2, 2011 at 8:13 AM, Ian Deesian.d...@gmail.com  wrote:

 On Fri, Dec 2, 2011 at 6:56 AM, Jaak Lainestejaak.laine...@gmail.com
 wrote:


 Hi,
  as you may now, during GSoC 

[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 on JOSM

(Sorry, meant to send this to the list. Damn the email client! ;-) )

This is actually quite similar to an idea I had in mind for opening up OSM 
contribution to casual walkers/hikers. Such an app would record GPX (only). 
However, a user would be able to select the highway type (footpath, bridleway, 
cycleway etc) which would then be tagged in the GPX.

Then a JOSM plugin could be developed which reads these 'tagged' GPX files. 
Different highway types could be indicated with a colour scheme.
An 'expert' OSM contributor could then add said ways to OSM. Furthermore, if 
the GPXs are uploaded to a server too, the 'expert' could subscribe to an RSS 
feed
showing new GPX uploads in their area.

The success of such an app would appear to depend on
* whether the 'casual' walker is motivated to survey when it might take a few 
days for their contributions to appear on the maps and
* the availability of 'experts' and their motivation to add other people's 
contributions.

Nick
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Merkaator port to Android

2011-12-04 Thread Matthias Meißer

Am 04.12.2011 15:46, schrieb Cartinus:

On Sunday 04 December 2011 12:02:58 Jaak Laineste wrote:

  So I would have two questions:
  a) Would there be enough users for full editor (Merkaator in
  particular, as it should be technically easier to port) on Android
  netbooks? This would be for office, not so much for field use.

No interest in this. I prefer to do the real mapping on a 24 screen and
with a real mouse.

Sorry, but same for me. - Complex tasks are better at home


  b) Would there be enough interest for new Walking Papers for Android
  or iPad (and which of them) app? This would have following key
  capabilities:
- preload offline background map. Simplified BW style like in Walking
  Papers, also WMS extracts.
- drawing draft lines and notes on top of that, saves it as GPX which
  needs postprocessing on JOSM
- easy graphical tag editing with presets, saves OSM changes, can be
  postprocessed with JSOM, but in simpler cases good enough for direct
  upload.
- save GPS track
- maybe take and save photos, with geotags
- no graphical way editing, only point moving for standalone nodes
  (like in MapZen POI collector)
- scalable also for phones, but best with tablets

Very interested in this. After I got my tablet I looked for an electronic
walking-papers, but I haven't found any (or combination of) app(s)
that works for me.
Well but this dosn't brings the pros, that you don't need to reedit this 
notes? But of course this is something that would be useful, too :)


bye
Matthias

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [josm-dev] Trac: OperationalError: database is locked

2011-12-04 Thread Vincent Privat
It's locked again :(

2011/12/3 Dirk Stöcker openstreet...@dstoecker.de

 On Sat, 3 Dec 2011, colliar wrote:

  Just want to make sure you notice (hope you are working on it)

 I get OperationalError: database is locked on the ticket system for new
 tickets
 and requesting filtered ticket list. Opening tickets directly works.


 This is basically an issue caused by too much load on the machine. And
 this again seems to be caused by hanging Apache requests. I'm investigating
 this for some time now, but did not really find the cause.

 Ciao
 --
 http://www.dstoecker.eu/ (PGP key available)



 __**_
 josm-dev mailing list
 josm-dev@openstreetmap.org
 http://lists.openstreetmap.**org/listinfo/josm-devhttp://lists.openstreetmap.org/listinfo/josm-dev

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev