Re: [OSM-dev] Improved text rendering in Mapnik

2012-10-13 Thread Stephan Plepelits
On Sat, Oct 13, 2012 at 03:44:01AM +0200, Hermann Kraus wrote:
 As my Google Summer of Code project I worked on improving Mapnik's text  
 rendering. The most important change was adding support for complex  
 scripts, but I also implemented some other nice features. You can read  
 more about my work here:
 http://mapnik.org/news/2012/10/06/gsoc2012-status9/
 Build instructions are included and I would like to hear about your  
 success stories, but bug reports are also welcome.
Wow, thanks a lot! I was especially waiting for the upright=
functionality.

In an application I'm planning to use this, I would actually prefer to use
an alternate text if it is turned upside down (because I'd like to print
- that way or that way - depending on rotation).

Something like:
TextSymbolizer upright=alternate 
alternate_text=[name_right][name_left]/TextSymbolizer

or (maybe easier):
TextSymbolizer upright=only_left[name_left]/TextSymbolizer
TextSymbolizer upright=only_right[name_right]/TextSymbolizer

Do you think this would be possible?

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at |
|  Twitter: twitter.com/plepe  Jabber: sk...@jabber.at  |
`-'


signature.asc
Description: Digital signature
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] determining the boundaries of cities?

2012-05-31 Thread Stephan Plepelits
Hi!

 I don't think we have something like that, as - see above - the big  
 question here remains: what is an urban area and what is a rural one?
I think there is no such thing in OSM yet (and I doubt there ever will be).
But to help think about it, here's a definition of the national Austrian
statistical agency:

Statistics Austria provides maps with urban areas for Austria. Their
definition, either:
- a built-up area with cleary visible road classification
- a group of houses sharing a place name
- a group of houses where the distance between each house is less than 200m
(Statistics Austria 2010, p. 1023).

It gets more complicated: Only houses will be counted, where:
- at least one people has a principal or secondary residence
- and at least four neigbours in 200m distance
- no objects with agriculture use
- also all objects which are registered as workplaces
(Statistics Austria 2010, p. 1025)

Finally the name of the largest place in the urban area will be used (or
several names if places with equal importance are found), prefixed by SE
(Siedlungseinheit = Settlement Unit).
E.g.:
SE Vienna (SE Wien) is much larger than the actual administrative borders 
(see Statistics Austria 2010, p. 1026).
SE Dornbirn, Feldkirch is the urban area with the main places Dornbirn and 
Feldkirch
(Statistics Austria 2010, p. 1025f)

More Information (sorry, only German):
http://www.statistik.at/web_de/klassifikationen/regionale_gliederungen/siedlungseinheiten/index.html
 (rough Shapefiles are available there)
Map:
http://www.statistik.at/web_de/static/siedlungseinheiten_nach_groessenklassen_gebietsstand_1.1.2010_041267.pdf

Literature:
Statistics Austria 2010, Neuabgrenzung der Siedlungseinheiten 2010,
http://www.statistik.at/web_de/static/neuabgrenzung_der_siedlungseinheiten_2010_058184.pdf

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at |
|  Twitter: twitter.com/plepe  Jabber: sk...@jabber.at  |
`-'


signature.asc
Description: Digital signature
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Multiple instances of Renderd?

2011-03-30 Thread Stephan Plepelits
On Wed, Mar 30, 2011 at 10:28:20AM +0100, Jason Lee wrote:
 I have an OSM server up and running with map tiles dynamically generated
 using Mod_tile/renderd. I am thinking of generating maps in alternative
 cartographic map styles and I know that you can specify up to 10 Mapnik
 stylesheets when running up renderd.
You can configure the maximum amount of stylesheets when you compile
mod_tile/renderd. It's no problem to use more than 10.

 I was just wondering if there is any benefit of running more than 1 instance
 of renderd each using their own renderd.conf file and perhaps generating
 maps in their own style? Hope this query makes sense and maybe that setup is
 not possible at all - any help/suggestion much appreciated.
I'm not sure if mod_tile supports several instances of renderd at the same
time.

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contacts:   |
|  Mail: sk...@xover.mud.at  Jabber: sk...@jabber.at|
|  Blog: plepe.at  Twitter: twitter.com/plepe   |
`-'


signature.asc
Description: Digital signature
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Multiple instances of Renderd?

2011-03-30 Thread Stephan Plepelits
On Wed, Mar 30, 2011 at 12:21:23PM +0100, Jason Lee wrote:
 Regarding multiple instances, I am just thinking in terms of performance and
 stability. If I had 2 instances of renderd and one error's for whatever
 reason, then at least it is not affecting the other service.
I just haven't tried it. But actually I'd be interested too, so every user
(who share one database) could have their own styles with their own
renderd.

 Also, if both renderd daemons were serving the same maps (on the same
 machine) and the same tile_dir, is it more efficient than if there was just
 1 instance running (or no difference)?
I doubt it. I see problems with conflicts (several renderds rendering the
same tile simultanously). The bottleneck, as I experienced it, is the
I/O-subsystem in the machine for the database queries. Anyway renderd is
multi-threaded, so just add more threads if your cpus are bored (and it's
not the I/O-subsystem which eats performance).

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contacts:   |
|  Mail: sk...@xover.mud.at  Jabber: sk...@jabber.at|
|  Blog: plepe.at  Twitter: twitter.com/plepe   |
`-'


