Re: [OpenLayers-Users] themes?

2010-08-05 Thread Imran Rajjad
Hi, sory i think im replying very late. but my problem is that my server and client both are on intranet and have no acces to internet. so is there a way to locally load these themes? regards, Imran On Thu, Jul 1, 2010 at 6:01 PM, BMcBride bmcbr...@chacompanies.com wrote:

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Eric Lemoine
On Wed, Aug 4, 2010 at 12:28 PM, Arnd Wippermann arnd.wipperm...@web.de wrote: Hi Why is it not possible to use '.' (point for singleChar) in a OpenLayers.Filter.Comparison.LIKE? What do you mean exactly? The Comparision filter 'like' seems not to work as expected. It's not possible to

[OpenLayers-Users] GeoExt and OpenLayers

2010-08-05 Thread petrus451
Hi,I have some OpenLayers code that changes map layers as one zooms in and out. I've been looking through the GeoExt examples, and I can't find any of them that incorporates this functionality. They simple show how to turn on/off single layers. Ideally, I'd like to integrate a GeoExt zoomslider

[OpenLayers-Users] Parsing geometry and not geometry feature in same layer ?

2010-08-05 Thread Sébastien Geindre
Hi all, I'd like to add one vector layer, with gml features and metadata information. fooList requestTime05/08/2010 11:51:32 AM/requestTime statusOK/status gml:featureMembers lastModified=05/08/2010 11:51:32 AM foo 1EETT/1 21/2 ... gml:Polygon... /foo /gml:featureMembers

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Arnd Wippermann
Hi Eric, thanks for the reply and the hint. It's a more complex situation. It's not a problem with the filter, but with OpenLayers.Format.SLD().read: I create a SLD and apply it to a vector layer var formatSLD = new OpenLayers.Format.SLD(); var sld = formatSLD.read(theSLD_BODY); ... It

Re: [OpenLayers-Users] themes?

2010-08-05 Thread BMcBride
The easiest way to use the MapBox themes locally is to http://github.com/developmentseed/openlayers_themes download the images and place them in the OpenLayers/img directory. You may way to rename the original images first- in case you want to revert back to the default theme at some point.

[OpenLayers-Users] mergeNewParams + Legend

2010-08-05 Thread Sascha Müller
Hi, I use: GeoExt: trunk (Revision: 2257) OpenLayers: 2.9 GeoExt: 3.2.1 GeoServer: 1.7.7 I use mergeNewParams() to change the Style of a layer. This approach works except for one layer. This layer contains five rules with filter. The map changes after mergeNewParams(), the legend not. The

