# Issues with saving edits of OGR layer from PostGIS

**URL:** <https://mapwindow.discourse.group/t/issues-with-saving-edits-of-ogr-layer-from-postgis/1659>\
**Category:** MapWinGIS\
**Created:** [November 9, 2023, 10:59am UTC](https://mapwindow.discourse.group/t/issues-with-saving-edits-of-ogr-layer-from-postgis/1659 "2023-11-09T10:59:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexHsu007](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@AlexHsu007](https://mapwindow.discourse.group/u/AlexHsu007)\
**Post date:** [November 9, 2023, 10:59am UTC](https://mapwindow.discourse.group/t/issues-with-saving-edits-of-ogr-layer-from-postgis/1659/1 "2023-11-09T10:59:39Z")

</div>

Hello, my dear friends:  
I am using MapWindow.Lite demo in version 5.3.0. When I use the ShapeEditor toolbar to edit and save edits with shapefile layers, everything goes well. When I edit an ogr layer from PostGIS, it can be edited and saved normally without doing SplitByPolyline or SplitByPolygon or ClipByPolygon etc. operations. The problem is when I do some edits through SplitByPolyline or SplitByPolygon or ClipByPolygon etc. operations, the edits can not be saved to PostGIS. I tested this situations many times, and I can’t find why. Is it a Bug in MapWinGIS? Can some one give me any help?  
Thank you very much, guys!
