[Geoserver-users] SLD for styling RGB raster as grayscale

2019-01-08 Thread Jon Britton
this using an SLD without pre-processing the data? The image is RGB. Thanks, Jon Jon Britton Software Engineer, Delivery Team 0121 232 8007 07920101956 jon.brit...@field-dynamics.co.uk [cid:image746c03.PNG@3a69d2d9.448bc7ba]<http://www.field-dynamics.co.uk> <http://www.lin

Re: [Geoserver-users] Uploading Coverages via REST API

2013-04-12 Thread Jon Britton
Hi Otto, I'm not using Curl, but I've successfully uploaded a coverage to GeoServer using this code: https://github.com/deadpassive/smartwps/blob/master/smartwps-base/src/main/java/uk/ac/glam/smartwps/base/server/GeoServerREST.java Please refer to the uploadCoverage method. Jon On 12 April

Re: [Geoserver-users] Styling layer styles with REST

2013-01-28 Thread Jon Britton
GeoServer does in this case, but it's conceivable that it would blank out the style list. -- David Winslow OpenGeo - http://opengeo.org/ On Sun, Jan 27, 2013 at 5:40 AM, Jon Britton jonbritt...@gmail.comwrote: Hi guys, A while ago I was using REST to allow a layer to use any style. To do

[Geoserver-users] Setting layer styles with REST

2013-01-23 Thread Jon Britton
Hi guys, A while ago I was using REST to allow a layer to use any style. To do this I was retrieving the XML for all styles from: http://localhost:8080/geoserver/rest/styles.xml I was then wrapping this XML like: layer!-- styles xml--/layer and PUTting it to:

Re: [Geoserver-users] GeoServer as Coverage Portrayal Service?

2012-01-25 Thread Jon Britton
anyway! Thanks, Jon On 25 January 2012 12:57, Andrea Aime andrea.a...@geo-solutions.it wrote: On Wed, Jan 25, 2012 at 12:27 PM, Jon Britton jonbritt...@googlemail.comwrote: Hi, I can't find anything in the docs about this, but can GeoServer currently be used a coverage portrayal service

[Geoserver-users] How to create a simple raster SLD?

2011-08-25 Thread Jon Britton
Hi guys, I was wondering if anybody could help me. I want to create a basic raster style which stretched black-to-white between a rasters min and max value. Is this possible? I'm trying to visualise outputs from WPS requests and the default styles just aren't enough. Cheers, Jon

Re: [Geoserver-users] How to create a simple raster SLD?

2011-08-25 Thread Jon Britton
Doesn't that need to be used along with actual image values? I don't know what the range of values in the image will be... Thanks, Jon On 25 August 2011 20:12, Edward Mac Gillavry emacgilla...@hotmail.comwrote: Isn't this handled by the ContrastEnhancement option Normalize of the

[Geoserver-users] How do I get WCS 1.1.1 to return a coverage?

2011-08-10 Thread Jon Britton
Hi, I'm trying the following GetCoverage request: http://li199-25.members.linode.com:8080/geoserver/wcs?SERVICE=WCSVERSION=1.1.1REQUEST=GetCoverageIDENTIFIER=sf:sfdemBOUNDINGBOX=589980.0,913700.0,609000.0,4928010.0,urn:ogc:def:crs:EPSG::26713FORMAT=geotiff However, it isn't returning a

[Geoserver-users] WCS GetCoverage exception - The specified dimensional parameter is non-positive

2011-08-10 Thread Jon Britton
Hi guys, I'm trying to carry out a GetCoverage request, but keep getting the following response: ows:ExceptionReport xmlns:ows=http://www.opengis.net/ows/1.1; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; version=1.1.0 xsi:schemaLocation=http://www.opengis.net/ows/1.1

[Geoserver-users] How do I get WCS 1.1.1 to return a coverage?

2011-08-09 Thread Jon Britton
Hi, I'm trying the following GetCoverage request: http://li199-25.members.linode.com:8080/geoserver/wcs?SERVICE=WCSVERSION=1.1.1REQUEST=GetCoverageIDENTIFIER=sf:sfdemBOUNDINGBOX=589980.0,913700.0,609000.0,4928010.0,urn:ogc:def:crs:EPSG::26713FORMAT=geotiff However, it isn't returning a

