Re: [Qgis-user] Can some one help me to convert a .bil file in a shape file?

2014-02-19 Thread Jukka Rahkonen
NYA Edouard  writes:

> 
> Thank you for the try. I already tried this way with no succes. Since
> yesterday, I launch a try and till now, I have no result (4G RAM, 3,2
> Ghz). The thing takes too long.
> Still looking for solutions,
> NYA

Here is a command that may help you:

gdal_translate -of GTiff -co tiled=yes -co compress=deflate 
-projwin 24 68 25 67 hwsd.bil clipped.tif

It clips one degree wide and high part of the hwsd.bil file and saves it
into a small GeoTIFF. Learn more about what the command does from
http://www.gdal.org/gdal_translate.html and http://www.gdal.org/frmt_gtiff.html

-Jukka Rahkonen- 


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Can some one help me to convert a .bil file in a shape file?

2014-02-18 Thread NYA Edouard
Thank you for the try. I already tried this way with no succes. Since
yesterday, I launch a try and till now, I have no result (4G RAM, 3,2
Ghz). The thing takes too long.
Still looking for solutions,
NYA





2014-02-18 1:40 UTC+01:00, Etienne Tourigny :
> On Mon, Feb 17, 2014 at 8:32 PM, Saulteau Don  wrote:
>
>> On 2/17/2014 3:55 PM, NYA Edouard wrote:
>>
>>> The bil file es very heavy (more than 1800 MB), so I need to convert
>>> the file so that I can trim it easily to process it for the project.
>>> Any idea?
>>> Thanks in advance
>>>
>>>
>> You can use gdalwarp from the raster menu to convert the image to
>> whatever
>> format you need, reproject it, and also clip it all in one step.
>>
>> If the gui isn't self explanatory, see the full suite of options at
>> http://www.gdal.org/gdalwarp.html You can manually input any of those in
>> the bottom of the gdalwarp gui.
>>
>> To make things really easy, you don't even have to extract the zip and
>> decompress the bil file (takes a long time!).
>>
>> You can manually input the bil file to make use of vsizip with something
>> like "/vsizip/HWSD_RASTER.zip/hwsd.bil" This would read the dataset from
>> within the zip file instead of from on disk somewhere.
>>
>
> qgis now supports rasters inside .zip files transparently
>
>
>>
>>
>>
>> Donovan
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Can some one help me to convert a .bil file in a shape file?

2014-02-17 Thread Etienne Tourigny
On Mon, Feb 17, 2014 at 8:32 PM, Saulteau Don  wrote:

> On 2/17/2014 3:55 PM, NYA Edouard wrote:
>
>> The bil file es very heavy (more than 1800 MB), so I need to convert
>> the file so that I can trim it easily to process it for the project.
>> Any idea?
>> Thanks in advance
>>
>>
> You can use gdalwarp from the raster menu to convert the image to whatever
> format you need, reproject it, and also clip it all in one step.
>
> If the gui isn't self explanatory, see the full suite of options at
> http://www.gdal.org/gdalwarp.html You can manually input any of those in
> the bottom of the gdalwarp gui.
>
> To make things really easy, you don't even have to extract the zip and
> decompress the bil file (takes a long time!).
>
> You can manually input the bil file to make use of vsizip with something
> like "/vsizip/HWSD_RASTER.zip/hwsd.bil" This would read the dataset from
> within the zip file instead of from on disk somewhere.
>

qgis now supports rasters inside .zip files transparently


>
>
>
> Donovan
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Can some one help me to convert a .bil file in a shape file?

2014-02-17 Thread Saulteau Don

On 2/17/2014 3:55 PM, NYA Edouard wrote:

The bil file es very heavy (more than 1800 MB), so I need to convert
the file so that I can trim it easily to process it for the project.
Any idea?
Thanks in advance



You can use gdalwarp from the raster menu to convert the image to 
whatever format you need, reproject it, and also clip it all in one step.


If the gui isn't self explanatory, see the full suite of options at 
http://www.gdal.org/gdalwarp.html You can manually input any of those in 
the bottom of the gdalwarp gui.


To make things really easy, you don't even have to extract the zip and 
decompress the bil file (takes a long time!).


You can manually input the bil file to make use of vsizip with something 
like "/vsizip/HWSD_RASTER.zip/hwsd.bil" This would read the dataset from 
within the zip file instead of from on disk somewhere.




Donovan
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Can some one help me to convert a .bil file in a shape file?

2014-02-17 Thread Alex Mandel
On 02/17/2014 02:55 PM, NYA Edouard wrote:
> Hi to every one,
> SInce a certain time, I am working on a project where I intend work
> with the shapefile of the .bil file available in the Harmonized World
> Soil Database (HWSD). It can be found here
> (http://www.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/)
> The bil file es very heavy (more than 1800 MB), so I need to convert
> the file so that I can trim it easily to process it for the project.
> Any idea?
> Thanks in advance
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 

BIL is a raster format. You can use the many GDAL commands in the Raster
menu or via command line to cut out a section.

http://qgis.org/en/docs/user_manual/plugins/plugins_gdaltools.html

Enjoy,
Alex
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Can some one help me to convert a .bil file in a shape file?

2014-02-17 Thread NYA Edouard
Hi to every one,
SInce a certain time, I am working on a project where I intend work
with the shapefile of the .bil file available in the Harmonized World
Soil Database (HWSD). It can be found here
(http://www.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/)
The bil file es very heavy (more than 1800 MB), so I need to convert
the file so that I can trim it easily to process it for the project.
Any idea?
Thanks in advance
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user