Re: [OpenLayers-Users] Geoexplorer (http://suite.opengeo.org)

2010-08-05 Thread BMcBride
You can download the http://opengeo.org/community/suite/download/ OpenGeo Suite Community Edition , which includes the GeoExplorer application. The latest version (2.1.1) includes print to PDF support. The OpenGeo Suite Community Edition is licensed under the

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Eric Lemoine
On Thu, Aug 5, 2010 at 2:28 PM, Arnd Wippermann arnd.wipperm...@web.de wrote: Hi Eric, thanks for the reply and the hint. It's a more complex situation. It's not a problem with the filter, but with OpenLayers.Format.SLD().read: I create a SLD and apply it to a vector layer var formatSLD =

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Andreas Hocevar
Hi, Eric's patch won't solve the problem, because the input to the filter will then be 0.2 instead of .2. Arnd, can you please create a ticket? This behavior was introduced by http://trac.openlayers.org/changeset/8927, and I think it would be better to cast in filter.evaluate rather than in

Re: [OpenLayers-Users] International date line and bounds [SEC=UNCLASSIFIED]

2010-08-05 Thread Piero Campa
Thank you David, anyway in these days I've been writing a customized RegularPolygon Handler so to draw polygons across/beyond the IDL. It may be useful for somebody, waiting for the OL developers to implement a better way to go. If you will want to use it and have questions, you can contact me!

Re: [OpenLayers-Users] International date line and bounds [SEC=UNCLASSIFIED]

2010-08-05 Thread Andreas Hocevar
Piero, would you mind sharing your code as reference? Thanks, Andreas. On Aug 5, 2010, at 17:38 , Piero Campa wrote: Thank you David, anyway in these days I've been writing a customized RegularPolygon Handler so to draw polygons across/beyond the IDL. It may be useful for somebody,

Re: [OpenLayers-Users] mergeNewParams + Legend

2010-08-05 Thread Sascha Müller
Hi, I tried this SLD with only two instead of five rules. It works. Could it be, that the request 'GetLegendGraphic' is too long with the SLD inside? Like mergeNewParams() without 'Post' in 'OpenLayers.Layer.WMS'. Is there a way to implement it? Or is this more a GeoServer thing? Sascha

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Ian Turton
On Thu, Aug 5, 2010 at 11:38 AM, Andreas Hocevar ahoce...@opengeo.org wrote: Hi, Eric's patch won't solve the problem, because the input to the filter will then be 0.2 instead of .2. Arnd, can you please create a ticket? This behavior was introduced by

Re: [OpenLayers-Users] mergeNewParams + Legend

2010-08-05 Thread Andreas Hocevar
Hi, I am pretty sure that the request URI is too long. What you could do is reconfigure the legend type selection sequence, so a VectorLegend rather than a WMSLegend is created. A prerequisite is this non-API hack though: GeoExt.VectorLegend.supports = function(layerRecord) { return

Re: [OpenLayers-Users] Geoexplorer (http://suite.opengeo.org)

2010-08-05 Thread Tim Schaub
And if you need help customizing it, ask Bryan :) On 8/5/10 7:12 AM, BMcBride wrote: You can download the http://opengeo.org/community/suite/download/ OpenGeo Suite Community Edition , which includes the GeoExplorer application. The latest version (2.1.1) includes print to PDF support. The

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Arnd Wippermann
Hi, The patch resolves the problem in parts. ogc:Filter xmlns:ogc=http://www.opengis.net/ogc; ogc:PropertyIsLike wildCard=* singleChar=. escape=! ogc:PropertyNameindice/ogc:PropertyName ogc:Literal.2/ogc:Literal /ogc:PropertyIsLike /ogc:Filter The SLD will be created and the WFS GetFeature

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Ian Turton
Another solution is to use a character other than . for the single character wildcard so that it no longer looks like a number to the parser. Try ogc:Filter xmlns:ogc=http://www.opengis.net/ogc; ogc:PropertyIsLike wildCard=* singleChar=# escape=! ogc:PropertyNameindice/ogc:PropertyName

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Arnd Wippermann
Hi, As I understand, the patch solves the problem, that the SLD will be created. Therefor I can use it for request WFS GetFeature. But as the SLD reader use the filter to interpret the rule, it will use 0.2 instead of .2 and causes to use the ElseFilter and styles the features in the wrong way?

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Arnd Wippermann
Thanks Ian, I have tried this, to test, if the SLD reader principal works. But I wouldn't like this approach, because you have to remember, that you changed the value for singleChar. Arnd -Ursprüngliche Nachricht- Von: Ian Turton [mailto:ijtur...@gmail.com] Gesendet: Donnerstag, 5.

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Ian Turton
On Thu, Aug 5, 2010 at 1:08 PM, Arnd Wippermann arnd.wipperm...@web.de wrote: Thanks Ian, I have tried this, to test, if the SLD reader principal works. But I wouldn't like this approach, because you have to remember, that you changed the value for singleChar. I suspect that this filter will

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Andreas Hocevar
Ian's suggestion is an excellent one though, at least if you can control how the SLD that OpenLayers consumes looks. Regards, Andreas. On Aug 5, 2010, at 19:08 , Arnd Wippermann wrote: Thanks Ian, I have tried this, to test, if the SLD reader principal works. But I wouldn't like this

Re: [OpenLayers-Users] OpenLayers.Filter.Comparison.LIKE and singleChar

2010-08-05 Thread Arnd Wippermann
Hi Ian, Andreas Ian's suggestion is an excellent one though, at least if you can control how the SLD that OpenLayers consumes looks. I have thought, I could control it with OpenLayers. I take function createFilterComparision(type, theField, theValue) { var filter = new