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";<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opengis.net_ogc-26quot-3B&d=DwQFAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=JGnob_PuLaMyLrhk99IekJckF20sVBbM0N06_QZ3n0Un0u0soU9fjIqcI57ggck2&s=GxrV9uJ0vw1O3Gq3OkDOCSVX21pOxL4nPBKmSjCp5ts&e=>
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.w3.org_2001_XMLSchema-2Dinstance-26quot-3B&d=DwQFAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=JGnob_PuLaMyLrhk99IekJckF20sVBbM0N06_QZ3n0Un0u0soU9fjIqcI57ggck2&s=CRSlTPeTT44kqeJGe4smG-u6uDDWgMhMmA7e5kppWCo&e=>
 version="1.2.0" 
xsi:schemaLocation="http://www.opengis.net/ogc<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opengis.net_ogc&d=DwQFAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=JGnob_PuLaMyLrhk99IekJckF20sVBbM0N06_QZ3n0Un0u0soU9fjIqcI57ggck2&s=IbHihxFMZ3G2GlNgqUNgngVphJVvxtdT99SNtppjGLk&e=>
 
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd";><https://urldefense.proofpoint.com/v2/url?u=http-3A__schemas.opengis.net_wfs_1.0.0_OGC-2Dexception.xsd-26quot-3B-26gt-3B&d=DwQFAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=JGnob_PuLaMyLrhk99IekJckF20sVBbM0N06_QZ3n0Un0u0soU9fjIqcI57ggck2&s=GK3G-gR0SMffJGyBzf-m-DAFjp2QgHMrSUgEXq-jdF4&e=>
<ServiceException> 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. </ServiceException>
</ServiceExceptionReport>

Any suggestions on how I can get GML to run successfully for my shapefile?

Jim

From: Jody Garnett <jody.garn...@gmail.com>
Sent: Friday, June 21, 2024 4:34 PM
To: Jim Rogers <jim.rog...@bogart.ai>
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<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.geoserver.org_latest_en_user_gettingstarted_shapefile-2Dquickstart_index.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=EDnwjrP16X4kGnpeVf_FkSRyKrO9zjjttSECV-MkXCikjMnjDEPkC6zNZPbLyPdO&s=sPaV0MmHTSDQT2m0UcLwNCVknJmI-qswB40QoiTwxEM&e=>

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.rog...@bogart.ai<mailto:jim.rog...@bogart.ai>> 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.garn...@gmail.com<mailto:jody.garn...@gmail.com>>
Sent: Thursday, March 14, 2024 3:54 PM
To: Jim Rogers <jim.rog...@bogart.ai<mailto:jim.rog...@bogart.ai>>
Cc: geoserver-users 
<geoserver-users@lists.sourceforge.net<mailto: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<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.geoserver.org_latest_en_user_gettingstarted_shapefile-2Dquickstart_index.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=k9VHkk5LnACwqVhUXXwOQK5zXPFAEnQbYTJVmnRKCmtAr2gjUKn9lYFtulfRTTAK&s=eH2i97lo6ZFTIvY8uL6y1o4PoId71dLA_quOuGHwARs&e=>

I would appreciate you trying out the 
release-candidate<https://urldefense.proofpoint.com/v2/url?u=https-3A__geoserver.org_announcements_2024_03_04_geoserver-2D2-2D25-2DRC-2Dreleased.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=k9VHkk5LnACwqVhUXXwOQK5zXPFAEnQbYTJVmnRKCmtAr2gjUKn9lYFtulfRTTAK&s=MI6-vkjlYhKueiysRhtbfsrq25wnn7BW26_I56uXwX4&e=>,
 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.rog...@bogart.ai<mailto:jim.rog...@bogart.ai>> wrote:
Jody,

The size of the shapefile is 221,240 KB

Thanks for the instructions.

Jim

