Re: [Qgis-user] features saved to geoserver with swapped coordinates

2022-02-20 Thread emmexx
On 2/17/22 8:21 AM, Raymond Nijssen wrote: > In the "New WFS Connection" dialog there's a checkbox for "Swap ax > orientation" (or something similar, my QGIS is not in English right now). I asked the user to check that but the checkbox is not checked. Thank you maxx

[Qgis-user] features saved to geoserver with swapped coordinates

2022-02-16 Thread emmexx
One of the users who edits data of a geoserver instance reported the following: - she imported in qgis a gpx file - she copied the features to a wfs layer connected to a remote geoserver, the features were positioned correctly on the map - she saved the data When she checked the result on the

Re: [Qgis-user] Update WFS layer field type

2022-02-10 Thread emmexx
On 2/10/22 3:21 PM, Richard Duivenvoorde wrote: > Off course users sometimes update their data (like you), so in the > Geoserver web interface, go to 'Server Status' and then click the > 'Reload' (the bottom button): Configuration and catalog. > That refreshes Geoserver's internal metadata...

Re: [Qgis-user] Update WFS layer field type

2022-02-10 Thread emmexx
On 2/10/22 3:21 PM, Richard Duivenvoorde wrote: > Off course users sometimes update their data (like you), so in the > Geoserver web interface, go to 'Server Status' and then click the > 'Reload' (the bottom button): Configuration and catalog. > That refreshes Geoserver's internal metadata...

Re: [Qgis-user] Update WFS layer field type

2022-02-10 Thread emmexx
On 2/10/22 9:19 AM, Richard Duivenvoorde wrote: > Can you confirm (F12 in QGIS, seeing the requests), that QGIS is > requesting WFS_describeFeatureType? Thank you, I didn't know the QGIS Network logger, I lost hours trying to find out how to log network requests :-( I used the function Copy as

Re: [Qgis-user] Update WFS layer field type

2022-02-10 Thread emmexx
On 2/9/22 1:34 PM, emmexx wrote: > In geoserver the field type is displayed correctly but in qgis it isn't, > in layer properties - fields the field type is still the old one (int > instead of string). I didn't find a way to edit it. Same problem if I add a new field to the postgis tab

[Qgis-user] Update WFS layer field type

2022-02-09 Thread emmexx
I had to change the type of a field in a postgis table. The table is used in a geoserver layer and Qgis has access to that layer as a WFS layer. In geoserver the field type is displayed correctly but in qgis it isn't, in layer properties - fields the field type is still the old one (int instead

Re: [Qgis-user] regexp_match stopped working after update

2019-12-08 Thread emmexx
On 12/8/19 11:39 PM, Nyall Dawson wrote: > Can you provide detailed steps to reproduce? I can't reproduce it now. :-( Anyway the steps to try to reproduce are: - open a vector layer with features (multilines) - select the layer - open the Select by expression window - enter the expression

[Qgis-user] regexp_match stopped working after update

2019-12-08 Thread emmexx
I used for a long time the following expression to select features on a layer: regexp_match( "myField" ,'.*\\b(2|9)\\b.*') myField values are numbers separated by a comma (e.g. 3,43,87.) I used it successfully last week too. 2 or 3 days ago I updated qgis to 3.10.0 and that expression stopped

[Qgis-user] not advertised wfs layers

2018-02-18 Thread emmexx
I installed qgis 2.18.16 on slackware 14.2 and now when I try to open a project saved with a previous version a window opens up with one wfs layer listed as containing connection errors. Tha layer is one of others defined in a geoserver server, the only difference from the others is that this one

[Qgis-user] pasted gpx line simplified

2017-10-27 Thread emmexx
I loaded a gpx file (Vector - gps - gps tools - Load gpx file). I selected the line just loaded, then Edit - Copy features and then Edit - Paste features - New vector layer (or new memory vector layer). The pasted line is different from the gpx line, it is a simplified version of it. Is this a

[Qgis-user] QGIS crashes opening wfs layer

