Later I had worked on the logical model. Among other things Balloon has classes responsible to render graphic object and classes responsible to load data. I have just improved this using an event/listener mechanism.
Also I turn many java classes on JavaBeans, firing property change events and so on that helps to improve the client programming.
Finally I have divided the load process between synchronous (working in the update thread) and asynchronous process (working in a new thread). For example, to load WMS images the load process starts as a synchronous process, checks if the images is cached in the local disk and if so loads it, otherwise changes it to an asynchronous mode and loads data from the network server.
Probably it must be better to write some docs to help the future programmers of Balloon ;)
Monday, July 23, 2007
Tuesday, July 10, 2007
WMS and cached images
This is a little demo which works with WMS layers with some cached images.
Other time, sorry by poor quality but (1) my video card is not so good and it is very dificult to execute and capture at the same time, and (2) youtube takes a lot of quality.
Other time, sorry by poor quality but (1) my video card is not so good and it is very dificult to execute and capture at the same time, and (2) youtube takes a lot of quality.
Saturday, July 07, 2007
Working with WMS server
Here is a demo video working with WMS server.
The first step in the wizard is to select the WMS server and the second step is to select the layer (or layers) you want to load.
The load speed depends both on the server and your network speed. As you can see in the vieo, my network speed is poor.
Also I want to note my computer is not so good to work with balloon at the same time we are recording screen. In addition YouTube lows the qualitit of the movie.
The first step in the wizard is to select the WMS server and the second step is to select the layer (or layers) you want to load.
The load speed depends both on the server and your network speed. As you can see in the vieo, my network speed is poor.
Also I want to note my computer is not so good to work with balloon at the same time we are recording screen. In addition YouTube lows the qualitit of the movie.
Wednesday, July 04, 2007
A couple of demo videos
Here are the first demo videos of the balloon in action.
Unfortunately I captured it only at 10 FPS to save space and also YouTube reduce it much more, making the false ilusion it is slow.
Here are a basic work with georeferenced images and the GUI layout:
Here you can see how easy is to work with shapefiles (with lat/lon data):
Unfortunately I captured it only at 10 FPS to save space and also YouTube reduce it much more, making the false ilusion it is slow.
Here are a basic work with georeferenced images and the GUI layout:
Here you can see how easy is to work with shapefiles (with lat/lon data):
Sunday, June 03, 2007
Time animation
Too much time without write any post, but we continue working on the project (step by step).
Since the designed conceptual model allows associate periods of temporary validity to the objects, I was working on some kind of graphic interface to show the time information.
The idea is to allow every camera (or view window) to animate a period of time, for example, from 12:00 to 22:00. This period is animated step by step (being able to choose the step size: 60min, 3 sec, ...) showing those objects that are visible within the step, also called cursor.
Once we define the period of time to be animated by the camera and set the temporary validity for every interesting object, we can animate them. The information shown to the user is:
Since the designed conceptual model allows associate periods of temporary validity to the objects, I was working on some kind of graphic interface to show the time information.
The idea is to allow every camera (or view window) to animate a period of time, for example, from 12:00 to 22:00. This period is animated step by step (being able to choose the step size: 60min, 3 sec, ...) showing those objects that are visible within the step, also called cursor.
Once we define the period of time to be animated by the camera and set the temporary validity for every interesting object, we can animate them. The information shown to the user is:
- The period of time the camera is animating.
- The cursor initial and final time.
- A progress bar shown the position of the cursor within the camera animation period.
Wednesday, May 02, 2007
A bunch of screenshots
Every day the project needs more time, but every day I have less time to dedicate to it.
Anyway here present the latest screenshots.
This image shows a one camera view: earth with one WMS layer (Blue Marble).

This one shows the first step to import a shapefile. The second step ask you for the attribute to be use as the name of the shapes. The file used here contains the limits of the world.

Next, you can see the earth with the imported shapefile data and how you can select and change on the fly the color and size of the points and polygons:

When you have WMS layers the tile's color brings you information about which tiles are loaded (no border), which are actually loading (green border) and which get some type of error while retrieving data (red border).

Next image shows a two diferent views (cameras) of the world. First camera shows the transport lines of the Barcelona city.