[Geoserver-users] Problems parsing DescribeCoverage response - wcs:AnyValue?

2011-08-05 Thread Jon Britton
Hi, I have generated Java classes using the WCS 1.1.1 schema and EMF and now I'm trying to parse a DescribeCoverage response. Unfortunately, I'm having trouble with wcs:AnyValue, which is part of Range. It seems that this should actually be ows:AnyValue. This is confirmed by the fact that if I

[Geoserver-users] urn:x-ogc vs urn:ogc

2011-07-20 Thread Jon Britton
Hi guys, I'm trying to use WFS 1.1.0 as an input into a WPS process (using 52North WPS). However, it seems to have trouble with the SRS URN that GeoServer uses, which is causing problems with axis ordering. According to the 52North guys, GeoServer should use ogc instead of x-ogc (they referred me

Re: [Geoserver-users] What web host provider to people recommend to install and run Geoserver?

2011-06-23 Thread Jon Britton
I'm currently using Linode and haven't had any problems with it - although I'm not the one paying for it... Jon On 23 June 2011 14:40, Brian Denzer brianden...@gmail.com wrote: AWS is my preference, and I was able to get an instance running there -- but it appears that a medium-sized account

[Geoserver-users] GeoServer REST + 52north WPS

2011-06-16 Thread Jon Britton
Hi, I'm using the 52north WPS, which can automatically send process outputs to GeoServer using the REST interface. Unfortunately I'm having trouble with adding a shapefile, shown in the logs below. What does the error Could not find appropriate shp file in archive mean? Any help would be

[Geoserver-users] Uploading GML file using REST

2011-06-13 Thread Jon Britton
Hi, I want to create a new datastore with a GML file. I've looked at the example for Shapefiles, but can't see how this would work for GML. For example, what do I set the 'extension' parameter to? Thanks, Jon --

Re: [Geoserver-users] Uploading GML file using REST

2011-06-13 Thread Jon Britton
Hmm, thats unfortunate. Since my client is using GeoTools anyway, I suppose I could just convert the XML to Shapefile (or something else maybe) before uploading it. Thanks anyway, Jon On 13 June 2011 16:40, Andrea Aime andrea.a...@geo-solutions.it wrote: On Mon, Jun 13, 2011 at 5:09 PM, Jon

[Geoserver-users] Problems parsing WMS GetCapabilities response using GeoTools

2011-06-09 Thread Jon Britton
Hi, I'm using GeoTools 2.6.1 and GeoServer 2.1.0. For some reason, when I try and access my WMS (located at http://li199-25.members.linode.com:8080/geoserver/) GeoTools throwns a load of errors (shown below). The strange thing is, when I try my local version of GeoServer (also 2.1.0) it works

Re: [Geoserver-users] General Question

2011-06-09 Thread Jon Britton
KML is a data format, it actually stores the geographic data. SLD is just for styling. Jon On 9 June 2011 12:50, Sila Khan silasharm...@gmail.com wrote: i am going to ask a very general Question you all might consider it a stupid one but i am asking. What is the difference between KML and

Re: [Geoserver-users] [Geotools-gt2-users] Problems parsing WMS GetCapabilities response using GeoTools

2011-06-09 Thread Jon Britton
should look at your capabilities file and check that line... (when I look at that capabilities file it is all on one line). Perhaps you could do a diff between your local capabilities and that produced by the remote service? -- Jody Garnett On Thursday, 9 June 2011 at 9:58 PM, Jon Britton wrote

Re: [Geoserver-users] [Geotools-gt2-users] Problems parsing WMS GetCapabilities response using GeoTools

2011-06-09 Thread Jon Britton
Yeh, I'm using Tomcat 6.0.28 so maybe that's it. I'll try the solutions listed there. Thanks, Jon On 9 June 2011 15:07, Andrea Aime andrea.a...@geo-solutions.it wrote: On Thu, Jun 9, 2011 at 3:56 PM, Jon Britton jonbritt...@googlemail.com wrote: I think I've found the problem. I thought

