[Geoserver-users] SLD PointSymbolizer WellKnownName TTF Support
Hello, I was wondering if the PointSymbolizer is supposed to be able to support the TTF and PropertyName substitution in a manner similar to the LineSymbolizer. In the LineSymbolizer, I can do the following: LineSymbolizer !-- Draw decoration -- Stroke GraphicStroke Graphic Mark WellKnownNamettf://Arial#ogc:PropertyNamecharHexValue/ogc:PropertyName /WellKnownName Fill CssParameter name=fill#00/CssParameter /Fill . But if I try something similar in the PointSymbolizer I get a strConcat error and the SLD fails: PointSymbolizer Graphic Mark WellKnownNamettf://Arial#ogc:PropertyNamecharHexValue/ogc:PropertyName /WellKnownName Fill CssParameter name=fill#00/CssParameter /Fill . Produces. ERROR [geotools.rendering] - The specified mark strConcat([ttf://Arial#], [charHexValue]) was not found! java.lang.IllegalArgumentException: The specified mark strConcat([ttf://Arial#], [charHexValue]) was not found! at org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory .java:632) at org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory .java:499) at org.geotools.renderer.style.SLDStyleFactory.createStyleInternal(SLDStyleFact ory.java:355) at org.geotools.renderer.style.SLDStyleFactory.createStyle(SLDStyleFactory.java :302) at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(StreamingRen derer.java:2554) at org.geotools.renderer.lite.StreamingRenderer.process(StreamingRenderer.java: 2457) at org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer.jav a:2313) at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRendere r.java:1982) at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:80 4) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageM apOutputFormat.java:490) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageM apOutputFormat.java:250) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageM apOutputFormat.java:125) at org.geoserver.wms.GetMap.executeInternal(GetMap.java:468) at org.geoserver.wms.GetMap.run(GetMap.java:208) at org.geoserver.wms.GetMap.run(GetMap.java:112) Regards, Pete -- Peter Blanchard pblanch...@pmatllc.com Senior Software Engineer Cell: 619.253.7866 Fax: 813.907.9415 Programs Management Analytics Technologies, LLC www.PMATLLC.com -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] SLD PointSymbolizer WellKnownName TTF Support
On Thu, Mar 1, 2012 at 1:20 AM, Peter Blanchard pblanch...@pmatllc.com wrote: Hello, I was wondering if the PointSymbolizer is supposed to be able to support the TTF and PropertyName substitution in a manner similar to the LineSymbolizer. In the LineSymbolizer, I can do the following: LineSymbolizer !-- Draw decoration -- Stroke GraphicStroke Graphic Mark WellKnownNamettf://Arial#ogc:PropertyNamecharHexValue/ogc:PropertyName/WellKnownName Fill CssParameter name=fill#00/CssParameter /Fill Nope, it cannot, WellKnownName is not a mixed content element, dynamic symbolizers have their own way to expand property names which should work both for mark names and external graphics. See here: http://blog.geoserver.org/2008/12/08/dynamic-symbolizers-part-1/ Cheers Andrea -- --- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf --- -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Problem with multivalued simple types mapping
Hello I have something like this view 'app': id name textdescriptiontime appr.1name_1abcdesc 2011-02-01T12:50:30Z appr.1name_2abcdesc 2011-02-01T12:50:30Z name is a multivalued attribute I need to obtain this: x:App gml:id=appr.1 x:tag x:message x:descriptiondesc/x:description x:textabc/x:text /x:messagge /x:tag x:time2011-02-01T12:50:30Z/x:time x:namename_1/x:name x:namename_2/x:name /x:App I tried this: groupBy GroupByAttribute x:name /GroupByAttribute /groupBy but it doesn't work -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] How to set up geoserver wfs-t security?
hi, I am trying to set up the following senario... ROLE_ADMINISTRATOR full read and write permission to all layers ROLE_USER1 = read access to only one workspace called rropx Eeveryone else = read access to all other workspaces EXCEPT the workspace rropx I have defined the configuration as follows... //user.properties admin=admin,ROLE_ADMIN,enabled user1=user1,ROLE_USER1,enabled //layer.properties *.*.r=ROLE_ADMIN *.*.w=ROLE_ADMIN mode=HIDE other_workspaces.*.r=* rropx.*.r=ROLE_USER1 rropx.*.w=ROLE_USER1 The problem is that ROLE_USER1 can see all layers but not edit his workspace. Can anyone see a mistake? thanks, Rob-- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] geoserver 2.1.3 and postgis raster
Hi all, I wondered : is there any postgis raster support yet in geoserver 2.1.3 ? I read a few posts about postgis raster support, but nothing really clear : what's the current status ? Planned for next release, available in trunk, already available but not documented ? Any existing and available plugin ? I'd be really pleased to have some more clues about it. Thanks, Jean -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] geoserver 2.1.3 and postgis raster
There is a first implementation, look here http://docs.geotools.org/latest/userguide/library/coverage/pgraster.html If you want to use it with geoserver, you have to install the imagemosaic-jdbc extensions. Be warned, postgis raster is still a beta version. Cheers Christian Zitat von Jean Pommier (IGE) jean.pomm...@ige.fr: Hi all, I wondered : is there any postgis raster support yet in geoserver 2.1.3 ? I read a few posts about postgis raster support, but nothing really clear : what's the current status ? Planned for next release, available in trunk, already available but not documented ? Any existing and available plugin ? I'd be really pleased to have some more clues about it. Thanks, Jean This message was sent using IMP, the Internet Messaging Program. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Oracle permissions
Hi, We are connecting GeoServer to an Oracle database in order to publish tables. In keeping with good practices, we wanted to create an Oracle user with minimal permissions required to do the job for GeoServer to use. Creating a user with SELECT permissions on the tables we want to publish means that we can neither publish nor preview a layer from the database. Using my super user credentials (read/write to everything) it works. Could you tell me what the minimum requirements for publishing and using an Oracle layer are so that I can adequately set up permissions? Mark Hammond Web Software Developer British Trust for Ornithology, The Nunnery, Thetford, Norfolk, IP24 2PU, UK ' Scribo ergo sum dolor ' -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] (no subject)
Hi, have a problem by publishing a layer. Following errow occures. Do someone know what it means. Thanks java.lang.RuntimeException: Error occurred while building the resources for the configuration page at org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:306) at org.geoserver.web.data.layer.NewLayerPage$6.onClick(NewLayerPage.java:245) at org.geoserver.web.wicket.SimpleAjaxLink$1.onClick(SimpleAjaxLink.java:44) at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484) at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158) 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:707) 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.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at
Re: [Geoserver-users] Oracle permissions
Hi Mark, In order to access the databasethe user you create has to have other system grants, such as CONNECT, RESSOURCE etc. Also, probably, the should have to metadata of the layers (* USER_SDO_GEOM_METADATA*). Please check the Oracle Documentation for that regards, michael On Thu, Mar 1, 2012 at 4:11 PM, Mark Hammond mark.hamm...@bto.org wrote: Hi, ** ** We are connecting GeoServer to an Oracle database in order to publish tables. ** ** In keeping with good practices, we wanted to create an Oracle user with minimal permissions required to do the job for GeoServer to use. Creating a user with SELECT permissions on the tables we want to publish means that we can neither publish nor preview a layer from the database. Using my super user credentials (read/write to everything) it works. ** ** Could you tell me what the minimum requirements for publishing and using an Oracle layer are so that I can adequately set up permissions? ** ** Mark Hammond Web Software Developer British Trust for Ornithology, The Nunnery, Thetford, Norfolk, IP24 2PU, UK *' **Scribo ergo sum dolor* *'* ** ** -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Oracle permissions
Is there a definitive list anywhere? (Would be jolly useful addition to GeoServer Oracle Plugin documentation) From: Michael Shishcu [mailto:mickl...@gmail.com] Sent: 01 March 2012 14:33 To: Mark Hammond Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Oracle permissions Hi Mark, In order to access the databasethe user you create has to have other system grants, such as CONNECT, RESSOURCE etc. Also, probably, the should have to metadata of the layers (USER_SDO_GEOM_METADATA). Please check the Oracle Documentation for that regards, michael On Thu, Mar 1, 2012 at 4:11 PM, Mark Hammond mark.hamm...@bto.org wrote: Hi, We are connecting GeoServer to an Oracle database in order to publish tables. In keeping with good practices, we wanted to create an Oracle user with minimal permissions required to do the job for GeoServer to use. Creating a user with SELECT permissions on the tables we want to publish means that we can neither publish nor preview a layer from the database. Using my super user credentials (read/write to everything) it works. Could you tell me what the minimum requirements for publishing and using an Oracle layer are so that I can adequately set up permissions? Mark Hammond Web Software Developer British Trust for Ornithology, The Nunnery, Thetford, Norfolk, IP24 2PU, UK ' Scribo ergo sum dolor ' -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Oracle permissions
On Thu, Mar 1, 2012 at 4:56 PM, Mark Hammond mark.hamm...@bto.org wrote: Is there a definitive list anywhere? (Would be jolly useful addition to GeoServer Oracle Plugin documentation) We don't have one, the list of stuff that the store tries to access actually grew over time. First off, we basically use everything powering jdbc metadata, which should be the dictionary for tables and indexes. And then all other accesses are done using this class: http://svn.osgeo.org/geotools/trunk/modules/plugin/jdbc/jdbc-oracle/src/main/java/org/geotools/data/oracle/OracleDialect.java It would indeed be nice if someone put toghether a patch for the documentation Cheers Andrea -- --- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf --- -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] GeoRSS style sheet
Is there a way to attach a style sheet to a GeoRSS so that it can be viewed directly in a browser such as firefox? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526 This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, please delete this email immediately. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Oracle permissions
Hi Andrea, Mark an update to this just installed geoserver on my home laptop, with oracle plugin. later, log in into oracle as sysdba and create new user CREATE USER tst IDENTIFIED BY tst DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP; GRANT CREATE TABLE TO tst ; GRANT CREATE VIEW TO tst ; GRANT CREATE SESSION TO tst ; GRANT ALTER SESSION TO tst ; grant SELECT on MAPDATA.STREET to TST ; as the new user: CREATE OR REPLACE VIEW STR AS SELECT * FROM MAPDATA.STREET next step is not necessarry, though... INSERT INTO USER_SDO_GEOM_METADATA VALUES ( 'STREET', -- table/view name 'GEOLOC',-- geom column MDSYS.SDO_DIM_ARRAY( MDSYS.SDO_DIM_ELEMENT('X', 0, 40, 0.001), -- minX, maxX, toleranceY MDSYS.SDO_DIM_ELEMENT('Y', 0, 40, 0.001) -- minY, maxY, toleranceY ), 123456 --your CS ); and configure on geoserver site all you need If someone can update docs with this - you are welcome if not - i'll try to do that by the end of the week regards, michael On Thu, Mar 1, 2012 at 6:23 PM, Andrea Aime andrea.a...@geo-solutions.itwrote: On Thu, Mar 1, 2012 at 4:56 PM, Mark Hammond mark.hamm...@bto.org wrote: Is there a definitive list anywhere? (Would be jolly useful addition to GeoServer Oracle Plugin documentation) We don't have one, the list of stuff that the store tries to access actually grew over time. First off, we basically use everything powering jdbc metadata, which should be the dictionary for tables and indexes. And then all other accesses are done using this class: http://svn.osgeo.org/geotools/trunk/modules/plugin/jdbc/jdbc-oracle/src/main/java/org/geotools/data/oracle/OracleDialect.java It would indeed be nice if someone put toghether a patch for the documentation Cheers Andrea -- --- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob:+39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf --- -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] I have broken my GetCapabilities
If you have any image pyramids it could be related to https://jira.codehaus.org/browse/GEOS-4755. If geoserver has problems serving an image pyramid (bad image in pyramid or timeout due to overload) it overwrites the image pyramid properties with a version that breaks getcapability requests. I think the error produced is slightly different. Regards Gordon From: Robert Buckley [robertdbuck...@yahoo.com] Sent: 01 March 2012 18:17 To: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] I have broken my GetCapabilities sorryforgot to mention this.. geoserver latest (2.1.3) i´ve just read this...http://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg07993.html I try it out!.. Von: Robert Buckley robertdbuck...@yahoo.com An: geoserver-users@lists.sourceforge.net geoserver-users@lists.sourceforge.net Gesendet: 8:06 Donnerstag, 1.März 2012 Betreff: [Geoserver-users] I have broken my GetCapabilities Hi, since yesterday I have had problems with my getCapabilities report. The error produced is underneath Is this to do with sl?...i have been writing lots of sld rules for 2 days...otherwise all the maps are loaded ok and geoserver works finebut noone can load my getCapabilites report!?! Can anyone interprete this? thanks, Rob javax.xml.transform.TransformerException: Translator error Translator error Error occurred trying to write out metadata for layer: newCorrected Unable to acquire a reader for this coverage with format: GeoTIFF Details: org.geoserver.platform.ServiceException: javax.xml.transform.TransformerException: Translator error at org.geoserver.wms.capabilities.Capabilities_1_3_0_Response.write(Capabilities_1_3_0_Response.java:66) at org.geoserver.ows.Dispatcher.response(Dispatcher.java:751) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:238) 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.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406) at
[Geoserver-users] GeoWebCache geowebcache.xml bug? custom GridSet and applying it to a layer
I'm having trouble understanding how GeoWebCache and GeoServer fit together when it comes to new GridSets - this may be a bug but I'm not sure. I have defined a new GridSet which seems fine (no more messages in GeoServer's log when I reload geowebcache.xml). I found out here: http://osgeo-org.1560.n6.nabble.com/GeoSserver-and-GeoWebCache-td3799862.html that I need to specify which layers implement this GridSet. The documentation I found for geowebcache.xml (http://geowebcache.org/docs/current/_sources/configuration/layers/projections.txt) says when I define a wmsLayer element within layers I can choose any name I want. At first I wondered how GeoWebCache would know which layer I actually wanted to cache, when all I tell it about the URL is the WMS end-point with no layer argument, but then I read here: http://osgeo-org.1560.n6.nabble.com/gwc-layer-naming-convention-td4481580.html about using the wmsLayers element to specify the layers within the service I want. However, it doesn't work. If I use the GeoServer name for a layer in geowebcache.xml it doesn't show up in the list of layers I can seed, because the layer is already listed there by default and only has the default 4326 and 900913 GridSets. If I give it a new name, which doesn't match a GeoServer layer - e.g. the new layer, it shows up as a seed-able layer with my custom GridSet (and neither of the defaults), but seeding fails with the message Unexpected response code from backend: 404 for http://host_name:8080/geoserver/test/wms?;. If I use the preview available with the GWC seed page I can see that the WMS URL it uses contains ...wms?LAYERS=the new layer - it is using the layer name I provided which is supposed to be arbitrary, instead of the layers I explicitly provided within the wmsLayers element. Is this a bug in GeoWebCache, or something going wrong in my configuration file? I disabled Automatically configure a cached layer for newly added layers and added a new layer in GeoServer, thinking that it wouldn't appear in the seed-able list with the default GridSets, and therefore I could safely use the GeoServer layer name, but it DID show up in the seed-able list by default, so I'm no better off. The relevant part of geowebcache.xml looks like this... Any suggestions very much appreciated. gridSets gridSet nameTest_GridSet/name srs number900913/number /srs extent coords double-20037508/double double-20037508/double double20037508/double double20037508/double /coords /extent metersPerUnit1/metersPerUnit tileHeight256/tileHeight tileWidth256/tileWidth /gridSet /gridSets ... layers wmsLayer namethe new layer/name wmsLayersnamespace:geoserver_layer_name/wmsLayers mimeFormats stringimage/gif/string stringimage/jpeg/string stringimage/png/string stringimage/png8/string /mimeFormats gridSubsets gridSubset gridSetNameTest_GridSet/gridSetName /gridSubset /gridSubsets wmsUrl stringhttp://host_name:8080/geoserver/test/wms/string /wmsUrl /wmsLayer /layers -- View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoWebCache-geowebcache-xml-bug-custom-GridSet-and-applying-it-to-a-layer-tp4538078p4538078.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] App schema mapping gives error casting GeometryTypeImpl to ComplexType
Hi Ben, Thanks for the reply. I did what you suggested with the geometry property types and mapped it as (for example): AttributeMapping targetAttribute iso19112:position /targetAttribute sourceExpression OCQLwkb_geometry/OCQL /sourceExpression /AttributeMapping But it only gets empty gml elements: iso19112:SI_LocationInstance gml:id=gazplaces.312925 iso19112:geographicIdentifierWA100148359/iso19112:geographicIdentifier... iso19112:position/ /iso19112:SI_LocationInstance Should I be using the GeoServer trunk rather than 2.1.3, which I'm using? Or is there something else that I'm missing? Regards, Andrew -Original Message- From: Ben Caradoc-Davies [mailto:ben.caradoc-dav...@csiro.au] Sent: Monday, 27 February 2012 2:11 PM To: Andrew Betlehem Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] App schema mapping gives error casting GeometryTypeImpl to ComplexType Andrew, GeoServer/GeoTools geometries are atomic entities. Instead of trying to set properties/attributes on parts of geometries, create geometries (for example, from a database geometry column, using database functions) with srs set correctly and let GeoServer unpack and encode them for you. The target attribute in this case should be territoryOfUse. If this is a geometry property type, you probably don't need targetAttributeNode as app-schema (with GeoServer trunk) is now smart enough to search the substitution list (thank you Niels). Second, your namespace prefix 19112 is invalid. Namespace prefixes must be NCNames, and cannot start with a digit. They can contain digits but typically start with a letter. For example, a valid prefix would be iso19112: http://www.w3.org/TR/xml-names11/#NT-NCName http://www.w3.org/TR/xml11/#NT-NameStartChar Kind regards, Ben. On 24/02/12 12:56, Andrew Betlehem wrote: Hi, With Geoserver 2.3.1, we’re trying to use the app schema extension and get a Java error see below: 24 Feb 15:40:37 ERROR [geoserver.ows] - java.lang.RuntimeException: Error applying mapping with targetAttribute 19112:territoryOfUse/gml:Polygon at org.geotools.data.complex.DataAccessMappingFeatureIterator.computeNext(DataAccessMappingFeatureIterator.java:776) at org.geotools.data.complex.AbstractMappingFeatureIterator.next(AbstractMappingFeatureIterator.java:172) at org.geotools.data.complex.AbstractMappingFeatureIterator.next(Abstract MappingFeatureIterator.java:55) … at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassCastException: org.geotools.feature.type.GeometryTypeImpl cannot be cast to org.opengis.feature.type.ComplexType at org.geotools.data.complex.filter.XPath.set(XPath.java:603) at org.geotools.data.complex.filter.XPath.set(XPath.java:555) at org.geotools.data.complex.DataAccessMappingFeatureIterator.setAttributeValue(DataAccessMappingFeatureIterator.java:446) at org.geotools.data.complex.DataAccessMappingFeatureIterator.computeNext (DataAccessMappingFeatureIterator.java:773) A section of our mapping file is: targetTypes FeatureType schemaUrihttp://frameworkwfs.usgs.gov/framework/schemas/gazetteer/1.0.0/gmlsf1/iso/2005/gmd/gmd.xsd/schemaUri schemaUrifile:C:/OSP-Gazetteer/data/geoserver%20data/workspaces/iso19112/iso19112.xsd/schemaUri /FeatureType /targetTypes typeMappings FeatureTypeMapping sourceDataStoreCommon Datastore/sourceDataStore sourceTypeCommon/sourceType targetElement19112:SI_Gazetteer/targetElement attributeMappings AttributeMapping targetAttribute19112:SI_Gazetteer/targetAttribute idExpression OCQLgetId()/OCQL /idExpression /AttributeMapping AttributeMapping targetAttribute 19112:name /targetAttribute sourceExpression OCQLname/OCQL /sourceExpression /AttributeMapping AttributeMapping targetAttribute 19112:scope /targetAttribute sourceExpression OCQLscope/OCQL /sourceExpression /AttributeMapping AttributeMapping targetAttribute 19112:territoryOfUse /targetAttribute targetAttributeNode gml:PolygonPropertyType /targetAttributeNode /AttributeMapping AttributeMapping targetAttribute 19112:territoryOfUse/gml:Polygon /targetAttribute ClientProperty namesrsName/name valuesrs/value /ClientProperty /AttributeMapping AttributeMapping targetAttribute
Re: [Geoserver-users] App schema mapping gives error casting GeometryTypeImpl to ComplexType
Hi Ben, We did grab the 2.2 snapshot, but that didn't turn out to solve the issue we were having. What actually happened was that we were including a 'schema.xsd' file in the workspace, which was ignoring gml when loading. This in turn made all our gml cast to the wrong types, which lead to empty output on gml. So the fix is to either drop the schema.xsd or change the GeoServer code to load gml schemas, even if they are previously loaded. Cheers, Andrew -Original Message- From: Ben Caradoc-Davies [mailto:ben.caradoc-dav...@csiro.au] Sent: Thursday, 1 March 2012 12:59 PM To: Andrew Betlehem Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] App schema mapping gives error casting GeometryTypeImpl to ComplexType On 01/03/12 07:45, Andrew Betlehem wrote: Should I be using the GeoServer trunk rather than 2.1.3, which I'm using? Yes. The stable branch is over a year behind trunk, which has many important improvements. Here are some Jira queries that should give you a rough idea of things that have been fixed. These are only part of the picture as we also have an internal Jira and not all its issues shadow codehaus issues: https://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+GEOT+AND+resolution+%3D+Fixed+AND+component+%3D+%22app-schema+plugin%22+AND+status+in+%28Resolved%2C+Closed%29+AND+updated+%3E%3D+2011-01-18+ORDER+BY+updated+DESC%2C+key+ASC https://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+GEOS+AND+resolution+%3D+Fixed+AND+component+%3D+%22Application+schema%22+AND+status+in+%28Resolved%2C+Closed%29+AND+updated+%3E%3D+2011-01-18+ORDER+BY+updated+DESC%2C+key+ASC The Spatial Information Services Stack currently uses trunk: https://www.seegrid.csiro.au/wiki/Siss/SISSReleases The GeoServer build in each SISS release has undergone substantial integration and deployment testing with app-schema. They are all built from trunk. Kind regards, -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] postgis SQL view - geography column not recognised
Joshua, does the user you are connecting with have permission to select from the view geography_columns (introduced when support for geographies was added)? Can you select * from geography_columns as this user? For GeoServer to recognise geometry columns in views, they must be registered in geometry_columns. I suspect a similar rule may apply to geography columns. Kind regards, Ben. On 02/03/12 12:41, Joshua Groom wrote: Hi, I am using - Geoserver 2.1.2 (have replicated this issue on 2.1.3 as well) - PostgreSQL 9.1.3 on x86_64-pc-linux-gnu, compiled by gcc-4.6.real (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1, 64-bit - POSTGIS=1.5.3 GEOS=3.2.2-CAPI-1.6.2 PROJ=Rel. 4.7.1, 23 September 2009 LIBXML=2.7.8 USE_STATS - Sun Java(TM) SE Runtime Environment (build 1.6.0_26-b03) I have no problem creating layers by directly publishing tables from Postgis or Oracle 11g and can create SQL Views in oracle 11g but not Postgis. I am having issues with SQL views connecting to a Postgis datasource with a table defined like so: CREATE TABLE lightning ( id integer primary key, timestamp text, amplitude real, duration integer, type text, strike_location geography(POINT, 4326) ); CREATE INDEX lightning_gix ON lightning USING GIST ( strike_location ); However when I try to create an SQL view, for example: select * from lightning Then the geography column strike_location is not picked up and I see the log message: WARN [geotools.jdbc] - Could not find mapping for 'strike_location', ignoring the column and setting the feature type read only The layer can be created if I manually specify SRS and bounding Box it does not appear to have a location associated with it, layer preview doesn't work and GML contains no lat lon information. Any help would be appreciated. Thanks, Josh -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] App schema mapping gives error casting GeometryTypeImpl to ComplexType
Ouch. I have not tried using both schema.xsd and app-schema. On 02/03/12 09:53, Andrew Betlehem wrote: Hi Ben, We did grab the 2.2 snapshot, but that didn't turn out to solve the issue we were having. What actually happened was that we were including a 'schema.xsd' file in the workspace, which was ignoring gml when loading. This in turn made all our gml cast to the wrong types, which lead to empty output on gml. So the fix is to either drop the schema.xsd or change the GeoServer code to load gml schemas, even if they are previously loaded. Cheers, Andrew -Original Message- From: Ben Caradoc-Davies [mailto:ben.caradoc-dav...@csiro.au] Sent: Thursday, 1 March 2012 12:59 PM To: Andrew Betlehem Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] App schema mapping gives error casting GeometryTypeImpl to ComplexType On 01/03/12 07:45, Andrew Betlehem wrote: Should I be using the GeoServer trunk rather than 2.1.3, which I'm using? Yes. The stable branch is over a year behind trunk, which has many important improvements. Here are some Jira queries that should give you a rough idea of things that have been fixed. These are only part of the picture as we also have an internal Jira and not all its issues shadow codehaus issues: https://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+GEOT+AND+resolution+%3D+Fixed+AND+component+%3D+%22app-schema+plugin%22+AND+status+in+%28Resolved%2C+Closed%29+AND+updated+%3E%3D+2011-01-18+ORDER+BY+updated+DESC%2C+key+ASC https://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+GEOS+AND+resolution+%3D+Fixed+AND+component+%3D+%22Application+schema%22+AND+status+in+%28Resolved%2C+Closed%29+AND+updated+%3E%3D+2011-01-18+ORDER+BY+updated+DESC%2C+key+ASC The Spatial Information Services Stack currently uses trunk: https://www.seegrid.csiro.au/wiki/Siss/SISSReleases The GeoServer build in each SISS release has undergone substantial integration and deployment testing with app-schema. They are all built from trunk. Kind regards, -- Ben Caradoc-Daviesben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- Ben Caradoc-Davies ben.caradoc-dav...@csiro.au Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] GeoWebCache geowebcache.xml bug? custom GridSet and applying it to a layer
Hi, we experienced problems with our geowebcache.xml-configuration as well and could not make a layer to display on the demo-page of geowebcache. Tried many things till I found out that the order of the different attributes of a wmslayer in the configuration seems to be important. I found that out by looking at the xsd referenced in the header of the geowebcache.xml (http://geowebcache.org/schema/1.3.0/geowebcache.xsd in our case). That means for your (and for our config as well) that the wmsLayers-entry has to be positioned right after the wmsUrl-parameter (instead of after the name-parameter). Maybe that helps in your case. Best regards Max Stephan -- View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoWebCache-geowebcache-xml-bug-custom-GridSet-and-applying-it-to-a-layer-tp4538078p4538906.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users