signature.asc
Description: Digital signature
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] osmosis, bounding boxes and updating

2011-03-22 Thread Stephan Plepelits
On Tue, Mar 22, 2011 at 03:55:03PM +0100, Martijn van Exel wrote:
 I think I found the answer to my own question:

 http://www.mail-archive.com/dev@openstreetmap.org/msg03530.html

 In short: it's not possible to combine change streams with bounding  
 boxes / polygons.

 Right?
Right.

What I was thinking what might work (never tried it) to take a country
export (e.g. Geofabrik or Cloudmade) every day build a diff between
yesterdays and todays version and use this for importing.

For sure you would have only one update per day.

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contacts:   |
|  Mail: sk...@xover.mud.at  Jabber: sk...@jabber.at|
|  Blog: plepe.at  Twitter: twitter.com/plepe   |
`-'


signature.asc
Description: Digital signature
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Inherited an OSM server - guidance needed please

2011-02-17 Thread Stephan Plepelits
Hi!

What I often use is
select procpid, query_start, current_query from pg_stat_activity
... tells you what queries are running right now and how long they take.

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contacts:   |
|  Mail: sk...@xover.mud.at  Jabber: sk...@jabber.at|
|  Blog: plepe.at  Twitter: twitter.com/plepe   |
`-'

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


Re: [OSM-dev] Little doubt about planet updates

2011-01-31 Thread Stephan Plepelits
On Mon, Jan 31, 2011 at 12:30:13AM -0800, Juan Lucas Domínguez Rubio wrote:
 Hello, I have downloaded this file:
 
 http://planet.openstreetmap.org/planet-110119.osm.bz2
 contains the changes performed during the [date] day (UTC time), therefore 
 the first file I should use in my case would be:
 http://planet.openstreetmap.org/daily/20110119-20110120.osc.gz

Not worth the hassle, try the minutely mapnik. Easier to do and can keep
the database uptodate in minutely intervals :)
- http://wiki.openstreetmap.org/wiki/Minutely_Mapnik

 What happens then with changes done between 19.01.2011 00.00 and 19.01.2011 
 01.00?
 They will be applied but they were already there.
 So I presume applying changes a second time is not a problem?
No, it's not a problem.

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contacts:   |
|  Mail: sk...@xover.mud.at  Jabber: sk...@jabber.at|
|  Blog: plepe.at  Twitter: twitter.com/plepe   |
`-'

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


Re: [OSM-dev] Layered Tiling (Mapnik)

2010-12-27 Thread Stephan Plepelits
On Mon, Dec 27, 2010 at 04:22:08PM +0100, Frederik Ramm wrote:
 Has anyone done some experimentation in that direction? I know that  
 Nop's riding+walking map uses three layers (OSM background, third-party  
 hillshading, OSM foreground), and of course I've seen the grand  
 ImageMagick-based TopOSM. Has anyone tried a multi-overlay tile server  
 in Mapnik?
http://www.openstreetbrowser.org is an example with base map, several
overlays for routes and other thematic overlays.

The new version http://dev.openstreetbrowser.org even supports creating own
mapnik style via the web interface. The big problem is rendering speed,
because of the full planet database.

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contacts:   |
|  Mail: sk...@xover.mud.at  Jabber: sk...@jabber.at|
|  Blog: plepe.at  Twitter: twitter.com/plepe   |
`-'

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


Re: [OSM-dev] Improved osm2shp

2010-12-21 Thread Stephan Plepelits
On Wed, Dec 22, 2010 at 08:44:41AM +0100, Peter Körner wrote:
 Am 20.12.2010 23:27, schrieb Stephan Plepelits:
 I wrote a preprocessor for osm2shp which takes a simple
 config file. You have to recompile osm2shp if you change that file.
 The default config is similar to the original osm2shp.
 And .. what does it actually do? Ie. what is different with your  
 preprocessor?
It's easier to config.

Compare
http://svn.openstreetmap.org/applications/utils/export/osm2shp/osm2shp.config
(the original) with
https://github.com/plepe/osm2shp/blob/master/osm2shp.cfg (my version)

For sure, the original version is more powerful, my version is simpler.

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contacts:   |
|  Mail: sk...@xover.mud.at  Jabber: sk...@jabber.at|
|  Blog: plepe.at  Twitter: twitter.com/plepe   |
`-'

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


[OSM-dev] Improved osm2shp

2010-12-20 Thread Stephan Plepelits
Hi!

I'm writing a tutorial for a class how to convert osm-files to shapefiles.

osm2shp from Geofabrik does a pretty good job, but it's hard to change the
layout of the shapefiles. As the target audience are no computer scientists
and don't know C, I wrote a preprocessor for osm2shp which takes a simple
config file. You have to recompile osm2shp if you change that file.
The default config is similar to the original osm2shp.

Maybe somebody might need this too ...

Check out the source at https://github.com/plepe/osm2shp

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contacts:   |
|  Mail: sk...@xover.mud.at  Jabber: sk...@jabber.at|
|  Blog: plepe.at  Twitter: twitter.com/plepe   |
`-'

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


Re: [OSM-dev] Rendering Strategy

2010-12-19 Thread Stephan Plepelits
On Sun, Dec 19, 2010 at 11:53:47PM +0100, mar...@gmx.eu wrote:
 1.: If a tile is requested by a user (and thus served by Apache), it shall be 
 rendered next morning at 5:00.
