Re: [Geoserver-users] GEOServer: app-schema Feature Chaining

2012-10-25 Thread igor.erdoiza
Good Morning Victor:
I'm working on the Geoserver 2.2 version 

I have attached the complete folder  cocities.zip
http://osgeo-org.1560.n6.nabble.com/file/n5011072/cocities.zip   in a zip
file that contains, among other stuff, a mapping file with two
FeatureMapping ,where each FeatureMapping points to a database table and a
xsd that defines the desired output.

Thank you very much for your help. I owe you many coffees :-)



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/GEOServer-app-schema-Feature-Chaining-tp5010210p5011072.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Display EPSG:4326 wms over EPSG:25832 GWCbaselayer seriously wrong!SOLVED

2012-10-25 Thread Robert Buckley
I remembered that I did some testing a while back with custom coordinate 
operations.

I had tried to create an operation between EPSG:31467 and EPSG:25832 using the 
BETA2007.gsb file.

It seems that it is this configuration that messed up my system...or I simply 
did it wrong.

This was the content of epsg_operations.,properties

31467,25832=PARAM_MT[NTv2, \PARAMETER[Latitude and longitude difference 
file, BETA2007.gsb]]


and the BETA2007.gsb was in the same folder.

Once I had removed these files and restarted tomcat6 the wms layers were once 
again displayed.

Thanks,

Robert




 Von: Robert Buckley robertdbuck...@yahoo.com
An: geoserver-users@lists.sourceforge.net 
geoserver-users@lists.sourceforge.net 
Gesendet: 7:21 Donnerstag, 25.Oktober 2012
Betreff: [Geoserver-users] Display EPSG:4326 wms over EPSG:25832 GWCbaselayer 
seriously wrong!
 

Hi,

I sent this originally to the openlayers lists...but it is probably a geoserver 
issue.

Hi,

I have discovered that one of my projects does not display WMS Layers over a 
GWC basemap anymore. It used to work fine, but something has obviously been 
changed ...I suspect in geoserver but I´m not sure.

http://maps.zgb.de/geoportal/os.html


This is a mashup demostrating what I meanthe basemap is from GWC in 
geoserver. The Basemap is defined as EPSG:25832. I used to be able to easily 
define a wms layer and this would be displayed without any trouble over the 
basemap. Now it doesn´t. I will only display when the basemap is in the same 
native projection!!!

I thought that geoserver would automatically redefine the wms projection based 
on the basemaps options...am I right?

so why doesn´t it work here?


Thanks for any help,

Robert








- Weitergeleitete Message -
Von: Arnd Wippermann arnd.wipperm...@web.de
An: 'Robert Buckley' robertdbuck...@yahoo.com 
CC: openlayers-us...@lists.osgeo.org 
Gesendet: 22:08 Mittwoch, 24.Oktober 2012
Betreff: AW: [OpenLayers-Users] Display EPSG:4326 wms over EPSG:25832 
GWCbaselayer
 

There seems something wrong with GeoServer transformation to 
EPSG:25832. The data is shifted ca. 3 Million to east.
 
http://maps.zgb.de/geoserver/wms
?SERVICE=WMS
LAYERS=zgb%3ABrutvoegel_2010%2Czgb%3AGrenzen_mg
FORMAT=image%2Fpng
VERSION=1.1.1
TRANSPARENT=true
REQUEST=GetMap
STYLES=
EXCEPTIONS=application%2Fvnd.ogc.se_inimage
SRS=EPSG%3A25832
BBOX=3600489.7789,5792092.2535,3678761.29585,5870363.77045
WIDTH=256
HEIGHT=256
 
The 
request will show some data, but the BBOX is not in EPSG:25832 
coordinates:
http://maps.zgb.de/geoserver/wms?SERVICE=WMSLAYERS=zgb%3ABrutvoegel_2010%2Czgb%3AGrenzen_mgFORMAT=image%2FpngVERSION=1.1.1TRANSPARENT=trueREQUEST=GetMapSTYLES=EXCEPTIONS=application%2Fvnd.ogc.se_inimageSRS=EPSG%3A25832BBOX=3600489.7789,5792092.2535,3678761.29585,5870363.77045WIDTH=256HEIGHT=256
 
 
It' a question for 
GeoServer.
 
Arnd




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GEOServer: app-schema Feature Chaining

2012-10-25 Thread Victor.Tey
Hi Igor,

Thanks for sending that through. Firstly for cocities:providername your mapping 
should have user providername instead of just name
 
targetAttributecocities:provider/cocities: providername /targetAttribute

Instead of 

targetAttributecocities:provider/cocities:name/targetAttribute


Secondly,

Your feature chaining for cocities:TransitStop  should be something like. 
Without access to your schema file I am unable to test run it but looking 
through your mapping this is something I picked up. Let me know the outcome



AttributeMapping
targetAttribute
cocities:provider
/targetAttribute
sourceExpression
OCQLprovider_id/OCQL (link 
this table(oip_transit_stop) providerid)
linkElement cocities:provider 
/linkElement (link to this feature)

linkFieldFEATURE_LINK/linkField (using what has been defined by 
feature_link)
/sourceExpression 

/AttributeMapping


And on your chained feature,

AttributeMapping
targetAttribute
FEATURE_LINK[1](myproviderid 
will be used as FEATURE_LINK[1])
/targetAttribute
sourceExpression

OCQLmyproviderid/OCQL(myproviderid in cocitiesds)
/sourceExpression
/AttributeMapping
AttributeMapping

targetAttributecocities:provider/cocities:providerid/targetAttribute
sourceExpression
OCQLprovider_id/OCQL 

linkElementcocities:providername/linkElement

linkFieldproviderid/linkField
/sourceExpression
/AttributeMapping
AttributeMapping

targetAttributecocities:provider/cocities:name/targetAttribute
sourceExpression

linkElementcocities:providerid/linkElement
linkFieldname/linkField
/sourceExpression
/AttributeMapping 


Victor Tey 
Software Engineer
ASRDC
CSIRO Earth Science and Resource Engineering
Phone: +61 8 6436 8944 
victor@csiro.au | www.csiro.au | 
Address: Australian Resources Research Centre, 26 Dick Perry Avenue, Kensington 
WA 6151
PLEASE NOTE
The information contained in this email may be confidential or privileged. Any 
unauthorised use or disclosure is prohibited. If you have received this email 
in error, please delete it immediately and notify the sender by return email. 
Thank you. To the extent permitted by law, CSIRO does not represent, warrant 
and/or guarantee that the integrity of this communication has been maintained 
or that the communication is free of errors, virus, interception or 
interference. 
Please consider the environment before printing this email.


