Tuesday, October 21, 2008

The day GRASS maps learned to fly through my projections

On of the things I was dreaming from bringing the GRASS raster format to geotools, was the fact to be able to reproject them on the fly. Be able to reproject them without all this issues around r.proj that I used so many time. Just select a box with the coordinate reference system and voila', distorce my map around the world... and now it is there, growing to be in the JGrass development version... and you have to see this...

1) the adige basin in EPSG:32632, UTM zone 32N

2) EPSG:3003, Gauss boaga (no evident change, just coordinates change)

3) the almighty EPSG:4326... the World Geodetic System 1984...

Tonight I will sleep quite :)

And soon the export to reprojected geotiff will come...

As good Simone makes me notice, I should thank those guys that helped me with that odd thing that is coverage. Some knowledge came from both (in alphabetic order :)) from:

Monday, October 13, 2008

How to get GRASS related preferences into your code

What to do when you need the mapset that is currently set for doing calculations or even the path to the GRASS GISBASE?

Go and buy some at your preferred store:

ScopedPreferenceStore preferences = (ScopedPreferenceStore) ConsoleEditorPlugin

String mapsetString = preferences.getString(PreferencesInitializer.CONSOLE_ARGV_MAPSET);

String gisbaseString = preferences

Post African Post

I always thought I would write a really nice and long post about the FOSS4G2008 experience, as soon as I'm back. And now that I'm back? I am so tired, confused and overloaded with work that I wouldn't even know where to start :)

So for now, let me just point you to the presentation and workshop slides the JGrass Team held at FOSS4G2008 in Cape Town. They are what really matters, together with the JGrass release I'm going to cut in the next 48 hours fixing bugs we found at the various workshops.

JGrass presentations and workshop slides and data.

In order to have at least a few pictures of Cape Town in here:

1) Silvia presenting J-Hydro

2) workshop for geography teachers at Trafalgar Highschool

3) showing where to go next year for having the same fun at FOSS4G2009