Second camera shows the transports for all Catalonia (Catalunya).

Here, we are going to import and geo-reference an image:

The transparency of the image has changed to see the underlaying Blue Marble layer:

Finally, here is a more complex combination of layers. At bottom the Blue Marble opaque layer. Over it a semi-transparent transport layer and on top of them the semi-transparent radar image.
Anyway here present the latest screenshots.
This image shows a one camera view: earth with one WMS layer (Blue Marble).

This one shows the first step to import a shapefile. The second step ask you for the attribute to be use as the name of the shapes. The file used here contains the limits of the world.

Next, you can see the earth with the imported shapefile data and how you can select and change on the fly the color and size of the points and polygons:

When you have WMS layers the tile's color brings you information about which tiles are loaded (no border), which are actually loading (green border) and which get some type of error while retrieving data (red border).

Next image shows a two diferent views (cameras) of the world. First camera shows the transport lines of the Barcelona city.

Second camera shows the transports for all Catalonia (Catalunya).

Here, we are going to import and geo-reference an image:

The transparency of the image has changed to see the underlaying Blue Marble layer:

Finally, here is a more complex combination of layers. At bottom the Blue Marble opaque layer. Over it a semi-transparent transport layer and on top of them the semi-transparent radar image.
Monday, April 02, 2007
Repeatable read and direct HTTP images request
It seems I'm talking about DB with the Repeatable Read isolation problem but really it is more simple thing. Finally The Balloon Project is able to make repeatable reads from a source. For example you can:
Read every ten minutes an image from the web (i.e. from a meteorological service), or
You can read every five minutes the same image from your local disc (because it is changed by another proces).
In summar you can configure every load process to be executed at regular (online configurable) intervals.
From now, Ballon have loaders for: local images, WMS servers, shapefiles and now there is an HTTP loader to read remote images ;)
All these are very wonderful but I need to improve the GUI (my wizards and the properties window) to bring the user the possibility to work in an easy way with all the concepts.
Read every ten minutes an image from the web (i.e. from a meteorological service), or
You can read every five minutes the same image from your local disc (because it is changed by another proces).
In summar you can configure every load process to be executed at regular (online configurable) intervals.
From now, Ballon have loaders for: local images, WMS servers, shapefiles and now there is an HTTP loader to read remote images ;)
All these are very wonderful but I need to improve the GUI (my wizards and the properties window) to bring the user the possibility to work in an easy way with all the concepts.
Sunday, March 25, 2007
Radar screenshots
Lately I have no time to work on the project. Recently I had improved the Camera class and now I want to work on the GUI.
Here are a couple of screenshots with a radar image taken from http://www.meteo.cat.

Here are a couple of screenshots with a radar image taken from http://www.meteo.cat.

Saturday, March 10, 2007
Near a pre-alpha release of the Balloon
Lately I have working improving the Camera class and finally the rotations are much more intuitive and powerful.
The program is able to read simple images (indicating the user its lat/lon position), shapefiles (always expresed in lat/lon coordinates) and images from any WMS server.
For all this I'm currently thinking in releasing a pre-alpha version and get feedbacks of the users.
The program is able to read simple images (indicating the user its lat/lon position), shapefiles (always expresed in lat/lon coordinates) and images from any WMS server.
For all this I'm currently thinking in releasing a pre-alpha version and get feedbacks of the users.
Thursday, February 01, 2007
A pool of thread
It is not a great and visually spectacular feature, but I think it is very important for performance questions.
I have added a thread pool to manage the execution of threads.
When working with WMS layers, every data request works in a new thread. This can derive (if too many request are made) on a great number of threads working at the same time and with its own resource consumption.
A thread's pool solves this situations limiting the number of threads that can be working in a given moment, and avoiding the massive consumption of resources.
I have added a thread pool to manage the execution of threads.
When working with WMS layers, every data request works in a new thread. This can derive (if too many request are made) on a great number of threads working at the same time and with its own resource consumption.
A thread's pool solves this situations limiting the number of threads that can be working in a given moment, and avoiding the massive consumption of resources.
Subscribe to:
Posts (Atom)