[Geoserver-users] Geoserver Store APIs

2020-01-22 Thread Samann Long
Hello, I am now having no idea how to retrieve data from PostGIS using APIs and after I retrieve that data, I want to create it as layers and register with WFS services and return its URL to frontend. Is there any possible way to that with python APIs? Thank you

Re: [Geoserver-users] Install

2020-01-22 Thread Rahkonen Jukka (MML)
Sorry, I do not understand at all what you mean by “it just says type to end”. The manual to follow is https://docs.geoserver.org/stable/en/user/installation/win_binary.html The setup wizard is referring to Windows installer that we do not have at the moment for the recent versions. If you

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Vitor Fonseca
I have struggle in the past with the clone feature too. You have different id's in the clones or differente fid's? Because you're setting "clone.setId(feature.getId());" and that's not the "internal" feature ID. BTW what exactly is the assertion error? Vikram escreveu no dia quarta,

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Vitor Fonseca
The browser console should give you a little bit more detail on the error...(expand all the error lines...) what's the OL version? check this example: https://medium.com/@goldrydigital/wfs-t-with-openlayers-3-16-6fb6a820ac58 see the new feature created with... var clone = new

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Vitor Fonseca
Hi, I think this is a programming problem rather than a Geoserver problem. >From my experience the issue should be with the *clone* functionality. Check this https://gis.stackexchange.com/questions/46730/openlayers-cloned-features-get-style-from-original-feature Someone mentions "I have noticed

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Vikram
Hi Vitor, Thanks for your reply. The clone approach works fine for one feature ie. when I try to update one feature. I have checked the console and the clones have different IDs. I tried creating feature with WKT, but got an assertion error while passing the created feature to the

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Vikram
It says assertion failed at this line of code : node = formatWFS.writeTransaction(null, f, null, formatGML); Well I am not able to see where the fid is.. I can only see id_ and ol_uid on the console. They are different for every clone. On 22/01/2020 12:33, Vitor Fonseca wrote: I have

[Geoserver-users] GeoServer 2.16.2 released

2020-01-22 Thread Andrea Aime
Read news about this release here: http://blog.geoserver.org/2020/01/22/geoserver-2-16-2-released/ Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Vitor Fonseca
Wait a minute. Shouldn't you be making insert's instead of update's? You are creating new features after all... Vikram escreveu no dia quarta, 22/01/2020 à(s) 12:14: > Yes I have seen this example. Gives me the same result. > > Now, I don't get the assertion error anymore, I create the feature

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Vitor Fonseca
well i suggest you check the payload on the wfs request (using developer tools) should be something like *http://www.openplans.org/topp " xmlns:ogc="http://www.opengis.net/ogc " xmlns:wfs="http://www.opengis.net/wfs

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Vitor Fonseca
Yes. But cloning creates new features right? You are trying to update features that did not exist in the first place, and that GeoServer is not aware...i'm a bit confused now :) A quarta, 22/01/2020, 12:53, Vikram escreveu: > No I am trying to update features. If you look at the example that

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Vitor Fonseca
Ok got it. have you tried creating the clone with var clone = new ol.Feature( featureProperties); instead of the clone function? Vikram escreveu no dia quarta, 22/01/2020 à(s) 13:01: > It is basically creating a copy of the feature which looks exactly the > same except for the boundedBy

[Geoserver-users] Install

2020-01-22 Thread Richard Douglas Hodge Alavedra
Hi, my name is Richard Hodge, I'm a mechanical engineer student and I'm currently trying to install the geoserver program but I'm having some trouble with the "start" java exe that doesn't work and also I do not understand the "enviromental variable". Hope I can get help from you. Thanks!

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Rahkonen Jukka (MML)
Have you already made a test without OpenLayers by writing a WFS-T insert request by hand and posting it with curl, or Postman, or with the demo request application that comes with Geoserver? -Jukka Rahkonen- Lähettäjä: Vitor Fonseca Lähetetty: keskiviikko 22. tammikuuta 2020 12.59

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Vikram
Tried it too, same result. But if the featureNS is wrong, I should get an error which I don't. ___ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of

Re: [Geoserver-users] Install

2020-01-22 Thread Rahkonen Jukka (MML)
Hi, If you have used the bin-zip installation I suppose that you mean the “start.jar” that is in the main directory. Go to /bin directory instead and run startup.bat if you are on Windows or startup.sh if you are on Linux. -Jukka Rahkonen- Lähettäjä: Richard Douglas Hodge Alavedra Lähetetty:

Re: [Geoserver-users] OpenLayers GeoServer update an array of features using WFS-T

2020-01-22 Thread Humphries, Graham
I just looking at your code I think the problem may be with the call to transactWFS. The update function called is written like this: formatWFS.writeTransaction(null, [f], null, formatGML); Your clones object is already an array, so you are than wrapping that in an array with only one

Re: [Geoserver-users] Install

2020-01-22 Thread Rahkonen Jukka (MML)
Please answer to the list as well, not just to me. Open the startup.bat file with a text editor. Add SET JAVA_HOME=”path_to_your_java” Instead of “path_to_your_java” you must naturally write the path where your java is installed. Remember to save the file. Good luck! -Jukka Rahkonen-