Re: [Geoserver-users] Pink Tiles When Using WIFI Network

2013-06-25 Thread Shadin
You were right. The internet connection was flaky. Thank you -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Pink-Tiles-When-Using-WIFI-Network-tp5062032p5062220.html Sent from the GeoServer - User mailing list archive at Nabble.com. ---

[Geoserver-users] Issue with PostGIS/PostgreSQL connection pooling and min_connections set to 0.

2013-06-25 Thread David Niedzielski
Using GeoServer 2.2.1 and 2.3 with a large number of PostGIS-backed datastores under TomCat 6.2.These stores are rarely used, so we'd like them to not tie up a PostgreSQL connection until one is actually needed. Thus, we set min_connections=0 in the datastore.xml associated with each store. In

Re: [Geoserver-users] Custom filter function ?

2013-06-25 Thread brking
I'm sorry but I'm just not getting this. I created a new maven project, added the Geotools references (9.3) and created a function class similar to this: https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/filter/function/string/ConcatenateFunction.java

Re: [Geoserver-users] SLD - using the if_then_else as an else-if

2013-06-25 Thread Jonathan Moules
Hi David, Your in3 example worked perfectly as far as I can see. Suddenly looking at how simple the CSS is, your CSS module is looking quite tempting. :-) Many thanks! Andrea: It's for a text symbolizer. Thanks for the clarification though. Jonathan On 25 June 2013 17:01, David Winslow wrote

Re: [Geoserver-users] How to pass parameters to Geoserver Heatmap SLD

2013-06-25 Thread Nikolai Bock
The weightAttr is a optional parameter of the heatmap wps process. When given no valid value, he uses a weight value of 1 for every point. The pixelsPerCell attribute is for performance issues. Its the resolution of the heatmap. Default of the wps process is 1. This is the best resolution but th

Re: [Geoserver-users] SLD - using the if_then_else as an else-if

2013-06-25 Thread Andrea Aime
On Tue, Jun 25, 2013 at 5:46 PM, Jonathan Moules < jonathanmou...@warwickshire.gov.uk> wrote: > Hi List, > While waiting on an answer to my other thread, I decided to try and > tackle the anchor problem. I came up with the following which, in theory at > least, seems like it should work to get m

Re: [Geoserver-users] SLD - using the if_then_else as an else-if

2013-06-25 Thread David Winslow
The if_then_else function is a bit of a hack, and has corresponding test functions (like equals()) that must be used with it instead of the normal Filter elements (SLD disallows Filters as children of Expressions.) See this gist (including an SLD style and the CSS I used to generate it): https://g

Re: [Geoserver-users] SLD Filter function help

2013-06-25 Thread Jonathan Moules
Oooh, I'll have to remember that trick (multiply by -1 to invert). Why yes I barely scraped through maths at school ;-) . That should do exactly what I want. Thanks muchly! Jonathan On 25 June 2013 16:45, Andrea Aime wrote: > On Tue, Jun 25, 2013 at 5:23 PM, Jonathan Moules < > jonathanmou..

[Geoserver-users] SLD - using the if_then_else as an else-if

2013-06-25 Thread Jonathan Moules
Hi List, While waiting on an answer to my other thread, I decided to try and tackle the anchor problem. I came up with the following which, in theory at least, seems like it should work to get my se:AnchorPointY: Pseudocode version: If ANCHOR_PT == 0, 3 or 6 > return 0 > else if ANCHOR_PT

Re: [Geoserver-users] SLD Filter function help

2013-06-25 Thread Andrea Aime
On Tue, Jun 25, 2013 at 5:23 PM, Jonathan Moules < jonathanmou...@warwickshire.gov.uk> wrote: > Hi List, > I have a property that contains orientation for a label, unfortunately > it's the wrong way (wouldn't it be nice if everyone just used the same > convention for orienting and anchoring?). So

[Geoserver-users] SLD Filter function help

2013-06-25 Thread Jonathan Moules
Hi List, I have a property that contains orientation for a label, unfortunately it's the wrong way (wouldn't it be nice if everyone just used the same convention for orienting and anchoring?). So where my data has "90" it should be pointing upward, but GeoServer points this downwards. Filter Funct

Re: [Geoserver-users] Custom filter function ?

2013-06-25 Thread brking
Great, so per one of your other posts on this, I do not need to create the factory ? http://osgeo-org.1560.x6.nabble.com/SLD-time-functions-td5042909.html thanks -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Custom-filter-function-tp5062121p5062134.html Sent from the Ge

Re: [Geoserver-users] Custom filter function ?

2013-06-25 Thread Andrea Aime
On Tue, Jun 25, 2013 at 4:27 PM, brking wrote: > I'm a new user of GeoServer. I need to create a custom filter function, but > the information I have found seems to all be for GeoTools. Being a newbie, > it's not clear to me if this applies to GeoServer as well. If anyone can > point me to some c