Why not rendering them as soon as possible? mod_tile[1] will help you with
this.

 2.: If a tile gets older than 100 days, it shall be rendered regardless of 
 the time it has been displayed last.
Tirex[2] (a replacement of the renderd which ships with mod_tile) might
help you with this.

 Is there already a mechanism I could use? Or do I have to program it from 
 scratch?
I think that existing infrastructure will help you :)

[1] http://wiki.openstreetmap.org/wiki/Mod_tile
[2] http://wiki.openstreetmap.org/wiki/Tirex

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contacts:   |
|  Mail: sk...@xover.mud.at  Jabber: sk...@jabber.at|
|  Blog: plepe.at  Twitter: twitter.com/plepe   |
`-'

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


Re: [OSM-dev] osm2pgsql Help ?

2010-10-12 Thread Stephan Plepelits
On Tue, Oct 12, 2010 at 04:32:01PM +0100, Ronan Crowley wrote:
 I don't think so  116GB of tablespace files have been created on my
 /mnt/sdo drive.
That says nothing. If you connect to the database (e.g. via psql) you can
see if objects in planet_osm_point etc. were created or if they were lost
in transla^H^Haction.

If they are here you can continue to try to create your indices. If they
are missing, you have to start from scratch anyway ...

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contacts:   |
|  Mail: sk...@xover.mud.at  Jabber: sk...@jabber.at|
|  Blog: plepe.at  Twitter: twitter.com/plepe   |
`-'

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


Re: [OSM-dev] Problem In Updating Map Data

2010-09-05 Thread Stephan Plepelits
On Mon, Sep 06, 2010 at 12:55:04AM +0530, Parveen Arora wrote:
 and it's working
 output is
 
 6 Sep, 2010 12:48:48 AM org.openstreetmap.osmosis.core.Osmosis run
 INFO: Osmosis Version 0.31
 [ ... ]
 org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task type
 read-replication-interval-init doesn't exist.
 
 But I have not clearly understand that what this process is?
Congrats, osmosis is working. But you are using a fairly old version,
apparently 0.31. This version didn't have support for replication. Try it
with the newest available version, you'll see it will work much better :)

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at  Jabber: sk...@fsinf.at|
|  Twitter: twitter.com/plepe  Wave: plepel...@googlewave.com   |
`-'

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


Re: [OSM-dev] Problem In Updating Map Data

2010-09-05 Thread Stephan Plepelits
On Mon, Sep 06, 2010 at 01:10:40AM +0530, Parveen Arora wrote:
 On Mon, Sep 6, 2010 at 1:03 AM, Stephan Plepelits
  But I have not clearly understand that what this process is?
  Congrats, osmosis is working. But you are using a fairly old version,
  apparently 0.31. This version didn't have support for replication. Try it
  with the newest available version, you'll see it will work much better :)
 ok, will it automatically replaced by the old one 0.31?
You mean, if osmosis updates itself? As the path to your osmosis
installation is /home/hsrai/osmosis-0.31 it does not update itself, you
downloaded and extracted it to this directory yourself.

 and now only the last command has not worked
 osm2pgsql --append [my customized arguments] changes.osc.gz
 error is again command not found
 
 osm2pgsql is installed.
Apparently osm2pgsql (as osmosis in the first problem) is not in your PATH.
If you write echo $PATH (without the quotes) you will get a list of
directories. These is the list of directories where your shell searches for
executables. If the executable osm2pgsql (resp. osmosis) is in a different
directory you can either specify its full path (as we did in the
osmosis-example) or add its path to the PATH-variable by typing export
PATH=$PATH:/path/to/directory (attention this is temporary and valid only
for the same shell you were in).

But as this discussion is getting rather off-topic you should consult 
some guide book on shell programming. There are so many guides to shell
programming on the internet, it's hard to recommend a specific one.
For some information on the PATH-variable you could consult this:
http://www.cs.purdue.edu/homes/cs348/unix_path.html

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at  Jabber: sk...@fsinf.at|
|  Twitter: twitter.com/plepe  Wave: plepel...@googlewave.com   |
`-'

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


Re: [OSM-dev] Problem In Updating Map Data

2010-09-05 Thread Stephan Plepelits
On Mon, Sep 06, 2010 at 02:17:58AM +0530, Parveen Arora wrote:
 Using projection SRS 900913 (Spherical Mercator)
 Couldn't open style file '/usr/local/share/osm2pgsql/default.style':
 No such file or directory
 Error occurred, cleaning up