2017-05-14 Thread emmexx
I installed qgis 2.18.4 on slackware 14.2 (http://qgis.gotslack.org/). I slightly modified the compilation option to enable spatialite. When I try to open a wfs vector layer qgis crashes. Gdb output and backtrace: src/core/qgsmaprenderer.cpp: 213: (adjustExtentToSize) [0ms]

[Qgis-user] $length null for wfs geoserver layer

2017-04-13 Thread emmexx
When I add a calculated field to a wfs geoserver layer (based on postgis) to get the length of multiline geometries, all records have a NULL value. Why is that? thank you maxx ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info:

Re: [Qgis-user] Connect lines in Geoserver

2016-05-10 Thread emmexx
On 05/10/2016 10:40 AM, emmexx wrote: > I enable snapping, create the line, add the points and snap the starting > and ending nodes to other lines, then I save. > If I try to move the connecting node in qgis, both lines move. > But when I check on geoserver the 2 lines are not conn

[Qgis-user] Connect lines in Geoserver

2016-05-10 Thread emmexx
I was trying to update a lines layer from geoserver (WFS) to add a new line and to connect it to other lines. I remember I did that in the past but I'm not sure now. I enable snapping, create the line, add the points and snap the starting and ending nodes to other lines, then I save. If I try to

Re: [Qgis-user] crash loading missing wfs connection

2016-01-24 Thread emmexx
Il 01/23/2016 08:46 PM, Richard Duivenvoorde scrisse: Tried to reply your scenario here with latest master: - one 2.8 geoserver on 8080, layer foo - one 2.6 geoserver on 8080 without layer foo - starting qgis with 2.8/foo - while layer loaded, stop 2.8 and start 2.6 - no problems, only I miss

[Qgis-user] crash loading missing wfs connection

2016-01-23 Thread emmexx
I created a wfs connection to a geoserver in qgis 2.10. Now the geoserver is not working anymore. I start qgis and it crashes after loading the gui. The following is in the terminal where I started qgis: Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US] Warning:

Re: [Qgis-user] crash loading missing wfs connection

2016-01-23 Thread emmexx
Il 01/23/2016 01:00 PM, Richard Duivenvoorde scrisse: Yes you can delete the 'connections-wfs' lines, then these saved connection will be gone. Connections deleted and qgis starts. I 'think' however, that it will still be around in your project file (though you can edit that one too... to

Re: [Qgis-user] Form not opening on osx

2015-12-03 Thread emmexx
Il 12/02/2015 10:13 AM, emmexx scrisse: When I open the layer properties - Fields and click on Edit widget of my widget nothing happens in the debugger. The widget configuration window (Edit widget properties) opens but the only parameter field is missing. If I select (on the left) another type

Re: [Qgis-user] Form not opening on osx

2015-12-02 Thread emmexx
ted widget stays on the window. I don't know what else to do. Thank you maxx Matthias On 08/17/2015 01:24 PM, emmexx wrote: Il 08/17/2015 12:51 PM, Matthias Kuhn scrisse: What exactly does this plugin involve? You helped me create it last march! :-) I have a field of comma

Re: [Qgis-user] Geoserver WFS update request error

2015-11-30 Thread emmexx
Il 11/28/2015 09:34 AM, Richard Duivenvoorde scrisse: 2 options: - xml guru confirms that it is not ok to write a uri in a xmlns attribute No xml guru around here? :-) - if you are able to compile yourself, you could try to change #53 to change to 'wfs' instead of the uri, and check if all

[Qgis-user] Geoserver WFS update request error

2015-11-27 Thread emmexx
I posted the following on the geoserver mailing list but nobody replied. 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

Re: [Qgis-user] Form not opening on osx

2015-08-17 Thread emmexx
Il 08/17/2015 12:51 PM, Matthias Kuhn scrisse: What exactly does this plugin involve? You helped me create it last march! :-) I have a field of comma-separated integers. The user should be able to select one or more values from a tree-like list. The plugin just shows the data in a tree view

[Qgis-user] Form not opening on osx

2015-08-17 Thread emmexx
I created a project to edit geoserver data using wfs. The project includes a form created using qgis to edit features. The form uses a plugin to edit data in a field using a treewidget. Everything works as expected when using linux and windows. I tried it on osx using the latest qgis but the

[Qgis-user] WFS editing on slow connection