-Original Message-
From: igor.erdoiza [mailto:igor.erdo...@gmail.com] 
Sent: Thursday, 25 October 2012 2:39 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GEOServer: app-schema  Feature Chaining

Good Morning Victor:
I'm working on the Geoserver 2.2 version 

I have attached the complete folder  cocities.zip
http://osgeo-org.1560.n6.nabble.com/file/n5011072/cocities.zip   in a zip
file that contains, among other stuff, a mapping file with two FeatureMapping 
,where each FeatureMapping points to a database table and a xsd that defines 
the desired output.

Thank you very much for your help. I owe you many coffees :-)



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/GEOServer-app-schema-Feature-Chaining-tp5010210p5011072.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free 
today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net

Re: [Geoserver-users] No strong cryptography available, installation of the unrestricted policy jar files is recommended

2012-10-25 Thread christian . mueller
The installation is recommended if you use

1) encrypted passwords
2) URL parameter encryption

If you dont need 2) and switch to digest encoding for 1), there is no  
need for installation.

Christian


Zitat von Robert Buckley robertdbuck...@yahoo.com:

 Hi,

 Where and how can I install the unrestricted policy jar file...if it  
  is really necessary!

 cheers,
 Rob




This message was sent using IMP, the Internet Messaging Program.



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] No strong cryptography available, installation of the unrestricted policy jar files is recommended

2012-10-25 Thread Robert Buckley
Thanks,

Regarding the URL parameter encryption..Does this mean that looking at the URL 
of the individual tiles served by a wms in e.g Firebug  will not give the 
address of the server???

Cheers,

Rob






 Von: christian.muel...@nvoe.at christian.muel...@nvoe.at
An: Robert Buckley robertdbuck...@yahoo.com 
CC: geoserver-users@lists.sourceforge.net 
geoserver-users@lists.sourceforge.net 
Gesendet: 10:03 Donnerstag, 25.Oktober 2012
Betreff: Re: [Geoserver-users] No strong cryptography available, installation 
of the unrestricted policy jar files is recommended
 
The installation is recommended if you use

1) encrypted passwords
2) URL parameter encryption

If you dont need 2) and switch to digest encoding for 1), there is no need for 
installation.

Christian


Zitat von Robert Buckley robertdbuck...@yahoo.com:

 Hi,
 
 Where and how can I install the unrestricted policy jar file...if it  is 
 really necessary!
 
 cheers,
 Rob




This message was sent using IMP, the Internet Messaging Program.--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS 1.3.0 stopped working.

2012-10-25 Thread Andrea Aime
On Wed, Oct 24, 2012 at 8:04 PM, Koivusalo, Tuomas
tuomas.koivus...@logica.com wrote:
 Hi again,

 I tweaked log level and now I can see 'bad credentials' error message when
 trying to use wms 1.3.0. I tried this through layer preview as admin-user,
 so I don't even know what credentials I could be missing. Also, security
 config don't appear to have any specific rules for wms. Any clues or ideas
 would be appreciated.

You should include the errors you see in the logs, including full
stack traces, and what
the requests you're making look like

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 1660272
mob: +39  339 8844549

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

---

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] No strong cryptography available, installation of the unrestricted policy jar files is recommended

2012-10-25 Thread christian . mueller
Zitat von Robert Buckley robertdbuck...@yahoo.com:

 Thanks,

 Regarding the URL parameter encryption..Does this mean that looking  
 at the URL of the individual tiles served by a wms in e.g Firebug  
  will not give the address of the server???

No, the url parameter encryption is only working for the web interface  
and is completely transparent for the the user. Look here for an example
http://docs.geoserver.org/stable/en/user/webadmin/security/settings.html


 Cheers,

 Rob





 
  Von: christian.muel...@nvoe.at christian.muel...@nvoe.at
 An: Robert Buckley robertdbuck...@yahoo.com
 CC: geoserver-users@lists.sourceforge.net   
 geoserver-users@lists.sourceforge.net
 Gesendet: 10:03 Donnerstag, 25.Oktober 2012
 Betreff: Re: [Geoserver-users] No strong cryptography available,   
 installation of the unrestricted policy jar files is recommended

 The installation is recommended if you use

 1) encrypted passwords
 2) URL parameter encryption

 If you dont need 2) and switch to digest encoding for 1), there is   
 no need for installation.

 Christian


 Zitat von Robert Buckley robertdbuck...@yahoo.com:

 Hi,

 Where and how can I install the unrestricted policy jar file...if  
 it  is really necessary!

 cheers,
 Rob



 
 This message was sent using IMP, the Internet Messaging Program.




This message was sent using IMP, the Internet Messaging Program.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Display EPSG:4326 wms over EPSG:25832 GWCbaselayer seriously wrong!SOLVED

2012-10-25 Thread Andrea Aime
On Thu, Oct 25, 2012 at 9:11 AM, Robert Buckley
robertdbuck...@yahoo.com wrote:
 I remembered that I did some testing a while back with custom coordinate
 operations.

 I had tried to create an operation between EPSG:31467 and EPSG:25832 using
 the BETA2007.gsb file.

 It seems that it is this configuration that messed up my system...or I
 simply did it wrong.

 This was the content of epsg_operations.,properties

 31467,25832=PARAM_MT[NTv2, \PARAMETER[Latitude and longitude difference
 file, BETA2007.gsb]]

While not impossible, this is odd: you are trying to use a grid to
transform between two
projected systems.
All the grids I've seen so far are used to switch between geographic
ones, normally
the file is a latitude/longitude grid shift, in your case maybe
between 4314 and 4258,
the geographic systems under the projected ones:

http://prj2epsg.org/epsg/31467
http://prj2epsg.org/epsg/25832

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 1660272
mob: +39  339 8844549

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

---

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] How to avoid overlapping of PointSymbolizer

2012-10-25 Thread vsinceac
Hi,I have to render a layer containing external gif images as
PointSymbolizer. They are weather icons (sun, cloud, etc.) Depending on the
map scale, they overlap and I would like to avoid this. Is there a way to
control the overlapping of PointSymbolizers?  .  Sun
  
weather   2 
   