You could try a little harder to resolve the error yourself :(

Does the style file '/usr/local/share/osm2pgsql/default.style' exist? If
not, you have to tell osm2pgsql the correct path.

Hint: osm2pgsql --help will tell all available options.

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at  Jabber: sk...@fsinf.at|
|  Twitter: twitter.com/plepe  Wave: plepel...@googlewave.com   |
`-'

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


Re: [OSM-dev] Nearest way for a location

2010-07-02 Thread Stephan Plepelits
On Mon, Jun 28, 2010 at 12:06:04PM -0400, Matthias Julius wrote:
 Stephan Plepelits sk...@xover.htu.tuwien.ac.at writes:
 
  On Sun, Jun 27, 2010 at 07:11:53PM -0500, Nolan Darilek wrote:
  3. In dusting off my disused (and never that good to begin with :) math
  skills from over a decade in my past, I'm thinking that a vector-based
  solution might work. I am already calculating a node's neighbors if it
  is on one or more ways, so I think that if I create vectors between the
  nearest node and each of its neighbors, then determine which segment has
  the least distance to the user's current location, then I've figured out
  the user's new way with minimal complexity. Before I go off and
  implement this (or rather, before I figure out which vector operations
  apply here and *then* implement this :) can anyone tell me why this may
  be a bad idea?
  I think this is a very good idea :) Check out the Hesse normal form[5] how
  to calculate the distance of a point to a line.
 The nearest road does not need to have a node near your location.
Yes, that's why I told you to calculate the distance to the line.
Your position is the point, and the line is the road segment.

Example:

  Your coordinates (G): (2, 3)
  Your road segment (AB): (1, 1) - (4, 5)

  Therefore you get:
  Function for all points on AB: (1, 1) + t*(3, 4)   (for 0=t=1)
  Normal vector to AB (n): (-4, 3)
  Unified normal vector to AB (n0): (-4/5, 3/5) = (-0.8, 0.6)


You can use the hesse normal form to calculate the distance (which is the
easier solution):

  Hesse normal form: n0 * (X - A)   (for X is any point on AB)
  Our Hesse normal form of that line: (-0.8, 0.6) * (X - (1, 1)) = 0

  Distance form: | AG * n0 | ( * being a scalar product )
  Our distance: | (1, 2) * (-0.8, 0.6) | = | -0.8 + 1.2 |

- distance: 0.4

Voila. Problem: We don't know, if we are on the right part of the road (the
line is assumed to be infinite). Therefore we need another approach:

  We have to lines:
  AB (1, 1) + t*(3, 4) (for 0=t=1)
  GX (2, 3) + u*(-0.8, 0.6)(for any u, |u| is our distance)
  X is the point where GX crosses AB, say the nearest point to G on AB.

  If we intersect these vectors we will get the point X:
  (1, 1) + t*(3, 4) = (2, 3) + u*(-0.8, 0.6)

  We get two equations:
  1 + t*3 = 2 + u*-0.8
  1 + t*4 = 3 + u* 0.6

  Now we can solve this system of equations and get
  t= 0.44
  u=-0.4

- t is between 0 and 1, so G is near AB
- X is (2.32, 2.76)
- distance is 0.4

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at  Jabber: sk...@fsinf.at|
|  Twitter: twitter.com/plepe  Wave: plepel...@googlewave.com   |
`-'

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


Re: [OSM-dev] Nearest way for a location

2010-07-02 Thread Stephan Plepelits
On Fri, Jul 02, 2010 at 11:24:19AM +0200, Marc Schütz wrote:
Distance form: | AG * n0 | ( * being a scalar product )
Our distance: | (1, 2) * (-0.8, 0.6) | = | -0.8 + 1.2 |
  
  - distance: 0.4
 
 The length of a vector (a,b) is sqrt(a^2 + b^2), not abs(a+b)!
 Thus |(1,2) * (-0.8,0.6)| = |-0.8,1.2| = sqrt(0.64+1.44) = sqrt(2.08) ~ 1.44
 
The scalar product (or dot product) of the vectors (1, 2) * (-0.8, 0.6) is
-0.8 + 1.2 = 0.4. (And for sure it must be a scalar, that's why it's called
scalar product).

You are talking about a cross product, but that's not what we need in the
hesse normal form. The second approach with the intersection of the vectors
also showed, that 0.4 is the correct distance. The graphical approach which
I draw to check my result also showed ~0.5.

[1] http://en.wikipedia.org/wiki/Dot_product
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at  Jabber: sk...@fsinf.at|
|  Twitter: twitter.com/plepe  Wave: plepel...@googlewave.com   |
`-'

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


Re: [OSM-dev] Nearest way for a location

2010-06-27 Thread Stephan Plepelits
On Sun, Jun 27, 2010 at 07:11:53PM -0500, Nolan Darilek wrote:
 2. As a blind pedestrian, I'm not likely to travel faster or slower on
 streets of different types. Vehicular navigation of course is another
 story, but in this instance, vehicular nav is secondary. Also, whether
 or not a street is one-way is immaterial. Same with dead-ends. Do I have
 anything to gain from examining way tags, or am I dismissing that avenue
 too soon? It seems to me like my approach would need to be purely
 mathematical in this case.
I'm sure you should examine those tags. First not every line is a road, it
could also describe (district) boundaries[1] or house numbers[2]. You might
not be interested in those. Or you might not want to walk on motorways ...
On the other hand you could get information suiting special needs of blind
pedestrians: Whether there is a sidewalk on the left or the right side[3],
if a pedestrian crossing has acoustic guidance, etc. Check out the page
OSM for the blind[4].

 3. In dusting off my disused (and never that good to begin with :) math
 skills from over a decade in my past, I'm thinking that a vector-based
 solution might work. I am already calculating a node's neighbors if it
 is on one or more ways, so I think that if I create vectors between the
 nearest node and each of its neighbors, then determine which segment has
 the least distance to the user's current location, then I've figured out
 the user's new way with minimal complexity. Before I go off and
 implement this (or rather, before I figure out which vector operations
 apply here and *then* implement this :) can anyone tell me why this may
 be a bad idea?
I think this is a very good idea :) Check out the Hesse normal form[5] how
to calculate the distance of a point to a line.

[1] http://wiki.openstreetmap.org/wiki/Key:boundary
[2] http://wiki.openstreetmap.org/wiki/Karlsruhe_Schema
[3] 
http://wiki.openstreetmap.org/wiki/Proposed_features/Advanced_footway_and_cycleway
[4] http://wiki.openstreetmap.org/wiki/OSM_for_the_blind
[5] http://en.wikipedia.org/wiki/Hesse_normal_form

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at  Jabber: sk...@fsinf.at|
|  Twitter: twitter.com/plepe  Wave: plepel...@googlewave.com   |
`-'

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


Re: [OSM-dev] git.openstreetmap.org

2010-04-21 Thread Stephan Plepelits
On Wed, Apr 21, 2010 at 04:06:04PM +0200, Chris Browet wrote:
 The real question is whether it is wanted/desirable to have the myriad of OSM
 related projects hosted under a single repository (or at least under an
 _o_p_e_n_s_t_r_e_e_t_m_a_p_._o_r_g umbrella).
 I don't actually have any opinion on this.
Gitorious is Open Source and can be installed to provide Git-repositories.
Maybe gitorious.openstreetmap.org would be a nice idea?

greetings,
Stephan

PS: OpenStreetBrowser recently moved to Git/Gitorious:
http://gitorious.org/openstreetbrowser
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at  Jabber: sk...@fsinf.at|
|  Twitter: twitter.com/plepe  Wave: plepel...@googlewave.com   |
`-'

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


Re: [OSM-dev] project idea

2010-03-12 Thread Stephan Plepelits
On Thu, Mar 11, 2010 at 04:10:34PM +0100, Thomas Meller wrote:
 in every country, in several counties, in certain towns, there are properties 
 characteristical for some object types of a certain kind.
 Using boundary objects, one could create a geographical-bound css-like object 
 containing the tags to be used as defaults to overlay each such object's tags 
 found inside of that boundary object.
I was thinking about this myself, I think it would be important to have a
way of tagging such things. E.g. to define the language of the name-tags
inside this boundary.

 Task is to find a way of...
 - tagging such a boundary object
admin_level=xxx? I think this boundaries are in most cases equal to
admin-boundaries. A higher admin_level overrules a lower admin_level (e.g.
maxspeed for country overruled by maxspeed in city boundaries).

 - data representation in the OSM technical environment to serve queries
 for such objects
 - technical setup to support queries for such objects
 - API functions to support such queries
As other writers on the list, I think this is something for a client
library. It's not necessary to add support to the database. But yeah ...
please think about a way :)

 - definition of use-cases to be used as introduction and as a pilot-project 
 to test such a function's versatility
I think the easiest way would be to define a general way to define such
tags. Maybe a namespace would be an option, like:
default:maxspeed=30 ... would mean that the tag maxspeed=30 applies to
all objects inside that boundary (if not defined on the object itself).

Some ideas:
default:lang=de
  All name-tags and similar tags are in German

default:addr:city=London
  Default addr:city=London - not every address needs all tags

default:highway:motorway:maxspeed=130 km/h
  Speed limit for all motorways: 130 km/h

default:highway:service:access=private
  Every service-highways have access=private

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at  Jabber: sk...@fsinf.at|
|  Twitter: twitter.com/plepe  Wave: plepel...@googlewave.com   |
`-'

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


Re: [OSM-dev] Help: Bus Stop Data Extraction for Bus Routing Service

2010-02-09 Thread Stephan Plepelits
On Tue, Feb 09, 2010 at 11:04:31AM +0100, Shuyan Chen wrote:
 When we came to extract bus data from the element of “Relation”, we found the
 stopping point data in a relation are always incomplete in bus route data,
 meanwhile, we also noticed there are bus stopping points in the ways which are
 contained in a bus route relation.
  
 What is the difference between the stop nodes within a relation and the nodes
 tagged as “bus_stop” in highways which are also contained in a relation?
As I understand it, a node which is a bus stop should be tagged as
highway=bus_stop with a name. If a route stop at that bus_stop, it should
be member of that relation. The role should be either stop, forward_stop or
backward_stop, to indicate whether that bus stops at that stop in both
directions or either in forward or backward direction (measured along the
way where the node is member of ... often the node is not on the way, but
next to the way).

There might be bus routes which do not stop at a certain bus stop, although
its route is going along that way (think of regional buses).

An interpretation of that data you can see in the OpenStreetBrowser[1].

[1] http://www.openstreetbrowser.org

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at  Jabber: sk...@fsinf.at|
|  Twitter: twitter.com/plepe  Wave: plepel...@googlewave.com   |
`-'

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


Re: [OSM-dev] Haiti need: GetLatLon for OpenStreetMap

2010-01-23 Thread Stephan Plepelits
On Sat, Jan 23, 2010 at 01:15:54AM -0800, Mikel Maron wrote:
 Ushahidi, and others, are geocoding reports via OpenStreetMap. We want this to
 be as easy and accurate for them as possible. GetLatLon  is a nice little
 site to do this, but uses Google Maps. Would someone be able to clone
 the site to use OSM, centered on Haiti?
I integrated something like this into the Haiti-Version of the
OpenStreetBrowser: http://haiti.openstreetbrowser.org/ ... just click on
Map Info.

If you have wishes, just tell me ...

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at  Jabber: sk...@fsinf.at|
|  Twitter: twitter.com/plepe  Wave: plepel...@googlewave.com   |
`-'

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


[OSM-dev] cross-domain xmlhttprequest

2009-12-22 Thread Stephan Plepelits
Hi Folks!

I just ran into a problem ... I'd like to access OpenStreetMap data
directly from a web application via a XMLHttpRequest. Unfortunately
cross-domain XMLHttpRequests are not allowed unless the foreign web server
replies with a special HTTP-header (Access-Control-Allow-Origin) and you
are using a modern browser (e.g. Firefox =3).

Here you can find some documentation:
  http://www.w3.org/TR/access-control/

This is the needed HTTP-header-line:
Access-Control-Allow-Origin: *
(this would allow XMLHttpRequests from any client web browser)

Does anybody see a problem adding these HTTP-Header-line to the
OpenStreetMap-API and the Nominatim-API?

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
| Projects:   |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| Contact:|
|  Mail: sk...@xover.mud.at  Blog: plepe.at  Jabber: sk...@fsinf.at|
|  Twitter: twitter.com/plepe  Wave: plepel...@googlewave.com   |
`-'

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


[OSM-dev] Bug in XAPI or Osmosis?

2009-12-03 Thread Stephan Plepelits
Hi!

I found a bug either in XAPI or Osmosis:

If you download relations from XAPI, members of relations without a role,
don't get an attribute 'role', which breaks Osmosis processing that file.
Osmosis (0.31) gets a NullPointerException, if no role is defined.

E.g.
relation id='1'
  member type='node' ref='1'
/relation

Something like this works for Osmosis:
relation id='1'
  member type='node' ref='1' role=''
/relation

For now I wrote a workaround via sed:
sed s/member \(.*\) ref='\([0-9]*\)'/member \1 ref='\2' role=''/ file.osm

But I think, somebody should either fix Osmosis, so I works without roles,
or fix XAPI, that it returns empty roles.

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.at |
`-'

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


[OSM-dev] export mapnik

2009-09-30 Thread Stephan Plepelits
Hi!

I just noticed, that if you try to download an exported image from the
export-tab on the osm-webpage, you get a python-script.

I suppose, this is wrong ;)

