When I dropped the spaces in the title, I was able to click on GML successfully.
···
From: Jim Rogers
Sent: Monday, June 24, 2024 10:41 AM
To: Jody Garnett <jody.garnett@…84…>
Cc: geoserver-users geoserver-users@lists.sourceforge.net
Subject: RE: [Geoserver-users] Serving out shapefiles using Geoserver
Jody,
Using the tutorial link below, I was able to successfully publish a shapefile and see it in Layer Preview when I clicked on OpenLayers.
But when I clicked on GML, I received the following message:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<ServiceExceptionReport xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version=“1.2.0” xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd">
error:Translator error Translator error Error reading Features Could not transform BF Admin Subdivision Boundaries.1 :org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
Any suggestions on how I can get GML to run successfully for my shapefile?
Jim
From: Jody Garnett <jody.garnett@…84…>
Sent: Friday, June 21, 2024 4:34 PM
To: Jim Rogers <Jim.Rogers@…11953…>
Cc: geoserver-users <geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] Serving out shapefiles using Geoserver
This email was sent from an external server
Publishing a shapefile is one of the getting started tutorials.
https://docs.geoserver.org/latest/en/user/gettingstarted/shapefile-quickstart/index.html
Once published people can download as GML, GeoPackage, GeoJSON.
Tip: if using layer preview to test GML output it only downloads the first 50 features as a preview! You can edit the url to remove the max features number to download more (up to the limit set for WFS service in one request).
–
Jody Garnett
On Fri, Jun 21, 2024 at 12:15 PM Jim Rogers <Jim.Rogers@…11953…> wrote:
Jody,
In one e
My GeoServer instance is running version 2.23.0
Is it possible to convert or save a shapefile format file into a WFS GML 2.0.0 format? If so, are there instructions available?
Thanks,
Jim
From: Jody Garnett <jody.garnett@…84…>
Sent: Thursday, March 14, 2024 3:54 PM
To: Jim Rogers <Jim.Rogers@…11953…>
Cc: geoserver-users <geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] Serving out shapefiles using Geoserver
This email was sent from an external server
Hi Jim,
We should keep the conversation on the user-list so others can take part 
Looks like there is a tutorial directly for publishing a shape file in the user manual: https://docs.geoserver.org/latest/en/user/gettingstarted/shapefile-quickstart/index.html
I would appreciate you trying out the release-candidate, the 2.25.0 release is planned for next week we would love feedback and testing.
–
Jody Garnett
On Mar 14, 2024 at 12:50:26 PM, Jim Rogers <Jim.Rogers@…11953…> wrote:
Jody,
The size of the shapefile is 221,240 KB
Thanks for the instructions.
Jim
From: Jody Garnett <jody.garnett@…84…>
Sent: Thursday, March 14, 2024 3:43 PM
To: Jim Rogers <Jim.Rogers@…11953…>
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Serving out shapefiles using Geoserver
This email was sent from an external server
No special guidance necessary, the installation and setup instructions describe publishing a geopackage - but the steps to publish a shape file are identical.
- Setup a workspace (I recommend only one to start)
- Setup a data store (in your case a shape file datastore)
- Publish the layer contained in the shape file (provide a name / title / abstract, check the spatial reference system / bounds)
- Verify the data looks okay in they layer preview, you can also try downloading GeoJSON if you like
How big is your shape file?
–
Jody Garnett
On Mar 14, 2024 at 11:27:02 AM, Jim Rogers <Jim.Rogers@…11953…> wrote:
I am new to Geoserver and I have some boundary data that is stored as shapefiles that I would like to serve out to others. Do you have any guidance or instructions on how to accomplish this task?
Thanks,
Jim Rogers
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
This email has been scanned for spam and viruses by Proofpoint Essentials. Click here to report this email as spam.
This email has been scanned for spam and viruses by Proofpoint Essentials. Click here to report this email as spam.
This email has been scanned for spam and viruses by Proofpoint Essentials. Click here to report this email as spam.