image/gif..I tried to use the
spaceAround attribute, like for TextSymbolizer, but the Style Editor
doesn't accept it.I use GeoServer 2.0-beta2.Many thanls,  Victor 



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-to-avoid-overlapping-of-PointSymbolizer-tp5011132.html
Sent from the GeoServer - User mailing list archive at Nabble.com.--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GEOServer: app-schema Feature Chaining

2012-10-25 Thread igor.erdoiza
I am not capable of testing your solution. I get some errors related to
xpath, mapped properties...
I attach again the zip file with the whole example (feature mapping file,
Schema,..) and here is the table creation script:

*PROVIDER*

CREATE TABLE currentds.oip_provider
(
  id bigint NOT NULL DEFAULT
nextval(('OIP_PROVIDER_ID_S'::text)::regclass), -- Unique system Identifier
  name character varying(50) NOT NULL, -- Name or description of the
available vaules of this master table
  provider_status_id bigint,
  provider_status_desc character varying(100),
  is_active boolean NOT NULL DEFAULT true, -- Indicates if the provider is
in state logical deletion (deactivate) or not
  update_timestamp timestamp without time zone,
  CONSTRAINT oip_provider_pk PRIMARY KEY (id),
  CONSTRAINT fk_provider_provider_status_n1 FOREIGN KEY (provider_status_id)
  REFERENCES currentds.oip_provider_status (id) MATCH SIMPLE
  ON UPDATE NO ACTION ON DELETE NO ACTION
)
WITH (
  OIDS=FALSE
);


*TRANSIT STOP*

CREATE TABLE currentds.oip_transit_stop
(
  id bigint NOT NULL DEFAULT
nextval(('OIP_TRANSIT_STOP_ID_S'::text)::regclass),
  code character varying(50) NOT NULL, -- OIP entity alphanumeric code or
unique alphanumeric identifier given by the data provider
  name character varying(50) NOT NULL, -- Descriptive name for the
transit stop (bus stop, train stop,...).
  long_name character varying(100) NOT NULL,
  description character varying(255),
  url character varying(100),
  provider_id bigint,
  update_timestamp timestamp without time zone NOT NULL,
  optimistic_lock bigint NOT NULL DEFAULT 0,
  location geometry, -- Geolocation reference of the bus, train... stop
location as a point defined with two coordinates in microdegrees (latitude
from –90,000,000 to +90,000,000 and longitude from –180,000,000 to
+180,000,000)
  CONSTRAINT oip_transit_stop_pk PRIMARY KEY (id),
  CONSTRAINT fk_transit_stop_provider_n1 FOREIGN KEY (provider_id)
  REFERENCES currentds.oip_provider (id) MATCH SIMPLE
  ON UPDATE NO ACTION ON DELETE NO ACTION,
  CONSTRAINT enforce_dims_location CHECK (st_ndims(location) = 2),
  CONSTRAINT enforce_srid_location CHECK (st_srid(location) = 4326)
)WITH (
  OIDS=FALSE
);

I don't want to disturb you, so if you don't have time to have a look,
don't worry. I will go on trying to find the correct mapping between
tables, feature mapping and the xsd schema. The underlying problem is that
I don't understand the way fields are mapped.

Thanks a lot for your help.

2012/10/25 VT@CSIRO [via OSGeo.org] ml-node+s1560n5011105...@n6.nabble.com

 Hi Igor,

 Thanks for sending that through. Firstly for cocities:providername your
 mapping should have user providername instead of just name

 targetAttributecocities:provider/cocities: providername
 /targetAttribute

 Instead of

 targetAttributecocities:provider/cocities:name/targetAttribute


 Secondly,

 Your feature chaining for cocities:TransitStop  should be something like.
 Without access to your schema file I am unable to test run it but looking
 through your mapping this is something I picked up. Let me know the outcome



 AttributeMapping
 targetAttribute
 cocities:provider
 /targetAttribute
 sourceExpression
 OCQLprovider_id/OCQL
 (link this table(oip_transit_stop) providerid)
 linkElement
 cocities:provider /linkElement (link to this feature)

 linkFieldFEATURE_LINK/linkField (using what has been defined by
 feature_link)
 /sourceExpression
 /AttributeMapping


 And on your chained feature,

 AttributeMapping
 targetAttribute
   FEATURE_LINK[1](myproviderid
 will be used as FEATURE_LINK[1])
 /targetAttribute
 sourceExpression

 OCQLmyproviderid/OCQL(myproviderid in cocitiesds)
 /sourceExpression
 /AttributeMapping
 AttributeMapping

 targetAttributecocities:provider/cocities:providerid/targetAttribute
 sourceExpression
 OCQLprovider_id/OCQL

 linkElementcocities:providername/linkElement

 linkFieldproviderid/linkField
 /sourceExpression
 /AttributeMapping
 AttributeMapping

 targetAttributecocities:provider/cocities:name/targetAttribute
 sourceExpression

 

Re: [Geoserver-users] How to avoid overlapping of PointSymbolizer

2012-10-25 Thread vsinceac
Sorry, the style has been truncated by the mailer...

 Rule
   NameSun/Name
   ogc:Filter
 ogc:PropertyIsEqualTo
   ogc:PropertyNameweather/ogc:PropertyName
   ogc:Literal2/ogc:Literal
 /ogc:PropertyIsEqualTo
   /ogc:Filter
   PointSymbolizer
 Graphic
   ExternalGraphic
 OnlineResource xlink:type=simple
xlink:href=weather_icons_2/2.gif /
 Formatimage/gif/Format
   /ExternalGraphic
 /Graphic
 VendorOption name=spaceAround5/VendorOption
   /PointSymbolizer
 /Rule



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-to-avoid-overlapping-of-PointSymbolizer-tp5011132p5011136.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] (no subject)

2012-10-25 Thread Kanwal Nayan

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.2 Server Status/Reload Config problem

2012-10-25 Thread Stefano Iacovella
Hi

I missed to a step to reproduce your error. Indeed after reloading the
configuration I did not click again on server status.
I have just tried it on a new deployed 2.2 war on Tomvat 7 jdk 6 on windows
and it does shows the exception.
It really seems a bug, I have filled a bug for it

https://jira.codehaus.org/browse/GEOS-5371

Stefano
---
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas


2012/10/25 Ravi Pavuluri ravith...@ymail.com

 Stefan,

 I think you forgot to Reply All. This problem is only happening in 2.2
 and not the previous versions.

 Thanks,
 Ravi.

   --
 *From:* Stefan Engelhardt (HBT) stefan.engelha...@hbt.de
 *To:* Ravi Pavuluri ravith...@ymail.com
 *Sent:* Thursday, October 25, 2012 1:41 AM
 *Subject:* RE: [Geoserver-users] Geoserver 2.2 Server Status/Reload
 Config problem

   Hi all,
 I have exactly the same problem.

 I am running Geoserver 2.2 in a tomcat 6.0.32 on Debian Squeeze. As far as
 I know, I didn't made any special configurations. I just deleted the most
 preconfigured layers and style, added one workspace, one database and some
 styles and layers, did some changes to GeoWebCache and thats it.

 It seems to me, that there is just a bug in geoserver 2.2

 Thanks
 Stefan

  -Original Message-
 *From:* Ravi Pavuluri [mailto:ravith...@ymail.com]
 *Sent:* Wednesday, October 24, 2012 9:21 PM
 *To:* Geoserver-users
 *Subject:* [bulk]: [Geoserver-users] Geoserver 2.2 Server Status/Reload
 Config problem

 Hi All,

 I am trying out a workflow that is breaking Server Status on the
 geoserver 2.2 admin web interface.
 Steps for the workflow
 1) Logging into http://localhost:8080/geoserver/web
 2) Server status loads fine
 3) Reload Config at the right bottom of the page
 4) Clicking back on server status is throwing an error message. (Snippet
 attached)

 I am able to repliacate on Windows 7 machine(exe) and linux(using war). I
 am not sure if there is something custom at my end causing this. Any
 suggestions are appreciated.

 Thanks,
 Ravi.







 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Migration from 2.1, problems with a layergroup starting with prefix:group_name

2012-10-25 Thread Peter Hopfgartner
Hi

I'm doing some migration tests from GS 2.1 to GS 2.2. There is one layer 
with a prefix, separated by a column (:). Opening this, generates a 
stack trace, like the one at the end of the mail.

Assigning a workspace using the select box, which is new in GS 2.2, I'm 
limited to insert only layers from that specific workspace.

Unfortunately, the group name prefix:group_name is already used, so 
eliminating the prefix causes some downhill problems.

The only way to preserve compatibility with the layer and layergroup 
names from the old installatione, AKAIK, would be to copy all layers 
definitions not in the same workspace as the group to the the workspace 
of the group.

Now my questions:

1 Does anybody see a better options, then the one of copying the layer 
definitions into the workspace?

2 Should I file a ticket for the Exception generated? An unexperienced 
user might think that setting a layer group name to prefix:name_space 
is a smart idea and is nat able to access the layer group definition 
anymore.

Regards,

Peter


org.apache.wicket.WicketRuntimeException: Can't instantiate page using 
constructor public 
org.geoserver.web.data.layergroup.LayerGroupEditPage(org.apache.wicket.PageParameters)
 
and argument group =
[apb-pab:peter-test]
 at 
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
 at 
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)
 at 
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)
 at 
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
 at 
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
 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:617)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at 
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
 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:923)
 at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
 at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
 at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
 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 

Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread vsinceac
Hi, 

Sorry to reopen this thread ... but I tried to apply this solution, and the
Style Editor of GeoServer (2.0-beta2) doesn't accept the Graphic element
inside a TextSymbolizer element... 
(full style here:
http://osgeo-org.1560.n6.nabble.com/How-to-avoid-overlapping-of-PointSymbolizer-tt5011132.html#a5011175)
 

Is this normal? 

Thanks, Victor



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/PointSymbolizer-anchor-tp4971124p5011189.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread Andrea Aime
On Thu, Oct 25, 2012 at 1:44 PM, vsinceac victor.sinc...@corobor.com wrote:
 Hi,

 Sorry to reopen this thread ... but I tried to apply this solution, and the
 Style Editor of GeoServer (2.0-beta2) doesn't accept the Graphic element
 inside a TextSymbolizer element...
 (full style here:
 http://osgeo-org.1560.n6.nabble.com/How-to-avoid-overlapping-of-PointSymbolizer-tt5011132.html#a5011175)

 Is this normal?

It is, just ignore the validation output, if written properly it
should work anyways.

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 1660272
mob: +39  339 8844549

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

---

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread vsinceac
Right, I tested and it works... 
... but not with Label/Label (this gets no label at all).
I tried to put something else in the Label element and it works, the icon
is well drawn as I wanted (i.e. w/o overlapping), but the symbol from the
Label element is always displayed OVER the icon (and it should, I
guess...)

What is the trick to can use an empty label? 
I expected it was your solution with Label/Label, but it draws not icon
at all...

Many Thanks, 
Victor 



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/PointSymbolizer-anchor-tp4971124p5011213.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread Andrea Aime
On Thu, Oct 25, 2012 at 2:41 PM, vsinceac victor.sinc...@corobor.com wrote:
 Right, I tested and it works...
 ... but not with Label/Label (this gets no label at all).
 I tried to put something else in the Label element and it works, the icon
 is well drawn as I wanted (i.e. w/o overlapping), but the symbol from the
 Label element is always displayed OVER the icon (and it should, I
 guess...)

 What is the trick to can use an empty label?
 I expected it was your solution with Label/Label, but it draws not icon
 at all...

Set a space in a cdata section

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 1660272
mob: +39  339 8844549

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

---

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread vsinceac
Of course I did...

Label/Label  -- No icon at all
Label /Label  -- No icon at all
Labelany char/Label   -- Icon AND any char over it

Is there a tricky invisible escape char? Or well have I to set invisible
color for the font???




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/PointSymbolizer-anchor-tp4971124p5011218.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread vsinceac
Sory, the first line was well:

Label/Label   -- No icon at all



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/PointSymbolizer-anchor-tp4971124p5011219.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread vsinceac
Arghhh! the mailing parser ignore my !CDATA[[ ]] for the first line 
:o) 



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/PointSymbolizer-anchor-tp4971124p5011220.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread Andrea Aime
On Thu, Oct 25, 2012 at 3:00 PM, vsinceac victor.sinc...@corobor.com wrote:
 Of course I did...

 Label/Label  -- No icon at all
 Label /Label  -- No icon at all
 Labelany char/Label   -- Icon AND any char over it

 Is there a tricky invisible escape char? Or well have I to set invisible
 color for the font???

What part of CDATA is not clear? :-)

