Lou,
The first thing I notice is that you are specifying the elevation file over
and over, which is unnecessary. Secondly, I have had problems with GDAL
opening multiple ECW files at once - it can run out of memory and freeze
up.  If they are small enough to convert to TIFs, try that and see what
happens. -gw

-- 
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :
+1.703.652.4791


On Tue, Jul 22, 2008 at 6:47 AM, Lourdes Perez I <[EMAIL PROTECTED]>
wrote:

>  Hi,
>
> Here it goes:
>
> This one generates the 'complete' (the 'mosaic' one) map:
>
> set PATH=%OSG_ROOT%\bin;%PATH%
>
> REM where to find the source data
>
> set SRC_DIR="C:\Users\paralaxe\Desktop\Terrenos\No Procesado"
> set SRC_ELE=%SRC_DIR%\mdt29b.tif
> set NUM_LVL=9
> set TGT_DIR=C:\Users\paralaxe\Desktop\Terrenos\Procesado\Completo
> set TGT_IVE=%TGT_DIR%\GaliciaP%NUM_LVL%.ive
> if not exist %TGT_DIR% mkdir %TGT_DIR%
> osgdem\osgdem  -o %TGT_IVE% -t %SRC_DIR%\012911_3_1_1.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_3_1_2.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_3_1_4.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_3_2_1.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_3_2_3.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_3_1_3.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_3_2_2.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_3_2_4.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_3_3_3.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_3_3_1.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_3_3_2.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_3_3_4.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_3_4_1.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_3_4_3.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_1_1_13.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_1_1_24.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_1_2_1.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_1_2_2.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_1_2_3.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_1_2_4.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_1_3_1.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_1_3_2.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_1_3_3.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_1_3_4.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_1_4.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_2_4_1.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_2_4_3.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_2_1_1.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_2_1_2.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_2_1_3.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_2_1_4.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_2_2_1.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_2_2_2.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_2_2_3.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_2_2_4.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_2_3_1.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_2_3_2.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_2_3_3.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_2_3_4.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_4_1_12.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_4_2_12.ecw -d %SRC_ELE% -t %SRC_DIR%\012911_4_3_1.ecw -d
> %SRC_ELE% -t %SRC_DIR%\012911_4_3_2.ecw -d %SRC_ELE% -t
> %SRC_DIR%\012911_4_4_1.ecw -d %SRC_ELE% -l %NUM_LVL% -v 2.0
> .
> .
>
>
> And this code generates a single image (one terrain fragment only):
> .
> .
> set SRC_ELE=%SRC_DIR%\mdt29b.tif
> set NUM_LVL=9
> set TGT_DIR=C:\Users\paralaxe\Desktop\Terrenos\Procesado\segmento2
> set TGT_IVE=%TGT_DIR%\GaliciaP%NUM_LVL%.ive
> if not exist %TGT_DIR% mkdir %TGT_DIR%
> osgdem\osgdem  -o %TGT_IVE% -t %SRC_DIR%\012911_3_1_2.ecw -d %SRC_ELE% -l
> %NUM_LVL% -v 2.0 -e 510000 4680000 30000 30000
> .
> .
>
>
> Thank you again
>
> ------------------------------
> ¡El Mundo Messenger te espera! Entra ya en "I love Messenger" y descubre
> las últimas novedades, trucos, emoticonos. Entra ya en "I love 
> Messenger"<http://www.vivelive.com/ilovemessenger/>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to