OpenStreetMap

Voronoi diagram in postgis

by rullzer on Dec.16, 2009, under Linux, OpenStreetMap

WIth some people from OSM I was trying to construct a Voronoi diagram from some geo data. Some googling revield PL/R which can do this job perfectly.

The complete guide is available at bostongis.

This post is more a list of which emerge commands to execute… which is roughly what is decribed here.

  1. Emerge postgresql and postgis (I assume you will install 8.4)
  2. Emerge dev-lang/R
  3. run R
    1. chooseCRANmirror()
    2. install.packages(‘deldir’)
  4. Fetch the PL/R ebuild to your local overlay
  5. Emerge plr

Note that not anything is installed yet. But following the elog messages and the guides should be pretty straight forward now!

1 Comment more...

Altitude in YOURS

by rullzer on Nov.12, 2008, under OpenStreetMap

This weekend I spend getting the srtm data (thanks NASA) into postgres to use it. To do that I used Sjors way to do that which is with python. I got it to work in no time on my Gentoo-amd64-dev-box. That was Saturday.

Now Sunday I spend all day trying to get it to work on the dutch openstreetmap server. Which was quite a bigger challenge. Since well on CentOS 5 not all packages were correct. So I ended up compiling a lot myself, this however is pain in the ass if it turn out you have to compile almost all dependencies yourself to.

But it works! Check it on altitude.openstreetmap.nl. There you won’t find much but check the wiki page for more info on how to get data out of it. We only host the srtm data for the Netherlands, Belgium and Luxembourg. This since the data is quite large and well, I am not the only one using the server.

But back to the title. YOURS is an OpenStreetMap routing service. Which is kick-ass by the way. YOURS supports the altitude data and give the altitude profile of your route. Right now only a plot of the altitude is shown but I guess we get some nice stats soon!

Now for a little problem YOURS does not work really well when using Konqueror. I tried to figure out why but I’m not really a java script expert. So if you are and have some free time. Please find the problem :)

Now for another project idea of mine (probably around Christmas): porting Sjors python implementation to C. This since well. I love C.

Leave a Comment :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!