From: Jody Garnett <jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>>
Sent: Thursday, March 14, 2024 3:43 PM
To: Jim Rogers <jim.rog...@bogart.ai<mailto:jim.rog...@bogart.ai>>
Cc: 
geoserver-users@lists.sourceforge.net<mailto: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.


  1.  Setup a workspace (I recommend only one to start)
  2.  Setup a data store (in your case a shape file datastore)
  3.  Publish the layer contained in the shape file (provide a name / title / 
abstract, check the spatial reference system / bounds)
  4.  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.rog...@bogart.ai<mailto:jim.rog...@bogart.ai>> 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:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ianturton.com_talks_foss4g.html-23_&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=t0N2KOlSn9evST5-Pol35qUynVUlCy8rUuaBfZVaL51Bpw0drQNTMlXgSvQ_AFLp&s=gWVO0Hf7he5AGyNQovsqw2fHlFPKroQZCaF7dbbYonM&e=>
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__geoserver.org_comm_userlist-2Dguidelines.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=t0N2KOlSn9evST5-Pol35qUynVUlCy8rUuaBfZVaL51Bpw0drQNTMlXgSvQ_AFLp&s=JCJZOZ5cfJ45LVnr0D-jkK8UZmqlzVzAixXkOr-nG3I&e=>

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_geoserver_geoserver_wiki_Successfully-2Drequesting-2Dand-2Dintegrating-2Dnew-2Dfeatures-2Dand-2Dimprovements-2Din-2DGeoServer&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=t0N2KOlSn9evST5-Pol35qUynVUlCy8rUuaBfZVaL51Bpw0drQNTMlXgSvQ_AFLp&s=DTpfmwwuk29-FTy95E1wO0-0UdUKp9v-e-wNbAubDa0&e=>


Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_geoserver-2Dusers&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=t0N2KOlSn9evST5-Pol35qUynVUlCy8rUuaBfZVaL51Bpw0drQNTMlXgSvQ_AFLp&s=O-jfdDtqYsAshqQq4cm9WAjxFgStpxAcobpx-7Q1K8A&e=>



________________________________

This email has been scanned for spam and viruses by Proofpoint Essentials. 
Click 
here<https://us3.proofpointessentials.com/app/report_spam.php?mod_id=11&mod_option=logitem&report=1&type=easyspam&k=k1&payload=53616c7465645f5f3f5cbea7f7cc531af0aac1bf3702a8553c5d81e038060edeac4dc1ea7a2bdf47fd2540b92ff3ff03e5cf5f885f891654b5f1dd91c0cd07d8859a434ca03c07092c6ca0730ad3390b153f4182cef2095be2d4898e85ffbb361c9189736fda7ccbe5e3eadf15b9149a69f5bad634efd2c73805a0337919a7e2db03fa1e901266a1bc73b52a7296fe4168bca82e3133722603d17bfa89755397>
 to report this email as spam.



________________________________

This email has been scanned for spam and viruses by Proofpoint Essentials. 
Click 
here<https://us3.proofpointessentials.com/app/report_spam.php?mod_id=11&mod_option=logitem&report=1&type=easyspam&k=k1&payload=53616c7465645f5f5b1bedc571fd78ebe8f964ef72c8e14176294557c2bb352df12e7223c2645927cd5fbe186a29006ed0425050cc9214150460ba8bf4b7e08253eff572fc87fea107230e477966f4b05bf18bd3a875a17a0a2a8871587419026c882c0c3bbcd42e6eb6ce8f896d4f28a11e7f295638a29bf7e2ac084d95ded09291cb4b4411386f538ff1171d17fd9a5eb66109f29347b1d4f573acddac8c69>
 to report this email as spam.



________________________________

This email has been scanned for spam and viruses by Proofpoint Essentials. 
Click 
here<https://us3.proofpointessentials.com/app/report_spam.php?mod_id=11&mod_option=logitem&report=1&type=easyspam&k=k1&payload=53616c7465645f5f4d28854bde188cf1be2f6c5c0b4bde6fcb2706d2016664adc7268a4d83e0618c9d7245a7fa224719647d454ef7a802c34d7fec967d05d439fa1c5df62ca6b1c41560252a4c8ec4091109ad2260d063f00722d48b0243901fbc7990b22a524468668ea1f1a6ad34c7373666a54aee6c4e359e8cbf6c94365f79e1b5c5589c9a44c47a8301c3dfd4475a9390746532995a0aea18232edfad46>
 to report this email as spam.
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

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

Reply via email to