Hi Yurii, You really just need to double check your permissions as clearly VPB is having problems opening the file and specifically highlighting issues with permissions. If you really think the fault is somewhere in VPB then go debug it - as you have all the source code. I might have all the source code, as do others, but we're all running VPB just fine so can't reproduce the problems you are seeing.
Robert. On Thu, Apr 16, 2009 at 10:39 AM, Yurii Monakov <[email protected]> wrote: > Hi All! > > I have a problem generating whole planet elevation database from SRTM 1 km > source ( 43200x21600 ) > and custom *.vrt file: > > <VRTDataset rasterXSize="43200" rasterYSize="21600"> > <VRTRasterBand dataType="Int16" band="1" subClass="VRTRawRasterBand"> > <ColorInterp>Gray</ColorInterp> > <ByteOrder>MSB</ByteOrder> > <SourceFilename relativeToVRT="1">orthoplus.bin</SourceFilename> > </VRTRasterBand> > </VRTDataset> > > osgdem command line looks like: > osgdem --geocentric --whole-globe -l 3 -d test.vrt > > And this is what osgdem outputs: > > --geocentric > -d test.vrt > loaded layer test.vrt > Adding terrainTile > DataSet::_run() 0 0 > started DataSet::createDestination(8) > Time for after_reproject 0.000009 > AR=2.000000 C1=2 R1=1 > createNewDestinationGraph > Time for _destinationGraph->computeMaximumSourceResolution() = 0.013281 > Time for createDestinationGraph 0.217807 > Time for after_computeNeighbours 0.022597 > completed DataSet::createDestination(8) > There are 1 contributing source files: > test.vrt > mkpath() > Need to create output task directory = output_root_L0_X0_Y0 > mkpath(output_root_L0_X0_Y0) > created directory output_root_L0_X0_Y0 > Task output directory = output_root_L0_X0_Y0\ > started DataSet::writeDestination(output.ive) > _readRow 1 > reading tile level=0 X=0 Y=0 > DestinationTile::readFrom(SetName=, FileName=test.vrt) > _equalizeRow 1 > equalizing tile level=0 X=0 Y=0 > _writeRow 1 > getDirectory()= > writeNodeFile = 0 X=0 Y=0 filename=output.ive > _writeNodeFile(output.ive) > vpb::access(output.ive, W_OK)=-1 > vpb::access(., W_OK)=0 > Error: do not have write permission to write out file output.ive > Caught exception : Error: do not have write permission to write out file > output.ive > > Thanks, YM > > PS. test.vrt and elevation file (orthoplus.bin) are on the path, there is > enough free disk space and all output folders are not write-protected. > PPS. Using osg v.2.8.0 and vpb v.0.9.10 > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