Re: [Geoserver-users] [Geotools-gt2-users] Problems parsing WMS GetCapabilities response using GeoTools

2011-06-09 Thread Jon Britton
Tried the first solution in the link and it seems to have worked. Thanks! On 9 June 2011 15:07, Andrea Aime andrea.a...@geo-solutions.it wrote: On Thu, Jun 9, 2011 at 3:56 PM, Jon Britton jonbritt...@googlemail.com wrote: I think I've found the problem. I thought it was working using

Re: [Geoserver-users] WFS requests via OpenLayers - incomplete response XML

2011-06-07 Thread Jon Britton
-solutions.it wrote: On Thu, Jun 2, 2011 at 4:24 PM, Jon Britton jonbritt...@googlemail.com wrote: Hi Andrea, The logs seem fine, just looks like a normal WFS request. I tried it with verbose logging and it shows this: 02 Jun 14:21:00 DEBUG [geoserver.filters] - filtering http://li199

Re: [Geoserver-users] WFS requests via OpenLayers - incomplete response XML

2011-06-07 Thread Jon Britton
I've just tried it using Firefox and it's also working. Previously I was using Google Chrome, so I guess that's probably where the problem lies. Thanks, Jon On 7 June 2011 15:20, Andrea Aime andrea.a...@geo-solutions.it wrote: On Tue, Jun 7, 2011 at 4:13 PM, Jon Britton jonbritt

Re: [Geoserver-users] WFS requests via OpenLayers - incomplete response XML

2011-06-02 Thread Jon Britton
typeName=sf:streams srsName=EPSG:4326//wfs:GetFeature I'm using GeoServer 2.0.2 by the way. Thanks, Jon On 2 June 2011 15:02, Andrea Aime andrea.a...@geo-solutions.it wrote: On Thu, Jun 2, 2011 at 1:23 PM, Jon Britton jonbritt...@googlemail.com wrote: Hi, I'm trying to add a WFS layer to my

Re: [Geoserver-users] What is wcs used for?

2011-03-09 Thread Jon Britton
It provides access to raw raster data (WMS only gives you rendered images, like JPG, which are useless for anything but visualisation). Unfortunately OpenLayers doesn't support it. Jon On 9 March 2011 16:58, Robert Buckley robertdbuck...@yahoo.com wrote: Hi, Up until now I have only used wfs

Re: [Geoserver-users] Uploading a coverage with REST

2011-02-22 Thread Jon Britton
/restconfig/rest-config-api.html#coverage-stores you have to use file.geotiff and send the file data in the PUT request. Cheers, Emanuele Alle 12:37:14 di lunedì 21 febbraio 2011, Jon Britton ha scritto: Hi, I've currently got some code which creates a new coveragestore and coverage using

[Geoserver-users] Uploading a coverage with REST

