Changes between Initial Version and Version 1 of WeekReport


Ignore:
Timestamp:
May 29, 2009, 9:39:00 AM (15 years ago)
Author:
epifanio
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WeekReport

    v1 v1  
     1
     2-- Report --
     3
     4i start to wrote code  .... my first time using svn (cool!)
     5
     6i'll try to describe it here ...
     7
     8
     9
     10what is done :
     11
     12-  code to use ossim TCP capabilities to set a position and a point of view based on (lon, lat, altitude, roll, pitch, gain) (finished)
     13-  code for reading the gps data from dgps and display the nmeadata in the gui (include a map view using qtwebkit), it will use a fixed position (gps) and a modificable view setting (roll,pitch,gain) (finished)
     14-  code to change the position using a joystic (needs some implementation yet, but is ready for test)
     15
     16so the position message can be sended using gui, gps, joystick
     17
     18- code to read the grass environment and retrieve a list for vector, raster and regions in the running mapset 
     19 so it is possible to syncronize the posiotion in ossimplanet on the center of the active grass region or change the region to a speciphic layer or saved region
     20
     21- code to export grass elevation data to ossimplanet (g.ossim) the code is usable from the pyqt gui or directly from grass (finished)
     22- code to read vector layer in grass and export it to kml (it is to have a custom kml settings, like color, label etc...) (needs testing, not finished)
     23
     24
     25what to do during the next week :
     26
     27- finish the code i described first
     28- work on a table widjet (it will contain the avayable layer in the mapset and a checkbox for each layer i'll try to realize a "query system" connected to the gui )
     29- reorganize the code in a clean way, ranaming function give them a better position in the code and create comment
     30
     31
     32known problems that can block me :
     33
     34using the gdal-ossim plug-in we can read grass raster layer but there are problems to reneder images with more than 255 entries in the colortable.
     35
     36i had a chat with FrankW where we discuss a bit the problem, i stored the irc log here :
     37
     38http://trac.osgeo.org/ossim/attachment/wiki/GdalOssimPlugin/frankw_irclog.txt
     39
     40tring to summarize it :
     41
     42the code needs to be modified to handle three cases - 8bit, 16bit and 32bit integers and to error out gracefully if it isn't one of those cases...
     43... and "the s[sample] value it fetched from the input buffer this would need to be altered to fetch it based on the type of the buffer." in function loadIndexTo3BandTile
     44
     45what i learn .. :
     46
     47theSingleBandTile    --->  point to a byte array (that isn't every true)
     48theGdalBuffer.resize(theSingleBandTile->getSizePerBandInBytes()*2);  ---> the band is readed correctly but is is "casted" to 8bit
     49
     50i think gdal-grass should read correctly the grass data, so maybe the problem is in the colortable rendering in the GDAL OSSIM driver.
     51
     52i'm tring to documenting myself reading :
     53
     54http://www.gdal.org/gdal_datamodel.html
     55
     56and :
     57
     58ossimGdalTileSource::loadIndexTo3BandTile()
     59
     60... seems it accepts only raster files with 3band or with indexcolor , need i a function to port in rgb mode a grass color table ?
     61
     62i'm reading the grass colortable structure to learn more
     63
     64any suggestion, lines of code, examples ... that can help me to know how to work on the gdal-ossim code ..  can make me happy
     65... i know it is not a simple task.
     66