Le 20/01/2011 14:48, Jean-Claude Repetto a écrit :
Le 20/01/2011 14:33, c.str...@dlr.de a écrit :
so you can use gdal_merge or gdalwarp. i thought your problem was the
pyramid building
I know that I can assemble the 4 tiles with gdalwarp or gdal_merge. But
how do I assemble the resulting 512x
how to create attribute table for vector using ogr?
--
Rashad
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
On 11-01-21 09:49 AM, Mohammed Rashad wrote:
how to create attribute table for vector using ogr?
Mohammed,
New attribute fields are created on a vector layer in OGR using the
CreateField() method on the layer. This is covered in the read/write
tutorial (search for CreateField about 2/3 of th
thanks Frank. i mailed without looking the api tutorial. sorry
On Fri, Jan 21, 2011 at 8:31 PM, Frank Warmerdam wrote:
> On 11-01-21 09:49 AM, Mohammed Rashad wrote:
>
>> how to create attribute table for vector using ogr?
>>
>>
> Mohammed,
>
> New attribute fields are created on a vector layer i
Hello,
Is it possible to get a string representation of text-datasources (gml,
geojson, etc.) from a OGRLayer or OGRDatasource? Is it maybe possible to
write to STDOUT instead of a file?
Many thanks for tipps
Frank
___
gdal-dev mailing list
gdal-de
#include "ogrsf_frmts.h"
#include
int main()
{
const char *pszDriverName = "ESRI Shapefile";
OGRSFDriver *poDriver;
OGRRegisterAll();
OGRDataSource *poDS;
poDS = OGRSFDriverRegistrar::Open( "point_out.shp", FALSE );
if( poDS == NULL )
{
cout << "Open fail
On 11-01-21 12:47 PM, Mohammed Rashad wrote:
OGRGeometry *OLGeometry;
char *geom = "POINT(6 10)";
OLGeometry->importFromWkt(&geom);
}
Rashad,
The problem is that OLGeometry is an unitialized pointer as opposed to
being a valid geometry object on which a method could be inv
How can I add features to a shapefile using OGR?
--
Rashad
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Rashad,
Refer to the OGR API tutorial, especially the topic "Writing to OGR". You
can add features to already existing data source, including shapefiles.
On Sat, Jan 22, 2011 at 12:31 AM, Mohammed Rashad <
mohammedrasha...@gmail.com> wrote:
>
> How can I add features to a shapefile using OGR?
>