Re: [Geoserver-users] Intermittent WFS Exception
Thanks for the Andrea, I’ve changed the URI of the workspace namespace, is that enough to pull it back in synch or would I need to edit the catalog directly? It was confusing me because the problem was intermittent. I thought if something had corrupted in the data dir it would just not work at all. Cheers Tom From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime Sent: 15 August 2014 15:21 To: Thomas Colley; geoserver-u...@lists.sourceforge.net Subject: Re: [Geoserver-users] Intermittent WFS Exception On Fri, Aug 15, 2014 at 3:46 PM, Thomas Colley t.col...@neath-porttalbot.gov.uk wrote: 2014-08-15 14:38:22,881 ERROR [geoserver.ows] - java.lang.NullPointerException at org.geoserver.wfs.xml.FeatureTypeSchemaBuilder.buildSchemaInternal(FeatureTypeSchemaBuilder.java:192) at org.geoserver.wfs.xml.FeatureTypeSchemaBuilder.addApplicationTypes(FeatureTypeSchemaBuilder.java:487) Hmm... it would seem there is something wrong with the workspace/namespace configuration? The code balks here: String targetPrefix = (String) ns2featureTypeInfos.keySet().iterator().next(); String targetNamespace = catalog.getNamespaceByPrefix(targetPrefix).getURI(); - here Which means that somehow it's not able to find the namespace associated to the specified workspace (the target prefix is the workspace name). The data dir that makes it fail has likely a workspace.xml/namespace.xml that have gone out of synch with each other. Cheers Andrea -- == GeoServer Professional Services from the experts! Visit http://goo.gl/NWWaa2 for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Intermittent WFS Exception
On Mon, Aug 18, 2014 at 9:35 AM, Thomas Colley t.col...@neath-porttalbot.gov.uk wrote: Thanks for the Andrea, I’ve changed the URI of the workspace namespace, is that enough to pull it back in synch or would I need to edit the catalog directly? Eh, I don't know, you'll have to try and see. Cheers Andrea -- == GeoServer Professional Services from the experts! Visit http://goo.gl/NWWaa2 for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Issue with geoserver layer style change using PHP curl
Geoserver rest api change layer style using PHP curl is not working I have tried using this code and nothing happed. Please can any one help on this. Thank you in advance. curl_setopt($this-ch, CURLOPT_POST, True); $passwordStr = admindd:geoservdder; curl_setopt($this-ch, CURLOPT_USERPWD, $passwordStr); curl_setopt($this-ch, CURLOPT_CUSTOMREQUEST, 'PUT'); // -X curl_setopt($this-ch, CURLOPT_HTTPHEADER, ['Content-Type: text/xml']); // -H $post = array(layerdefaultStylenamepolygon/name/defaultStyle/layer); curl_setopt($this-ch, CURLOPT_POSTFIELDS, $post); buffer = curl_exec($this-ch); -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Issue-with-geoserver-layer-style-change-using-PHP-curl-tp5156790.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GeoServer and Conventional Data - WMS
Hi Jonathan, Thanks for replying. You're right! I would like to display the information over the map. I'll take a look at the char extension. The image on the link that you sent is pretty similar to what I want to do. Thank you so much! All the best, From: jonathanmou...@warwickshire.gov.uk Date: Thu, 14 Aug 2014 12:46:28 +0100 Subject: Re: [Geoserver-users] GeoServer and Conventional Data - WMS To: dnakit...@hotmail.com CC: geoserver-users@lists.sourceforge.net Hi Dominique, GeoServer can do it to an extent I believe, though if you want to serve the raw stats you'd be better suited with some other application (although you could probably cludge something up with WFS). However if you want the stats overlaid on the map, that's easy (it's just a text label). You may also be interested in the chart extension:http://blog.geoserver.org/2009/06/01/geoserver-chart-extension/ Cheers,Jonathan On 13 August 2014 06:23, Dominique Carvajal Sanchez dnakit...@hotmail.com wrote: Hello everyone, My name is Dominique. I want to use GeoServer in a Project. I want to create WMS for diplaying geographical information of Costa Rica, but additionally, I'd like to display conventional data, let's say demography information. What I want to know is if I can do that with GeoServer. Is it possible? E.g. I'd like to have a WMS that provides the geom of the province but also, I'd like to display the amount of births on 2005. I want to use GeoServer as the server layer and I want to create an application with OpenLayers where I can see the WMS. Is GeoServer good enough to do that? What would you suggest? I'd appreciate any kind of help (papers, blogs, books, whatever you help me to understand). Thank you so much. Best Regards, -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation. -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GeoServer and Conventional Data - WMS
Hello jukka, Thank you so much for sharing that link. I like the chart. It's not what I was looking for, but I think I can use this way to display information too. Thank you guys for helping out with my question. All the best, Dominique. From: jukka.rahko...@mmmtike.fi To: dnakit...@hotmail.com CC: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] GeoServer and Conventional Data - WMS Date: Thu, 14 Aug 2014 12:36:10 + Hi, I do not know how this application is done but obviously it is utilizing Geoserver: http://cip-pakistan.geo-solutions.it/MapStore/ Try the Genarate chart button and see if it is anything close to what you want. -Jukka Rahkonen- Jonathan Hi Dominique, GeoServer can do it to an extent I believe, though if you want to serve the raw stats you'd be better suited with some other application (although you could probably cludge something up with WFS). However if you want the stats overlaid on the map, that's easy (it's just a text label). You may also be interested in the chart extension: http://blog.geoserver.org/2009/06/01/geoserver-chart-extension/ Cheers, Jonathan On 13 August 2014 06:23, Dominique Carvajal Sanchez dnakit...@hotmail.com wrote: Hello everyone, My name is Dominique. I want to use GeoServer in a Project. I want to create WMS for diplaying geographical information of Costa Rica, but additionally, I'd like to display conventional data, let's say demography information. What I want to know is if I can do that with GeoServer. Is it possible? E.g. I'd like to have a WMS that provides the geom of the province but also, I'd like to display the amount of births on 2005. I want to use GeoServer as the server layer and I want to create an application with OpenLayers where I can see the WMS. Is GeoServer good enough to do that? What would you suggest? I'd appreciate any kind of help (papers, blogs, books, whatever you help me to understand). Thank you so much. Best Regards, -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation. -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] (no subject)
-- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Issue with geoserver layer style change using PHP curl
Hi, Do you mean that your php code does not work or that there is a malfunction in Geoserver? For helping us to evaluate the latter you could help us a lot by making a plain curl command that is supposed to work through the rest api by using some of the demo layers like topp:states as a target. -Jukka Rahkonen- chathura911 wrote: Geoserver rest api change layer style using PHP curl is not working I have tried using this code and nothing happed. Please can any one help on this. Thank you in advance. curl_setopt($this-ch, CURLOPT_POST, True); $passwordStr = admindd:geoservdder; curl_setopt($this-ch, CURLOPT_USERPWD, $passwordStr); curl_setopt($this-ch, CURLOPT_CUSTOMREQUEST, 'PUT'); // -X curl_setopt($this-ch, CURLOPT_HTTPHEADER, ['Content-Type: text/xml']); // - H $post = array(layerdefaultStylenamepolygon/name/defaultStyle/layer); curl_setopt($this-ch, CURLOPT_POSTFIELDS, $post); buffer = curl_exec($this-ch); -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Issue-with- geoserver-layer-style-change-using-PHP-curl-tp5156790.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] GeoServer 2.6-RC1 released
The GeoServer community is happy to announce the release of GeoServer 2.6-RC1, the first release candidate of the official 2.6 release. Check out the blog for all of the details. http://blog.geoserver.org/2014/08/18/geoserver-2-6-rc1-released/ Thanks for using GeoServer! -- The GeoServer Team -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GeoServer 2.6-RC1 released
Reminder that the development team has put a lot of effort into fixing the issues found with the beta (especially making GeoServer work with Java 7). We really needs your help testing to make this release complete. During the beta http://blog.geoserver.org/2014/07/24/geoserver-2-6-beta-released/ we asked for a hand testing the following: - Java 7: This is a test of documentation as much as code ... we think we have sorted out the installer issues for Windows and OSX (give it a try and let us know) - WFS Cascade: We have a new wfs client and ask for help testing (especially all those tricky INSPIRE services) - Curved Geometry: Do you use Oracle with curved Geometries? Help test ... as we have had no feedback. - Raster Projection: not a lot of feedback on this one ... yet! - Coverage views - not a lot of feedback on this one ... yet! - Startup: No feedback on this one can be taken as a good sign .. if you make use of an external data directory we would to hear from you. - Pluggable styles: The CSS extension appears to be popular on the user list ... anyone want to try testing the RC? Thanks to all those who provided feedback during the beta, we appreciate your continued support. Why does GeoServer need community help testing? - GeoServer is a small open source project (relative FireFox and Linux) and relies on a balance between developers creating the software and an active user list helping out with testing. - As a more of a data driven open source project it more important to get GeoServer tested on a range of datasets (provided by you!) Try testing GeoServer with your organisations data, and any national data you have access to. Our automated tests run with the same test-data each time and really benefit from the diverse datasets the user list has access to. We need to strike a balance between answering questions on the user list here, but also helping make GeoServer great. If you need to talk to a manager to get some time to help test the release candidate please do so. Here are some words http://www.how2map.com/2013/09/opensource-and-social-contract.html to help explain to your manager why this is important. TLDR: It is about risk management - test now to minimise risk. -- Jody Jody Garnett On Mon, Aug 18, 2014 at 6:15 PM, Justin Deoliveira jdeol...@boundlessgeo.com wrote: The GeoServer community is happy to announce the release of GeoServer 2.6-RC1, the first release candidate of the official 2.6 release. Check out the blog for all of the details. http://blog.geoserver.org/2014/08/18/geoserver-2-6-rc1-released/ Thanks for using GeoServer! -- The GeoServer Team -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users