Re: [Geoserver-users] Dynamic filter by user

2013-07-17 Thread Andrea Aime
On Wed, Jul 17, 2013 at 4:17 AM, dapriett dprie...@gmail.com wrote: Hello, I setup a PostGIS data store and layer containing geometries created by users. Based on the user accessing the layer, I would like to force a filter within geoserver in order to only return features they own. Where

Re: [Geoserver-users] application schema error

2013-07-17 Thread Ben Caradoc-Davies
[Please keep discussions on-list] Pu, are your schemas in paths relative to the schemas/catalog.xml? Such as data_dir/schemas/cgiutilities/ ? Does GeoServer still complain about geosciml.org on startup? I think you are missing several rewrite rules; I recommend one per host so I count four.

Re: [Geoserver-users] application schema error

2013-07-17 Thread Ben Caradoc-Davies
On 17/07/13 14:30, Ben Caradoc-Davies wrote: I think you are missing several rewrite rules; I recommend one per host so I count four. Off-by-one: it is only three. I have attached a corresponding catalog.xml; store your schemas under data_dir/schemas. Once you have your schemas in this tree

[Geoserver-users] Performance issue with App-schema

2013-07-17 Thread Eero
Hi everybody, I am using Postgresql/PostGIS database as datastore and I use App-schema plugin to bring the data to INSPIRE-schema. I have a problem with larger data sets with performance. When I do the WFS query with parameter count=1 for data set with 20 rows, it takes almost 20 seconds

Re: [Geoserver-users] Performance issue with App-schema

2013-07-17 Thread Ben Caradoc-Davies
Eero, is your source table denormalised? That is, does it have multiple rows for each feature? This may prevent efficient operation. How long do your simple feature queries take if you use startindex=0count=1 (this will trigger the sorting required for stable paging)? Note that app-schema

Re: [Geoserver-users] Performance issue with App-schema

