PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwerror()

void lwerror ( const char *  fmt,
  ... 
)

Write a notice out to the error handler.

Uses standard printf() substitutions. Use for errors you always want output. For debugging, use LWDEBUG() or LWDEBUGF().

Definition at line 190 of file lwutil.c.

References pixval::fmt.

Referenced by _lwt_AddEdge(), _lwt_AddFaceSplit(), _lwt_AddLineEdge(), _lwt_CheckEdgeCrossing(), _lwt_EdgeMotionArea(), _lwt_EdgeSplit(), _lwt_FindAdjacentEdges(), _lwt_GetEqualEdge(), _lwt_GetIsoNode(), _lwt_HealEdges(), _lwt_InitEdgeEndByLine(), _lwt_RemEdge(), _varint_u64_encode_buf(), asgeojson_geom_buf(), asgeojson_geom_size(), asgml2_collection_size(), asgml3_collection_buf(), asgml3_collection_size(), assvg_geom_buf(), assvg_geom_size(), asx3d3_collection_buf(), asx3d3_collection_size(), asx3d3_multi_buf(), bytebuffer_append_double(), bytebuffer_append_int(), bytes_from_hexbytes(), decode_geohash_bbox(), double_to_wkb_buf(), edge_calculate_gbox(), error_if_srid_mismatch(), extract_pointarrays_from_lwgeom(), gbox_overlaps(), gbox_overlaps_2d(), geojson_lwerror(), GEOS2LWGEOM(), getPoint2d_cp(), getPoint2d_p(), getPoint3dm_p(), getPoint3dz_cp(), getPoint3dz_p(), getPoint4d_cp(), getPoint4d_p(), getPoint_internal(), gserialized_from_any_size(), gserialized_from_lwcircstring(), gserialized_from_lwcollection(), gserialized_from_lwgeom(), gserialized_from_lwgeom_any(), gserialized_from_lwline(), gserialized_from_lwpoint(), gserialized_from_lwpoly(), gserialized_from_lwtriangle(), hexbytes_from_bytes(), integer_to_wkb_buf(), interpolate_point4d(), lw_curvering_getfirstpoint2d_cp(), lw_dist2d_arc_arc(), lw_dist2d_curvepoly_curvepoly(), lw_dist2d_distanceline(), lw_dist2d_distancepoint(), lw_dist2d_distribute_bruteforce(), lw_dist2d_distribute_fast(), lw_dist2d_point_curvepoly(), lw_dist2d_poly_poly(), lw_dist2d_pt_arc(), lw_dist2d_pt_ptarrayarc(), lw_dist2d_ptarray_ptarrayarc(), lw_dist2d_ptarrayarc_ptarrayarc(), lw_dist2d_seg_arc(), lw_dist2d_seg_seg(), lw_dist3d_distanceline(), lw_dist3d_distancepoint(), lw_dist3d_distribute_bruteforce(), lwarc_linearize(), lwcircstring_from_lwpointarray(), lwcircstring_from_wkb_state(), lwcollection_add_lwgeom(), lwcollection_construct(), lwcollection_construct_empty(), lwcollection_extract(), lwcollection_from_gserialized_buffer(), lwcollection_from_twkb_state(), lwcollection_from_wkb_state(), lwcollection_ngeoms(), lwcollection_split(), lwcollection_wrapx(), lwcompound_contains_point(), lwcompound_get_lwpoint(), lwcompound_linearize(), lwcompound_to_wkt_sb(), lwcurvepoly_add_ring(), lwcurvepoly_from_wkb_state(), lwcurvepoly_linearize(), lwcurvepoly_to_wkt_sb(), lwdouble_to_dms(), LWGEOM2GEOS(), LWGEOM2SFCGAL(), lwgeom_affine(), lwgeom_buildarea(), lwgeom_calculate_circ_tree(), lwgeom_calculate_gbox_cartesian(), lwgeom_calculate_gbox_geodetic(), lwgeom_centroid(), lwgeom_check_geodetic(), lwgeom_clip_by_rect(), lwgeom_clip_to_ordinate_range(), lwgeom_clone(), lwgeom_clone_deep(), lwgeom_cluster_2d_kmeans(), lwgeom_collect_endpoints(), lwgeom_construct_empty(), lwgeom_contains_point(), lwgeom_count_rings(), lwgeom_count_vertices(), lwgeom_covers_lwgeom_sphere(), lwgeom_cpa_within(), lwgeom_delaunay_triangulation(), lwgeom_difference(), lwgeom_dimension(), lwgeom_dimensionality(), lwgeom_distance_spheroid(), lwgeom_extract_unique_endpoints(), lwgeom_force_dims(), lwgeom_force_geodetic(), lwgeom_free(), lwgeom_from_geojson(), lwgeom_from_gserialized(), lwgeom_from_gserialized_buffer(), lwgeom_from_hexwkb(), lwgeom_from_twkb_state(), lwgeom_from_wkb_state(), lwgeom_from_wkt(), lwgeom_geohash(), LWGEOM_GEOS_buildArea(), LWGEOM_GEOS_makeValid(), LWGEOM_GEOS_makeValidCollection(), LWGEOM_GEOS_makeValidMultiLine(), lwgeom_geos_noop(), lwgeom_get_geos_coordseq_2d(), lwgeom_grid(), lwgeom_homogenize(), lwgeom_interpolate_point(), lwgeom_intersection(), lwgeom_is_empty(), lwgeom_is_simple(), lwgeom_length_spheroid(), lwgeom_linemerge(), lwgeom_locate_along(), lwgeom_locate_between(), lwgeom_longitude_shift(), lwgeom_make_geos_friendly(), lwgeom_make_valid(), lwgeom_maxdistance2d_tolerance(), lwgeom_maxdistance3d_tolerance(), lwgeom_median(), lwgeom_mindistance2d_tolerance(), lwgeom_mindistance3d_tolerance(), lwgeom_node(), lwgeom_normalize(), lwgeom_nudge_geodetic(), lwgeom_offsetcurve(), lwgeom_project_spheroid(), lwgeom_release(), lwgeom_same(), lwgeom_scale(), lwgeom_segmentize_sphere(), lwgeom_set_effective_area(), lwgeom_set_geodetic(), lwgeom_sharedpaths(), lwgeom_simplify(), lwgeom_snap(), lwgeom_split(), lwgeom_split_wrapx(), lwgeom_startpoint(), lwgeom_subdivide(), lwgeom_subdivide_recursive(), lwgeom_swap_ordinates(), lwgeom_symdifference(), lwgeom_tcpa(), lwgeom_to_encoded_polyline(), lwgeom_to_ewkt(), lwgeom_to_geojson(), lwgeom_to_gml2(), lwgeom_to_gml3(), lwgeom_to_kml2_sb(), lwgeom_to_points(), lwgeom_to_svg(), lwgeom_to_twkb_buf(), lwgeom_to_twkb_with_idlist(), lwgeom_to_wkb(), lwgeom_to_wkb_buf(), lwgeom_to_wkb_size(), lwgeom_to_wkt(), lwgeom_to_wkt_sb(), lwgeom_to_x3d3(), lwgeom_transform(), lwgeom_twkb_type(), lwgeom_unaryunion(), lwgeom_union(), lwgeom_voronoi_diagram(), lwgeom_wkb_type(), lwgeom_wrapx(), lwgeom_write_to_buffer(), lwline_clip_to_ordinate_range(), lwline_from_lwgeom_array(), lwline_from_ptarray(), lwline_from_twkb_state(), lwline_from_wkb_state(), lwline_measured_from_lwline(), lwline_split(), lwline_split_by_line(), lwmcurve_linearize(), lwmcurve_to_wkt_sb(), lwmline_clip_to_ordinate_range(), lwmline_measured_from_lwmline(), lwmpoint_clip_to_ordinate_range(), lwmpoint_median(), lwmpoly_to_points(), lwmsurface_to_wkt_sb(), lwmultiline_from_twkb_state(), lwmultipoint_from_twkb_state(), lwmultipoly_from_twkb_state(), lwpoint_clip_to_ordinate_range(), lwpoint_get_m(), lwpoint_get_ordinate(), lwpoint_get_x(), lwpoint_get_y(), lwpoint_get_z(), lwpoint_set_ordinate(), lwpoint_to_latlon(), lwpointiterator_modify_next(), lwpoly_area(), lwpoly_construct(), lwpoly_construct_circle(), lwpoly_from_lwlines(), lwpoly_from_twkb_state(), lwpoly_from_wkb_state(), lwpoly_grid(), lwpoly_split(), lwpoly_split_by_line(), lwpoly_to_points(), lwt_AddIsoEdge(), lwt_AddIsoNode(), lwt_AddLine(), lwt_AddPoint(), lwt_AddPolygon(), lwt_be_ExistsCoincidentNode(), lwt_be_ExistsEdgeIntersectingPoint(), lwt_ChangeEdgeGeom(), lwt_GetEdgeByPoint(), lwt_GetFaceByPoint(), lwt_GetFaceEdges(), lwt_GetFaceGeometry(), lwt_GetNodeByPoint(), lwt_LoadTopology(), lwt_ModEdgeSplit(), lwt_MoveIsoNode(), lwt_NewEdgesSplit(), lwt_RemIsoEdge(), lwt_RemoveIsoNode(), lwtin_from_geos(), lwtriangle_from_lwline(), lwtriangle_from_wkb_state(), lwtype_from_twkb_type(), lwtype_from_wkb_state(), parse_geojson(), point4d_transform(), point_interpolate(), printLWPSURFACE(), printLWTIN(), printLWTRIANGLE(), pt_in_ring_2d(), pt_in_ring_3d(), pta_unstroke(), ptarray_addPoint(), ptarray_append_point(), ptarray_append_ptarray(), ptarray_arc_length_2d(), ptarray_area_spheroid(), ptarray_contains_point_partial(), ptarray_copy_point(), ptarray_from_GEOSCoordSeq(), ptarray_from_SFCGAL(), ptarray_from_wkb_state(), ptarray_insert_point(), ptarray_is_closed(), ptarray_is_closed_2d(), ptarray_is_closed_3d(), ptarray_merge(), ptarray_nudge_geodetic(), ptarray_remove_point(), ptarray_removePoint(), ptarray_segmentize_sphere(), ptarray_to_GEOSCoordSeq(), ptarray_to_SFCGAL(), ptarrayarc_contains_point_partial(), SFCGAL2LWGEOM(), SFCGAL_type_to_lwgeom_type(), spheroid_big_b(), spheroid_distance(), tune_areas(), twkb_parse_state_advance(), twkb_parse_state_varint_skip(), varint_u64_decode(), wkb_parse_state_check(), and wkt_parser_geometry_new().

191 {
192  va_list ap;
193 
194  va_start(ap, fmt);
195 
196  /* Call the supplied function */
197  (*lwerror_var)(fmt, ap);
198 
199  va_end(ap);
200 }
def fmt
Definition: pixval.py:92