Please fix!

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.at |
`-'

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


Re: [OSM-dev] Node and Area for one Feature

2009-08-04 Thread Stephan Plepelits
On Tue, Aug 04, 2009 at 08:27:09AM +0100, Tom Hughes wrote:
 What's keeping you back? The style sheet is in svn and trac is available 
 when your patch is ready.
Voila.

http://trac.openstreetmap.org/ticket/2129

Hope this is correct, it's my first trac-ticket :)

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.at |
`-'

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


[OSM-dev] Node and Area for one Feature

2009-08-03 Thread Stephan Plepelits
Hi!

Here in Vienna we have the case, that many Map Feature are already
represented by an area (especially churches), but they also have a node,
because the people want to see an icon for that feature.

To cite the page Good Practice[1] in the OSM-Wiki:
* One feature, one OSM-object - Don't place nodes in (equally labelled)
  areas just to see some icon appear on the map. The renderers will display
  icons on areas as well and there's no need to have every parking-lot,
  soccer-ground etc. twice in the database. 

As I can see that sentence was already on the first version of the Good
Practice page (dates back to 26 February 2008). Now it's nearly 1 1/2 years
later, and those icons are still not represented on the Mapnik-rendering
(and also the CloudMade-tiles). Osmarender does render those icons.

As I'm working with Mapnik too (I developed the OpenStreetBrowser[2]), I know,
that Mapnik can render icons on areas ...