Label![CDATA[ ]]/Label

More about cdata: http://www.w3schools.com/xml/xml_cdata.asp

If we don't put the space in a cdata section the XML parsing rules set
by OGC for
the label element kill any space in it, making it the empty label that
does not get painted.

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 1660272
mob: +39  339 8844549

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

---

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread David Winslow
What Andrea suggested was:

Label[!CDATA[ ]]/Label

This tells GeoServer not to collapse spaces; otherwise it will trim away
blank spaces at the beginning and end of the value.

--
David Winslow
OpenGeo - http://opengeo.org/

On Thu, Oct 25, 2012 at 9:00 AM, vsinceac victor.sinc...@corobor.comwrote:

 Of course I did...

 Label/Label  -- No icon at all
 Label /Label  -- No icon at all
 Labelany char/Label   -- Icon AND any char over it

 Is there a tricky invisible escape char? Or well have I to set invisible
 color for the font???




 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/PointSymbolizer-anchor-tp4971124p5011218.html
 Sent from the GeoServer - User mailing list archive at Nabble.com.


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 Geoserver-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] JPEG2000 plugin

2012-10-25 Thread Tobias Reinicke
Hello all,

I am trying to get this to work and was just wondering;

I have the three dll's as specified on
http://geo-solutions.blogspot.co.uk/2010/03/geoserver-and-geotools-now-supporting.html

but that was 2 years ago, and we have Kakadu version 7.

The jar files I have are:
imageio-ext-kakadujni-5.2.6
imageio-ext-kakadu-1.1.4
gt-jp2k-8.2

Is there an updated jni library available that works with version 7?

Also, to get this running, do I JUST need the dll's? Or the rest of the
Kakadu source code available too?

Thanks

Toby
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread Andrea Aime
On Thu, Oct 25, 2012 at 3:20 PM, Victor Sinceac
victor.sinc...@corobor.com wrote:
 No, all is clear (just the xml parser of nablle ignored my ![CDATA[ ]] in
 the previous mail...

 So:
 - with !CDATA[ ]] in the element Label I get no icon at all (doesn't
 matter the number of spaces)

Uh, odd. Are you using a very old version of GeoServer?
Support for the above was added somewhere around the 2.x series if memory
serves me well.

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 1660272
mob: +39  339 8844549

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

---

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Display EPSG:4326 wms over EPSG:25832 GWCbaselayer seriously wrong!SOLVED

2012-10-25 Thread Oscar Fonts
robertdbuck...@yahoo.com wrote:
 31467,25832=PARAM_MT[NTv2, \PARAMETER[Latitude and longitude difference
 file, BETA2007.gsb]]

andrea.a...@geo-solutions.it:
 All the grids I've seen so far are used to switch between geographic
 ones, normally
 the file is a latitude/longitude grid shift, in your case maybe
 between 4314 and 4258,

+1.

BETA2007.gsb is defined between EPSG:4314 and EPSG:4258.

Look for code 15948 in http://www.epsg-registry.org/

Oscar.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread Victor Sinceac

  
  
2.0 beta2
I guess I have to get the latest version, isn't
  it?
  Many thanks anyway !


  
On 2012-10-25 13:25, Andrea Aime wrote:


  On Thu, Oct 25, 2012 at 3:20 PM, Victor Sinceac
victor.sinc...@corobor.com wrote:

  
No, all is clear (just the xml parser of nablle ignored my ![CDATA[ ]] in
the previous mail...

So:
- with !CDATA[ ]] in the element Label I get no icon at all (doesn't
matter the number of spaces)

  
  
Uh, odd. Are you using a very old version of GeoServer?
Support for the above was added somewhere around the 2.x series if memory
serves me well.

Cheers
Andrea





-- 
  Victor Sinceac: victor.sinc...@corobor.com,
  vsinc...@free.fr
  Address: 24, villa Auguste Blanqui, 75013 Paris, France
  Phone: +33 9 5277 0042 / +33 6 9507 0434

  


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PointSymbolizer anchor

2012-10-25 Thread Victor Sinceac

  
  
No, all is clear (just the xml parser of nablle ignored my
![CDATA[ ]] in the previous mail...

So:
- with !CDATA[ ]] in the element Label I get no icon
at all (doesn't matter the number of spaces)
- with any char (excepting space) in a CDATA section or directly in
the Label element I get that char over the icon.



On 2012-10-25 13:05, Andrea Aime wrote:


  On Thu, Oct 25, 2012 at 3:00 PM, vsinceac victor.sinc...@corobor.com wrote:

  
Of course I did...

Label/Label  -- No icon at all
Label /Label  -- No icon at all
Labelany char/Label   -- Icon AND "any char" over it

Is there a tricky "invisible" escape char? Or well have I to set invisible
color for the font???

  
  
What part of CDATA is not clear? :-)

Label![CDATA[ ]]/Label

More about cdata: http://www.w3schools.com/xml/xml_cdata.asp

If we don't put the space in a cdata section the XML parsing rules set
by OGC for
the label element kill any space in it, making it the empty label that
does not get painted.

Cheers
Andrea




-- 
  Victor Sinceac: victor.sinc...@corobor.com,
  vsinc...@free.fr
  Address: 24, villa Auguste Blanqui, 75013 Paris, France
  Phone: +33 9 5277 0042 / +33 6 9507 0434

  


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Display EPSG:4326 wms over EPSG:25832 GWCbaselayer seriously wrong!SOLVED

2012-10-25 Thread Robert Buckley
Hi,

EPSG:4314 and EPSG:4258 are unknown to me

According to this ...

http://crs.bkg.bund.de/crseu/crs/descrtrans/BeTA/de_dhdn2etrs_beta.php


The beta2007 is used for 


Quell-Koordinatenreferenzsystem Identifikator DE_DHDN / GK_3 
Ziel-Koordinatenreferenzsystem Identifikator ETRS89 / UTM 
Quell = Source
Ziel = Target

...BeTA2007 enthält implizit die Konvertierung (Wechsel des 
Koordinatensystems) von DE_DHDN / GK_3 nach DE_DHDN / Lat-Lon und nach der 
Transformation mit NTv2 (Wechsel des geodätischen Datums) zu ETRS89 / Lat-Lon 
die Konvertierung nach ETRS89 / UTM

between DH:DHDN / GK zone 3 to ETRS89 / UTM

Therefore EPSG:31467 to EPSG:25832

Or am i missing something?

yours,

Rob





 Von: Oscar Fonts oscar.fo...@gmail.com
An: geoserver-users@lists.sourceforge.net 
geoserver-users@lists.sourceforge.net 
CC: Robert Buckley robertdbuck...@yahoo.com; Andrea Aime 
andrea.a...@geo-solutions.it 
Gesendet: 15:29 Donnerstag, 25.Oktober 2012
Betreff: Re: [Geoserver-users] Display EPSG:4326 wms over EPSG:25832 
GWCbaselayer seriously wrong!SOLVED
 
robertdbuck...@yahoo.com wrote:
 31467,25832=PARAM_MT[NTv2, \PARAMETER[Latitude and longitude difference
 file, BETA2007.gsb]]

andrea.a...@geo-solutions.it:
 All the grids I've seen so far are used to switch between geographic
 ones, normally
 the file is a latitude/longitude grid shift, in your case maybe
 between 4314 and 4258,

+1.

BETA2007.gsb is defined between EPSG:4314 and EPSG:4258.

Look for code 15948 in http://www.epsg-registry.org/

Oscar.--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Display EPSG:4326 wms over EPSG:25832 GWCbaselayer seriously wrong!SOLVED

2012-10-25 Thread Andrea Aime
On Thu, Oct 25, 2012 at 4:18 PM, Robert Buckley robertdbuck...@yahoo.comwrote:

 Hi,

 EPSG:4314 and EPSG:4258 are unknown to me

 According to this ...

 http://crs.bkg.bund.de/crseu/crs/descrtrans/BeTA/de_dhdn2etrs_beta.php


I've translated that page with Google in italian and what it says is that
the
transformation is lat/lon to lat/lon, so not between the two projected
systems, but between their base geographic reference systems instead,
which are  EPSG:4314 and EPSG:4258 respectively.

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 1660272
mob: +39  339 8844549

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

---
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] java heap space ERROR

2012-10-25 Thread islanis
i get this error in my tomcat log file


at  
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
at  
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
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.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)
at  
org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at  
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at  
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at  
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at  
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.io.IOException
at  
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:212)
at  
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:62)
at  
org.geotools.data.crs.ForceCoordinateSystemFeatureResults.openIterator(ForceCoordinateSystemFeatureResults.java:94)
at  
org.geotools.feature.collection.AbstractFeatureCollection.iterator(AbstractFeatureCollection.java:342)
at  
org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer.java:2004)
at  
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1940)
at  
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:772)
at  
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:486)
... 91 more
Caused by: java.io.IOException
at  
org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:576)
at  
org.geotools.jdbc.JDBCFeatureStore.getReaderInternal(JDBCFeatureStore.java:210)
at  
org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:484)
at  
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:209)
... 98 more
Caused by: org.postgresql.util.PSQLException: Ran out of memory  
retrieving query results.
at  
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1777)
at  
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at  
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
at  
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353)
at  
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:252)
   

Re: [Geoserver-users] [bulk]: Re: java heap space ERROR

2012-10-25 Thread Stefan Engelhardt (HBT)
Hi,
In my opinion, you should set the java-options for the tomcat -Xms and -Xmx to 
increase the minimum/maximum memory.

See also http://docs.geoserver.org/latest/en/user/production/linuxscript.html

For example -Xms1024m and -Xmx3072m

Test your installation and your needs, also depending of your system.

Greetings
Stefan

 -Original Message-
 From: isla...@infomed.sld.cu [mailto:isla...@infomed.sld.cu] 
 Sent: Thursday, October 25, 2012 5:36 PM
 To: geoserver-users@lists.sourceforge.net
 Subject: [bulk]: Re: [Geoserver-users] java heap space ERROR
 
 
 i get this error in my tomcat log file
 
 
   at  
 org.springframework.security.util.FilterChainProxy$VirtualFilt
 erChain.doFilter(FilterChainProxy.java:406)
   at  
 org.springframework.security.context.HttpSessionContextIntegra
 tionFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
   at  
 org.springframework.security.ui.SpringSecurityFilter.doFilter(
 SpringSecurityFilter.java:53)
   at  
 org.springframework.security.util.FilterChainProxy$VirtualFilt
 erChain.doFilter(FilterChainProxy.java:406)
   at  
 org.springframework.security.util.FilterChainProxy.doFilter(Fi
 lterChainProxy.java:185)
   at  
 org.springframework.security.util.FilterToBeanProxy.doFilter(F
 ilterToBeanProxy.java:99)
   at  
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
 er(ApplicationFilterChain.java:235)
   at  
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterChain.java:206)
   at 
 org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
   at  
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
 er(ApplicationFilterChain.java:235)
   at  
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterChain.java:206)
   at  
 org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxy
 Filter.java:183)
   at  
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
 er(ApplicationFilterChain.java:235)
   at  
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterChain.java:206)
   at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
   at  
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
 er(ApplicationFilterChain.java:235)
   at  
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterChain.java:206)
   at  
 org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebug
 Filter.java:46)
   at  
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
 er(ApplicationFilterChain.java:235)
   at  
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterChain.java:206)
   at  
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
 rapperValve.java:233)
   at  
 org.apache.catalina.core.StandardContextValve.invoke(StandardC
 ontextValve.java:175)
   at  
 org.apache.catalina.core.StandardHostValve.invoke(StandardHost
 Valve.java:128)
   at  
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
 Valve.java:102)
   at  
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
 gineValve.java:109)
   at  
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdap
 ter.java:286)
   at 
 org.apache.coyote.http11.Http11Processor.process(Http11Process
 or.java:844)
   at  
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
 r.process(Http11Protocol.java:583)
   at 
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.
 java:447)
   at java.lang.Thread.run(Unknown Source)
 Caused by: java.lang.RuntimeException: java.io.IOException
   at  
 org.geotools.data.store.ContentFeatureCollection.features(Cont
 entFeatureCollection.java:212)
   at  
 org.geotools.data.store.ContentFeatureCollection.features(Cont
 entFeatureCollection.java:62)
   at  
 org.geotools.data.crs.ForceCoordinateSystemFeatureResults.open
 Iterator(ForceCoordinateSystemFeatureResults.java:94)
   at  
 org.geotools.feature.collection.AbstractFeatureCollection.iter
 ator(AbstractFeatureCollection.java:342)
   at  
 org.geotools.renderer.lite.StreamingRenderer.drawPlain(Streami
 ngRenderer.java:2004)
   at  
 org.geotools.renderer.lite.StreamingRenderer.processStylers(St
 reamingRenderer.java:1940)
   at  
 org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRe
 nderer.java:772)
   at  
 org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:486)
   ... 91 more
 Caused by: java.io.IOException
   at  
 org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeat
 ureSource.java:576)
   at  
 org.geotools.jdbc.JDBCFeatureStore.getReaderInternal(JDBCFeatu
 reStore.java:210)
   at  
 org.geotools.data.store.ContentFeatureSource.getReader(Content
 FeatureSource.java:484)
   at  
 

[Geoserver-users] SLD - Decimal Roundup -Labeling

2012-10-25 Thread Ravi Pavuluri
Hi,

I am trying to round the number of decimals from my data for labeling (which is 
shown as BigDecimal on geoserver admin interface with postgis datastore). I 
have looked at the following resources, but couldn't find a solution.

http://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg00940.html
http://docs.geoserver.org/latest/en/user/filter/function_reference.html
https://groups.google.com/forum/?fromgroups=#!topic/geoext-users-archive/I4N6eu-C-4Q
http://docs.oracle.com/javase/6/docs/api/java/text/DecimalFormat.html

Simply put, I have 149.9 in my data and want to have something like 
149.9 or 150.0 for my labels. Is there any easier way to do the formatting with 
number functions or do I have to only use string functions like strSubstring 
etc?. 

Here is a snippet of sld if you want to look at it.

            ogc:Function name=if_then_else
               ogc:Function name=isNull
                 ogc:PropertyNameMYFIELD/ogc:PropertyName
               /ogc:Function
               ogc:Literal/ogc:Literal
                ogc:Function name=Concatenate
                 ogc:Literal![CDATA[ Custom Text ]]/ogc:Literal
                 ogc:Function name=numberFormat
                   ogc:Literal#.#/ogc:Literal
                   ogc:PropertyNameMYFIELD/ogc:PropertyName
                 /ogc:Function
               /ogc:Function  
           /ogc:Function 

I also tried publishing shapefile (which is shown as Double on geoserver admin 
interface) and no luck.

Thanks,
Ravi.--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] SLD - Decimal Roundup -Labeling

2012-10-25 Thread Andrea Aime
On Thu, Oct 25, 2012 at 7:30 PM, Ravi Pavuluri ravith...@ymail.com wrote:
 Hi,

 I am trying to round the number of decimals from my data for labeling (which
 is shown as BigDecimal on geoserver admin interface with postgis datastore).
 I have looked at the following resources, but couldn't find a solution.

 http://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg00940.html
 http://docs.geoserver.org/latest/en/user/filter/function_reference.html
 https://groups.google.com/forum/?fromgroups=#!topic/geoext-users-archive/I4N6eu-C-4Q
 http://docs.oracle.com/javase/6/docs/api/java/text/DecimalFormat.html

 Simply put, I have 149.9 in my data and want to have something like
 149.9 or 150.0 for my labels. Is there any easier way to do the formatting
 with number functions or do I have to only use string functions like
 strSubstring etc?.

 Here is a snippet of sld if you want to look at it.

 ogc:Function name=if_then_else
ogc:Function name=isNull
  ogc:PropertyNameMYFIELD/ogc:PropertyName
/ogc:Function
ogc:Literal/ogc:Literal
 ogc:Function name=Concatenate
  ogc:Literal![CDATA[ Custom Text ]]/ogc:Literal
  ogc:Function name=numberFormat
ogc:Literal#.#/ogc:Literal
ogc:PropertyNameMYFIELD/ogc:PropertyName
  /ogc:Function
/ogc:Function
/ogc:Function

Have you tried using #.0 instead of #.# ?

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 1660272
mob: +39  339 8844549

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

---

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] REST config: Http Caching Headers

2012-10-25 Thread Andrea Aime
On Tue, Oct 23, 2012 at 7:37 AM,  schmidt.sebasti...@swm.de wrote:
 Ok, I understood that I need to set the cache-time for all the layers in my
 layer group in order to get that header.



 But: How to set it via REST API? Is that possible? What needs to be done to
 make it possible?

Set the caching in one layer manally using the GUI, and observe how the
rest representation changes (either of the layer, or of the resource, I don't
remember in which one the field is set).

Then automate the changes

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 1660272
mob: +39  339 8844549

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

---

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Managing advertisement and access of Grouplayers

2012-10-25 Thread Andrea Aime
On Mon, Oct 22, 2012 at 11:56 AM, Just van den Broecke
j...@justobjects.nl wrote:
 Hi,

 Using GS 2.2 we are trying to setup GroupLayers (GLs). These GLs are
 used only for internal tiling via GWC and should not be
 accessible/advertised externally. Public access to GS is arranged by a
 URL-based access/load balancing layer external to GS.

What you are looking for is not possible I'm afraid, code changes are needed
in order to add an advertised field to the layer group, and have the field been
handled properly as we return the get capabilities response

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 1660272
mob: +39  339 8844549

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

---

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] SLD - Decimal Roundup -Labeling

2012-10-25 Thread Ravi Pavuluri
Andrea,

Thanks for the tip and it solved my problem.  


Thanks!
Ravi.





 From: Andrea Aime andrea.a...@geo-solutions.it
To: Ravi Pavuluri ravith...@ymail.com 
Cc: Geoserver-users geoserver-users@lists.sourceforge.net 
Sent: Thursday, October 25, 2012 2:28 PM
Subject: Re: [Geoserver-users] SLD - Decimal Roundup -Labeling
 
On Thu, Oct 25, 2012 at 7:30 PM, Ravi Pavuluri ravith...@ymail.com wrote:
 Hi,

 I am trying to round the number of decimals from my data for labeling (which
 is shown as BigDecimal on geoserver admin interface with postgis datastore).
 I have looked at the following resources, but couldn't find a solution.

 http://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg00940.html
 http://docs.geoserver.org/latest/en/user/filter/function_reference.html
 https://groups.google.com/forum/?fromgroups=#!topic/geoext-users-archive/I4N6eu-C-4Q
 http://docs.oracle.com/javase/6/docs/api/java/text/DecimalFormat.html

 Simply put, I have 149.9 in my data and want to have something like
 149.9 or 150.0 for my labels. Is there any easier way to do the formatting
 with number functions or do I have to only use string functions like
 strSubstring etc?.

 Here is a snippet of sld if you want to look at it.

             ogc:Function name=if_then_else
                ogc:Function name=isNull
                  ogc:PropertyNameMYFIELD/ogc:PropertyName
                /ogc:Function
                ogc:Literal/ogc:Literal
                 ogc:Function name=Concatenate
                  ogc:Literal![CDATA[ Custom Text ]]/ogc:Literal
                  ogc:Function name=numberFormat
                    ogc:Literal#.#/ogc:Literal
                    ogc:PropertyNameMYFIELD/ogc:PropertyName
                  /ogc:Function
                /ogc:Function
            /ogc:Function