2015-08-17 Thread emmexx
I created a project to edit geoserver data using wfs. I usually work using a fast connection and there's no problem loading data and editing. I tried the same project file using the connection of another user and editing becomes almost impossible: the opening of the form with data from a

[Qgis-user] splitting gpx file problem

2015-05-11 Thread emmexx
I don't understand the difference in behaviour of the splitting tool when using it on a WFS-T layer and on an imported gpx file. When I split a line of the gpx file it is very difficult to identify the splitted parts: - selecting one of the parts selects all the line - if I copy a selected

Re: [Qgis-user] splitting gpx file problem

2015-05-11 Thread emmexx
Il 05/11/2015 02:00 PM, emmexx scrisse: - if I select the line (after splitting) and use the Cut features tool only the part that I selected is cut I add another odd behaviour. After cutting the feature I paste it in another layer. What is pasted is not the cut feature but all the line

[Qgis-user] Segmentation fault at start

2015-05-08 Thread emmexx
I'm using a qgis-master version in parallel with qgis 2.6 on linux slackware 14.1. I used the qgis-master a few times with no problem. A few minutes ago I used it to load a wfs layer from a geoserver and edit a feature. I closed it and now I get a segmentation fault: ./qgis Running from

Re: [Qgis-user] WFS-T update to geoserver fails

2015-03-20 Thread emmexx
Il 02/27/2015 06:51 PM, Scott scrisse: This matches my own experiences with trying to edit a WFS-T from GeoServer using QGIS. I typically get an error saying unexpected html response or something to that effect. The edits will make it into the layer in GeoServer but will not update in QGIS on

Re: [Qgis-user] Customised attributes form

2015-03-18 Thread emmexx
Il 03/18/2015 09:39 AM, Matthias Kuhn scrisse: I tested and it is not your fault. It's about the python bindings that seem not to support certain C++ constructs (in particular private virtual methods). I have just pushed a fix to master, so if you are working with that your code should run fine

Re: [Qgis-user] Customised attributes form

2015-03-17 Thread emmexx
Il 03/13/2015 10:50 AM, Matthias Kuhn scrisse: Create a python plugin that registers a custom widget like the one in the referenced blog post. Following your tips I created a plugin that registers a tree widget. And following the tutorial that you linked I was able to add a parameter to set

Re: [Qgis-user] Customised attributes form

2015-03-13 Thread emmexx
Il 03/13/2015 11:36 AM, Matthias Kuhn scrisse: Once you have registered your custom widget it will appear in the list of available widgets in Layer Properties Fields. QGIS will then be able to connect it to a particular (QTreeWidget) widget on a .ui form by the field name and the object name of

Re: [Qgis-user] Customised attributes form

2015-03-13 Thread emmexx
Il 03/12/2015 11:32 AM, Matthias Kuhn scrisse: This tree widget can then be positioned with the d'n'd designer (or a QtDesigner form if you like) together with other attributes this layer has. After one day of trial and error I surrender. My knowledge of qgis, qt and pyqgis is too poor to go

Re: [Qgis-user] Customised attributes form

2015-03-13 Thread emmexx
Il 03/13/2015 10:50 AM, Matthias Kuhn scrisse: Is this enough information or is there anything in particular where you need more? What I'm failing to understand is how qgis can distinguish between a standard widget and a customised one. Let's say I want to add to my interface a standard qt

[Qgis-user] Customised attributes form

2015-03-12 Thread emmexx
I'm new to qgis programming and to the inner workings and APIs. I'd like to use a customized form for editing feature attributes. I found out the relevant articles on the qgis blog and it works for simple elements. But I need a more complex widget and an even more complex management of some of

Re: [Qgis-user] Customised attributes form

2015-03-12 Thread emmexx
Il 03/12/2015 09:44 AM, Matthias Kuhn scrisse: This may be what you are looking for: http://blog.vitu.ch/10142013-1847/write-your-own-qgis-form-elements I had already studied that example but I'm not sure that is what I want to accomplish. I want to use a custom interface - I need to

Re: [Qgis-user] Customised attributes form

2015-03-12 Thread emmexx
Il 03/12/2015 10:46 AM, emmexx scrisse: I want to use a custom interface - I need to organize attributes better than the qgis form can - but I don't understand if, and how, I can mix a custom interface, custom widgets and custo validation. Is that possible? I overlooked the Drag and drop

