Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create 2025-04-07-wfs-transaction.md #249

Merged
merged 4 commits into from
Apr 7, 2025

Conversation

MiladRafiei
Copy link
Contributor

Hello everyone,
Please review my content and let me know if any necessary corrections are needed.

Copy link
Member

@jodygarnett jodygarnett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor feedback, we should probably also change the date to April now!

Comment on lines 44 to 59
<wfs:Insert>
<topp:tasmania_roads>
<topp:the_geom>
<gml:MultiLineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:lineStringMember>
<gml:LineString>
<gml:coordinates decimal="." cs="," ts=" ">
145.2,-42.5 145.2,-43.3 145.8,-43.3
</gml:coordinates>
</gml:LineString>
</gml:lineStringMember>
</gml:MultiLineString>
</topp:the_geom>
<topp:TYPE>street</topp:TYPE>
</topp:tasmania_roads>
</wfs:Insert>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider formatting as xml:

Suggested change
<wfs:Insert>
<topp:tasmania_roads>
<topp:the_geom>
<gml:MultiLineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:lineStringMember>
<gml:LineString>
<gml:coordinates decimal="." cs="," ts=" ">
145.2,-42.5 145.2,-43.3 145.8,-43.3
</gml:coordinates>
</gml:LineString>
</gml:lineStringMember>
</gml:MultiLineString>
</topp:the_geom>
<topp:TYPE>street</topp:TYPE>
</topp:tasmania_roads>
</wfs:Insert>
```xml
<wfs:Insert>
<topp:tasmania_roads>
<topp:the_geom>
<gml:MultiLineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:lineStringMember>
<gml:LineString>
<gml:coordinates decimal="." cs="," ts=" ">
145.2,-42.5 145.2,-43.3 145.8,-43.3
</gml:coordinates>
</gml:LineString>
</gml:lineStringMember>
</gml:MultiLineString>
</topp:the_geom>
<topp:TYPE>street</topp:TYPE>
</topp:tasmania_roads>
</wfs:Insert>

Here are the steps to perform an update feature with WFS transaction in GeoServer:
- Select **WFS_transactionUpdateGeom.xml** from the **Request** drop-down list, then edit the codes as follows:

<wfs:Update typeName="topp:tasmania_roads">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider xml formatting


- Select **WFS_transactionDelete.xml** from the **Request** drop-down list, then edit the codes as follows:

<wfs:Delete typeName="topp:tasmania_roads">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider xml formatting


- Again, select **WFS_transactionDelete.xml** from the **Request** drop-down list, then edit the codes as follows:

<wfs:Delete typeName="topp:tasmania_roads">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider xml formatting


----

In this session, we took a brief journey to explore SLD styles and various filters in GeoServer. If you want to access the complete tutorial, click on the [link](https://www.youtube.com/watch?v=TIlo7UOAXKg&list=PL_ITaxp1Ob4sjk24Stboa5XbO0LGdEKbL).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link is correct but the text is about SLD styles

@jodygarnett jodygarnett changed the title Create 2025-03-18-geospatial-techno.md Create 2025-04-07-wfs-transaction.md Apr 7, 2025
@jodygarnett
Copy link
Member

Thanks for your patience @MiladRafiei - I have updated your PR in place with my feedback above, corrected the date. Using ifs-transaction for the page name.

@jodygarnett jodygarnett merged commit 4587435 into geoserver:main Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants