/dports/graphics/py-pygeos/pygeos-0.10.2/pygeos/ |
H A D | _geometry.pyx | 63 cdef Py_ssize_t geom_idx = 0 107 for geom_idx in range(n_geoms): 108 geom_size = coord_counts[geom_idx] 113 f"Index {geom_idx} is missing from the input indices." 145 result_view[geom_idx] = PyGEOS_CreateGeometry(geom, geos_handle) 162 cdef Py_ssize_t geom_idx = 0 193 for geom_idx in range(array.size): 194 if counts_view[geom_idx] <= 0: 198 if PyGEOS_GetGEOSGeometry(<PyObject *>array[geom_idx], &geom) == 0: 205 for part_idx in range(counts_view[geom_idx]): [all …]
|
/dports/databases/postgis32/postgis-3.2.0/postgis/ |
H A D | lwgeom_box.c | 421 static const uint32_t geom_idx = 1; in BOX2D_combine() local 425 if (PG_ARGISNULL(box2d_idx) && PG_ARGISNULL(geom_idx)) in BOX2D_combine() 435 if (!gserialized_datum_get_gbox_p(PG_GETARG_DATUM(geom_idx), &box)) in BOX2D_combine() 442 if (PG_ARGISNULL(geom_idx)) in BOX2D_combine() 450 if (!gserialized_datum_get_gbox_p(PG_GETARG_DATUM(geom_idx), &box)) in BOX2D_combine()
|
H A D | lwgeom_geos.c | 1466 static const uint32_t geom_idx = 0; in ST_ClipByBox2d() local 1476 if (!gserialized_datum_get_internals_p(PG_GETARG_DATUM(geom_idx), &bbox1, &flags, &type, &srid)) in ST_ClipByBox2d() 1479 PG_RETURN_DATUM(PG_GETARG_DATUM(geom_idx)); in ST_ClipByBox2d() 1489 PG_RETURN_DATUM(PG_GETARG_DATUM(geom_idx)); in ST_ClipByBox2d() 1502 lwgeom1 = lwgeom_from_gserialized(PG_GETARG_GSERIALIZED_P(geom_idx)); in ST_ClipByBox2d()
|
/dports/databases/postgis31/postgis-3.1.4/postgis/ |
H A D | lwgeom_box.c | 421 static const uint32_t geom_idx = 1; in BOX2D_combine() local 425 if (PG_ARGISNULL(box2d_idx) && PG_ARGISNULL(geom_idx)) in BOX2D_combine() 435 if (!gserialized_datum_get_gbox_p(PG_GETARG_DATUM(geom_idx), &box)) in BOX2D_combine() 442 if (PG_ARGISNULL(geom_idx)) in BOX2D_combine() 450 if (!gserialized_datum_get_gbox_p(PG_GETARG_DATUM(geom_idx), &box)) in BOX2D_combine()
|
H A D | lwgeom_geos.c | 1538 static const uint32_t geom_idx = 0; in ST_ClipByBox2d() local 1548 if (!gserialized_datum_get_internals_p(PG_GETARG_DATUM(geom_idx), &bbox1, &flags, &type, &srid)) in ST_ClipByBox2d() 1551 PG_RETURN_DATUM(PG_GETARG_DATUM(geom_idx)); in ST_ClipByBox2d() 1561 PG_RETURN_DATUM(PG_GETARG_DATUM(geom_idx)); in ST_ClipByBox2d() 1574 lwgeom1 = lwgeom_from_gserialized(PG_GETARG_GSERIALIZED_P(geom_idx)); in ST_ClipByBox2d()
|
/dports/graphics/py-gdal/gdal-3.3.3/ogr/ogrsf_frmts/gmlas/ |
H A D | ogrgmlasreader.cpp | 1433 int geom_idx = m_oCurCtxt.m_poLayer-> in startElement() local 1457 if( idx < 0 && geom_idx < 0 && geom_idx != IDX_COMPOUND_FOLDED ) in startElement() 1460 geom_idx = m_oCurCtxt.m_poLayer->GetOGRGeomFieldIndexFromXPath( in startElement() 1464 if( idx >= 0 || geom_idx >= 0 ) in startElement() 1480 m_oCurCtxt.m_poLayer->GetFCFieldIndexFromOGRGeomFieldIdx(geom_idx); in startElement() 1526 !( geom_idx >= 0 && nFCFieldIdx >= 0 && in startElement() 1566 m_nCurGeomFieldIdx = geom_idx; in startElement() 1578 if( geom_idx >= 0 ) in startElement() 1581 GetLayerDefn()->GetGeomFieldDefn(geom_idx)->GetNameRef() ); in startElement()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/ogr/ogrsf_frmts/gmlas/ |
H A D | ogrgmlasreader.cpp | 1433 int geom_idx = m_oCurCtxt.m_poLayer-> in InsertTargetIndex() 1457 if( idx < 0 && geom_idx < 0 && geom_idx != IDX_COMPOUND_FOLDED ) in InsertTargetIndex() 1460 geom_idx = m_oCurCtxt.m_poLayer->GetOGRGeomFieldIndexFromXPath( in InsertTargetIndex() 1464 if( idx >= 0 || geom_idx >= 0 ) in InsertTargetIndex() 1480 m_oCurCtxt.m_poLayer->GetFCFieldIndexFromOGRGeomFieldIdx(geom_idx); in InsertTargetIndex() 1526 !( geom_idx >= 0 && nFCFieldIdx >= 0 && in InsertTargetIndex() 1566 m_nCurGeomFieldIdx = geom_idx; in InsertTargetIndex() 1578 if( geom_idx >= 0 ) in InsertTargetIndex() 1581 GetLayerDefn()->GetGeomFieldDefn(geom_idx)->GetNameRef() ); in InsertTargetIndex()
|
/dports/graphics/gdal/gdal-3.3.3/ogr/ogrsf_frmts/gmlas/ |
H A D | ogrgmlasreader.cpp | 1433 int geom_idx = m_oCurCtxt.m_poLayer-> in startElement() local 1457 if( idx < 0 && geom_idx < 0 && geom_idx != IDX_COMPOUND_FOLDED ) in startElement() 1460 geom_idx = m_oCurCtxt.m_poLayer->GetOGRGeomFieldIndexFromXPath( in startElement() 1464 if( idx >= 0 || geom_idx >= 0 ) in startElement() 1480 m_oCurCtxt.m_poLayer->GetFCFieldIndexFromOGRGeomFieldIdx(geom_idx); in startElement() 1526 !( geom_idx >= 0 && nFCFieldIdx >= 0 && in startElement() 1566 m_nCurGeomFieldIdx = geom_idx; in startElement() 1578 if( geom_idx >= 0 ) in startElement() 1581 GetLayerDefn()->GetGeomFieldDefn(geom_idx)->GetNameRef() ); in startElement()
|
/dports/databases/spatialite/libspatialite-5.0.1/src/shapefiles/ |
H A D | shapefiles.c | 7878 int geom_idx = -1; in elementary_geometries_ex3() local 7988 geom_idx = i_col - 1; in elementary_geometries_ex3() 8007 if (geom_idx < 0) in elementary_geometries_ex3() 8106 geom_idx), in elementary_geometries_ex3() 8108 geom_idx)); in elementary_geometries_ex3() 8120 if (i == geom_idx) in elementary_geometries_ex3() 8185 sqlite3_bind_null (stmt_out, geom_idx + 2); in elementary_geometries_ex3() 8200 if (i == geom_idx) in elementary_geometries_ex3() 8259 sqlite3_bind_null (stmt_out, geom_idx + 2); in elementary_geometries_ex3() 8274 if (i == geom_idx) in elementary_geometries_ex3() [all …]
|
/dports/databases/spatialite_gui/spatialite_gui-1.7.1/ |
H A D | Main.cpp | 4379 int geom_idx = -1; in DoElementaryGeometries() local 4451 geom_idx = i - 1; in DoElementaryGeometries() 4463 if (geom_idx < 0) in DoElementaryGeometries() 4579 sqlite3_bind_null(stmt_out, geom_idx + 2); in DoElementaryGeometries() 4584 if (i == geom_idx) in DoElementaryGeometries() 4644 sqlite3_bind_null(stmt_out, geom_idx + 2); in DoElementaryGeometries() 4658 if (i == geom_idx) in DoElementaryGeometries() 4714 sqlite3_bind_null(stmt_out, geom_idx + 2); in DoElementaryGeometries() 4728 if (i == geom_idx) in DoElementaryGeometries() 4784 sqlite3_bind_null(stmt_out, geom_idx + 2); in DoElementaryGeometries() [all …]
|