2011-02-21 Thread Jon Britton
Hi, I've currently got some code which creates a new coveragestore and coverage using REST. It doesn't actually upload the coverage, but instead links Geoserver to its current location on disk. How would I change this so that it actually uploads the file to geoserver? My code is shown below (it

[Geoserver-users] GeoServer hosting

2011-01-13 Thread Jon Britton
Hi guys, I need to run a public instance of GeoServer (and possibly also 52 North WPS, probably on the same server) for testing. I don't need it to handle an large loads as I'll probably be the only person using it. I just want to shove a load of landsat images on there and make some WMS/WCS

[Geoserver-users] Getting a list of WMS styles

2010-11-23 Thread Jon Britton
Hi, Is there any way of retrieving a list of all styles from the service without using REST? I want to be able to switch between styles from the client side. Thanks, Jon -- Increase Visibility of Your 3D Game App Earn

Re: [Geoserver-users] WCS 1.0.0 GetCoverage in native resolution

2010-11-15 Thread Jon Britton
Hi Andrea, I've tried using 2.1 beta1 and it seems to work ok. Thanks, Jon /ServiceException/ServiceExceptionReport On 14 November 2010 08:57, Andrea Aime andrea.a...@geo-solutions.it wrote: On Wed, Nov 10, 2010 at 4:48 PM, Jon Britton jonbritt...@googlemail.com wrote: I've decided

[Geoserver-users] GetCoverage request using RESX and RESY causes exception

2010-11-11 Thread Jon Britton
Hi, I posted this problem as a reply to a not-entirely-relevant email, so I thought I'd send it again to reach a wider audience. I'm trying to make a GetCoverage request with a 10 metre resolution. However, I can't get my request to work with GeoServer. For example, the following request:

Re: [Geoserver-users] WCS 1.0.0 GetCoverage in native resolution

2010-11-10 Thread Jon Britton
- -- *Lähettäjä:* mankillseveryth...@googlemail.com [mailto: mankillseveryth...@googlemail.com] *Puolesta *Jon Britton *Lähetetty:* 4. marraskuuta 2010 12:49 *Vastaanottaja:* Rahkonen Jukka *Kopio:* geoserver-users *Aihe:* Re: [Geoserver-users] WCS 1.0.0 GetCoverage

Re: [Geoserver-users] WCS 1.0.0 GetCoverage in native resolution

2010-11-04 Thread Jon Britton
to get 10 meter pixels from the given bounding box. -Jukka- -Alkuperäinen viesti- Lähettäjä: mankillseveryth...@googlemail.com puolesta: Jon Britton Lähetetty: ke 3.11.2010 17:00 Vastaanottaja: Rahkonen Jukka Kopio: geoserver-users Aihe: Re: [Geoserver-users] WCS 1.0.0 GetCoverage

Re: [Geoserver-users] WCS 1.0.0 GetCoverage in native resolution

2010-11-03 Thread Jon Britton
/wcs_server.html. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: Jon Britton [mailto:jonbritt...@googlemail.com] Lähetetty: ti 2.11.2010 18:57 Vastaanottaja: geoserver-users Aihe: [Geoserver-users] WCS 1.0.0 GetCoverage in native resolution Hi, This is more of a WCS question than

[Geoserver-users] WCS 1.0.0 GetCoverage in native resolution

2010-11-02 Thread Jon Britton
Hi, This is more of a WCS question than a GeoServer question, but I thought you guys might know the answer... I want to request a coverage with a requestCRS of EPSG:4326 and a responseCRS of EPSG:32630 (its native projection). I need the image in its native resolution, rather than a fixed width

Re: [Geoserver-users] Bugs when trying to add a coverage using REST

2010-09-22 Thread Jon Britton
Hi again, I've just tried 2.0.2 and it works fine. Sorry for wasting your time, I thought 2.0.1 was the latest stable version! Thanks, Jon On 22 September 2010 11:10, Jon Britton jonbritt...@googlemail.com wrote: Hi Justin. I'm not trying to post a new style, I only want to set the layers

[Geoserver-users] ImagineException: All factories fail for the operation Lookup (2.1 beta)

2010-09-16 Thread Jon Britton
Hi, I've just upgraded to 2.1beta and I'm having an issue making a WMS request for the sf:sfdem dataset. I've been using this dataset to test an application I'm working on and everything was working fine with Geoserver 2.0.1. However, now when I try and make a WMS request all I get are tiles

Re: [Geoserver-users] Bugs when trying to add a coverage using REST

2010-09-15 Thread Jon Britton
. Any ideas? Jon On 8 September 2010 23:46, Justin Deoliveira jdeol...@opengeo.org wrote: Hi Jon, Can you share the XML you are posting to set the default style? -Justin On Tue, Sep 7, 2010 at 2:17 PM, Jon Britton jonbritt...@googlemail.comwrote: Hi, I'm using REST to add a coverage

[Geoserver-users] Bugs when trying to add a coverage using REST

2010-09-07 Thread Jon Britton
Hi, I'm using REST to add a coverage to Geoserver (2.0.1) and then make it available as a WMS layer. When the layer is created it is given a default style (raster) and works just fine. Just to be certain, I also set it's default style using REST and in doing so discovered the first bug -

[Geoserver-users] Setting a layers default style using REST

2010-08-26 Thread Jon Britton
Hi, I'm currently using the REST API to add a GeoTiff to GeoServer. However, when I try and access it using WMS it doesn't work because it has no default style. The only way I can think of is to GET the layers XML, add the default style then PUT the XML back. This would require some XML