So ... what's keeping the admins back?

[1] http://wiki.openstreetmap.org/wiki/Good_practice
[2] http://www.openstreetbrowser.org/

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studien Informatik  Raumplanung |
|  openstreetbrowser.org  couchsurfing.org  tubasis.at  bl.mud.at |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.at |
`-'

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


Re: [OSM-dev] Mapnik long time runnning

2009-05-24 Thread Stephan Plepelits
On Sun, May 24, 2009 at 06:48:16PM -0700, Sam Mor wrote:
 
 Hi All,
 we started this step (./z0_generate_tiles.py ) about one week ago and  the 
 process is running , we got now till level 10,
 how long it will take to finish?
  is it related to our Desktop (dual core 2.0 Ghz, # Gb of RAM)
To render zoom level 11 will take approximately 4 times the time to render
zoom level 10, as there are 4 times the amount of tiles.

If you use mod_tile it will be no problem for you to offer tiles up to any
zoom level, as only those you need will be rendered (but still, if the
server is under load, you might have to wait until the tiles will be
served).

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studium Informatik  Raumplanung |
|  openstreetbrowser.org  couchsurfing.com  tubasis.at  bl.mud.at |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.at |
`-'

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


Re: [OSM-dev] hard drive size

2009-05-11 Thread Stephan Plepelits
On Mon, May 11, 2009 at 11:03:14AM +0200, Iván Sánchez Ortega wrote:
 El Lunes, 11 de Mayo de 2009, Sam Mor escribió:
   it's not a production server, it' s a research server...
 
  we have 500 Gig, which file do we use :
  planet-070711.osm.bz2 11-Jul-2007 07:47  299M 
  or
  planet-071107.osm.bz2 07-Nov-2007 10:26  1.2G 
 
  or more , what do you think?
 
 Use the latest one, about 6.5GB. The amount of disk space used will be around 
 3-4 times the planet size (for the PostGIS DB), plus the tiles. If you use 
 mod_tile, you will only render a small amount of tiles, so you shouldn't have 
 to worry about disk space (much).
