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...

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to