Re: [gdal-dev] divide a big shape file using ogr2ogr

2012-02-17 Thread Chaitanya kumar CH
Ahmet, If you want to divide the shapefile to reduce file size or the number of features, use the -where option. Restrict the features copied to the new shapefile by specifying the range of FIDs. Ex: ogr2ogr -where "FID >= 0 and FID < 1000" dst.shp src.shp 2012/2/18 ahmet temiz > hello > > how

Re: [gdal-dev] divide a big shape file using ogr2ogr

2012-02-17 Thread Matt Perry
2012/2/17 ahmet temiz : > hello > > how can I divide a big shape file into 5 equal pieces using ogr2ogr ? > "equal" with regard to what? Number of features? Area of features? File size? Some attribute field? -- ·´¯`·.¸. , . .·´¯`·.. ><º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><º> "The best way to predic

[gdal-dev] divide a big shape file using ogr2ogr

2012-02-17 Thread ahmet temiz
hello how can I divide a big shape file into 5 equal pieces using ogr2ogr ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 _

[gdal-dev] reading palsar k&c mosaic (was Fwd: [GRASS-user] Re: grass and palsar processing)

2012-02-17 Thread maning sambale
I cannot read K&C mosaic palsar data [0] with gdal 1.8. Several bug fixes are now closed in trac [1,2 and 3]. Has anyone tried this data with gdal 1.9? [0] http://www.eorc.jaxa.jp/ALOS/en/kc_mosaic/kc_mosaic.htm [1] http://trac.osgeo.org/gdal/ticket/1981 [2] http://trac.osgeo.org/gdal/ticket/413

Re: [gdal-dev] Convert ECW to TIFF

2012-02-17 Thread CRIGE PACA - Veille Technique
Hi, The new versions of ECW SDK is only available on Windows (4.0 to 4.2). The ReadOnly Windows version is free and Read/Write Windows version (desktop and server) is profitable. I believe that there is a project of porting SDK on Linux but it's not currently available (http://field-guide.blo

Re: [gdal-dev] Convert ECW to TIFF

2012-02-17 Thread Jorge Santos
Hi Zoltan, *GDAL_TRANSLATE: CONVERT ECW to GEOTIFF* (type these commands in FWTools Shell or OSGeo4W Shell): *ONE FILE* gdal_translate -of ECW -co TARGET=0 -a_srs EPSG:4326 input.tif output.ecw *A FOLDER WITH MANY FILES* for %f in (*.ecw) do gdal_translate -of ECW -co TARGET=0 -a_srs EPSG:4326

[gdal-dev] Convert ECW to TIFF

2012-02-17 Thread Zoltan Szecsei
Hi, I have a bunch of ecw images that I need to convert to tif+worldfile. I therefore need to recompile gdal against the ecw libraries, but the only file I can download from Intergraph/Erdas website is: ECWJP2SDKSetup_RO_20110303.exe which is a Windows install of the SDK. How do I do this for

Re: [gdal-dev] WFS 1.1 and axis orientation - wrong coordinates interpretation

2012-02-17 Thread Jachym Cepicky
Hi, sorry for delay I see the point and I managed to get proper output from the WFS using ogr2ogr with ogr2ogr okresy.shp "WFS:http://gis.bnhelp.cz/ows/crwfs?seice=wfs&version=1.1.0&request=getfeature&typename=okresy"; --config GML_INVERT_AXIS_ORDER_IF_LAT_LONG YES --config GML_CONSIDER_EPSG_AS