PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rt_util_from_ogr_envelope()

void rt_util_from_ogr_envelope ( OGREnvelope  env,
rt_envelope ext 
)

Definition at line 408 of file rt_util.c.

411  {
412  assert(ext != NULL);
413 
414  ext->MinX = env.MinX;
415  ext->MaxX = env.MaxX;
416  ext->MinY = env.MinY;
417  ext->MaxY = env.MaxY;
418 
419  ext->UpperLeftX = env.MinX;
420  ext->UpperLeftY = env.MaxY;
421 }
double MinX
Definition: librtcore.h:165
double UpperLeftY
Definition: librtcore.h:171
double UpperLeftX
Definition: librtcore.h:170
double MaxX
Definition: librtcore.h:166
double MinY
Definition: librtcore.h:167
double MaxY
Definition: librtcore.h:168

References rt_envelope::MaxX, rt_envelope::MaxY, rt_envelope::MinX, rt_envelope::MinY, rt_envelope::UpperLeftX, and rt_envelope::UpperLeftY.

Referenced by rt_raster_gdal_rasterize().

Here is the caller graph for this function: