[Geoserver-users] Advice for shortening a 68 rule SLD!

2013-05-28 Thread cjones
Hi, I was wondering whether anyone might have some useful advice regarding
how i can shorten the length of my SLD? My SLD is currently composed of one
transformation and 68 rules, and is currently over 2000 lines long! The
reason it is so long is because the SLD classifies data into wind barb
symbols (currently external graphics, but these will be replaced to a font
once the font has been uploaded onto my companies geoserver), therefore
there are two filters the data must go through; the first filter assigns the
data to the northern or southern hemisphere, and the second filter then
assigns the data to the correct wind barb symbol according to wind speed
(the wind barbs are not the same in both hemispheres, hence the first
filter). 

In essence, it would be great if i could combine these two filters within
one rule, so that there will only be 34 rules instead or, better yet, maybe
there is a way i can call a maths filter function to filter the data
according to the relationship between wind barb font name and the variable
range? (these are suggestions that have been made to me but as i am quite
new to SLD's, i have little idea of if/ how i can do this).

Any advice would be greatly appreciated, 

Christine


FYI: Below is a copy of my transformation and the first two rules: 


NamedLayer
Namegeos:mideast_prmsl.t00z.pgrbf24/Name
UserStyle
  Titley component/Title
  AbstractSymbol/Abstract
  FeatureTypeStyle
Transformation
  ogc:Function name=gs:RasterAsPointCollection
ogc:Function name=parameter
  ogc:Literaldata/ogc:Literal
/ogc:Function
  /ogc:Function
/Transformation
Rule
  NameNorthern Hemisphere - 0 knotts /Name
  ogc:Filter
And
  ogc:PropertyIsGreaterThanOrEqualTo
ogc:Function name=getY
  ogc:PropertyNamethe_geom/ogc:PropertyName
/ogc:Function
ogc:Literal0/ogc:Literal
  /ogc:PropertyIsGreaterThanOrEqualTo
  ogc:PropertyIsLessThan
ogc:PropertyNameGRAY_INDEX/ogc:PropertyName
ogc:Literal2.5/ogc:Literal
  /ogc:PropertyIsLessThan
/And
  /ogc:Filter
  PointSymbolizer
Graphic
  ExternalGraphic
OnlineResource xlink:type=simple
   
xlink:href=http://fgwfhp014/pics/wind_barb_symbology/0knots.png/
Formatimage/png/Format
  /ExternalGraphic
  Size30/Size
  Rotation
ogc:Sub
  ogc:Function name=IEEERemainder
ogc:PropertyNameGRAY_INDEX/ogc:PropertyName
ogc:Function name=parseDouble
  ogc:Literal360/ogc:Literal
/ogc:Function
  /ogc:Function
  ogc:Literal90/ogc:Literal
/ogc:Sub
  /Rotation
/Graphic
  /PointSymbolizer
/Rule
Rule
  NameSouthern Hemisphere - 0 knotts /Name
  ogc:Filter
And
  ogc:PropertyIsLessThan
ogc:Function name=getY
  ogc:PropertyNamethe_geom/ogc:PropertyName
/ogc:Function
ogc:Literal0/ogc:Literal
  /ogc:PropertyIsLessThan
  ogc:PropertyIsLessThan
ogc:PropertyNameGRAY_INDEX/ogc:PropertyName
ogc:Literal2.5/ogc:Literal
  /ogc:PropertyIsLessThan
/And
  /ogc:Filter
  PointSymbolizer
Graphic
  ExternalGraphic
OnlineResource xlink:type=simple
   
xlink:href=http://fgwfhp014/pics/wind_barb_symbology/0knots.png/
Formatimage/png/Format
  /ExternalGraphic
  Size30/Size
  Rotation
ogc:Sub
  ogc:Function name=IEEERemainder
ogc:PropertyNameGRAY_INDEX/ogc:PropertyName
ogc:Function name=parseDouble
  ogc:Literal360/ogc:Literal
/ogc:Function
  /ogc:Function
  ogc:Literal90/ogc:Literal
/ogc:Sub
  /Rotation
/Graphic
  /PointSymbolizer
/Rule



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Advice-for-shortening-a-68-rule-SLD-tp5056349.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd 

Re: [Geoserver-users] Advice for shortening a 68 rule SLD!

2013-05-28 Thread Andrea Aime
On Tue, May 28, 2013 at 11:11 AM, cjones c.jo...@geos.com wrote:

 Hi, I was wondering whether anyone might have some useful advice regarding
 how i can shorten the length of my SLD? My SLD is currently composed of one
 transformation and 68 rules, and is currently over 2000 lines long! The
 reason it is so long is because the SLD classifies data into wind barb
 symbols (currently external graphics, but these will be replaced to a font
 once the font has been uploaded onto my companies geoserver), therefore
 there are two filters the data must go through; the first filter assigns
 the
 data to the northern or southern hemisphere, and the second filter then
 assigns the data to the correct wind barb symbol according to wind speed
 (the wind barbs are not the same in both hemispheres, hence the first
 filter).


Hum, this seems a good fit for dynamic symbolizers:

http://blog.geoserver.org/2008/12/08/dynamic-symbolizers-part-1/

Basically, you can embed whatever cql expression referring to your data
in the external graphic URLs.
However, in your case the expression would be rather complicated, see
the filter function reference for inspiration:
http://docs.geoserver.org/stable/en/user/filter/function_reference.html

I believe that using one of the scripting modules you could also roll
your own filter function to factor the code out of the SLD, but I'm not
up to speed with the details, cc'ing Justin about it.

Cheers
Andrea


-- 
==
GeoServer training in Milan, 6th  7th June 2013!  Visit
http://geoserver.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 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver load balancing

2013-05-28 Thread Ashraf Tammam
Hello all

Is there any way to achieve load balancing for the geoserver?? how??

 
Regards,
Dr. Eng. Ashraf Tammam--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver load balancing

2013-05-28 Thread Russ Hore
Have you looked at;

http://opengeo.org/publications/geoserver-production/

or

http://opengeo.org/publications/geoserver-production/opengeo-geoserver.pdf

Russ

---


On 28 May 2013, at 13:47, Ashraf Tammam aft1...@yahoo.com wrote:

 Hello all
 
 Is there any way to achieve load balancing for the geoserver?? how??
  
 Regards,
 Dr. Eng. Ashraf Tammam
 --
 Try New Relic Now  We'll Send You this Cool Shirt
 New Relic is the only SaaS-based application performance monitoring service 
 that delivers powerful full stack analytics. Optimize and monitor your
 browser, app,  servers with just a few lines of code. Try New Relic
 and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver load balancing

2013-05-28 Thread Stephen V. Mather
Try these.  I think there's a presentation that covers some of this from 
GeoSolutions as well, but I have misplaced the link.

http://blog.opengeo.org/2013/04/18/geoserver-in-a-clustered-configuration-part-1/
http://blog.opengeo.org/2013/04/30/geoserver-in-a-clustered-configuration-part-2/

Best,
Steve

[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.comhttp://www.clemetparks.com




From: Ashraf Tammam [aft1...@yahoo.com]
Sent: Tuesday, May 28, 2013 8:47 AM
To: Geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Geoserver load balancing

Hello all

Is there any way to achieve load balancing for the geoserver?? how??

Regards,
Dr. Eng. Ashraf Tammam
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Customize display of WMS GetFeatureInfo results

2013-05-28 Thread Asma ouqalli
Hello,
i have a popup that get the featureInfo on the map, what i want to do is to
customize the display of the WMS GetInfo Results, i don't want to avoid
automatic alphabetic sortingof the attribute declared on the source (see
the code). Plz tell me how to do that, here's my code:

  action = new GeoExt.Action({
control: new OpenLayers.Control.WMSGetFeatureInfo({
autoActivate: true,
infoFormat: application/vnd.ogc.gml,
maxFeatures: 6,
layers: [layer1],
eventListeners: {
getfeatureinfo: function(e) {
var items = [];
Ext.each(e.features, function(feature) {
items.push({
xtype: propertygrid,
title: feature.fid,
source: {a: feature.attributes[''], :
feature.attributes['']},
});
});
new GeoExt.Popup({
title: informations,
width: 250,
height: 300,
layout: accordion,
map: map,
location: e.xy,
items: items
}).show();
  }

}
   }),
map: map,
text: infos,
tooltip: Informations 
  });
actions[infos] = action;
toolbarItems.push(action);
toolbarItems.push(-);



-- 
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver load balancing

2013-05-28 Thread Stephen V. Mather
I don't think it matters whether it's a hardware or software load balancer.  I 
have used something as simple as Pen as a load balancer.

Best,
Steve

[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.comhttp://www.clemetparks.com




From: Ashraf Tammam [aft1...@yahoo.com]
Sent: Tuesday, May 28, 2013 9:28 AM
To: Stephen V. Mather
Subject: Re: [Geoserver-users] Geoserver load balancing

Thanks

The load balancer is a hardware one?? or microsoft NLB can be used to achieve 
that??


Regards,
Dr. Eng. Ashraf Tammam

From: Stephen V. Mather s...@clevelandmetroparks.com
To: Ashraf Tammam aft1...@yahoo.com; Geoserver-users@lists.sourceforge.net 
Geoserver-users@lists.sourceforge.net
Sent: Tuesday, May 28, 2013 3:04 PM
Subject: RE: [Geoserver-users] Geoserver load balancing

Try these.  I think there's a presentation that covers some of this from 
GeoSolutions as well, but I have misplaced the link.

http://blog.opengeo.org/2013/04/18/geoserver-in-a-clustered-configuration-part-1/
http://blog.opengeo.org/2013/04/30/geoserver-in-a-clustered-configuration-part-2/

Best,
Steve

[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.comhttp://www.clemetparks.com/




From: Ashraf Tammam [aft1...@yahoo.com]
Sent: Tuesday, May 28, 2013 8:47 AM
To: Geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Geoserver load balancing

Hello all

Is there any way to achieve load balancing for the geoserver?? how??

Regards,
Dr. Eng. Ashraf Tammam


--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver load balancing

2013-05-28 Thread Stephen V. Mather
:)  Read the links I sent.  They briefly address the question of where to place 
the data, when to duplicate data vs. use a common store.  And make sure to 
reply-all so that this stays in the geoserver-users forum.

All the best,
Steve

[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.comhttp://www.clemetparks.com




From: Ashraf Tammam [aft1...@yahoo.com]
Sent: Tuesday, May 28, 2013 9:40 AM
To: Stephen V. Mather
Subject: Re: [Geoserver-users] Geoserver load balancing

and what about the GIS shape files??
and for the optimum performance, I have to put a copy on each server. right?? 
or better to put them on a NAS??


Regards,
Dr. Eng. Ashraf Tammam

From: Stephen V. Mather s...@clevelandmetroparks.com
To: Ashraf Tammam aft1...@yahoo.com
Cc: geoserver-users geoserver-users@lists.sourceforge.net
Sent: Tuesday, May 28, 2013 3:32 PM
Subject: RE: [Geoserver-users] Geoserver load balancing

I don't think it matters whether it's a hardware or software load balancer.  I 
have used something as simple as Pen as a load balancer.

Best,
Steve

[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.comhttp://www.clemetparks.com/




From: Ashraf Tammam [aft1...@yahoo.com]
Sent: Tuesday, May 28, 2013 9:28 AM
To: Stephen V. Mather
Subject: Re: [Geoserver-users] Geoserver load balancing

Thanks

The load balancer is a hardware one?? or microsoft NLB can be used to achieve 
that??


Regards,
Dr. Eng. Ashraf Tammam

From: Stephen V. Mather s...@clevelandmetroparks.com
To: Ashraf Tammam aft1...@yahoo.com; Geoserver-users@lists.sourceforge.net 
Geoserver-users@lists.sourceforge.net
Sent: Tuesday, May 28, 2013 3:04 PM
Subject: RE: [Geoserver-users] Geoserver load balancing

Try these.  I think there's a presentation that covers some of this from 
GeoSolutions as well, but I have misplaced the link.

http://blog.opengeo.org/2013/04/18/geoserver-in-a-clustered-configuration-part-1/
http://blog.opengeo.org/2013/04/30/geoserver-in-a-clustered-configuration-part-2/

Best,
Steve

[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.comhttp://www.clemetparks.com/




From: Ashraf Tammam [aft1...@yahoo.com]
Sent: Tuesday, May 28, 2013 8:47 AM
To: Geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Geoserver load balancing

Hello all

Is there any way to achieve load balancing for the geoserver?? how??

Regards,
Dr. Eng. Ashraf Tammam




--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] FW: Error with SLD styles

2013-05-28 Thread Steven Campbell
From: Steven Campbell 
Sent: 28 May 2013 14:39
To: 'Edward Mac Gillavry'
Subject: RE: [Geoserver-users] Error with SLD styles

 

That's perfect thank you, I had some other issues within the SLD, but
this was the final one that was bugging me and this worked perfectly!

 

Thanks

 

Steve

 

From: Edward Mac Gillavry [mailto:emacgilla...@hotmail.com] 
Sent: 24 May 2013 21:54
To: Steven Campbell; geoserver-users@lists.sourceforge.net
Subject: RE: [Geoserver-users] Error with SLD styles

 


Steve,

The tag se:Graphic is not an empty element, but should simply wrap the
full se:Mark tag. Hence:

se:PolygonSymbolizer
  se:Fill
se:GraphicFill
  se:Graphic

se:Mark

  se:WellKnownNameline/se:WellKnownName
  se:Stroke
se:SvgParameter name=stroke#ff55ff/se:SvgParameter
  /se:Stroke
/se:Mark

  /se:Graphic
/se:GraphicFill
  /se:Fill
  se:Stroke
se:SvgParameter name=stroke#ff55ff/se:SvgParameter
se:SvgParameter name=stroke-width0.7/se:SvgParameter
  /se:Stroke
/se:PolygonSymbolizer


HTH

Kind regards,

Edward



Date: Fri, 24 May 2013 17:54:57 +0100
From: s.campb...@poole.gov.uk
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Error with SLD styles

Hi

 

I've just uploaded an SLD file from QGIS to Geoserver and I'm getting
the following error:

 

line 221: cvc-complex-type.2.4.d: Invalid content was found starting
with element 'se:Mark'. No child element is expected at this point.

 

I've done a little digging around and I think it's something to do with
needing to include a maxOccurs = unbounded into the SLD, but I have no
idea where. Below is a sample where it is failing.

 

se:PolygonSymbolizer
se:Fill
  se:GraphicFill
se:Graphic/
se:Mark maxOccurs=unbounded
  se:WellKnownNameline/se:WellKnownName
  se:Stroke
se:SvgParameter
name=stroke#ff55ff/se:SvgParameter
  /se:Stroke
/se:Mark
  /se:GraphicFill
/se:Fill
se:Stroke
  se:SvgParameter name=stroke#ff55ff/se:SvgParameter
  se:SvgParameter name=stroke-width0.7/se:SvgParameter
/se:Stroke
  /se:PolygonSymbolizer

 

Any help would be great.

 

Thanks

 

Steve

 

Steve Campbell

GIS Manager

Corporate Strategy and Communications

Borough of Poole | Civic Centre | Poole BH15 2RU

Tel: 01202 633 362

Email: s.campb...@poole.gov.uk

Website:www.boroughofpoole.com http://www.boroughofpoole.com/ 

Think Green! Please Recycle

 


DISCLAIMER:
This email and any files transmitted with it may be confidential,
legally privileged and protected in law and are intended solely for the
use of the individual to whom it is addressed. The copyright in all
documentation is the property of the Borough of Poole and this email and
any documentation must not be copied or used other than as strictly
necessary for the purpose of this email, without prior written consent
which may be subject to conditions. Any view or opinions presented are
solely those of the author and do not necessarily represent those of the
Borough of Poole. The Borough of Poole reserves the right to inspect
incoming and outgoing emails. If you have received this email in error
please contact the sender by return and confirm that its contents have
been destroyed. Telephone enquiries should be directed to the Borough
switchboard on 01202 633633.

-- Try New Relic Now  We'll Send You this Cool Shirt New Relic is
the only SaaS-based application performance monitoring service that
delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic and
get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___ Geoserver-users mailing
list Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users



DISCLAIMER:
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 
individual to whom it is addressed. The copyright in all documentation is the 
property of the Borough of Poole and this email and any documentation must not 
be copied or used other than as strictly necessary for the purpose of this 
email, without prior written consent which may be subject to conditions. Any 
view or opinions presented are solely those of the author and do not 
necessarily represent those of the Borough of Poole. The Borough of Poole 
reserves the right to inspect incoming and outgoing emails. If you have 
received this email in error please contact the sender by return and confirm 
that its contents have been destroyed. Telephone enquiries should be directed 
to 

[Geoserver-users] Monitoring GeoServer

2013-05-28 Thread Jonathan Moules
Hi List,
  I'm interested in monitoring several aspects of GeoServer using NAGIOS.
The thing that's stumping me is how to get the number of requests the
server is receiving.

I'm aware of the monitoring plugin, and have set it up to act as a live
system, which works because I don't want it to keep logs, I have them
elsewhere.

The problem is, the plugin in this configuration doesn't seem to want to
provide me with any useful information in response to my queries. Certainly
not current number of queries per second or something.
I considered using the rest interface, but it only ever returns 100
results, no matter what count is set at (I'd report that as a bug, but
ironically JIRA is bugging out so later)

Is it possible to do this with GeoServer? How do I do it?

Thanks,
Jonathan

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to install Geoserver Authentication with LDAP?

2013-05-28 Thread Kevin Smith
You're supposed to run acme-ldap.jar as a separate java application.  It's
not a plugin for GeoServer, it's a dummy LDAP server with the example
directory used for the tutorial.


On 23 May 2013 00:16, Макс Кливер dh0m...@gmail.com wrote:

 I was add acme-ldap.jar into WEB-INF/lib directory. Restart server and go
 to   Authentication Provider menu.
 But i cant use it. I try
 http://docs.geoserver.org/latest/en/user/security/tutorials/ldap/index.htmlbut
  get error:

 javax.naming.CommunicationException: localhost:10389
 [Root exception is java.net.ConnectException: Connection refused: connect]

 I try to use ldap.xml for
 http://www.mulesoft.org/documentation-3.2/display/32X/Enabling+Authentication+Through+LDAP#EnablingAuthenticationThroughLDAP-setldapbut
  not help i just get same result.
 Whats wrong how to use ldap in Geoserver?


 --
 Try New Relic Now  We'll Send You this Cool Shirt
 New Relic is the only SaaS-based application performance monitoring service
 that delivers powerful full stack analytics. Optimize and monitor your
 browser, app,  servers with just a few lines of code. Try New Relic
 and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
Kevin Smith
Junior Software Developer, OpenGeo
ksm...@opengeo.org
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Use of Geoserver Pritning Module with OpenLayers client?

2013-05-28 Thread Benjamin Krepp
Dear colleagues,



I have a couple of OpenLayers apps (backed by Geoserver) to which I’d like
to add the ability to print the map in .pdf format. The Geoserver Printing
Module (
http://docs.geoserver.org/latest/en/user/community/printing/index.html)
looks like it would provide the server-side support I’m looking for.



However, the documentation for the Print Module indicates that the print
service it supports is meant to be used from GeoExt client-side apps. For a
variety of reasons (not the least of which is budget limitations) I’m not
in a position to re-implement the OL apps in question using GeoExt.



Given this, I have a couple of questions:

1.   Does anyone know if a plain-vanilla OpenLayers app can
successfully make use of the Geoserver Printing Module service? If anyone
does, I’d appreciate reference(s) to working sample code.

2.   If (1) is not possible, is there some approach that would work
that wouldn’t require re-writing the whole app to use GeoExt? For example,
might it be possible to use GeoExt only in a very limited way (e.g., manage
the ‘map canvas’) and rely on the existing body of OL code to handle
everything else (e.g.,  manage on-screen controls, generation/display of
legends, etc.) and still be able to exploit the Print Module? If the answer
is ‘yes’, pointers to sample working code would be appreciated.



Since the answer to these questions might be found in either the GeoSever
or OpenLayers communities, I’m posting this inquiry to both mailing lists.
My apologies if you receive these questions twice.



Thanks in advance for any help you can offer with this.



Best regards,

Ben Krepp



*Benjamin Krepp** * |  Manager of GIS and IT

CENTRAL TRANSPORTATION PLANNING STAFF

617.973.7137* * | *bkr...@ctps.org*

www.ctps.org/bostonmpo

[image: Description: cid:5F54AF76-729F-48CE-9BEE-5E4887E4DA63]
image001.png--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Use of Geoserver Pritning Module with OpenLayers client?

2013-05-28 Thread Stephen V. Mather
Hi Ben,

Writing clients for mapfish is not hard.  I don't have any OL examples to 
share, but you just need to PUT a specially formatted json to the service 
endpoint-- the json doc declares layers, extent, dpi, layout, etc.  I don't 
know how well the API is documented these days, but some hints can be found 
here:

https://smathermather.wordpress.com/category/gis/mapfish/

Best of luck,
Steve

[http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.comhttp://www.clemetparks.com




From: Benjamin Krepp [bkr...@ctps.org]
Sent: Tuesday, May 28, 2013 3:24 PM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Use of Geoserver Pritning Module with OpenLayers 
client?

Dear colleagues,

I have a couple of OpenLayers apps (backed by Geoserver) to which I’d like to 
add the ability to print the map in .pdf format. The Geoserver Printing Module 
(http://docs.geoserver.org/latest/en/user/community/printing/index.html) looks 
like it would provide the server-side support I’m looking for.

However, the documentation for the Print Module indicates that the print 
service it supports is meant to be used from GeoExt client-side apps. For a 
variety of reasons (not the least of which is budget limitations) I’m not in a 
position to re-implement the OL apps in question using GeoExt.

Given this, I have a couple of questions:

1.   Does anyone know if a plain-vanilla OpenLayers app can successfully 
make use of the Geoserver Printing Module service? If anyone does, I’d 
appreciate reference(s) to working sample code.

2.   If (1) is not possible, is there some approach that would work that 
wouldn’t require re-writing the whole app to use GeoExt? For example, might it 
be possible to use GeoExt only in a very limited way (e.g., manage the ‘map 
canvas’) and rely on the existing body of OL code to handle everything else 
(e.g.,  manage on-screen controls, generation/display of legends, etc.) and 
still be able to exploit the Print Module? If the answer is ‘yes’, pointers to 
sample working code would be appreciated.

Since the answer to these questions might be found in either the GeoSever or 
OpenLayers communities, I’m posting this inquiry to both mailing lists. My 
apologies if you receive these questions twice.

Thanks in advance for any help you can offer with this.

Best regards,
Ben Krepp

Benjamin Krepp  |  Manager of GIS and IT
CENTRAL TRANSPORTATION PLANNING STAFF
617.973.7137  | bkr...@ctps.orgmailto:bkr...@ctps.org
www.ctps.org/bostonmpohttp://www.ctps.org/bostonmpo
[Description: cid:5F54AF76-729F-48CE-9BEE-5E4887E4DA63]

inline: image001.png--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Use of Geoserver Pritning Module with OpenLayers client?

2013-05-28 Thread Max Stephan
Hi Ben,

GeoExt is using OpenLayers as well and is just an additional layer on top of 
Ext-JS (for the interface components) and OpenLayers (for the mapping 
components). Therefore I think it wouldn´t be much extra-effort. You can just 
use your existing OpenLayers-code with your map-object. Instead of rendering 
this map-object directly to a div-container like you would usually do, you 
create a GeoExt-mappanel (http://geoext.org/lib/GeoExt/widgets/MapPanel.html)  
based on this. This mappanel is then used to create the GeoExt-PrintProvider 
(http://geoext.org/lib/GeoExt/data/PrintProvider.html) which you may then use 
for implementing the print-functionality. This enables the print-provider to 
get the currently activated layers and bounding-box from the map. Several 
examples of implementing this functionality are provided here (though the 
examples don´t seem to work currently but the scripts are still available): 
http://geoext.org/examples.html. What you will use of that depends on your 
intended functionality.

Cheers and good luck with the implementation,
Max

Von: Stephen V. Mather [mailto:s...@clevelandmetroparks.com]
Gesendet: Dienstag, 28. Mai 2013 21:54
An: Benjamin Krepp; geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] Use of Geoserver Pritning Module with OpenLayers 
client?

Hi Ben,

Writing clients for mapfish is not hard.  I don't have any OL examples to 
share, but you just need to PUT a specially formatted json to the service 
endpoint-- the json doc declares layers, extent, dpi, layout, etc.  I don't 
know how well the API is documented these days, but some hints can be found 
here:

https://smathermather.wordpress.com/category/gis/mapfish/

Best of luck,
Steve

[http://sig.cmparks.net/cmp-ms-90x122.png]Stephen V. Mather
GIS Manager
(216) 635-3243 (Work)
clevelandmetroparks.comhttp://www.clemetparks.com



From: Benjamin Krepp [bkr...@ctps.org]
Sent: Tuesday, May 28, 2013 3:24 PM
To: 
geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Use of Geoserver Pritning Module with OpenLayers 
client?
Dear colleagues,

I have a couple of OpenLayers apps (backed by Geoserver) to which I'd like to 
add the ability to print the map in .pdf format. The Geoserver Printing Module 
(http://docs.geoserver.org/latest/en/user/community/printing/index.html) looks 
like it would provide the server-side support I'm looking for.

However, the documentation for the Print Module indicates that the print 
service it supports is meant to be used from GeoExt client-side apps. For a 
variety of reasons (not the least of which is budget limitations) I'm not in a 
position to re-implement the OL apps in question using GeoExt.

Given this, I have a couple of questions:

1.   Does anyone know if a plain-vanilla OpenLayers app can successfully 
make use of the Geoserver Printing Module service? If anyone does, I'd 
appreciate reference(s) to working sample code.

2.   If (1) is not possible, is there some approach that would work that 
wouldn't require re-writing the whole app to use GeoExt? For example, might it 
be possible to use GeoExt only in a very limited way (e.g., manage the 'map 
canvas') and rely on the existing body of OL code to handle everything else 
(e.g.,  manage on-screen controls, generation/display of legends, etc.) and 
still be able to exploit the Print Module? If the answer is 'yes', pointers to 
sample working code would be appreciated.

Since the answer to these questions might be found in either the GeoSever or 
OpenLayers communities, I'm posting this inquiry to both mailing lists. My 
apologies if you receive these questions twice.

Thanks in advance for any help you can offer with this.

Best regards,
Ben Krepp

Benjamin Krepp  |  Manager of GIS and IT
CENTRAL TRANSPORTATION PLANNING STAFF
617.973.7137  | bkr...@ctps.orgmailto:bkr...@ctps.org
www.ctps.org/bostonmpohttp://www.ctps.org/bostonmpo
[cid:image001.png@01CE5BF1.344ADB10]

inline: image001.png--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users