|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
gdal-python packages & gdal_mergeI would like to use the command gdal_merge with OSGeo4W, but it is not include in it. Souhaitez vous « être au bureau sans y être » ? Oui je le veux ! _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
Re: gdal-python packages & gdal_mergefabienne picot wrote:
> Hi > > I would like to use the command gdal_merge with OSGeo4W, but it is not include in it. > Could you tell me how to install gdal-python packages and this command? Fabienne, You should go through the advanced install, and find the gdal-python package within it as described in this email: http://lists.osgeo.org/pipermail/osgeo4w-dev/2008-October/000220.html Note that there is a gdal_merge.bat cover script in OSGeo4W so you would actually run gdal_merge at the commandline without any extension. eg. gdal_merge -o mosaic.tif image1.tif image2.tif image3.tif Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
RE: gdal-python packages & gdal_mergeI've tried to install OSGeo4W with the "Advanced" way, but it bugs. So I haven't the choice: I make the install with "Express install"; so I haven't the possibility to go searching for gdal-python package. > Date: Wed, 8 Oct 2008 10:46:19 -0400 > From: warmerdam@... > To: cfab13@... > CC: osgeo4w-dev@... > Subject: Re: [osgeo4w-dev] gdal-python packages & gdal_merge > > fabienne picot wrote: > > Hi > > > > I would like to use the command gdal_merge with OSGeo4W, but it is not include in it. > > Could you tell me how to install gdal-python packages and this command? > > Fabienne, > > You should go through the advanced install, and find the gdal-python package > within it as described in this email: > > http://lists.osgeo.org/pipermail/osgeo4w-dev/2008-October/000220.html > > Note that there is a gdal_merge.bat cover script in OSGeo4W so you would > actually run gdal_merge at the commandline without any extension. > > eg. > gdal_merge -o mosaic.tif image1.tif image2.tif image3.tif > > Best regards, > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Programmer for Rent > Votre correspondant a choisi Hotmail et profite d'un stockage quasiment illimité. Créez un compte Hotmail gratuitement ! _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
Re: gdal-python packages & gdal_mergefabienne picot wrote:
> Frank > > I've tried to install OSGeo4W with the "Advanced" way, but it bugs. > So I haven't the choice: I make the install with "Express install"; so I > haven't the possibility to go searching for gdal-python package. Fabienne, Could you be more explicit about what goes wrong? If there is a problem in the installer I'd like to fix it. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
|
|
|
RE: gdal-python packages & gdal_mergeHi Franck Good morning So with this method: ADVANCED INSTALL--- INSTALL FROM LOCAL DIRECTORY? it failed (see the attached file); I am on Windows, so I download: osgeo4w-setup.exe, and I launched it. That's why I choose INSTALL FROM LOCAL DIRECTORY, because I thought everything was in the '.exe'. But apparently I choose the wrong method. So I've installed it by choosing INSTALL FROM INTERNET. The first time, it failed, I've tried back: it works. But now the problem is: ------------------------------------------------------------------------------------------------ 'OSGEO4W home is C:\OSGeo4W Microsoft Windows XP [version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\OSGeo4W>gdal_merge.py -o 'C:\image\assemblage1.tif' 'C:\image\SC25_TOUR_1020_1920_L2E.TIF' 'C:\image\SC25_TOUR_1020_193 0_L2E.TIF' Traceback (most recent call last): File 'C:\OSGeo4W\bin\gdal_merge.py', line 31, in <module> import gdal File 'C:\OSGeo4W\apps\Python25\lib\site-packages\gdal.py', line 2, in <module> from osgeo.gdal import deprecation_warn File 'C:\OSGeo4W\apps\Python25\lib\site-packages\osgeo\gdal.py', line 7, in <module> import _gdal ImportError: DLL load failed: Le systÞme d'exploitation ne peut pas exÚcuter %1. C:\OSGeo4W>cd /d c:\image C:\image>gdal_merge.py -o 'C:\image\assemblage1.tif' 'C:\image\SC25_TOUR_1020_1920_L2E.TIF' 'C:\image\SC25_TOUR_1020_1930_L2E.TIF' Traceback (most recent call last): File 'C:\OSGeo4W\bin\gdal_merge.py', line 31, in <module> import gdal File 'C:\OSGeo4W\apps\Python25\lib\site-packages\gdal.py', line 2, in <module> from osgeo.gdal import deprecation_warn File 'C:\OSGeo4W\apps\Python25\lib\site-packages\osgeo\gdal.py', line 7, in <module> import _gdal ImportError: DLL load failed: Le systÞme d'exploitation ne peut pas exÚcuter %1. C:\image>python gdal_merge.py -o 'C:\image\assemblage1.tif' 'C:\image\SC25_TOUR_1020_1920_L2E.TIF' 'C:\image\SC25_TOUR_1020_1930_L2E. TIF' python: can't open file 'gdal_merge.py': [Errno 2] No such file or directory' --------------------------------------------------------------------------------------------- So what's wrong now because the files are here: C:\OSGeo4W\apps\gdal-dev\bin Best regards > Date: Wed, 8 Oct 2008 12:06:23 -0400 > From: warmerdam@... > To: cfab13@... > CC: osgeo4w-dev@... > Subject: Re: [osgeo4w-dev] gdal-python packages & gdal_merge > > fabienne picot wrote: > > Frank > > > > I've tried to install OSGeo4W with the "Advanced" way, but it bugs. > > So I haven't the choice: I make the install with "Express install"; so I > > haven't the possibility to go searching for gdal-python package. > > Fabienne, > > Could you be more explicit about what goes wrong? If there is a problem > in the installer I'd like to fix it. > > Best regards, > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Programmer for Rent > Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre mobile ? la réponse en vidéo la réponse en vidéo _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
Re: gdal-python packages & gdal_mergefabienne picot wrote:
> Good morning > So with this method: ADVANCED INSTALL--- INSTALL FROM LOCAL DIRECTORY? > it failed (see the attached file); > I am on Windows, so I download: osgeo4w-setup.exe, and I launched it. > That's why I choose INSTALL FROM LOCAL DIRECTORY, because I thought > everything was in the '.exe'. > But apparently I choose the wrong method. > So I've installed it by choosing INSTALL FROM INTERNET. The first time, > it failed, I've tried back: it works. Fabienne, I gather the attached .doc shows the error you got the first time doing install from internet? I have no real idea why it crashed. > But now the problem is: > ------------------------------------------------------------------------------------------------ > 'OSGEO4W home is C:\OSGeo4W > > Microsoft Windows XP [version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\OSGeo4W>gdal_merge.py -o 'C:\image\assemblage1.tif' > 'C:\image\SC25_TOUR_1020_1920_L2E.TIF' 'C:\image\SC25_TOUR_1020_193 > 0_L2E.TIF' > Traceback (most recent call last): > File 'C:\OSGeo4W\bin\gdal_merge.py', line 31, in <module> > import gdal > File 'C:\OSGeo4W\apps\Python25\lib\site-packages\gdal.py', line 2, in > <module> > from osgeo.gdal import deprecation_warn > File 'C:\OSGeo4W\apps\Python25\lib\site-packages\osgeo\gdal.py', line > 7, in <module> > import _gdal > ImportError: DLL load failed: Le systÞme d'exploitation ne peut pas > exÚcuter %1. > --------------------------------------------------------------------------------------------- > So what's wrong now because the files are here: C:\OSGeo4W\apps\gdal-dev\bin The files in apps\gdal-dev\bin relate to the gdal-dev package and would not normally be used unless you first type "gdaldev.bat" at the commandline to switch to the development GDAL environment. Normally the default (GDAL 1.5) environment is used in which case the _gdal DLL is found as: C:/osgeo4w/apps/python25/lib/site-packages/osgeo/_gdal.pyd Could you perhaps confirm that this file exists and is 172032 bytes long? BTW, does "gdalinfo" at the commandline report a proper usage message? I'm asking to confirm that the underlying GDAL package is ok. I appreciate your taking the time to help us work quirks out of the OSGeo4W package. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
RE: gdal-python packages & gdal_merge> Fabienne, > > I gather the attached .doc shows the error you got the first time > doing install from internet? I have no real idea why it crashed. ------------------------------------------------------------------------------- No this is the error choosing " INSTALL FROM LOCAL DIRECTORY". ------------------------------------------------------------------------------- > The files in apps\gdal-dev\bin relate to the gdal-dev package and would > not normally be used unless you first type "gdaldev.bat" at the commandline > to switch to the development GDAL environment. Normally the default > (GDAL 1.5) environment is used in which case the _gdal DLL is found as: > > C:/osgeo4w/apps/python25/lib/site-packages/osgeo/_gdal.pyd > > Could you perhaps confirm that this file exists and is 172032 > bytes long? ------------------------------------------------------------- Yes I can see it with the size 172 032bytes (168ko). ------------------------------------------------------------- > BTW, does "gdalinfo" at the commandline report a proper usage message? > I'm asking to confirm that the underlying GDAL package is ok. ---------------------------------------------------------- Is the command: C:\OSGeo4W>gdalinfo ?? Because this one doesn't work. But I just begin with the command line, and I don't know really the correct synthaxe. ---------------------------------------------------------- > I appreciate your taking the time to help us work quirks out of > the OSGeo4W package. > > Best regards, > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Programmer for Rent > Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre mobile ? la réponse en vidéo la réponse en vidéo _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
Re: gdal-python packages & gdal_mergefabienne picot wrote:
> Is the command: > C:\OSGeo4W>gdalinfo ?? > Because this one doesn't work. But I just begin with the command line, > and I don't know really the correct synthaxe. Fabienne, I was thinking of just typing "gdalinfo" at the commandline. You should get a usage message something like: Usage: gdalinfo [--help-general] [-mm] [-stats] [-hist] [-nogcp] [-nomd] [-noct] [-checksum] [-mdd domain]* datasetname Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
|
|
|
Re: gdal-python packages & gdal_mergefabienne picot wrote:
> So I've got the usage message after this error => see the attached file. Fabienne, I would suggest you uninstall the gdal-sde and gdal-ecw plugin packages. They may be responsible for problems with the python bindings. They both depend on external DLLs being installed by other means as described in: http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal-sde90 http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal-ecw They can be uninstalled using the regular installer (through advanced) or just delete the corresponding files in C:\OSGeo4W\bin\gdalplugins manually. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
RE: gdal-python packages & gdal_mergeNow when I type "gdalinfo",I get this: Usage: gdalinfo [--help-general] [-mm] [-stats] [-hist] [-nogcp] [-nomd] [-noct] [-checksum] [-mdd domain]* datasetname So what do I do now? > Date: Fri, 10 Oct 2008 08:16:21 -0400 > From: warmerdam@... > To: cfab13@... > CC: osgeo4w-dev@... > Subject: Re: [osgeo4w-dev] gdal-python packages & gdal_merge > > fabienne picot wrote: > > Is the command: > > C:\OSGeo4W>gdalinfo ?? > > Because this one doesn't work. But I just begin with the command line, > > and I don't know really the correct synthaxe. > > Fabienne, > > I was thinking of just typing "gdalinfo" at the commandline. You > should get a usage message something like: > > Usage: gdalinfo [--help-general] [-mm] [-stats] [-hist] [-nogcp] [-nomd] > [-noct] [-checksum] [-mdd domain]* datasetname > > Best regards, > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Programmer for Rent > Votre correspondant a choisi Hotmail et profite d'un stockage quasiment illimité. Créez un compte Hotmail gratuitement ! _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
Re: gdal-python packages & gdal_mergefabienne picot wrote:
> That's ok: I have uninstall the gdal-sde and gdal-ecw plugin packages > Now when I type "gdalinfo",I get this: > Usage: gdalinfo [--help-general] [-mm] [-stats] [-hist] [-nogcp] [-nomd] > [-noct] [-checksum] [-mdd domain]* datasetname > > So what do I do now? Fabienne, Try the gdal_merge script again, and see if it works better now. At the OSGeo4W shell just try: gdal_merge Best regards, ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
RE: gdal-python packages & gdal_merge-------------------------------------------------------------------------------------------------------- OSGEO4W home is C:\OSGeo4W Microsoft Windows XP [version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\OSGeo4W>gdal_merge Traceback (most recent call last): File "C:\OSGeo4W\bin\gdal_merge.py", line 31, in <module> import gdal File "C:\OSGeo4W\apps\Python25\lib\site-packages\gdal.py", line 2, in <module> from osgeo.gdal import deprecation_warn File "C:\OSGeo4W\apps\Python25\lib\site-packages\osgeo\gdal.py", line 7, in <module> import _gdal ImportError: DLL load failed with error code 182 -------------------------------------------------------------------------------------------------------- + "l'ordinal 109 est introuvable dans la bibliothèque de liaisons dynamiques LIBPQ.dll" (I am sorry, I am french) > > Fabienne, > > Try the gdal_merge script again, and see if it works better now. > > At the OSGeo4W shell just try: > > gdal_merge > > Best regards, > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Programmer for Rent > Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre mobile ? la réponse en vidéo la réponse en vidéo _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
Re: gdal-python packages & gdal_mergefabienne picot wrote:
> I receive this error message: > > -------------------------------------------------------------------------------------------------------- > OSGEO4W home is C:\OSGeo4W > > Microsoft Windows XP [version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\OSGeo4W>gdal_merge > Traceback (most recent call last): > File "C:\OSGeo4W\bin\gdal_merge.py", line 31, in <module> > import gdal > File "C:\OSGeo4W\apps\Python25\lib\site-packages\gdal.py", line 2, in > <module> > from osgeo.gdal import deprecation_warn > File "C:\OSGeo4W\apps\Python25\lib\site-packages\osgeo\gdal.py", line > 7, in <module> > import _gdal > ImportError: DLL load failed with error code 182 > -------------------------------------------------------------------------------------------------------- > + "l'ordinal 109 est introuvable dans la bibliothèque de liaisons > dynamiques LIBPQ.dll" (I am sorry, I am french) Fabienne, Hmm, I'm approaching "stumped". You mention something about libpq.dll above. Was that an error message you received? Is it possible you have a copy of libpq.dll in c:\windows\system32 that might be conflicting with the OSGeo4W one? If so, could you temporariliy rename it and try gdal_merge again? It may be that something like gdalinfo works because it gives top priority to the DLLs in the same directory as the .exe, while loading python extensions ends up using a different order of preference for dll searching since the extension is kept in a distinct directory. If this is the case it makes the python aspects sensitive to conflicting pre-installed DLLs in places like C:\windows\system32 - but I'm really just guessing. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
RE: gdal-python packages & gdal_mergeCheer!! That's it! what is the utility of this dll in system32, do you know? it means each time I would like to use python'extensions, I'll have to rename this DLL? > > Fabienne, > > Hmm, I'm approaching "stumped". You mention something about libpq.dll > above. Was that an error message you received? Is it possible you have > a copy of libpq.dll in c:\windows\system32 that might be conflicting with > the OSGeo4W one? If so, could you temporariliy rename it and try > gdal_merge again? > > It may be that something like gdalinfo works because it gives top priority > to the DLLs in the same directory as the .exe, while loading python extensions > ends up using a different order of preference for dll searching since the > extension is kept in a distinct directory. If this is the case it makes > the python aspects sensitive to conflicting pre-installed DLLs in places > like C:\windows\system32 - but I'm really just guessing. > > Best regards, > > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Programmer for Rent > Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre mobile ? la réponse en vidéo la réponse en vidéo _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
Re: gdal-python packages & gdal_mergefabienne picot wrote:
> > Cheer!! > That's it! > what is the utility of this dll in system32, do you know? > it means each time I would like to use python'extensions, I'll have to > rename this DLL? Fabienne, libpq.dll is the Postgres client library, and would potentially be used by other postgres based apps on your system. It is likely that you can just copy C:\OSGeo4W\bin\libpq.dll to C:\windows\system32 as I imagine it is newer than the one you had. Then other apps should also work. But in the worst case you would end up having to switch things back and forth depending on your use. I would note that OSGeo4W deliberately does not copy anything to c:\windows\system32 in order to avoid breaking other applications. I only wish other applications were so careful. Best regards -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@... light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
Re: gdal-python packages & gdal_merge > But in the worst case you would end up having to switch things back
> and forth depending on your use. > > I would note that OSGeo4W deliberately does not copy anything to > c:\windows\system32 in order to avoid breaking other applications. > I only wish other applications were so careful. One might try removing C:\Windows and C:\Windows\system32 from path within the osgeo shell. Edit c:\osgeo4w\osgeo4w.bat and delete %PATH% from the line: PATH=%OSGEO4W_ROOT%\bin;%PATH% When I do that on my computer gdal_merge still works. Standard programs like xcopy become unavailable though. cheers, -- matt wilkie -------------------------------------------- Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http://environmentyukon.gov.yk.ca/geomatics/ -------------------------------------------- _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
gdal_merge_mosaïc TIFI'd like to assemble images *".TIF" which total size is 8Go, to have 1 image which size would be the smallest possible (with the best quality of course!). - I add "@cmd.exe /V:ON" at the end of OSGEO4W.BAT to activate additional functionalities to create a list of files in the form of variables. - Then:
But the prompt answers: "THE ENTERED LINE IS TOO LONG". What it doesn't like? Is it the correct method to assemble and reduce image'size? Best regards Téléphonez gratuitement à tous vos proches avec Windows Live Messenger ! Téléchargez-le maintenant ! _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
|
|
Re: gdal_merge_mosaïc TIFBonjour Fabienne,
The error "line is too long" is from CMD not gdal_merge. There are simply too many characters in the variable %liste%. A work around is to read the input files from a text file. E.g. cd /d c:\image dir /s/b *.tif > input-images.txt set opts= -co bigtiff=yes -co tfw=yes gdal_merge %opts% -o results.tif --optfile input-images.txt Salut! matt wilkie -------------------------------------------- Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http://environmentyukon.gov.yk.ca/geomatics/ -------------------------------------------- fabienne picot wrote: > Hi > > I'd like to assemble images *".TIF" which total size is 8Go, to have 1 > image which size would be the smallest possible (with the best quality > of course!). > - I add "@cmd.exe /V:ON" at the end of OSGEO4W.BAT to activate > additional functionalities to create a list of files in the form of > variables. > - Then: > > * > > cd /d c:\Image > > * set liste= [ ] > * > * for %c in (*.tif) do set liste=%c !liste! > * > * gdal_merge -of GTiff -co "TFW=yes" -co "BIGTIFF=yes" > "c:\Image\Test.tif" %liste% > > But the prompt answers: "THE ENTERED LINE IS TOO LONG". > > > What it doesn't like? > > Is it the correct method to assemble and reduce image'size? > > > Best regards > > > > > > ------------------------------------------------------------------------ > Téléphonez gratuitement à tous vos proches avec Windows Live Messenger > ! Téléchargez-le maintenant ! <http://www.windowslive.fr/messenger/1.asp> > > > ------------------------------------------------------------------------ > > _______________________________________________ > osgeo4w-dev mailing list > osgeo4w-dev@... > http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev _______________________________________________ osgeo4w-dev mailing list osgeo4w-dev@... http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev |
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |