[Geoserver-users] Question on Dynamic symbolizers
Hi I have the need to display different images for different features in my layer. Dynamic symbolizers seems like a perfect solution. So I had to create a style sheet which looks like the one below. ${image_name} is the column in the table which contains the image to be displayed. This works perfectly for the png image that is produced. Each feature gets its own image. However, this errors out in the KML. The error in the kml is shown below. Any clues what I should be doing here. Thanks Ashok Lines from the SLD image/png 32 Error when generating the KML 2012-07-26 14:28:25,063 ERROR [org.geoserver.kml] (http-8443-1) Could not parse cql expressions out of https://localhost:8443/geoserver/styles/$%7Bimage_name%7D java.lang.IllegalArgumentException: Unescaped $ at position 41 at org.geotools.renderer.style.ExpressionExtractor.splitCqlExpressions(ExpressionExtractor.java:97) at org.geotools.renderer.style.ExpressionExtractor.extractCqlExpressions(ExpressionExtractor.java:162) at org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.evaluateDynamicSymbolizer(KMLMapTransformer.java:748) at org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodePointStyle(KMLMapTransformer.java:722) at org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodeStyle(KMLMapTransformer.java:467) at org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodeStyle(KMLMapTransformer.java:356) at org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodePlacemark(KMLMapTransformer.java:954) at org.geoserver.kml.KMLMapTransformer$KMLMapTranslatorSupport.encodePlacemark(KMLMapTransformer.java:878) at org.geoserver.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:206) at org.geoserver.kml.KMLVectorTransformer$KMLTranslator.encode(KMLVectorTransformer.java:148) at org.geoserver.kml.KMLTransformer$KMLTranslator.encodeVectorLayer(KMLTransformer.java:208) at org.geoserver.kml.KMLTransformer$KMLTranslator.encode(KMLTransformer.java:131) at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:939) -- 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] heatmap wms_bbox
Ok, I understand your requirement better now. The way to ensure the heatmap has the same appearance at all zoom levels is to express the kernel radius in ground units, rather than pixels. The heatmap process doesn't support this at the moment, but it's a fairly easy thing to add. The heatmap process already performs an internal expansion of the request bbox, in order to ensure that the displayed heatmap is stable under panning. I have a feeling this may not be working correctly, however. Martin On Thu, Jul 26, 2012 at 1:22 AM, Mario Basa wrote: > Thank you very much for the reply, Martin. > > Yes changing the wms_bbox might not have been a good idea. > > But is there anyway to force it so that the attribute data of the entire > layer is always read, instead of just reading the data that is within the > wms_bbox. > > What we are hoping for is that the heat map itself does not change in a > pan or zoom event. > > Thanks once more. > > Mario. > > > > On Thu, Jul 26, 2012 at 12:14 AM, Martin Davis wrote: > >> A further comment on this - if you precompute the heatmap, then the >> resolution will be fixed, so zooming in may result in low-quality display. >> This is one reason the heatmap RT was originally developed - to provide >> full resolution display at all scales. >> >> >> On Tue, Jul 24, 2012 at 12:28 PM, Martin Davis wrote: >> >>> Actually, no it isn't. There's two reasons for that: >>> >>> 1. The outputBBOX parameter is used to determine the extent for the >>> computed heatmap. This needs to match the requested image extent >>> (otherwise you would get a distorted output) >>> 2. Even if you could use a different outputBBOX, the heatmap image is >>> still computed each time a map request is processed. So there would be no >>> performance advantage to doing this (in fact, there would be a performance >>> degradation). >>> >>> It sounds like what you want to do is to pre-compute a heatmap raster >>> for the entire dataset and then view it as a layer. Because the heatmap RT >>> is a WPS process it should be possible to call it as a WPS and store the >>> result raster as a new layer in GeoServer. I've never tried doing this - >>> try it and report back! (Note: you will have to provide output image >>> extents that match the aspect ratio of the dataset BBOX. ) >>> >>> On Tue, Jul 24, 2012 at 12:26 AM, Mario Basa wrote: >>> Hello, Is it possible to set the outputBBOX parameter described here: http://docs.geoserver.org/stable/en/user/styling/sld-extensions/rendering-transform.html#heatmap-generation to the extent of the entire point layer instead of the wms_bbox sld parameter? This is because I don't want to change (re-calculated to the points of wms_bbox extent) the heatmap whenever there is a panning or zoom event. If it is possible to set the extent, what will the syntax be (i.e. BBOX(x1 y1,x2 y2)) ? Thanks and regards, Mario. -- 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 >>> >>> >>> -- >>> Martin Davis >>> OpenGeo - http://opengeo.org >>> Expert service straight from the developers. >>> >>> >> >> >> -- >> Martin Davis >> OpenGeo - http://opengeo.org >> Expert service straight from the developers. >> >> > -- Martin Davis OpenGeo - http://opengeo.org Expert service straight from the developers. -- 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] GetLegendGraphics - IllegalArgumentException
Hi, in a GeoServer 2.1.3 instance I have a layer with a quite long sld style assoiciated; the getMap woks fine, but the GetLegendGraphics request fails with this error: java.lang.IllegalArgumentException: class com.vividsolutions.jts.geom.Geometry is not supported by this method class com.vividsolutions.jts.geom.Geometry is not supported by this method Any advice? Thank's. -- 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] my GDAL Image formats have disappeared
The GDAL_DATA environment variable was not set. I have no explanation for that. It looks like that also resolved the error Problem communicating with GeoServernull which I had never seen before. Ralph Dell Catawba County, NC From: Ralph Dell [mailto:rd...@catawbacountync.gov] Sent: Wednesday, July 25, 2012 11:58 AM To: geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] my GDAL Image formats have disappeared My production server is Geoserver 2.11 Gdal data and native libraries 1.4.5 Tomcat 6.0.18 Java 1.6.0_21-b07 Widows server 2008 (Upgrades are in the future I just did not expect it to be today.) I wanted to add some new MrSid data stores this morning Under my Raster Data Sources all the GDAL image formats that I have had are no longer there. I am back to the default list of ArcGrid, GeoTiff etc. I do not know if that is recent or has been the situation for a while. My geoserver is restarted once a week. Under my existing stores the ones that are MrSID show a yellow triangle under the type, no surprise there considering the GDAL issue My MrSid images are all served from the built in GWC and that is working, (I would be in deep trouble if that wasn't true) Recently I did point my gwc from one folder to another where the new folder contained a lot of mrsid tiles built on my test server. My test server and production server have the same setup. The only errors I am seeing in my geoserver logs that is unusual are similar to this. To me that is more of a gwc issue rather than a store issue. 2012-07-24 21:16:00,099 ERROR [geowebcache.GeoWebCacheDispatcher] - Problem communicating with GeoServernull http://gis.catawbacountync.gov/geoserver/gwc/service/tms/1.0.0/catawba:c atawba_2009@EPSG:900913@jpeg/11/562/1242.jpeg Any insights on the cause or how to best fix the problem of the missing image formats? Since I am overdue for upgrades my safest path might be to clone my server and in the course of the upgrades make sure the problem is fixed, or set up a new server. If I set up a new server any recommendations on the latest greatest stable configuration of geoserver, gdal libraries, tomcat and java? Ralph Dell Catawba County, NC -- 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] heatmap wms_bbox
Thank you very much for the reply, Martin. Yes changing the wms_bbox might not have been a good idea. But is there anyway to force it so that the attribute data of the entire layer is always read, instead of just reading the data that is within the wms_bbox. What we are hoping for is that the heat map itself does not change in a pan or zoom event. Thanks once more. Mario. On Thu, Jul 26, 2012 at 12:14 AM, Martin Davis wrote: > A further comment on this - if you precompute the heatmap, then the > resolution will be fixed, so zooming in may result in low-quality display. > This is one reason the heatmap RT was originally developed - to provide > full resolution display at all scales. > > > On Tue, Jul 24, 2012 at 12:28 PM, Martin Davis wrote: > >> Actually, no it isn't. There's two reasons for that: >> >> 1. The outputBBOX parameter is used to determine the extent for the >> computed heatmap. This needs to match the requested image extent >> (otherwise you would get a distorted output) >> 2. Even if you could use a different outputBBOX, the heatmap image is >> still computed each time a map request is processed. So there would be no >> performance advantage to doing this (in fact, there would be a performance >> degradation). >> >> It sounds like what you want to do is to pre-compute a heatmap raster for >> the entire dataset and then view it as a layer. Because the heatmap RT is >> a WPS process it should be possible to call it as a WPS and store the >> result raster as a new layer in GeoServer. I've never tried doing this - >> try it and report back! (Note: you will have to provide output image >> extents that match the aspect ratio of the dataset BBOX. ) >> >> On Tue, Jul 24, 2012 at 12:26 AM, Mario Basa wrote: >> >>> Hello, >>> >>> Is it possible to set the outputBBOX parameter described here: >>> >>> >>> http://docs.geoserver.org/stable/en/user/styling/sld-extensions/rendering-transform.html#heatmap-generation >>> >>> to the extent of the entire point layer instead of the wms_bbox sld >>> parameter? This is because I don't want to change (re-calculated to the >>> points of wms_bbox extent) the heatmap whenever there is a panning or zoom >>> event. >>> >>> If it is possible to set the extent, what will the syntax be (i.e. >>> BBOX(x1 y1,x2 y2)) ? >>> >>> Thanks and regards, >>> >>> Mario. >>> >>> >>> >>> -- >>> 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 >>> >>> >> >> >> -- >> Martin Davis >> OpenGeo - http://opengeo.org >> Expert service straight from the developers. >> >> > > > -- > Martin Davis > OpenGeo - http://opengeo.org > Expert service straight from the developers. > > -- 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] GeoServer not running on OSX Mountain Lion
I resolved the issue. Changing the Gatekeeper preferences in the security pane under System Preferences to „no restrictions“ (not sure if its exactly this wording, I’m translating from german) makes OSX start the GeoServer application. -Martin Am 26.07.2012 um 09:48 schrieb Metasequoia : > Hi everybody, > > I updated my OSX installation yesterday to Mountain Lion. Today I downloaded > the latest GeoServer stable release unpacked it and moved it to the > applications folder. But when I try to run the application OSX tells my the > file is corrupted and moves it to the trash. This happens with older releases > of GeoServer, too (I tried 2.1.4 and 2.1.3). Is anyone else experiencing this > problem? Is there a solution. > Regards, > Martin > -- > 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
[Geoserver-users] GeoServer not running on OSX Mountain Lion
Hi everybody, I updated my OSX installation yesterday to Mountain Lion. Today I downloaded the latest GeoServer stable release unpacked it and moved it to the applications folder. But when I try to run the application OSX tells my the file is corrupted and moves it to the trash. This happens with older releases of GeoServer, too (I tried 2.1.4 and 2.1.3). Is anyone else experiencing this problem? Is there a solution. Regards, Martin -- 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] Legend with Dynamic Symbolizer
On Tue, Jul 24, 2012 at 9:51 AM, Пашинский Сергей wrote: > > I have 2 questions: > 1) Why map render works fine and legend render fails with that error? > Dynamic symbolizers do work in GetMap exclusively. Feel free to provide a patch to change that (or wait, or look into commercial support in the geoserver home page) > 2) Why Geoserver is ignoring and still trying to render > legend based on PointSymbolyzer rule? > > Because LegendGraphic is not supported either. Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- 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] GeoServer publishing
On Wed, Jul 25, 2012 at 4:43 PM, Peter Spurgeon wrote: > Hi > > When I attempt to publish a PostGIS table in Geoserver, it stays on the > 'Edit Layer' page and the table is not published. Here is the most recent > part of the log ile: - > > Please open a bug report on jira.codehaus.org with the full sld and eventual extra files needed to make it run (e.g., external graphics) Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- 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] Geoserver KML Questions
On Wed, Jul 25, 2012 at 5:26 PM, Guntu, Ashok (IS) (Contr) < ashok.gu...@ngc.com> wrote: > I have been working with Geoserver for a while now and noticing the > following. > > ** ** > > **1) **When I expand my KML I see that under the title of the > feature, I can see the description of the feature as well. I want to see > the description only in the popup, not under the temporary places folder > structure. Is there a way to switch it off? > Nope > > > **2) **I have noticed that title of the feature under the temporary > places and the title of the feature in the popup are both driven by > title.ftl. Can I have two different titles in both these places. > Not that I know of. With some code changes both might be possible of course Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- 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] finer grained admin security
Hey all, I found this article about finer grained admin security: http://geoserver.org/display/GEOS/GSIP+74+-+Finer+Grained+Admin+Security It themes to be assigned to release 2.2 and completed. Can someone tell me if it will definitely be part of the release 2.2!? Is there already a release date for 2.2? Thanks in advance Till -- Till Kirchner Johann Heinrich v. Thünen-Institut (vTI) Bundesforschungsinstitut für Ländliche Räume, Wald und Fischerei Institut für Waldökologie und Waldinventuren (WOI) Alfred-Möller-Str. 1 D-16225 Eberswalde Tel.: 03334 3820 310 Email:till.kirch...@vti.bund.de -- 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