[gdal-dev] creat a temp workplace

apachemaven apachemaven at yeah.net
Fri Mar 27 03:33:09 EDT 2009



I am sorry to send again,because in the last email,I have not describe my problem exectly,and sent it ....
-----------------------------------------------------------------------------------------------------
I want to handle some hdf data through a web service,and in the web service I handle the data by grass, so the problem comes out.The following is my setps:
1)translate the hdf4 to a  tif by a FWTools2.2.8 which call the gdal command actually)
    for example I use the command "gdal_translate [the subset] d:\aa.tif" ,
2)import the tif 
   "r.in.gdal input=D:/aaa6.tif output=ggg"
3)process the ggg data of grass format 
   for example "r.buffer map=ggg distance=30 output=temp"
4)convert the temp to tif 
   "r.out.gdal input=temp format=GTiff output=d:/dd.tif"
Then in the web service I return the url of the dd.tif to client.
   I want to know the above setps right or not?
and in the step of 2 and 4 problems always come out..,a common problem is the data is blank even I reset the region use  "g.region rast=..."
And in the step 2, I want to creat a temp location and mapset,beacuse my current location is the spanish example data...
My god,I am crazying@@!
 
Ps:
Thanks Nikos Alexandris very much,since I send my problem ,he always reply me quickly and never lose her(his) pacitient...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090327/d563c7a8/attachment-0001.html


More information about the gdal-dev mailing list