Re: [Qgis-user] Customised attributes form

2015-03-12 Thread emmexx
Il 03/12/2015 11:32 AM, Matthias Kuhn scrisse: If I understand you correctly, you have 1 single attribute that contains a list of values. For that, the linked example is the way to go. Yes, correct. I'll followed the example. I couldn't reconcile a custom widget with a custom form but your

Re: [Qgis-user] load remote data (for a join)

2015-03-10 Thread emmexx
Il 03/09/2015 10:38 AM, emmexx scrisse: I'd like to know if it is possible to load non geographical data from a remote source to use them for a join with another layer. The documentation has reference to a SPIT plugin that I don't find in my version of qgis (2.6 linux slackware). I'd prefer

[Qgis-user] load remote data (for a join)

2015-03-09 Thread emmexx
I'd like to know if it is possible to load non geographical data from a remote source to use them for a join with another layer. The documentation has reference to a SPIT plugin that I don't find in my version of qgis (2.6 linux slackware). I'd prefer not to use a direct connection to a db

Re: [Qgis-user] WFS-T update to geoserver fails

2015-02-27 Thread emmexx
Il 02/27/2015 05:36 PM, emmexx scrisse: At the end of this message I add the geoserver log when adding a new feature. I attach the log bacause inline a part of it was lost. bye maxx 2015-02-27 16:07:48,672 DEBUG [org.geoserver.security] - AuthenticationCache found an entry for basic

Re: [Qgis-user] WFS-T update to geoserver fails

2015-02-27 Thread emmexx
Il 01/27/2015 03:05 PM, Richard Duivenvoorde scrisse: Geoserver has a lot of debug levels, try to raise the debuglevel to see what comes in at geoserver? As I've used QGIS in combi with WFS-T before ad your osgeo live setup is succesfull, my first guess is the Boundless Geoserver, but I could

Re: [Qgis-user] WFS-T update to geoserver fails

2015-02-27 Thread emmexx
Il 02/27/2015 06:51 PM, Scott scrisse: This matches my own experiences with trying to edit a WFS-T from GeoServer using QGIS. I typically get an error saying unexpected html response or something to that effect. The edits will make it into the layer in GeoServer but will not update in QGIS

Re: [Qgis-user] WFS-T update to geoserver fails

2015-02-27 Thread emmexx
Il 02/27/2015 07:29 PM, Scott scrisse: That's a good question. I haven't tried OSGeo Live. So that works if you run OSGeo Live in a VM and QGIS is on your local machine? Or is the QGIS also in the OSGeo instance? I used an OsGeo Live dvd on a pc and Qgis on my development pc. Or is it

[Qgis-user] Splitting WFS-T line gives wrong results

2015-02-25 Thread emmexx
I tried qgis 2.6 on slackware 14.1 and windows 7 against geoserver 2.6.2 on an AWS Elastic Beanstalk instance. I load the Tasmania Roads layer, enable editing, select a feature, select the Split features tool, split it. When I commit I get the following error: Could not commit changes to

Re: [Qgis-user] WFS-T update to geoserver fails

2015-01-28 Thread emmexx
Il 01/27/2015 03:05 PM, Richard Duivenvoorde scrisse: is it possible to use try out another wfs-t client to talk to your Boundless geoserver (for example a simple openlayers client)? If that one is also failing/hanging then you can point your energy into the Geoserver. I used Kosmo Desktop on

Re: [Qgis-user] WFS-T update to geoserver fails

2015-01-27 Thread emmexx
Il 01/27/2015 03:05 PM, Richard Duivenvoorde scrisse: Hi, is it possible to use try out another wfs-t client to talk to your Boundless geoserver (for example a simple openlayers client)? If that one is also failing/hanging then you can point your energy into the Geoserver. I don't know

[Qgis-user] WFS-T update to geoserver fails

2015-01-27 Thread emmexx
I load a wfs-t layer hosted on a geoserver server and add or modify a feature. When I save the layer, qgis timeouts, the layer is not updated on the server and I have to restart geoserver in order to be able to load it again in qgis (and elesewhere too). The qgis error is: Could not commit