2013-07-17 Thread Eero
Hi Ben, Thank you for the answer. The table is denormalised. The column I am using as Id is table's primary key and unique. I have also indexed the table according to that. Inserting this startindex=0 to the query doesn't affect the query time. The query time is almost the same (about 20

Re: [Geoserver-users] Image pyramid layer 0 not drawing at all scales

2013-07-17 Thread Admire Nyakudya
*I have a set of aerial imagery which I processed and made a pyramid and they render fine except some of the images do not draw at all levels. Level 0 images do not draw in certain sections and the stack trace produced is given below:* 2013-07-17 11:32:00,488 DEBUG [gce.imagemosaic] - Loading

Re: [Geoserver-users] Performance issue with App-schema

2013-07-17 Thread Ben Caradoc-Davies
Eero, are you able to use normalised tables and feature chaining? Denormalised tables will result in slower performance. Kind regards, Ben. On 17/07/13 18:04, Eero wrote: Hi Ben, Thank you for the answer. The table is denormalised. The column I am using as Id is table's primary key and

Re: [Geoserver-users] Performance issue with App-schema

2013-07-17 Thread Eero
Hi, sorry, I misunderstood the term denormalised. In my table there are no multiple rows for the each feature. Table is quite simple, every feature has an own line and including some information for those (columns are: feature id, name, area (in ha), geometry, date etc.). So I think it is

Re: [Geoserver-users] SLD: open arrow on center of end segment?

2013-07-17 Thread Roel De Nijs
Jonathan, Thanks! That was the missing piece of the puzzle. Works like a charm! Regards, Roel Van: Jonathan Moules [mailto:jonathanmou...@warwickshire.gov.uk] Verzonden: dinsdag 16 juli 2013 17:43 Aan: Roel De Nijs CC: geoserver-users@lists.sourceforge.net Onderwerp: Re: [Geoserver-users] SLD:

[Geoserver-users] BarnesSurface with elevation data

2013-07-17 Thread Jule
Hi, I am using HGT data to serve raster elevation tiles. My aim is to serve smooth over-sampled raster thanks to BarnesSurface transform. Why BarnesSurfaces? I've tried to set Publishing Interpolation Methods Default Interpolation Method at layer level to bilinear or bicubic but this parameter

[Geoserver-users] Cadcorp's Web Map Layers

2013-07-17 Thread cookjo
Hello all, We have asked the developers (Cadcorp) whether or not their Web Map Layers product can comsume GeoWebCache (intergrated with GeoServer) cached tiles. They replied... ...Web Map Layers will support two flavours of tile cache, Disk and GoogleDisk. More information on both can be seen

[Geoserver-users] geoserver REST api, get map raster

2013-07-17 Thread Krystian
does anybody know, can I retrieve by REST service in GeoServer an raster representation of layer? Just like in for ex. ArcGIS REST Api:when I send:

Re: [Geoserver-users] Cadcorp's Web Map Layers

2013-07-17 Thread Jonathan Moules
Hi John, Unfortunately I have some experience with CadCorp - I'd punt it back to the support desk and ask them if they support the TMS 1.0.0, WTMS 1.0.0 or WMS-C 1.1.1 OGC standards. These are are all supported by GeoServer. Their adverts like to say they support OGC standards so I'd hope the

Re: [Geoserver-users] geoserver REST api, get map raster

2013-07-17 Thread Andrea Aime
On Wed, Jul 17, 2013 at 1:25 PM, Krystian pruszynski.kryst...@gmail.comwrote: does anybody know, can I retrieve by REST service in GeoServer an raster representation of layer? Just like in for ex. ArcGIS REST Api: when I send:

Re: [Geoserver-users] geoserver REST api, get map raster

2013-07-17 Thread Jonathan Moules
Hi Krystian, That should be possible with a standard WMS request. For example the following creates a PNG of our 1:50k OS raster:

Re: [Geoserver-users] geoserver REST api, get map raster

2013-07-17 Thread Krystian
thank you for quick replay. Yes, i know I can do it via WMS interface, but this solution would need some server-based coding for parsing XML response and so on... and my application is pure JavaScript and I've just implemented REST API and just wondering how to connect it to geoserver... so if

Re: [Geoserver-users] geoserver REST api, get map raster

2013-07-17 Thread Andrea Aime
On Wed, Jul 17, 2013 at 2:00 PM, Krystian pruszynski.kryst...@gmail.comwrote: thank you for quick replay. Yes, i know I can do it via WMS interface, but this solution would need some server-based coding for parsing XML response and so on... and my application is pure JavaScript and I've

[Geoserver-users] SLD: WellKnownName based on property?

2013-07-17 Thread Roel De Nijs
Is it possible to have the WellKnownName of a mark be dependent on a property name (or using the recode filter function)? Based on a few experiments I think it's not possible... Volg Aquafin op Facebookhttps://www.facebook.com/AquafinNV |

Re: [Geoserver-users] SLD: WellKnownName based on property?

2013-07-17 Thread Roel De Nijs
If it's possible, that would be really great for simplifying our 3000+ line SLDs. One of the things I tried, was the following code but that doesn't work WellKnownName ogc:Function name=Recode ogc:PropertyNamenode_type/ogc:PropertyName

Re: [Geoserver-users] SLD: WellKnownName based on property?

2013-07-17 Thread Andrea Aime
On Wed, Jul 17, 2013 at 4:36 PM, Roel De Nijs roel.den...@aquafin.bewrote: Is it possible to have the WellKnownName of a mark be dependent on a property name (or using the recode filter function)? Based on a few experiments I think it’s not possible… Hmm... no, it is actually possible.

[Geoserver-users] GetFeatureInfo freemarker template issue

2013-07-17 Thread Gavin Fleming
Hi all I've been successfully using a content.ftl template until a few days ago when it suddenly stopped working. (footer.ftl and header.ftl are present but are intentionally empty). Instead, GetFeatureInfo requests are being returned with the default template and there is nothing obvious in

Re: [Geoserver-users] Cadcorp's Web Map Layers

2013-07-17 Thread Simone Giannecchini
Dear John, I second what Jonathan says, I am afraid those formats are kind of proprietary, hence you'd need to push them to check support for OGC standards. On Wed, Jul 17, 2013 at 1:36 PM, Jonathan Moules jonathanmou...@warwickshire.gov.uk wrote: I don't think GeoServer/GWC supports any other

[Geoserver-users] Server-specific configuration without changing WAR file

2013-07-17 Thread Darren Hardy
Hi, Is there a convention for added server-specific configuration (e.g., database resources, etc.) without having to alter the WAR file? I'm trying to do a deployment across a few headless Linux servers, and right now, I have to replace the WEB-INF/config*.xml files. I'm able to do a

Re: [Geoserver-users] Performance issue with App-schema

2013-07-17 Thread Rini Angreani
Hi Eero, Geoff Williams is working on a solution for this issue, and I believe he is close to finishing. Watch this issue: https://jira.codehaus.org/browse/GEOT-4510 Cheers Rini -- View this message in context: