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
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
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
_
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
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
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
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
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