h"
#include "ogr_srs_api.h"
#include "stdio.h"
int main()
{
//~ variable declaration
const char *name = "testc.shp", *dir = "C:\\Users\\deadpickle\\Desktop
\\case study\\verify\\";
char *source, *target;
const char *sprj
ver. When I compiled it I
linked it to the libgdal.a library. Is there something I'm missing?
#include "ogr_api.h"
#include "ogr_srs_api.h"
#include "stdio.h"
int main()
{
//~ variable declaration
const char *name = "testc.shp", *dir =
: passing argument 2 of â
€˜OCTNewCoordinateTransformation’ discards qualifiers from pointer
target type
On Mar 2, 10:48 pm, brian wrote:
> deadpickle,
>
> The types in the OGR C api pretty much end in H.
>
> OGRCoordinateTransformation ctrans;
> should read
> OGRCoordinate
I'm trying to write a simple C program that creates and populates a
shapefile (have one done in python). I'm very new to C and GDAL both
and could use some help. I'm trying to apply coordinatetransformation
to my points but first I have to create the coordinatetransformation.
In python I can do thi
gt; driver = ogr.GetDriverByName('ESRI Shapefile')
> #~ set workspace
> ws = 'C:\\Users\\deadpickle\\
> Desktop\\case study\\verify\\'
> os.chdir(ws)
>
> #~ check if it exists
> if os.path.exists('test.shp'):
> driver.DeleteDataSource('te