Sunday, February 12, 2012

Geopaparazzi 2.6.0 is out - OSM, Mixare and GeoSMS

[for an Italian version of this article, click here]

We just released Geopaparazzi 2.6.0 to the market.

I was really looking forward to this release because it contains a ton of new stuff some were expecting. Let's try to see some of it.

1) Openstreetmap support

This is likely the most important change for this version. We now have the possibility to create OSM points of interest and synchronize them with the OSM accoutn online.

First one has to activate OSM support in the preferences:

If OSM support is activated, once geopaparazzi restarts, the user is prompted to download the OSM tags. This is a library of symbols and definitions of OSM tags.

The map view will then prefsent a small OSM-logo handle at the right side of the map. If that one is pulled, it shows the OSM categories available.

Entering one of the category, the various tags are presented:

And when selected, the user gets the form with the definition of the selected tag. Once filled out and pressed ok at the bottom of the form, the point is saved and kept ready for upload to OSM.

From the categories view one can upload the OSM points to his account. The application just askes for a description for the changeset it is going to upload.

If the user and password were inserted properly in the preferences, geopaparazzi will connect to a WPS service written and made available by Luca Delucchi. The WPS will take care to upload the points to the defined OSM account. A big thanks goes to Luca, who helped me to understand the necessary OSM internals. He alos wrote the actual WPS service, made it available for all geopaparazzi users and also prepared the OSM tags library.

2) OGC GeoSMS support

This version has support for the recently released OGC GeoSMS specification. This works in two ways: for sending geosms, but also for incoming geosms.

The sms preferences allow to "enable sms catcher", which will handle incoming geosms, while the panic number is instead the number that will be used to send geosms to.

Let's start with outgoing geosms'. Geopaparazzi has the bottom "panic" bar. From there a user can send a panic message, which will send to the configured number a geosms containing the positions following OGC specs and a message asking for help. There is a second button that can be used to send a customized geosms. It will ask the user for a cutom text to add to the location definition.

What happens instead when a GeoSMS is recieved? If the catcher is enabled in the settings, geopaparazzi will parse the incoming message and recognize the GeoSMS format. It will notify the user that such a message has arrived:

The notification makes it then possible to open the GeoSMS with one of the available applications on the phone, that can handle the position information.

So once selected the notification:

And opening it for example with a well know application we can see that I was preparing some screenshots for my talk at the Italian GRASS and GFOSS user meeting in Trieste:

3) augmented reality with mixare

In this version we added the ability to view all points of interest contained in the current geopaparazzi view in mixare. I already described the feature in this post.
The entry point is the menu in the map view:

4) create a new project

While this has been a bit odd in the past, it now follows a more natural workflow. You are asked for the name of the new project and geopaparazzi creates the project and loads it.

5) bookmarks

One this I was missing, was a very easy way to add bookmarks to geopaparazzi. So we added a check on the presence of a bookmarks.csv file in the project folder (by default geopaprazzi). If the file is there and it contains points in the form:

Hotel Trieste, 45.642043,13.780791
Grassday Trieste,45.65844,13.79320

those points will be loaded in the application and appear in the bookmarks list.

This feature lead me to have a ton of bookmarks and defined the need for a way to filter them. So the bookmarks list now has a textfield that filters the bookmarks by name:

6) center on gps

After having risked to make car accidents just to pan while driving in order to have the actual position visible, we added a function to have the gps alwasy inside the current window, through automatic panning. It can be switched on in the gps preferences:

7) enhanced charting with zoom to markers

Just to remind that one, I wrote already here about it.

8) osmdroid doesn't kill tiles any more

Some developers from the osmdroid (the engine we use to display the maps) community finally solved the bug that in certain low memory conditions were killing all the OSM tiles, leaving the user with no more maps. This was one of the worst bugs ever, since it had happend to several user that they found themself out in the field with no network and no more maps. This has now finally been solved!!!

9) possibility to use network based position

This was asked by several users so we thought we could add it. In the setting it is now possible to ask geopaparazzi to use network based position definition instead of GPS based. Even if I do not like it that much, I agree that it is handy sometimes.

That's more or less it.

This release hides a very important change under the hood, since we split the geopaparazzi project into two pieces in order to foster reusability. Many key features of geopaparazzi have been taken into a separate library project. This project can be used to build in an easier way new applications.

We now decided to release this version, since the OSM tools will need some community testing and also the library issue might need some testing. Also the documentation will need a good update. As usual help is always welcome! :)

Install the application from the market or download it from the project download area. Play with it, test it, send us feedback. If you have questions join our mailinglist.
But most of all, enjoy it!


cgs_bob said...

I'm trying to use Geopaparazzi 2.6.0 with the osgeo4w version of beegis. Unfortunately I'm not able to import. I am getting this error message:

java.sql.SQLException: [SQLITE_NOTADB] File opened that is not a database file (file is encrypted or is not a database)
at org.sqlite.DB.newSQLException(
at org.sqlite.DB.newSQLException(
at org.sqlite.DB.throwex(
at org.sqlite.NestedDB.prepare(
at org.sqlite.DB.prepare(
at org.sqlite.Stmt.executeQuery(
at eu.hydrologis.jgrass.gpsnmea.geopaparazzi.ImportGeopaparazziFolderWizard.notesToShapefile(
at eu.hydrologis.jgrass.gpsnmea.geopaparazzi.ImportGeopaparazziFolderWizard.access$2(
at eu.hydrologis.jgrass.gpsnmea.geopaparazzi.ImportGeopaparazziFolderWizard$1$
at org.eclipse.jface.operation.ModalContext$

moovida said...

Hi Bob, that is oddd. I did test the BeeGIS connection with this version. I am at a conference unti end of the week. If you could send me the zipped geopaparazzi folder, I could fix this problem.
Just to make sure: are you using the lastest BeeGIS version from osgeo4w? I just fixed a compatibiliy problem with geopsp in the last one. said...


We would like to invite you to feature your blog on our webpage

( edittor)