Re: [Geoserver-users] PointSymbolizer anchor
Hailey, Though it seems counterintuitive, use the TextSymbolizer instead. It has an AnchorPoint that you can specify. Use 0.5 for X (halfway along the X-axis of your graphic and use 0 for Y (at the bottom of your graphic). Indeed, the TextSymbolizer has a Graphic (typically used to render highway shields) that you can use to reference your external graphic. Regards, Edward Date: Fri, 11 May 2012 15:02:19 -0700 From: haileyeckstr...@gmail.com To: Geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] PointSymbolizer anchor Hi All,I am trying to figure out how to write PointSymbolizer SLD that anchors the bottom of the graphic to the point location, not the center of the graphic to the point location. For example, I am using a google like teardrop to represent my points, but the center of the graphic is where the image in anchored.. so the bottom of the teardrop is slightly below the point location. I'd like the bottom of the teardrop to be on the point location. I have included an image of what I currently have (top image) and what I'd like (bottom). This is my basic SLD:áá ááRule á á á á ááNameLarge/Name á á á á á áMaxScaleDenominator16000/MaxScaleDenominator á á á á ááPointSymbolizer á á á á á ááGraphic á á á á á á áExternalGraphic á á á á á á á áOnlineResourceáxmlns:xlink=http://www.w3.org/1999/xlinkáxlink:type=simpleáxlink:href=file:/home/moti.png/ á á á á á á á ááFormatimage/png/Format á á á á á á áá/ExternalGraphic á á á á á á ááSize14/Size á á á á á áá/Graphic á á á á áá/PointSymbolizer á á á áá/Rule Thanks in advance! Hailey -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] PointSymbolizer anchor
Hailey, Alternatively, check out this earlier thread: http://osgeo-org.1560.n6.nabble.com/SLD-anchor-point-of-a-symbol-td3808239.html This way, you change the graphic itself and maintain the PointSymbolizer. Regards, Edward Date: Fri, 11 May 2012 15:02:19 -0700 From: haileyeckstr...@gmail.com To: Geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] PointSymbolizer anchor Hi All,I am trying to figure out how to write PointSymbolizer SLD that anchors the bottom of the graphic to the point location, not the center of the graphic to the point location. For example, I am using a google like teardrop to represent my points, but the center of the graphic is where the image in anchored.. so the bottom of the teardrop is slightly below the point location. I'd like the bottom of the teardrop to be on the point location. I have included an image of what I currently have (top image) and what I'd like (bottom). This is my basic SLD:áá ááRule á á á á ááNameLarge/Name á á á á á áMaxScaleDenominator16000/MaxScaleDenominator á á á á ááPointSymbolizer á á á á á ááGraphic á á á á á á áExternalGraphic á á á á á á á áOnlineResourceáxmlns:xlink=http://www.w3.org/1999/xlinkáxlink:type=simpleáxlink:href=file:/home/moti.png/ á á á á á á á ááFormatimage/png/Format á á á á á á áá/ExternalGraphic á á á á á á ááSize14/Size á á á á á áá/Graphic á á á á áá/PointSymbolizer á á á áá/Rule Thanks in advance! Hailey -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] What's the difference between LAYERS and QUERY_LAYERS parameters in GetFeatureInfo request?
On Wed, May 9, 2012 at 10:43 PM, cheesybiscuits thomaschrist...@gmail.com wrote: I know this is an old thread but I was thinking about how getFeatureInfo might work under the covers and Andrea's description of layer ordering and only querying what the user can see is what I would expect to happen. Regarding most servers just query all the layers without checking what is hidden and what is visible graphically does this include GeoServer (2.1.3)? I also assumed that the server would consider symbology, so if I have a 250x250 px icon GeoServer would know that I didn't have to click on or near the underlying geographic location to select it. Are my expectations / assumptions correct, or is GetFeatureInfo's logic actually less sophisticated? Hum, yes and no. The code in the released version tries to take into account all symbolizer sizes, but due to this bug https://jira.codehaus.org/browse/GEOS-5112 the buffer distance evaluator did not take into account the size of external graphics unless you explicitly declared it in the SLD file, but leaving instead the icon at its natural size. The issue should be fixed now, if you want to try out the fix try using the latest nightly build here: http://gridlock.opengeo.org/geoserver/2.1.x/ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Weblogic 12c
Hi, I tried publishing an oracle jndi store in weblogic and it turned out that there were some type casting issues between the SDO_GEOMETRY class of jdbc driver in geoserver and weblogic`s jdbc version . However simple oracle datastore should not give you any problem. This can also occur if the sdo_geom_metadata table does not have a valid entry. I am guessing you have validated the geometry column as well. :) regards, Imran On Fri, May 11, 2012 at 9:08 PM, GeoUser geouser...@yahoo.com wrote: Hey all, i had some 'subscription' problems so i'm reposting my problem. Here it goes: I'm running Geoserver 2.1.3 on Weblogic 12c and trying to use the official Oracle plugin (JNDI). The problem is that Weblogic wraps all oracle jdbc stuff, causing exceptions as seen below, allover Oracle plugin codebase... Caused by: java.io.IOException: Error occured calculating bounds at org.geotools.jdbc.JDBCDataStore.getBounds(JDBCDataStore.java:1137) at org.geotools.jdbc.JDBCFeatureSource.getBoundsInternal(JDBCFeatureSource.java:478) ... 94 more Caused by: java.lang.ClassCastException: weblogic.jdbc.wrapper.Struct_oracle_sql_STRUCT cannot be cast to oracle.sql.STRUCT at org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:438) at org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:424) at org.geotools.data.oracle.OracleDialect.decodeGeometryEnvelope(OracleDialect.java:371) at org.geotools.data.oracle.OracleDialect.getOptimizedBounds(OracleDialect.java:634) at org.geotools.jdbc.JDBCDataStore.getBounds(JDBCDataStore.java:1092) ... 95 more ... I think that this is a big problem since we (and probably others) can not use Oracle+Geoserver+WeblogicXX combination. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Weblogic-12c-tp4968706.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- I.R -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Weblogic 12c
Hey, the problem is that i can not use the basic oracle connection. I MUST use JNDI. I guess i'll have to fix the oracle plugin :) -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Weblogic-12c-tp4968706p4972769.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] (no subject)
http://www.davywu.com/wp-content/themes/twentyten/thjfle.html?tud=fjyr.ornww=fgyut.ggrp=xomq-- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Weblogic 12c
On Sat, May 12, 2012 at 12:03 PM, GeoUser geouser...@yahoo.com wrote: Hey, the problem is that i can not use the basic oracle connection. I MUST use JNDI. I guess i'll have to fix the oracle plugin :) I have people using Weblogic with the GeoServer plugin, but I'm not sure about the version. All that is needed is some configuration in the connection pool, go into the advanced section, open it, and uncheck remove infected connections enabled (since GeoServer needs to unwrap the connections to read geometries) and wrap data types (since we need to actual objects, not wrapper around them). Let me know if that works 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users