| 225 | |
| 226 | == Report 5 == |
| 227 | |
| 228 | Week 5 (June 26, 2009) |
| 229 | 1.What did I do this week: |
| 230 | |
| 231 | -Fixed the comunication between the main app and the widget window, so now i’m able to send/receive message trhought the different windows. |
| 232 | |
| 233 | -Inizial coding about the web-map based on ka-map and a system to auto generate mapfile reading data from grass mapset. |
| 234 | |
| 235 | -Working on r.external to see how to integrate imagery data ued by ossim (large mosaics, single band files, merged rgb images etc..) to test the ability of grass to load externbal data. |
| 236 | |
| 237 | -Bug fixing in the gps thread, joystick code. |
| 238 | |
| 239 | -inital write for a configuration setting dedicated to external device (joystick, joypad or other device) |
| 240 | |
| 241 | -working on arduino, to send signals from external device to the application. |
| 242 | |
| 243 | 2.What do I plan on doing next week: |
| 244 | |
| 245 | I’m reading the source code of Ossim-Gdal plug-in, in the next week i‘ll continue to read it and i hope to be able to detect the part of code that need modification. |
| 246 | Ossim-Gdal plug-in is based on complex code, i’ll need a mix of hard study+ great lucky ... and try to figure it out ;-) |
| 247 | |
| 248 | 3.Am I blocked on anything: x |
| 249 | |
| 250 | == == |
| 251 | |
| 252 | == Report 6 == |
| 253 | |
| 254 | Week 6 (July 3, 2009) |
| 255 | 1.What did I do this week: |
| 256 | |
| 257 | -Fixed the Grass Raster Rendering in Ossim-Gdal plug-in, now we can load grass raster data type (Byte, Uint16, Float32, Float64) in imagelinker and Ossimplanet. |
| 258 | The rendering works great, all the ossim function like “img2rr, create_histo, |
| 259 | mosaic, image_info ...” now works on grass data too. |
| 260 | |
| 261 | -Finished to wrote a template mapfile to read gps data in real time (gps data stored on postgis) ... i need yet to implement an autogenerated mapfile based on selected |
| 262 | grass layers. |
| 263 | |
| 264 | -Create a python dictionary from the geonames cities database (a dictionary for |
| 265 | each region) target is to have a combobox with listed region once one region is |
| 266 | selected in an other combobox we’ll have cities names to zoom to. |
| 267 | |
| 268 | -Continue to sperimenting the use of r.external (using vrt data) to read in grass imagery data generated by ossim. |
| 269 | |
| 270 | 2.What do I plan on doing next week: |
| 271 | |
| 272 | |
| 273 | -Study/Learning/experiment with the broadcast/listner Ossimplanet’s capabilities. |
| 274 | (target is to load raster data in ossim using tcp connection). |
| 275 | |
| 276 | -Learn more on grass command like : r.cost, r.los, v.net.path, v.net.salesman. |
| 277 | the target is to generate capture nodes using the gui/joystick pass them to grass |
| 278 | generate visibility-map/route/path and send it out to planet. |
| 279 | |
| 280 | |
| 281 | 3.Am I blocked on anything: x |
| 282 | |
| 283 | == == |
| 284 | |
| 285 | == Report 7 == |
| 286 | |
| 287 | Week 7 (July 10, 2009) |
| 288 | 1.What did I do this week: |
| 289 | |
| 290 | -Created a tool to apply grass/Ossim/others Unix executable on grass data “image_info, img2rr, gdal_translate(VRT), r.info, r.report, ...” the commands are applied on VRT data, so to avoid to have histogram and preview files in the cellhd directory. |
| 291 | |
| 292 | -Work not yet finished : autogenerated mapfile based on selected grass layers. |
| 293 | |
| 294 | -Ctreate a tool to use geonames data, the tool is based on a spatialite database with geonames data. Using pysqlite the app reads the db.sqlite to populate 2 combobox the first one is to select the country zone the second one to select a place, then click on send an planet will zoom to the selected position. |
| 295 | Working on this feature i wrote a some function to use spatialite from python, |
| 296 | like : init a spatialitedb, populate a splt.db from a postgresql table, create |
| 297 | dictionary to store query results etc ... |
| 298 | |
| 299 | -Bug fixing ... the last month i worked a lot .... but only on OSX, so now i’m running the app from my Linux box and adjust the code, generalizing some line when i used hardcoded path and adding some if statment to check the platform type (Darwin / Linux) |
| 300 | |
| 301 | - Initial port to python for the shell script “g.ossim” so it will run under grass7. |
| 302 | This work will be completed by adding an other python script that will use |
| 303 | gdal-python instead of grass so we’ll can apply the same action outside of grass |
| 304 | (needed by the future qgis implementation) |
| 305 | |
| 306 | 2.What do I plan on doing next week: |
| 307 | |
| 308 | -Finish to implement the tool i’ve described, continue bug fixing |
| 309 | |
| 310 | -Learned about r.cost, r.los, v.net.path, v.net.salesman , i’ll explore the new spatilite routing abilities too, maybe will be possible to implement a route generator to have kml as output |
| 311 | |
| 312 | -I need to add Qdialog message when the user make illegal action, (just a worning message to suggest ) |
| 313 | |
| 314 | |
| 315 | 3.Am I blocked on anything: |
| 316 | |
| 317 | -Tring to learn the ossim tcp inteface to send data using tcp connection. An Ossimplanet session (used as broadcast) is able to send both data and navigation to an other Ossimplanet session (listner). |
| 318 | ... i created a sniffer during a connction, to read and capture the ossimplanet |
| 319 | message to load data (for navigation i have no problems) but tring to send the |
| 320 | camptured xml using python to load data the message seems don’works as |
| 321 | aspected. |
| 322 | |
| 323 | == == |
| 324 | |
| 325 | == Report 8 == |
| 326 | |
| 327 | Week 8 (July 18, 2009) |
| 328 | 1.What did I do this week: |
| 329 | |
| 330 | •Implemented a Grass shell in the pyqt gui, (it is a standard unix shell + grass environment). The history is readed directly from the grass history file deleting the duplicated lines and sorting it alfabetically (it is accessible using a combo-box). Some people suggest me to use pyredline directly i've sperimented it but i'm more familiar with python list and combo box approach. |
| 331 | |
| 332 | •Working to have a better rendering from the grass command that print text-infos about selected layers. |
| 333 | |
| 334 | •Rewrite the python's tool to transfer data from postgresql to spatialite,i re-done a more-informational spatialite-db based on geonames (i included other infos,not only : name , lon, lat values). I'm Planning to add different spatialite-db (examples : one for geonames, one for gps recorded data, an other one for saved points of interest + tool to store points dircty in spatialite) this work will be integrated by routing abilities (using grass command, i'm following with interest the new great Gsoc tool about routing) . |
| 335 | |
| 336 | •Bug fixing ... continue some linux/osx test, i find that ubuntu 8.10 has a bug in the sdl libraries, this give problems to detetc the "joystick-hat" using pygame. Googling and coding seems i find a walkaround using python-gobject as an alternative way to support joystick instead to use pygame (only for ubuntu8.10). The code to detect hardware is ready but i need to reimplement the joystick code from pygame to, but this is a minor issue, i'll do it it only if really needed ubuntu8.10 support. (on more recent distro "sidux" all works fine with pygame as on osx, i' also tried a bit ... on windows platform,some adjustment i get the gui loaded and the position message working, but too many dependencies to satysfy (gpsd, pygame...)so i aborted my tests ) |
| 337 | |
| 338 | •Added a Qdialog to show infos about illegal gui usage, and to manage exceptions. (it is a simply window to show a message if we done some not handled action .. like : pan without selecting a pan-mode, connect gps withot existing connection etc...) for now i implemented the gui system but i need to see all the possible exception and change the message according to it. |
| 339 | |
| 340 | |
| 341 | 1.What do I plan on doing next week: |
| 342 | |
| 343 | •Continue bug fixing, gui cosmetics. |
| 344 | |
| 345 | •Recompile ossim using the last svn (thanks to the Dev team some new cool enanchemets are coming :-) ), see if it is possible to fighting against the code to send message trough tcp, i will start to read source code, i hope to be able to learn about the problem that block me to send data-message. |
| 346 | |
| 347 | 1.Am I blocked on anything: |
| 348 | |
| 349 | •Continue to read and try to learn the ossim tcp inteface (target: send data using tcp connection). |
| 350 | |
| 351 | == == |