Have you tried using #.0 instead of #.# ?

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 1660272
mob: +39  339 8844549

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

-
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Display EPSG:4326 wms over EPSG:25832 GWCbaselayer seriously wrong!SOLVED

2012-10-25 Thread Robert Buckley
Ok,

Thanks for clearing that up.

But here comes the real question...How do I define the crs transformation 
between a 31467 and 25832 crs using BETA2007 and geoserver, and why did it 
cause geoserver to crash? 

It clearly states that we should use beta2007.gsb to create a transformation 
method between 31467 and 25832 with Ntv2?


Rob--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] SLD - Decimal Roundup -Labeling

2012-10-25 Thread cmaul
Ravi,

the simplest solution:

sld:TextSymbolizer
sld:Label
ogc:Function name=round
ogc:PropertyNameALTITUDE/ogc:PropertyName
/ogc:Function 
/sld:Label
..

entire sld here:
http://lctest.land.vic.gov.au/sld/VMELEV_el_contour_2.sld

Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/SLD-Decimal-Roundup-Labeling-tp5011313p5011381.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] SLD - Decimal Roundup -Labeling

2012-10-25 Thread cmaul
sorry forgot something important:
this function expects a float.

Another consideration: I would expect mathematical functions to work much
faster than String functions.

May be Andrea can shed some light on that.

Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/SLD-Decimal-Roundup-Labeling-tp5011313p5011385.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Spatial Index not being Used in SQL Server Layer

2012-10-25 Thread Hugh Saalmans

___

Note: This e-mail is subject to the disclaimer contained at the bottom of this 
message.
___


Hi all,

I've successfully setup a connection to SQL Server 2012 using the MS SQL Server 
JDBC Drivers 4.0 with Geoserver 2.2.1 on a Windows 2002 R2 64bit server 
(running on Tomcat 7 on Java 7 if you want all the details).

After setting up a layer and trying to access it through a WMS request without 
success, I traced the problem to the fact that the query being sent to SQL 
Server wasn't using the spatial index on the table. E.g:

SELECT myID
  ,GEOM.STAsBinary() as GEOM
FROM dbo.Current_MGRS_SRID_3857 WITH(INDEX=IDX_GEOM)
WHERE GEOM.STIntersects(geometry::STGeomFromText('POLYGON ((16824688.06064964 
-4008988.3687579953, 16824688.06064964 -4007727.157791289, 16825949.27161635 
-4007727.157791289, 16825949.27161635 -4008988.3687579953, 16824688.06064964 
-4008988.3687579953))', 3857)) = 1
GO

Creating a view of the target table with an index hint in it solves the 
original issue and returns a result sub-second in testing.  But it doesn't 
solve the problem in Geoserver as this disables some other queries that 
Geoserver needs to sends to SQL that fail if an index hint is present, such as 
when it tries to determine the native SRID of the data:

SELECT geom.STSrid from dbo.View_Current_MGRS_SRID_3857 WHERE geom.STSrid IS 
NOT NULL

The end result is that I can't get Geoserver to work with our 13M point SQL 
Server table, even though that volume of data is a breeze to work with when the 
spatial index is used.

I have Postgres setup and could use it, but the point of my testing is to prove 
the superior integration properties of Geoserver over ArcGIS Server, and SQL 
Server is required as well as Postgres.

So, assuming Microsoft aren't going to improve the way spatial indexes are 
activated by queries:  what's the status of Geoserver supporting SQL Server 
spatial index hints when requesting the data?  And does anyone have a 
workaround, noting the comment above...

Cheers,
Hugh


___

The information transmitted in this message and its attachments (if any) is 
intended 
only for the person or entity to which it is addressed.
The message may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance 
upon this information, by persons or entities other than the intended recipient 
is 
prohibited.

If you have received this in error, please contact the sender and delete this 
e-mail 
and associated material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute 
the information contained in this e-mail and any attached files, with the 
permission 
of the sender.

This message has been scanned for viruses.
___
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Migration from 2.1, problems with a layergroup starting with prefix:group_name

2012-10-25 Thread Justin Deoliveira
I believe this issue was actually just fixed, this pull request:

  https://github.com/geoserver/geoserver/pull/34

Which I am not sure made it in to 2.2 or not. Regardless you could also try
the latest nightly build.

On Thu, Oct 25, 2012 at 4:00 AM, Peter Hopfgartner 
peter.hopfgart...@r3-gis.com wrote:

 Hi

 I'm doing some migration tests from GS 2.1 to GS 2.2. There is one layer
 with a prefix, separated by a column (:). Opening this, generates a
 stack trace, like the one at the end of the mail.

 Assigning a workspace using the select box, which is new in GS 2.2, I'm
 limited to insert only layers from that specific workspace.

 Unfortunately, the group name prefix:group_name is already used, so
 eliminating the prefix causes some downhill problems.

 The only way to preserve compatibility with the layer and layergroup
 names from the old installatione, AKAIK, would be to copy all layers
 definitions not in the same workspace as the group to the the workspace
 of the group.

 Now my questions:

 1 Does anybody see a better options, then the one of copying the layer
 definitions into the workspace?

 2 Should I file a ticket for the Exception generated? An unexperienced
 user might think that setting a layer group name to prefix:name_space
 is a smart idea and is nat able to access the layer group definition
 anymore.

 Regards,

 Peter


 org.apache.wicket.WicketRuntimeException: Can't instantiate page using
 constructor public

 org.geoserver.web.data.layergroup.LayerGroupEditPage(org.apache.wicket.PageParameters)
 and argument group =
 [apb-pab:peter-test]
  at

 org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
  at

 org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:89)
  at

 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:305)
  at

 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:320)
  at

 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:234)
  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:617)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  at

 org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
  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:923)
  at

 org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
  at

 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
  at

 org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
  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