Re: [Geoserver-users] Primary keys not loaded, old bug back ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi The way I understand Andrea is, that PKs should be visible in any recent 2.0.x nightly build. But I am observing that Geoserver 2.0.x nightly build (14 days old, after 2.0.2 release) does hide columns with UNIQUE constraints. Is there any way to activate with configuration? Via REST? Should I try a later 2.0.x Nightly Build? Will the PK and UNIQUE columns be visible in 2.0.3? THanks a lot, Steve Am 15.07.2010 11:21, schrieb Andrea Aime: christian.dup...@cegelec.com ha scritto: Hallo, I use this table : CREATE TABLE p_pr ( ppr_rou_kn integer NOT NULL, ppr_kn_pr integer NOT NULL, ppr_vn_long double precision DEFAULT 1, ppr_vg_point geometry, CONSTRAINT pk_p_pr PRIMARY KEY (ppr_rou_kn, ppr_kn_pr), ); Geoserver 1.7 loads the four columns but Geoserver 2.02 only loads ppr_vn_long and ppr_vg_point, ignoring the two columns part of the primary key. Why ? Because the new series of data stores do not have the expose primary key flag in 2.0.2 It has been added back after the release, use a nightly build (I have no idea of when a 2.0.3 release will be made) Cheers Andrea - -- wiki² - Softwareentwicklung Stefan A. Tzeggai, geb. Krüger Straßburger Weg 26 53113 Bonn email tzeg...@wikisquare.de phone 0228 24 000 528 mobile 0176 40 38 9559 webpage wikisquare.de twitter http://twitter.com/geopublishing skype alfonx reclaim your net - http://tor.eff.org enforce privacy - http://www.pgpi.org pgp key id: 51B576FD - http://pgp.mit.edu Please note that according to the German law on data retention, information on every electronic information exchange with me is retained for a period of six months. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkx2ImUACgkQdFDQR1G1dv3b3QCfbW0yoO7L046ON+SKplWgyZ4F MB8AoKxDj9DtUmJyIo1GCjfZQw8MgUBg =Phb5 -END PGP SIGNATURE- -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Appschema: NullPointerException
The mapping looks fine (I assumed the targetAttributegsmlcore:metadata/targetAttribute is commented out on purpose and is not the reason for the feature the showing). perhaps you can try changing the default logging to verbose mode. that should print out the sql that is being send to the backend. -- View this message in context: http://old.nabble.com/Appschema%3A-NullPointerException-tp29526007p29540267.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] no resources shown in a store based on a PostGIS Database
Any logs? Hello, if I add a new store based on a PostGIS Database, the store is created without problems. But there are no resources shown for the store, although the database contains a lot of tables and I can see them in PostgreSQL. The Geoserver instance is created as a 1:1-copy of a working and running instance. Also the existing stores in the copy have no resources. We work with Windows Server 2003, Apache 2.2, Jetty, PostgreSQL 8.3, PostGIS 1.5.1-1, PHP 5.2.6. Any suggestions? Eva Krengel -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] no resources shown in a store based on a PostGIS Database
If I create the store I get the following message in geoserver.log: 2010-08-26 13:13:15,148 WARN [geoserver.web] - NewLayerPage does not have a title set Any logs? Hello, if I add a new store based on a PostGIS Database, the store is created without problems. But there are no resources shown for the store, although the database contains a lot of tables and I can see them in PostgreSQL. The Geoserver instance is created as a 1:1-copy of a working and running instance. Also the existing stores in the copy have no resources. We work with Windows Server 2003, Apache 2.2, Jetty, PostgreSQL 8.3, PostGIS 1.5.1-1, PHP 5.2.6. Any suggestions? Eva Krengel -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Setting a layers default style using REST
Hi, I'm currently using the REST API to add a GeoTiff to GeoServer. However, when I try and access it using WMS it doesn't work because it has no default style. The only way I can think of is to GET the layers XML, add the default style then PUT the XML back. This would require some XML parsing though, which I'd rather avoid if I can. Is there a simpler way of doing this? Thanks, Jon -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Setting a layers default style using REST
Some alternatives: * Modify your client to request the raster style explicitly when making WMS requests * Submit a patch for RESTConfig to setup the style properly (it's already dealing with the configuration objects, so you can avoid having to parse XML this way) * Use .json instead of .xml; depending on the language this may be simpler to deal with. -- David Winslow OpenGeo - http://opengeo.org/ On Thu, Aug 26, 2010 at 8:31 AM, Jon Britton jonbritt...@googlemail.comwrote: Hi, I'm currently using the REST API to add a GeoTiff to GeoServer. However, when I try and access it using WMS it doesn't work because it has no default style. The only way I can think of is to GET the layers XML, add the default style then PUT the XML back. This would require some XML parsing though, which I'd rather avoid if I can. Is there a simpler way of doing this? Thanks, Jon -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Setting a layers default style using REST
Assuming that the GeoServer WMS client means the OpenLayers preview, you can still add a style parameter by hand-editing the URL. I understand that there are a number of situations where this is not a useful solution. I suppose you're already aware, but it should be possible to change the default style for the created layer after the fact by going into the web ui. Finally, for most resource types the REST API supports partial document updates, where elements omitted from the uploaded document will be unchanged. So you may be able to get away with a string template that just inserts the right style name and leaves everything else alone. There have been some bugs with this in the past though. -- David Winslow OpenGeo - http://opengeo.org/ ps: how are you automating this? there are geoserver rest config client libraries in Java, Python, Groovy, and PHP floating around that could probably make this easy on you. On Thu, Aug 26, 2010 at 10:07 AM, Jon Britton jonbritt...@googlemail.comwrote: Hi David, thanks for the suggestions. Unfortunately I can't modify my request, as I'm using the GeoServer WMS client, and an exception get's thrown when I create the WebMapServer object. As for your second suggestion, I wouldn't really know how to do this and don't really have time at the moment to really look into it. I'll probably just deal with the XML myself for now. Thanks, Jon On 26 August 2010 13:55, David Winslow dwins...@opengeo.org wrote: Some alternatives: * Modify your client to request the raster style explicitly when making WMS requests * Submit a patch for RESTConfig to setup the style properly (it's already dealing with the configuration objects, so you can avoid having to parse XML this way) * Use .json instead of .xml; depending on the language this may be simpler to deal with. -- David Winslow OpenGeo - http://opengeo.org/ On Thu, Aug 26, 2010 at 8:31 AM, Jon Britton jonbritt...@googlemail.comwrote: Hi, I'm currently using the REST API to add a GeoTiff to GeoServer. However, when I try and access it using WMS it doesn't work because it has no default style. The only way I can think of is to GET the layers XML, add the default style then PUT the XML back. This would require some XML parsing though, which I'd rather avoid if I can. Is there a simpler way of doing this? Thanks, Jon -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] LDAP and Geoserver
christian.mueller at nvoe.at writes: AFAIK, not out of the box. The geoserver security subsystem is not as plugable as it should be. Basically you need 3 plugable components 1) Identifying module 2) Role authority calculating the roles for identified users/systems 3) Access control based on the roles. Hello One of the georchestra project goals (http://demo.georchestra.org/ - sorry, french speaking for now) is to share a common authentication between geoserver, viewers and external apps. We use a CAS login service based on user and groups in a LDAP directory. This is mainly based on camptocamp work ( http://geoserver.org/display/GEOSDOC/GeoServer+Security+with+CAS ). The use case is : * admins declare users and groups in the LDAP * users do SSO in the any georchestra module (CAS) * geoserver security is used to allow/deny layer r/w * external apps like qgis also may perform a BASIC auth based on the same accounts We are still in beta stages and we want to get all modules up and running in a production environment before any packaged release. Stay tuned if this of any interest. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Trying to set expose primary key flag via REST
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I found the expose primary key flag in the webgui :-) and it works in 2.0.x If the expose primary key flag is activated for a datastore, the REST XML API exposes this information as an connectionParamter of the datastore. connectionParameters entry key=port5432/entry entry key=Expose primary keystrue/entry /connectionParameters But i see no way to set this parameter via rest. Usually the connection paramters are passed as XML tags, but Expose primary keys is not a valid tag, but rather a tag with two attributes: com.thoughtworks.xstream.converters.ConversionException: : expected = after attribute name (position: END_TAG seen .../namespaceExpose primary k... @1:267) : : expected = after attribute name (position: END_TAG seen .../namespaceExpose primary k... @1:267) Debugging information message : : expected = after attribute name (position: END_TAG seen .../namespaceExpose primary k... @1:267) cause-exception : com.thoughtworks.xstream.io.StreamException cause-message : : expected = after attribute name (position: END_TAG seen .../namespaceExpose primary k... @1:267) class : org.geoserver.catalog.impl.DataStoreInfoImpl required-type : java.util.HashMap line number : 1 Is a patch needed? Or is there a trick? Thanks, Steve - -- wiki² - Softwareentwicklung Stefan A. Tzeggai, geb. Krüger Straßburger Weg 26 53113 Bonn email tzeg...@wikisquare.de phone 0228 24 000 528 mobile 0176 40 38 9559 webpage wikisquare.de twitter http://twitter.com/geopublishing skype alfonx reclaim your net - http://tor.eff.org enforce privacy - http://www.pgpi.org pgp key id: 51B576FD - http://pgp.mit.edu Please note that according to the German law on data retention, information on every electronic information exchange with me is retained for a period of six months. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkx2h6MACgkQdFDQR1G1dv3zWgCgkrQeDfZJdippHeGnF7w7R1Pu D6cAoKJTeKbsySkurZkDAYs/dRq55nMf =0d/k -END PGP SIGNATURE- -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Appschema: NullPointerException
Victor - Verbose logging was a good idea! The problem was duplicate values in the backend. The SQL query returned two results, but that would not be allowed in the schema. Some other part of the system must have decided to show nothing instead of showing both the results. Anyways, deleting one of the rows solved the problem. Thank you! Ryan -Original Message- From: v...@csiro [mailto:victor@csiro.au] Sent: Thursday, August 26, 2010 2:04 AM To: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Appschema: NullPointerException The mapping looks fine (I assumed the targetAttributegsmlcore:metadata/targetAttribute is commented out on purpose and is not the reason for the feature the showing). perhaps you can try changing the default logging to verbose mode. that should print out the sql that is being send to the backend. -- View this message in context: http://old.nabble.com/Appschema%3A-NullPointerException-tp29526007p29540267. html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Restricting WFS by Per-Request Feature Limit parameter
On Thu, Aug 26, 2010 at 07:48, Andrea Aime aa...@opengeo.org wrote: Cristiano Giovando ha scritto: Geoserver 2.0.x does not currently provide an option to restrict WFS access to certain layers, and at the same time not to others within the same instance. Let's say I have 3 layers published as WMS, but I only want 2 also accessible thru WFS. It would be nice to have control of how layers are exposed in each output format. A quick workaround would be to set the Per-Request Feature Limit option in the layer's publishing section to 0, but it does not seem to be applied (if I set any other number it works and returns that exact number of features). I suppose the 0 value means no limit, but it would be nice to actually use it as a real value to restrict access to that layer's WFS. I understand this is not the best solution, as it breaks the Capabilities document, and so on, but it could be a quick fix before virtual OWS services are implemented (?), which would eventually provide more control on publishing options. The virtual OWS services have been implemented many months ago on trunk. We cannot change the meaning of 0 as the lack of a feature limit because it would break backwards compatibility (so, if we did, we'd have to call the next GeoServer 3.0), plus a feature limit would still make the layer available in the capabilities. What you need is to alter the current security subsystem to care about the combination of workspace, layer and service. Alternatively you could help in merging the GEOXACML work, which first requires to make the security subsystem pluggable (that's where the help/funding is needed now). And then a good dose of patience setting up the rules, last time I tried a single line in the current simple security config file exploded in 100 lines of GEOXACML. Andrea, thanks for the quick reply and for pointing out that virtual OWS services have already been implemented in trunk. They work as expected, but still there is no way to control WFS access per layer just using virtual OWS and data/service security (please correct me if I'm wrong). I finally discovered that the trunk version offers cascaded WMS as a new datastore type. That got me thinking of a workaround using Mapserver (or another instance of Geoserver) to serve the layer I don't want exposed as WFS, which is then published through this new store type on the main OWS. As for the GEOXACML, unfortunately I am not a developer myself, but I'd be happy to test any code progress made on this front. I would also be interested to learn what options are there to fund these type of improvements. C -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] WMS GetFeatureInfo HTTP POST fails
Hi Paula, I could be mistaken but I don't believe we support GetFeatureInfo via POST. If you want to use http post your best bet is probably to use WFS GetFeature (which you can execute via post) rather than WMS GetFeatureInfo. However you won't be able to get html back and won't be able to customize the response with a template. You will be restricted to gml, json, shapefile, or the other vector output formats supported via the ogr extension. Hope that helps. -Justin On Wed, Aug 25, 2010 at 6:55 AM, Perkola Paula paula.perk...@vtt.fi wrote: Hi everyone, I am trying to execute a WMS GetFeatureInfo query with HTTP POST, but I get the error message shown below from Jetty. Is there something wrong with the xml request syntax or is the problem with GeoServer? I am running GeoServer 2.0.2. I was previously executing my WMS GetFeatureInfo queries with HTTP GET, but as the number of queried layers and thus length of the GET URL increased I received FULL head error messages from Jetty. I am now trying to circumvent the lengthy URL dilemma by executing an HTTP POST instead. Any ideas or nudges in the right direction would be greatly appreciated. Regards, Paula *** Paula Perkola Trainee Research Scientist VTT Technical Research Centre of Finlan Jetty Error Message 25 elo 15:42:51 DEBUG [org.geoserver.filters] - filtering * http://localhost:8080/geoserver/wms* http://localhost:8080/geoserver/wms 25 elo 15:42:51 DEBUG [org.vfny.geoserver.requests] - First 4 bytes of XML doc are : 3C ('') 3F ('? ') 78 ('x') 6D ('m') 25 elo 15:42:51 DEBUG [org.vfny.geoserver.requests] - Charset detection phase 1. Inferred encoding: UTF-8 25 elo 15:42:51 DEBUG [org.vfny.geoserver.requests] - Charset detection phase 2. Charset in XML decl aration is `UTF-8`. 25 elo 15:42:51 DEBUG [org.vfny.geoserver.requests] - Trying to create reader basing on existing cha rset information: `UTF-8`. 25 elo 15:42:51 DEBUG [org.geoserver.ows] - Raw XML request starts with: ?xml version=1.0 encodin g=UTF-8?wms:GetFeatureInfo service=WMS outputFormat=text/html xmlns:wms=http://www.opengis. net/wms wms:Query layers=syke:syke_swe_20100412_z_24h_2_0_0d0_255_255d0_cm_ver1_amsr-e/wm s:Query/wms:GetFeature 25 elo 15:42:51 INFO [org.geoserver.ows] - No xml reader: (* http://www.opengis.net/wms,GetFeatureInfo*http://www.opengis.net/wms,GetFeatureInfo ) 25 elo 15:42:51 ERROR [org.geoserver.ows] - org.geoserver.platform.ServiceException: Could not find request reader (either kvp or xml) for: org. vfny.geoserver.wms.requests.GetFeatureInfoRequest at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:478) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:227) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.j ava:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControlle rHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571 ) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter .java:108) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java :265) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityIntercepto r.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityIntercep tor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java :275) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java: 124) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java :275) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcess ingFilter.java:125) at
Re: [Geoserver-users] Transaction Failed update error
Hi, It could be that you found a regression. It seems you are using feature type name aliasing? There have been a few changes to that functionality on 2.0.x. Could you try executing the request without using feature type aliasing? That should help confirm if that is indeed the problem. THanks. -Justin On Wed, Aug 25, 2010 at 8:24 AM, g f gfo...@gmail.com wrote: Hello all, I have recently updated to a geoserver2 nightly build (month ago) from 1.7 as well as moving from postgres 8.3/postgis 1.3 to postgres 8.4/postgis 1.5. OS: Debian 4 I recreated the databases and am seeing the following error while performing ONLY an update of any features through Openlayers code that worked fine before my upgrades above. I can do inserts and deletes of feature types. I tried a few things such as disabling the Acegi filter in web.xml as well as verifying that the user, that does the transactions in geoserver, has the ability to update (simple update statement performed in psql). I also modified VERBOSE_logging.xml to log everything by changing everything to ALL. Does anyone have any ideas what the issue may be? Thanks. Below is the error log. 2010-08-25 14:11:38,967 ERROR [geoserver.wfs] - Transaction failed org.geoserver.wfs.WFSTransactionException: update error at org.geoserver.wfs.UpdateElementHandler.execute(UpdateElementHandler.java:246) at org.geoserver.wfs.Transaction.execute(Transaction.java:334) at org.geoserver.wfs.Transaction.transaction(Transaction.java:109) at org.geoserver.wfs.DefaultWebFeatureService.transaction(DefaultWebFeatureService.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:51) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy19.transaction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:599) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:230) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:269) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Unknown Source) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:301) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
[Geoserver-users] WMS Time Support using ImageMosiac Plug-in
Hi, I am trying to make use of some image time series using ImageMosaic Plug-In. The files are called as follows MOD13Q1.200601.tif MOD13Q1.200602.tif MOD13Q1.200603.tif and this is the request, which I send to the geoserver: http://localhost:8080/geoserver/wms?service=WMSversion=1.1.0request=GetMaplayers=rio:timestyles=bbox=-45.0,-23.402,-40.898,-20.7width=512height=337srs=EPSG:4326format=application/openlayersTIME=200601 The problem is that I can see only black square instead of the image. When I remove TIME=200601 the image is rendered as it should be. I have made this following the this blog: http://geo-solutions.blogspot.com/2009/12/adding-time-support-to-geoserver-and.html Do you know where is the problem. If you know any tutorials to WMS Time Support I would highly appreciate. Thanks in advance Kuba -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver 2.0.2 installation
Hi. I know that it should be possible to modify the installer to add Silent functionality (taking all of the default options), although it's not set up this way currently. I'm not sure of a way to specify custom options in an answer file, but the NSIS scripting reference* mentions that certain command line flags can be used. What specifically are you looking to do? * http://nsis.sourceforge.net/Docs/Chapter4.html#4.12 Thanks, Mike Pumphrey OpenGeo - http://opengeo.org On 8/26/2010 1:43 PM, Justin Deoliveira wrote: Hi Milind, I am actually unfamiliar with the notion of a silent answer file. A quick google search seems to indicate it would be a modification to the windows installer. Mike (CC'd) is our windows installer expert. He will probably have a better answer for you. -Justin On Thu, Aug 26, 2010 at 4:58 AM, Milind.Samantmilind.sam...@rolta.comwrote: Hi Justin, Can we create silent answer file for this software and how? Regards. Milind. - Original Message - *From:* Justin Deoliveirajdeol...@opengeo.org *To:* Milind.Samantmilind.sam...@rolta.com *Cc:* geoserver-users@lists.sourceforge.net *Sent:* Monday, August 23, 2010 6:36 PM *Subject:* Re: [Geoserver-users] Geoserver 2.0.2 installation Hi Milind, The easiest way would be to grab the platform independent zip [1]. Upload it to the remote system and unpackage it. Should work fine. -Justin [1] http://downloads.sourceforge.net/geoserver/geoserver-2.0.2-bin.zip On Wed, Aug 18, 2010 at 11:45 PM, Milind.Samantmilind.sam...@rolta.comwrote: Sir, I have downloaded this software (geoserver 2.0.2) and try to install silently. But it doesn't work. Can you provide me silent installation method for this software so that I can install it on some network systems remotely? Thanks Regards. Milind. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Geoserver 2.0.2 installation
I have used the NSI installers previously in silent mode; you can supply some command line options for things such as the install directory. For udig: udig-1.2.0.win32.exe /S Or with directory: udig-1.2.0.win32.exe /S /D=C:\uDig Jody On 27/08/2010, at 6:43 AM, Justin Deoliveira wrote: Hi Milind, I am actually unfamiliar with the notion of a silent answer file. A quick google search seems to indicate it would be a modification to the windows installer. Mike (CC'd) is our windows installer expert. He will probably have a better answer for you. -Justin On Thu, Aug 26, 2010 at 4:58 AM, Milind.Samant milind.sam...@rolta.com wrote: Hi Justin, Can we create silent answer file for this software and how? Regards. Milind. - Original Message - From: Justin Deoliveira To: Milind.Samant Cc: geoserver-users@lists.sourceforge.net Sent: Monday, August 23, 2010 6:36 PM Subject: Re: [Geoserver-users] Geoserver 2.0.2 installation Hi Milind, The easiest way would be to grab the platform independent zip [1]. Upload it to the remote system and unpackage it. Should work fine. -Justin [1] http://downloads.sourceforge.net/geoserver/geoserver-2.0.2-bin.zip On Wed, Aug 18, 2010 at 11:45 PM, Milind.Samant milind.sam...@rolta.com wrote: Sir, I have downloaded this software (geoserver 2.0.2) and try to install silently. But it doesn't work. Can you provide me silent installation method for this software so that I can install it on some network systems remotely? Thanks Regards. Milind. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] SLD Problem with LineSymbolizer and GraphicStroke under GeoServer 2.0.2
Hi, I have an SLD which defines a LineSymbolizer which uses a GraphicStroke with an ExternalGraphic referencing a PNG image: LineSymbolizer Stroke GraphicStroke Graphic ExternalGraphic OnlineResource xmlns:xlink=http://www.w3.org/1999/xlink; xlink:type=simple xlink:href=nz_traffic_freeflow_0.png/ Formatimage/png/Format /ExternalGraphic Size16/Size /Graphic /GraphicStroke /Stroke /LineSymbolizer This renders as expected under a nightly build from trunk but fails under the 2.0.2 release with this error: 27 Aug 13:34:19 ERROR [geotools.rendering] - Unknown image type 0 java.lang.IllegalArgumentException: Unknown image type 0 at java.awt.image.BufferedImage.init(BufferedImage.java:490) at org.geotools.renderer.lite.StyledShapePainter.drawWithGraphicsStroke(StyledShapePainter.java:415) at org.geotools.renderer.lite.StyledShapePainter.paint(StyledShapePainter.java:217) at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(StreamingRenderer.java:2061) at org.geotools.renderer.lite.StreamingRenderer.process(StreamingRenderer.java:1985) at org.geotools.renderer.lite.StreamingRenderer.drawOptimized(StreamingRenderer.java:1879) at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1792) at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:699) at org.geotools.renderer.shape.ShapefileRenderer.renderWithStreamingRenderer(ShapefileRenderer.java:1525) at org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1373) at org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:376) at org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:426) at org.geoserver.ows.adapters.ResponseAdapter.getMimeType(ResponseAdapter.java:48) at org.geoserver.ows.Dispatcher.response(Dispatcher.java:712) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) at
[Geoserver-users] date gives 12/30/99 12:00 AM instead of 00:00:00 in geoserver
Hi, I have an attribute in a shapefile which has a date format. The date represents the date that a landuse parcel was last modified. If a parcel wasn´t modified since the beginning of the project was created it will still have the default date 00:00:00 However, when I get the attributes in a popup, the date shows 12/30/99 12:00 AM Could anyone please tell me what is going on, and how I could either replace or hide this? Thanks for any help, Robert Buckley -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users