<div dir="ltr"><font size="2">I would have thought : create a linesegment that is the equator and perform an intersection between that linesegment and the target geometry to identify the point in question and then create a new geometry with the new point, or something like that.<br><br>I am not sure what it would mean to add a point to polygon crosses the equator - I would guess that would mean adding a vertex at the equator, in which case I think the intersection would return a line (I have never done it) and the vertices in question would be the points of the returned linesegment.</font></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, 26 Jan 2025 at 10:26, Javier Jimenez Shaw via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi</div><div><br></div><div>I have a vector layer (like /usr/share/qgis/resources/data/world_map.gpkg) and I need to add a point at latitude 0 for every segment (in line or polygon) that crosses the equator.</div><div><br></div><div>How can I do it?</div><div><br></div><div>Thanks,</div><div>Javier.<br></div></div>
</div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>