[Geoserver-users] Custom filter function ?

2013-06-25 Thread brking
I'm a new user of GeoServer. I need to create a custom filter function, but the information I have found seems to all be for GeoTools. Being a newbie, it's not clear to me if this applies to GeoServer as well. If anyone can point me to some clear instructions or tutorial no creating a custom filter

Re: [Geoserver-users] How to pass parameters to Geoserver Heatmap SLD

2013-06-25 Thread apaleja
Thank you Nikolai. It is working. I am testing it and if you can guide me in this matter also. Nikolai Bock wrote > > > > > weightAttr > > > > > > weightAttr > > > > population > >

[Geoserver-users] MultiLineString in Postgis through REST

2013-06-25 Thread Anton
I am trying to create a new MultiLineString feature type in Postgis through the REST interface. I do a post request with roads.xml to: Roads.xml looks like this: This creates a new feature type with a the_geom attribute of type Point. However the_geom attribute should be of type MultiLineString.

Re: [Geoserver-users] How to pass parameters to Geoserver Heatmap SLD

2013-06-25 Thread Nikolai Bock
With this SLD it should be possible to change the attributes with the env parameter: http://www.opengis.net/sld StyledLayerDescriptor.xsd" xmlns="http://www.opengis.net/sld"; xmlns:ogc="http://www.opengis.net/ogc"; xmlns:xlink="http://www.w3.org/1999/xlink"; x

Re: [Geoserver-users] app-schema query fails with org.geotools.feature.NameImpl cannot be cast to org.opengis.feature.type.AttributeDescriptor

2013-06-25 Thread Ben Caradoc-Davies
Marcus, I think this failure should now be fixed on master: https://jira.codehaus.org/browse/GEOT-4471 Please try a nightly build older than this email. Kind regards, Ben. On 15/05/13 23:02, Sen, Marcus A. wrote: > I have been testing some queries to a complex feature service using > app-schem

[Geoserver-users] Upload H2 database with REST API

2013-06-25 Thread jose garcia
Hi I'm trying to upload a H2 database to an existing PostGIS datastore using the REST API. $ curl -u admin:XX -v -XPUT -H "Content-type: h2" --data-binary @myfirstjaspadb.h2 http://localhost:8080/geoserver/rest/workspaces/postgis/datastores/postgis/file.h2 But the data is not loaded in pos

Re: [Geoserver-users] How to pass parameters to Geoserver Heatmap SLD

2013-06-25 Thread apaleja
Yes Andrea, It is a map of the cities in California. It should be true. I haven't noticed that San Francisco and Los Angeles are the biggest concentration. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-pass-parameters-to-Geoserver-Heatmap-SLD-tp5061851p5062057.h

Re: [Geoserver-users] How to pass parameters to Geoserver Heatmap SLD

2013-06-25 Thread Andrea Aime
On Tue, Jun 25, 2013 at 10:56 AM, apaleja wrote: > > Also I think this SLD is not giving proper result. Please check out the > image attached. Red dots are Points. But underlying heatmap is not as per > weighted attribute. > > heatmap.png

Re: [Geoserver-users] How to pass parameters to Geoserver Heatmap SLD

2013-06-25 Thread apaleja
Also I think this SLD is not giving proper result. Please check out the image attached. Red dots are Points. But underlying heatmap is not as per weighted attribute. heatmap.png -- View this message in context: http://osgeo-or

Re: [Geoserver-users] Pink Tiles When Using WIFI Network

2013-06-25 Thread Jonathan Moules
Hi Pink tiles means that OpenLayers is unable to get the tiles it wants. This could be either because the GeoServer is broken, the layers are wrongly set up on the server, or (probably in this case as it only happens on wifi), the internet connection is flaky. Jonathan On 25 June 2013 09:08, Sh

Re: [Geoserver-users] How to pass parameters to Geoserver Heatmap SLD

2013-06-25 Thread apaleja
Here my my SLD. I have done any changes in it except weightAttr Name. http://www.opengis.net/sld StyledLayerDescriptor.xsd" xmlns="http://www.opengis.net/sld"; xmlns:ogc="http://www.opengis.net/ogc"; xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:xsi="http://www

Re: [Geoserver-users] How to pass parameters to Geoserver Heatmap SLD

2013-06-25 Thread Nikolai Bock
Okay, please send your SLD definition, there has to be something wrong. Am 24.06.2013 20:02, schrieb apaleja: > NO, there is no changes in result by changes in output. > -- This SF.net email is sponsored by Windows: Buil

[Geoserver-users] Pink Tiles When Using WIFI Network

2013-06-25 Thread Shadin
Hello all, I am loading my maps through GeoServer using WMS in openlayers. Everything is going well. However sometimes when I load the maps using wifi network i get pink tiles generated. Can anyone explain me why? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Pink-Tiles