[gdal-dev] to create a rectangle polygon

Chaitanya kumar CH chaitanya.ch at gmail.com
Fri Jul 8 08:29:17 EDT 2011


Ahmet,

You can clip a shapefile using ogr2ogr using the option -spat [1]. There are
more options to control the clipping of polygons intersecting the border.

[1]: http://www.gdal.org/ogr2ogr.html

2011/7/8 ahmet temiz <ahmettemiz88 at gmail.com>

> hello
>
> Is it possible to create a rectangle polygon shp file from known minx,
> miny, maxx, maxy values 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
> ________________________
>
> Ahmet Temiz
> Geological Eng.
> Information Systems - GIS Group
> Disaster and Emergency Management
> of Presidency
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110708/f93503a4/attachment.html


More information about the gdal-dev mailing list