Re: [Geoserver-users] WPS gs:Aggregate and strMatches problem

2022-06-09 Thread emmexx
On 6/9/22 6:00 PM, Ian Turton wrote: > I went ahead a made a report - > https://osgeo-org.atlassian.net/browse/GEOT-7161 Thank you. And thank you for the Like workaround but I'm not sure it can work in my case. maxx ___ Geoserver-users

Re: [Geoserver-users] WPS gs:Aggregate and strMatches problem

2022-06-09 Thread emmexx
On 6/9/22 12:19 PM, Ian Turton wrote: > That looks like an SQL error message - can you turn on > GEOTOOLS-DEVELOPER logging and try again, then post the relevant part of > the log file - it should include the actual SQL being sent to the database. > And if you could mention the type of database

[Geoserver-users] WPS gs:Aggregate and strMatches problem

2022-06-09 Thread emmexx
I want to use WPS Aggregation process to get a pivot table based on some attribute for a subset of the features of a layer. [https://docs.geoserver.org/latest/en/user/services/wps/processes/gs.html#aggregation-process] I started with a simple gs:CollectGeometries:

Re: [Geoserver-users] Error 403 creating workspaces, stores, layers...

2022-02-05 Thread emmexx
On 2/3/22 9:21 AM, emmexx wrote: > I checked web.xml of geoserver and tomcat, server.xml of tomcat but I > couldn't find any meaningful difference between the 2 servers. I found out what's the difference between the 2 setups: CORS. The production server had CORS enabled in conf/w

Re: [Geoserver-users] Error 403 creating workspaces, stores, layers...

2022-02-03 Thread emmexx
On 2/1/22 9:03 AM, emmexx wrote: > wicket links or buttons take to a white page or have no UI response. > The response to POSTs commands result in a 403 error. I found out what is the difference between the production server where I get the 403 error and the test server where geoserver is w

Re: [Geoserver-users] Error 403 creating workspaces, stores, layers...

2022-02-01 Thread emmexx
On 2/1/22 9:32 AM, Brad Hards wrote: > Its far from clear what you did to get here - you've sent several emails over > the last month or so, without much linkage between them. Some of the issues > looked like you had a resolution, maybe others not. I'm not sure what you're talking about, I

Re: [Geoserver-users] Error 403 creating workspaces, stores, layers...

2022-02-01 Thread emmexx
I made some more tests to understand who is the culprit. wicket links or buttons take to a white page or have no UI response. The response to POSTs commands result in a 403 error. E.g.: I go to Geoerver logs page anche click on the Refresh link. The browser goes to the following empty page:

Re: [Geoserver-users] Error 403 creating workspaces, stores, layers...

2022-01-31 Thread emmexx
On 1/30/22 4:18 PM, Alexandre Gacon wrote: > Also have a look > on https://docs.geoserver.org/stable/en/user/installation/upgrade.html Yes, I know that page. :-) I tried to installa geoserver on a vps similar to the one where I have problems (but it's not a clone). I added a reference to my data

Re: [Geoserver-users] Error 403 creating workspaces, stores, layers...

2022-01-30 Thread emmexx
On 1/30/22 3:06 PM, Alexandre Gacon wrote: > Did you try your new install first with the default configuration or did > you use the configuration you got before? I don't remember. Probably I installed Geoserver, checked if the administrative panel was working and then imported my old installation

[Geoserver-users] Error 403 creating workspaces, stores, layers...

2022-01-30 Thread emmexx
I moved and updated geoserver to another server and everything seemed to work fine: WMS, WFS are ok, I can add or update features using WFS-T (in qgis). Now I wanted to add a new postgis layer but nothing happens in the administrative panel when I select the store from the dropdown. If I check

Re: [Geoserver-users] WPS and CORS

2021-11-06 Thread emmexx
On 11/5/21 3:44 PM, Olivier Gagnon wrote: > Add this under it _TO ALLOW ANY ORIGIN (*)._ Once CORS problem is out of > the way, you should replace the * under > cors.allowed.origins with the specific domains > seperated by commas that you want to let go through CORS protection : Adding all the

Re: [Geoserver-users] WPS and CORS

2021-11-05 Thread emmexx
On 11/5/21 2:38 PM, emmexx wrote: > I added the cors filter and commented it in the geoserver web.xml but > geoserver is not starting. I had copied the filter code from the geoserver documentation that has: cross-origin Tomcat Cors documentation has: CorsFilter Not sure if that mak

Re: [Geoserver-users] WPS and CORS

2021-11-05 Thread emmexx
On 11/5/21 12:52 PM, Olivier Gagnon wrote: > > You can comment everything which is included in Geoserver config files. > > If you're using Tomcat, you have to configure tomcat's config files for > CORS : Tomcat xxx\conf\web.xml > > Search for the string "filter" or "cors". You should find a

Re: [Geoserver-users] WPS and CORS

2021-11-05 Thread emmexx
On 11/5/21 11:44 AM, Andrea Aime wrote: > Stop right there. The instructions say: > "The standalone distributions of GeoServer include the Jetty application > server." > and then instructions on how to enable it for Jetty follow... the > filters in web.xml > do work only in Jetty, not in Tomcat.

Re: [Geoserver-users] WPS and CORS

2021-11-04 Thread emmexx
On 11/4/21 8:34 PM, br...@frogmouth.net wrote: > Exactly what have you done to enable the filters? Can you show the headers > for the two different calls (not debugger, but actual output, say from wget). I followed the manual:

[Geoserver-users] WPS and CORS

2021-11-04 Thread emmexx
In one web application I use a call to WPS. The call worked ok on an old instance of geoserver 2.8.1 where I had added an external library file and some configuration in web.xml. On a test server I'm using 2.19.0 where, from my understanding, CORS is already there and you only need to enable the

[Geoserver-users] SLD: bridge effect for line

2021-05-05 Thread emmexx
I'd like to draw an additional element when a feature (a road/line) has the property to be a bridge. In maps sometimes that is rendered by adding to the line symbolizer of the feature an additional element that is something like this: https://svgsilh.com/image/145685.html I know how to add the

Re: [Geoserver-users] Using filters

2020-10-13 Thread emmexx
On 10/12/20 7:56 PM, Pablo J. Zader wrote: > But this expression does not work in *geoserver SLD*, the result of > applying the style to my layer is empty, it does not classify any point. > I understand that there is a problem at the geoserver + SLD level. Where > should I report this bug? > I'm

Re: [Geoserver-users] Geoserver Mapfish: how to print in multiple pages?

2018-08-05 Thread emmexx
On 08/04/2018 01:27 PM, faw...@tutamail.com wrote: > Hi all, > > I need to print a large map with a high resolution. > > I wonder is it possible to print such a map in more than one page? and how? > > I've tested the Mapfish Printing Demo that comes with Geoserver admin > page, but it only

Re: [Geoserver-users] List of SLD symbols

2016-10-23 Thread emmexx
On 10/23/2016 06:40 PM, Andrea Aime wrote: > > Those symbols are normally found in TTF libraries (ESRI style, to be > used as marks, > as "ttf://fontName#charcode") or SVG ones, for example the QGIS project > is shipping > a set of such symbols: >

Re: [Geoserver-users] List of SLD symbols

2016-10-23 Thread emmexx
On 10/23/2016 11:21 AM, Brad Hards wrote: > I'm not sure I understand the question, or the problem you are trying to > solve, so if this doesn't make sense, can you try explaining it a bit more? I simply don't know what are the sld well known symbols. I googled for them to no avail. If there's an

[Geoserver-users] List of SLD symbols

2016-10-22 Thread emmexx
Are there other symbols in addition to those listed on the docs (http://docs.geoserver.org/stable/en/user/styling/sld/extensions/pointsymbols.html)? Thank you maxx -- Check out the vibrant tech community on one

Re: [Geoserver-users] WFS transactionUpdateGeometry QGIS problem

2015-12-19 Thread emmexx
Il 12/09/2015 06:07 PM, Andrea Aime scrisse: > > Yes, go ahead. The XML you have is pretty dumb (repeating the default > namespace at every tag > is really overkill) but it looks like it migh be valid. More > investigation needed, but I have no time > to work on it now. > > So yes, open a ticket

Re: [Geoserver-users] WFS transactionUpdateGeometry QGIS problem

2015-12-01 Thread emmexx
Il 11/27/2015 01:05 PM, emmexx scrisse: > The problem seems to be in the Value tag. > If the xml has ... it works. > If I change it to http://www.opengis.net/wfs;>... > I get the aforementioned error. I asked the same question on the qgis users mailing list and received an an

[Geoserver-users] WFS transactionUpdateGeometry QGIS problem

2015-11-27 Thread emmexx
I have a problem when I try to update a multilinestring geometry. I had the same issue in the past, I thought I had solved it but now it is back again. :-( Setup: geoserver 2.7.1 and a test layer connected to a postgis table. I connect to the layer in qgis. I can create a new feature (line), I

[Geoserver-users] WFS versioning

2015-10-16 Thread emmexx
I found in the developer docs reference to a WFS versioning extension. Is it actively developed? Is it usable in a production environment? Is there an alternative versioning system for features? Thank you maxx

Re: [Geoserver-users] crash after disk full

2015-06-15 Thread emmexx
Il 06/15/2015 10:38 AM, Julian Hollingbery scrisse: If it were me, I'd do a fresh install. If the server is important, I'd also learn the importance of backup and configuration management, maybe even surveillance:-) I know. But... I'm not criticizing geoserver developers but I don't know of

Re: [Geoserver-users] crash after disk full

2015-06-15 Thread emmexx
Il 06/15/2015 10:27 AM, Andrea Aime scrisse: I'm afraid to help you one would need to have actual access to your GeoServer installation (which requires a lot of dedicated time, not something normally done on the mailing list). Sorry, I meant to understand how to solve the problem in general,

Re: [Geoserver-users] crash after disk full

2015-06-15 Thread emmexx
Il 06/15/2015 09:01 AM, Andrea Aime scrisse: That said... as far as I know, we only change one file at a time, and fail in case of IO error so... if you have many files corrupted, I may be that you had something that insisted on making changes on the configuration despite the errors, and

Re: [Geoserver-users] crash after disk full

2015-06-15 Thread emmexx
Il 06/15/2015 09:39 AM, Andrea Aime scrisse: Hum... I guess you also have the security directory ruined then? GeoServer stops? It should reach the end of the startup and fail to connect to postgis... The last notification in the geoserver log is the warn I put in my OP. After overwriting the

[Geoserver-users] crash after disk full

2015-06-14 Thread emmexx
After the root partition of the server where an instance of geoserver (2.8 master) is running became full, I'm no more able to run it. Many configuration files are lost (wcs.xml, wfs.xml, wms.xml have zero size), the connections to postgis is no more working and in the geoserver log I found

Re: [Geoserver-users] filter field in cross-layer functions

2015-05-24 Thread emmexx
Il 05/18/2015 04:06 PM, emmexx scrisse: If I want to use WMS I don't even know how to use that filter inside DWITHIN. DWITHIN(the_geom, collectGeometries(queryCollection('sf:roads','the_geom','INCLUDE')), 200, meters). What should I write instead of include? Are CQL functions like

[Geoserver-users] Restricting wfs allowing download of kml files

2015-05-14 Thread emmexx
I followed the boundless tutorial on adding users and restricting access to the geoserver services and data: http://suite.opengeo.org/opengeo-docs/sysadmin/security/multiuser/index.html In the scenario of the tutorial only authenticated users can download data. This is ok for me in general but

[Geoserver-users] Save username in table (postgis)

2015-05-10 Thread emmexx
Is there a way to pass to postgis the name of the geoserver user who is adding or modifying data through WFS? Or that can be accomplished only on client side? thank you maxx -- One dashboard for servers and

Re: [Geoserver-users] Problem with QGis and WFS-T

2015-03-20 Thread emmexx
Il 03/13/2015 11:32 AM, emmexx scrisse: What I'd like to know is if everything is solved because of the patch or because I set Proxy Base URL or both. I need to know that before modifying/upgrading my production server. FYI I tried to set the Proxy Base URL global parameter on my production

Re: [Geoserver-users] strMatch problem

2015-03-19 Thread emmexx
Il 03/19/2015 04:16 PM, Andrea Aime scrisse: No, there is no way to use general regular expression against databases, strMatches uses the Java regex syntax, What do you mean? I use strMatches in sld against a postgis database field, something like: ogc:PropertyIsEqualTo

Re: [Geoserver-users] strMatch problem

2015-03-19 Thread emmexx
Il 03/19/2015 04:21 PM, Ian Turton scrisse: And couldn't you use the OGC PropertyIsLike function (http://docs.geoserver.org/stable/en/user/filter/filter_reference.html#propertyislike-operator) to achieve the same solution with out the over head of a second function call? I supposed that the

Re: [Geoserver-users] strMatch problem

2015-03-19 Thread emmexx
Il 03/19/2015 03:52 PM, Ville Jussila scrisse: I wrote in SLD: ogc:Filter xmlns:ogc=http://www.opengis.net/ogc; ogc:And ogc:Function name=strMatches ogc:PropertyNamekohdenimi/ogc:PropertyName ogc:Literal_viiteviiva/ogc:Literal /ogc:Function The right syntax should be: ...

Re: [Geoserver-users] Problem with QGis and WFS-T

2015-03-13 Thread emmexx
Il 03/05/2015 07:22 PM, Kevin Smith scrisse: I've got a patch put together that allows additional reflexive hostnames to be specified via a system property. It's a workaround rather than a solution but it might help you. I installed the latest master but I wonder if all my problems came from

Re: [Geoserver-users] Problem with QGis and WFS-T

2015-03-09 Thread emmexx
Il 03/05/2015 07:22 PM, Kevin Smith scrisse: I've got a patch put together that allows additional reflexive hostnames to be specified via a system property. It's a workaround rather than a solution but it might help you. I tried to use your workaround and I have some questions. Should I ask

Re: [Geoserver-users] Problem with QGis and WFS-T

2015-03-05 Thread emmexx
Il 03/03/2015 09:16 PM, Jody Garnett scrisse: As per other email, please add your experience to http://jira.codehaus.org/browse/GEOS-6059 . I did it. Some quick fixes: - If you are on windows ensure that your hosts file is configured correctly (for any tests involving localhost) - If you

Re: [Geoserver-users] Problem with QGis and WFS-T

2015-03-03 Thread emmexx
Il 02/23/2015 08:11 AM, Andrea Aime scrisse: A suggestion: take a recent standard GeoServer release (one downloaded from geoserver.org http://geoserver.org), repeat the test, if it fails, enable the request logging in web.xml, and then open a ticket with all the details to reproduce, like a

[Geoserver-users] XML POST request log buffer in characters value hard-coded?

2015-02-25 Thread emmexx
I changed the value of this variable in global settings but in the log file i keep finding xml post requests truncated at 1024 chars. My logging level is GEOSERVER_DEVELOPER_LOGGING. Do I misunderstand the meaning of this parameter? Is there a set or range of numbers allowed? Or it depends on

Re: [Geoserver-users] Error updating geometry

2015-02-23 Thread emmexx
Il 02/23/2015 10:18 AM, Rahkonen Jukka (MML) scrisse: In the attachment a WFS-T version 1.1.0 request that does a successful update to the Tasmania_roads demo layer with Geoserver 2.7-RC1 for me. Try to find the difference why it works and why your clients fail. Use the demo request window as

Re: [Geoserver-users] Error updating geometry

2015-02-23 Thread emmexx
Il 02/23/2015 12:46 AM, Simone Giannecchini scrisse: I would open a JIRA to report this problem so that we don't loose track of it. Ok, thank you for your answer. Yesterday I upgraded opengeo suite to 4.5, and geoserver to 2.6. Same problem. Even worse than before. :-( Now I can only change

Re: [Geoserver-users] Problem with QGis and WFS-T

2015-02-22 Thread emmexx
Il 01/20/2015 09:00 PM, emmexx scrisse: p.s. I'm (still) using Boundless Opengeo suite 4.1 version of geoserver (2.5 SNAPSHOT) Qgis is version 2.6 installed on slackware 14.1 I upgraded opengeosuite to 4.5 and geoserver 2.6. The problem are stille there. I can't use qgis to update features

Re: [Geoserver-users] Problem with QGis and WFS-T

2015-02-22 Thread emmexx
Il 02/23/2015 08:11 AM, Andrea Aime scrisse: Until you report issues against the opengeosuite version of GeoServer you'll probably receive no help here, the way to go is to contact your Boundless representatives. I was reporting it in case that happens to other people. I don't have a Boundless

Re: [Geoserver-users] Error updating geometry

2015-02-20 Thread emmexx
Il 02/16/2015 10:46 PM, emmexx scrisse: I've got a serious problem that prevents me from updating the geometry of features. I made another test using GeoExplorer, the boundless web app include in their suite. If I use it instead of qgis or kosmo, I can update the geometry. I compared

[Geoserver-users] Error updating geometry

2015-02-16 Thread emmexx
I've got a serious problem that prevents me from updating the geometry of features. I have a layer of lines connected to a postgis table. I tried using a desktop client to add new features or to update existing ones. I can: - add a new feature - update attributes of an existing feature I

[Geoserver-users] attributes returned by WFS GetFeature with propertyName

2015-02-10 Thread emmexx
I'm using the following rest call to get a list of features. I wanted to limit the attributes returned and added propertyName to the request: http://example.com:8080/geoserver/bicitalia/ows?service=WFS version=1.0.0 request=GetFeature typeName=myworkspace:mylayer maxfeatures=50

Re: [Geoserver-users] Problem with QGis and WFS-T

2015-01-24 Thread emmexx
Il 01/20/2015 09:00 PM, emmexx scrisse: I tried to use Qgis to add/modify features of a geoserver WFS-T layer. When I save the layer the operation timeouts. On the qgis bug tracker system I was suggested to try to connect to an osgeo live DVD. I modified some feature using wfs in qgis

Re: [Geoserver-users] Best way to get extent of selected features

2014-11-30 Thread emmexx
Il 11/29/2014 04:02 PM, emmexx scrisse: I installed WPS and tried to use it to no avail. I get the bbox of all the features in the layer, not only the filtered ones. I made other tests using other wps functions but the result is the same: no filtering. (I used vec:Query, vec:Bounds

Re: [Geoserver-users] Best way to get extent of selected features

2014-11-30 Thread emmexx
Il 11/30/2014 06:36 PM, Rahkonen Jukka (Tike) scrisse: I would spend some time with studying what happens with the WFS request that is feeding data for the WPS process. I can imagine that if the filter used for filtering WFS is not accepted then it will be ignored and WFS returns the whole

Re: [Geoserver-users] Best way to get extent of selected features

2014-11-30 Thread emmexx
Il 11/30/2014 11:04 PM, emmexx scrisse: I don't know if this is related to the problem in my original post. If I try to execute the wps in my original post, the geoserver log reports: I found out the problem, my fault of course, and my bad. :-( In my xml request I dumb-copied Andrea's code

Re: [Geoserver-users] Best way to get extent of selected features

2014-11-29 Thread emmexx
Il 11/28/2014 07:42 PM, emmexx scrisse: 1. First I get the extent of the lines filtered by county=X and I use the resulting bbox in a getMap I found an old post of Andrea Aime that suggested to use WPS and the gs:Bounds function: https://www.mail-archive.com/geoserver-users

[Geoserver-users] Best way to get extent of selected features

2014-11-28 Thread emmexx
I have a layer of lines that I show on a map using WMS. The map is used inside items and an item is something with a relation to the properties of the lines (features), say the feature has a property county and the map inside item X should display every line but mark the lines inside county X.

Re: [Geoserver-users] Version 2.3.2 and dependencies in boundless geo maven repository

2014-11-20 Thread emmexx
Il 11/20/2014 02:21 PM, Ivan Suftin scrisse: Could we get version 2.3.2 of Geoserver and associated modules in the new Boundlessgeo repository? http://sourceforge.net/projects/geoserver/files/GeoServer/2.3.2/ bye maxx

Re: [Geoserver-users] GetLegendGraphic error

2014-11-19 Thread emmexx
Il 11/18/2014 03:08 PM, Jonathan Moules scrisse: If you could report this to the bug tracker (JIRA), that'd be great. Please include the SLD itself to allow it to be replicated. Done: https://jira.codehaus.org/browse/GEOS-6773 thank you maxx

[Geoserver-users] GetLegendGraphic error

2014-11-14 Thread emmexx
I tried to use the GetLegendGraphic function to get an image of one of my sld styles. The style works, it is validated and it displays features (lines) as it is supposed to do when using WMS. This is the url of the request (generated using the Demo Requests tool):

Re: [Geoserver-users] SLD strMatches problem

2014-11-02 Thread emmexx
Il 11/01/2014 02:40 PM, Andrea Aime scrisse: Hum... I believe strMatch matches the whole string, so you should add .* before and after your pattern: That's it! Thank you maxx --

[Geoserver-users] SLD strMatches problem

2014-11-01 Thread emmexx
I'm not sure if this is the right place to as. I tried to create a style using a regex to match the values in a postgis table. I wrote the following: ogc:PropertyIsEqualTo ogc:Function name=strMatches ogc:PropertyNametags/ogc:PropertyName

Re: [Geoserver-users] SLD strMatches problem

2014-11-01 Thread emmexx
Il 11/01/2014 02:01 PM, Andrea Aime scrisse: Even if there was this ability, you'd still have to specify the matching pattern using the Java Pattern syntax, and the SQL translator would have to turn it into the native one instead Thank you Andrea, from what I read (google, forums, javadoc)

Re: [Geoserver-users] Cors filter in geoserver web.xml crash

2014-10-31 Thread emmexx
Il 10/30/2014 11:29 PM, emmexx scrisse: I added the cors filter to .../opengeo/geoserver/WEB-INF/web.xml. After restarting tomcat geoserver is no more available and I get a 404 error page when loading the geoserver admin page. Probably not a geoserver problem. The apache cors filter

Re: [Geoserver-users] Cors filter in geoserver web.xml crash

2014-10-31 Thread emmexx
Il 10/31/2014 05:17 PM, Stephen Brooke scrisse: I've had success too with CORS in GeoServer using this CORS-filter: com.thetransactioncompany.cors.CORSFilter I think it is the same that I linked. :-) thank you maxx

[Geoserver-users] Cors filter in geoserver web.xml crash

2014-10-30 Thread emmexx
I added the cors filter to .../opengeo/geoserver/WEB-INF/web.xml. After restarting tomcat geoserver is no more available and I get a 404 error page when loading the geoserver admin page. The apache documentation says that the filter can be added in the tomcat config or in the application

Re: [Geoserver-users] complex features editing

2014-10-24 Thread emmexx
Il 10/24/2014 03:03 PM, Justin Deoliveira scrisse: Given that this question seems specific to opengeo suite it is recommended that you post to stackexchange with the boundless or opengeo tag. Unfortunately I already posted there but I got no answer. That said, in this case we'll need a

Re: [Geoserver-users] complex features editing

2014-10-24 Thread emmexx
Il 10/24/2014 04:25 PM, Andrea Aime scrisse: Hem... yes and no. It's well known that GML2 cannot encode complex features, you have to ask for GML3 to get an output The code built by the opengeo sdk defaults to gml2 (?). Of course, app-schema is a read only store, so no editing is possible

[Geoserver-users] complex features editing

2014-10-23 Thread emmexx
Hi everybody, I just subscribed to this mailing list, I hope I'm not asking a FAQ question. My task is to develop an application to enter/edit line features (cycle paths). I installed opengeosuite, studied the docs, and tried one of the application samples that use gxp. One of the features I