Even more important in my opinion are the savings in CPU-time. On my
machine[1] to render all of Europe up to zoom level 12 took about 3-4 days.
And the time is increasing exponantially for each additional zoomlevel (as
each has 4 times the amount of tiles).

mod_tile just renders on demand ... parts nobody looks at, just don't get
rendered.

[1] http://www.openstreetbrowser.org

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studium Informatik  Raumplanung |
|  openstreetbrowser.org  couchsurfing.com  tubasis.at  bl.mud.at |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.at |
`-'

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


Re: [OSM-dev] What is OSM and what isn't?

2009-04-30 Thread Stephan Plepelits
On Thu, Apr 30, 2009 at 11:28:44AM +0200, Chris-Hein Lunkhusen wrote:

I also have some suggestions for the homepage:
It's annoying that the Search-Box is outside of the browser window so you
have to scroll (at least on my 1280x800 screen).

I would propose the following order of boxes:
- Logo (for sure on top)
- Search Box
- Links (Wiki, News, ...)
- Current stuff (like the advertisment for the SOTM)
- Info about the project
- Information about hosting

Maybe the Boxes can be a little bit smaller (smaller text for the links,
wider text), so at least the first lines about the Infos about the
project can be seen on normal screens.

  And I try to explain people that OSM is providing
  the data and the maps and that its not the goal of OSM to provide every
  conceivable map or mapping web site or service. 
 So I think at least some kind of Link to a routing app
 would be usefull on the start page, so that beginners
 can see the full potential behind OSM
Yes, that's a good idea.

People hear the term OpenStreetMap (for sure there's a lot in the news),
they go to the homepage - and what do they see? A simple map (nothing wrong
with it) ... how should they know what other application there are
available?

I just tried to find other applications from the Homepage:
- Help  Wiki
   - Show me the map (that's where I'm coming from)
   - Beginners' Guide (I don't want to create data, I want to use it)
   - Map Making (I told you)
   - Development (Hey! I can use a Webbrowser)
   - FAQs (Now we are getting somewhere - but still it's about Where it
comes from, Editing, *yawn*)
   - Press (Still there? wow)
   - Image of the Week (This is _really_ helpful)
- News Blog
   - Discount for Where 2.0, Call for SOTM, API 0.6
   ... nothing interesting for someone who just heard about OSM
- Shop
   ... no applications
- Map Key
   ... not helping

So ... where are the feature-rich applications like routing, opencyclemap,
...? No wonder people don't discover the potential ...

In my opionion we should produce a page with featured applications, with a
link from the mainpage (before Help  Wiki i would propose). A good
example might be the OpenID-page:
- One page like[1], with links to featured applications.
- One application where People can enter their applications themselves with
  screenshots, descriptions and the possibility of others to vote (to
  promote applications) and leave comments.

[1] http://openid.net/get/
[2] http://openiddirectory.com/

greetings,
Stephan

PS: It was high time for my rant about the homepage ;)
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studium Informatik  Raumplanung |
|  openstreetbrowser.org  couchsurfing.com  tubasis.at  bl.mud.at |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.at |
`-'

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


Re: [OSM-dev] What is OSM and what isn't?

2009-04-30 Thread Stephan Plepelits
On Thu, Apr 30, 2009 at 08:22:42PM +0200, Colin Marquardt wrote:
 2009/4/30 Richard Fairhurst rich...@systemed.net:
 
  Stephan Plepelits wrote:
  In my opionion we should produce a page with featured applications,
  with a link from the mainpage (before Help  Wiki i would propose).
 
  Last year I registered openstreetmapdirectory.org with the intention of
  doing exactly that - a site cataloguing sites and companies that work with
  OSM data.
 
  I haven't had chance to do anything on it but would be delighted to work
  with others who would find such an idea interesting.
 
 In the meantime, http://openstreetmapdirectory.org could link to these sites:
 
 http://osmtools.de/osmlinks/?page=mainlang=en
 http://wiki.openstreetmap.org/wiki/List_of_OSM_based_Services
 
Wow, I didn't know them (and I'm active for quite some time). Why not link
from the mainpage to one of these sites (with a link called Applications
or Funky Stuff or See how OSM rocks! or something like this)?

I prefer the second link for some reasons:
- Everybody can edit the Wiki
- There's a short description of the service
- It's hosted by OSM, which is dedicated to encouraging the growth,
  development and distribution of free geospatial data (OSM Foundation)

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studium Informatik  Raumplanung |
|  openstreetbrowser.org  couchsurfing.com  tubasis.at  bl.mud.at |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.at |
`-'

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


Re: [OSM-dev] FW: using OpenStreetMap api

2009-04-14 Thread Stephan Plepelits
Yes, commercial use is allowed.

It think these both FAQs should answer most of your questions:
http://wiki.openstreetmap.org/wiki/Legal_FAQ
http://wiki.openstreetmap.org/wiki/Common_licence_interpretations

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studium Informatik  Raumplanung |
|  openstreetbrowser.org  couchsurfing.com  tubasis.at  bl.mud.at |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.at |
`-'

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


