Re: [gdal-dev] Error in Derived Band in Virtual raster (re-post)

2019-12-02 Thread bhandari
Hi Jukka Rahkonen Thanks for the reply. Actually the add2 function is inside the code. I feel the browser excluded that portion the code was -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___

Re: [gdal-dev] Error in Derived Band in Virtual raster (re-post)

2019-12-02 Thread bhandari
Hi Jukka Rahkonen Thanks for the reply. Actually the add2 function is inside the code. I feel the browser excluded that portion the code was -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev ma

Re: [gdal-dev] Error in Derived Band in Virtual raster (re-post)

2019-12-02 Thread bhandari
Hi Jukka Rahkonen Thanks for the reply. Actually the add2 function is inside the code. I feel the browser excluded that portion the code was -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev ma

Re: [gdal-dev] Error in Derived Band in Virtual raster (re-post)

2019-12-02 Thread bhandari
Hi Jukka Rahkonen thank you for your reply But the code of add2 function is in the same VRT file. Need I store in a separate file as well. GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],UNI

Re: [gdal-dev] Error in Derived Band in Virtual raster (re-post)

2019-12-02 Thread bhandari
GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433],AUTHORITY["EPSG","4326"]] 7.8318056012634287e+01, 1.1839023066784193e-04, 0.e+00, 3.08665472

Re: [gdal-dev] Error in Derived Band in Virtual raster (re-post)

2019-12-02 Thread bhandari
Hi Jukka Rahkonen thank you for your reply But the code of add2 function is in the same VRT file. Need I store in a separate file as well. -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-de

Re: [gdal-dev] Error in Derived Band in Virtual raster (re-post)

2019-12-02 Thread Rahkonen Jukka (MML)
Hi, Re-posting because the code section that Nabble wrote as html formatted was dropped out. Did the same thing happen for you with your original mail? It seems that you have defined a Python function "add2" that does nothing because it has no code add2 Python

Re: [gdal-dev] Error in Derived Band in Virtual raster

2019-12-02 Thread jratike80
Hi, It seems that you have defined a Python function "add2" that does nothing because it has no code add2 Python You have perhaps tried to modify the example from https://gdal.org/drivers/raster/vrt.html add Python Have you saved your

[gdal-dev] Error in Derived Band in Virtual raster

2019-12-01 Thread bhandari
Hell All I have defined a derived Virtual Raster as follows. GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433],AUTHORITY["EPSG","4326"]] 7.8318056012634287e+