Thanks, sorry I got confused about which user list. The geotools instructions are easier to follow in any case :)
Jody Garnett On Wed, Aug 13, 2014 at 1:23 AM, Ben Khoo <b...@gaiaresources.com.au> wrote: > Thanks Jody, > > The ticket number is http://jira.codehaus.org/browse/GEOS-6606 > > ------------------------------------ > Ben Khoo > Gaia Resources > p +61 8 9227 7309 > w www.gaiaresources.com.au > e ben.k...@gaiaresources.com.au > > ----- Original Message ----- > From: "Jody Garnett" <jody.garn...@gmail.com> > To: "Ben Khoo" <b...@gaiaresources.com.au>, "geotools > geotools-gt2-users@lists.sourceforge.net" < > geotools-gt2-users@lists.sourceforge.net> > Sent: Wednesday, 13 August, 2014 12:31:40 PM > Subject: Re: [Geoserver-devel] Escape whitespace when adding an existing > shapefile > > Hi Ben. > > I am on my phone so it is tricky to give you the link. The step by step > instructions are in the user guide here : > http://docs.geotools.org/latest/userguide/welcome/support.html#issue-tracker > > Be sure to keep discussion on the user list for others, and reporting > issues is a key part of your participation in open source. > > > > > > On Aug 12, 2014, at 7:38 PM, Ben Khoo <b...@gaiaresources.com.au> wrote: > > > > Hi Jody, > > > > Thanks for the response. > > > > I'd be happy to file a ticket for this but I don't have a log in to Jira > in order to create the ticket. Unless there is another mechanism that I am > unaware of ... > > > > Cheers > > Ben > > > > ------------------------------------ > > Ben Khoo > > Gaia Resources > > p +61 8 9227 7309 > > w www.gaiaresources.com.au > > e ben.k...@gaiaresources.com.au > > > > ----- Original Message ----- > > From: "Jody Garnett" <jody.garn...@gmail.com> > > To: "Ben Khoo" <b...@gaiaresources.com.au> > > Cc: "Geoserver-devel" <geoserver-de...@lists.sourceforge.net> > > Sent: Wednesday, 13 August, 2014 1:25:59 AM > > Subject: Re: [Geoserver-devel] Escape whitespace when adding an existing > shapefile > > > > > > Escaping URLs is a common concern that appears almost every time we > touch a file system or URL. :) > > > > > > Please open a new ticket for this one - there should be a "component" > for rest config. > > > > > > > > This month is a great time to help with testing, we have a release > candidate going out next week and would love a hand looking at this (and > any other issues). > > > > > > Jody > > > > > > > > > > > > > > > > > > Jody Garnett > > > > > > On Tue, Aug 12, 2014 at 2:41 AM, Ben Khoo < b...@gaiaresources.com.au > > wrote: > > > > > > Hi, > > > > I think I have found an issue with the Geoserver REST API when it comes > to escaping shapefile names containing a whitespace. > > > > Here is an example, > > > > Using the shapefile attached, execute the following > > > > curl -v -u admin:password -XPUT -H "Content-type: text/plain" -d > "file:///tmp/tasmania roads.shp" > http://localhost:8080/geoserver/rest/workspaces/topp/datastores/test/external.shp > > > > I would expect to see a new layer called "tasmania roads" in a new > datastore called "test" in the "topp" workspace. > > > > The workspace and datastore are fine however the layer is called > "tasmania%20roads". This is turn breaks the layer preview with Geoserver > returning the error, > > "Could not find layer topp:tasmania roads" > > > > I have had a look at the issues currently lodged in Jira and it appears > that there are no open tickets for this issue however the two issues linked > below seem to have the same theme of escaping REST URLs. > > > > http://jira.codehaus.org/browse/GEOS-4140 > > http://jira.codehaus.org/browse/GEOS-3755 > > > > Cheers > > Ben > > > > ------------------------------------ > > Ben Khoo > > Gaia Resources > > p +61 8 9227 7309 > > w www.gaiaresources.com.au > > e ben.k...@gaiaresources.com.au > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Geoserver-devel mailing list > > geoserver-de...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/geoserver-devel > > > > >
------------------------------------------------------------------------------
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users