Re: [OSM-dev] ANNOUNCE: OpenStreetMap maps will be added to Wikimedia projects

2009-04-05 Thread Stephan Plepelits
On Sun, Apr 05, 2009 at 11:14:25AM +0200, Erik Johansson wrote:
 On Sat, Apr 4, 2009 at 8:21 PM, Ævar Arnfjörð Bjarmason
 ava...@gmail.com wrote:
  * Wikimedia will set up a database to mirror the OSM data (Planet.osm)
 I wonder if Wikipedia will ever need to fork the db in some way.
 Wikipedia will often need something else than a streetmap.
In my opinion the OSM is much more then a street map, but maybe they need a
customized rendering.

 Has anyone done work on getting Google maps my maps like features on
 OSM? I'm guessing this is something that will be interesting for
 Wikipedia, visualizing routes, POI and custom labels. This is database
 forking lite.. :-)
Something like the OpenStreetBrowser? - http://www.openstreetbrowser.org

You don't need a database fork for this, you just have to integrate the
data (which is happening since the OSM was born).

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studium Informatik  Raumplanung |
|  openstreetbrowser.at  couchsurfing.com  tubasis.at  bl.mud.at  |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.at |
`-'

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


Re: [OSM-dev] JOSM: Several tags with same key

2009-04-04 Thread Stephan Plepelits
On Fri, Apr 03, 2009 at 02:50:47PM +0100, David Earl wrote:
 Grouping streets that share a ref seems like a good use for a relation, 
 though I think it would be a shame if this became the standard way of 
 doing it as it is a rather more complicated way of doing it. But in some 
 cases, roads do have more than one ref (European + national, NCN + B 
 Road, or even just two roads come together A11 + A14 north of newmarket, 
 though I think strictly speaking the A14 is the road number and the A11 
 breaks in two here).
This is already happening:
http://wiki.openstreetmap.org/wiki/WikiProject_Europe/E-road_network

Also in Countries, one example from Austria:
http://wiki.openstreetmap.org/wiki/WikiProject_Austria/Bundesstra%C3%9Fen

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studium Informatik  Raumplanung |
|  openstreetbrowser.at  couchsurfing.com  tubasis.at  bl.mud.at  |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.at |
`-'

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


[OSM-dev] Introducing OpenStreetBrowser

2009-03-27 Thread Stephan Plepelits
Hi Folks!

Some of you might already have noticed the OpenStreetBrowser, as I added
it to the list of GSoC-Projects, and I've been already writing on a page in
the OSM-Wiki for the last week.

I had a little bit too much time in the last months, so I  started to write
a web-application where you can browse the OSM-content in certain
categories. This includes an own style with some thematic overlays. I'm
quite excited about it, there are so many possibilities in the database.
It's not finished yet, but I think of the current version of a usable beta
(I just updated browser support, it's even working in IE6, though with some
restrictions).

So ... don't want to loose to many words, just give it a try:
- http://www.openstreetbrowser.org
In the OSM-Wiki you find additional informations about the project:
- http://wiki.openstreetmap.org/wiki/OpenStreetBrowser

Please be a little bit patient, my server is not that fast and it's still
in development.

Have Fun!

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studium Informatik  Raumplanung |
|  fsinf.at  tubasis.at  rudolfsheim-fuenfhaus.gruene.at   |
|  couchsurfing.org  beutelland.mud.at  |
| sk...@xover.htu.tuwien.ac.at   -   My Blog: http://plepe.twoday.net |
`-'

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


Re: [OSM-dev] osm2pgsql make failing

2008-11-05 Thread Stephan Plepelits
On Thu, Nov 06, 2008 at 06:21:47PM +1100, Richard Chirgwin wrote:
 Hi from a new user.
 
 osm2pgsql is failing on make:
 /usr/lib/libpq.so: undefined reference to [EMAIL PROTECTED]'
 /usr/lib/libpq.so: undefined reference to
 [EMAIL PROTECTED]'
 /usr/lib/libpq.so: undefined reference to [EMAIL PROTECTED]'
 /usr/lib/libpq.so: undefined reference to
 [EMAIL PROTECTED]'
 /usr/lib/libpq.so: undefined reference to [EMAIL PROTECTED]'
 /usr/lib/libpq.so: undefined reference to [EMAIL PROTECTED]'
 /usr/lib/libpq.so: undefined reference to [EMAIL PROTECTED]'
 /usr/lib/libpq.so: undefined reference to [EMAIL PROTECTED]'
 /usr/lib/libpq.so: undefined reference to [EMAIL PROTECTED]'
 /usr/lib/libpq.so: undefined reference to [EMAIL PROTECTED]'
 /usr/lib/libpq.so: undefined reference to [EMAIL PROTECTED]'
 
 What dependency am I missing?
# apt-cache search krb5
- libkrb5-dev - Headers and development libraries for MIT Kerberos

(So there are more hits, but this is most likely, I would assume)

greetings,
Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,-.
| Stephan Plepelits,  |
| Technische Universität Wien   -Studium Informatik  Raumplanung |
|  fsinf.at  tubasis.at  rudolfsheim-fuenfhaus.gruene.at   |
|  couchsurfing.org  beutelland.mud.at  |
| [EMAIL PROTECTED]   -   My Blog: http://plepe.twoday.net |
`-'

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