Re: [Geoserver-users] Problem with GeoServer Migration

2013-05-31 Thread Meichun Li
, PARAMETER["central_meridian", 0.0], PARAMETER["scale_factor", 1.0], PARAMETER["false_easting", 0.0], PARAMETER["false_northing", 0.0], UNIT["m", 1.0], AXIS["x", EAST], AXIS["y", NORTH], AUTHORITY["EPSG","54004"]]

[Geoserver-users] Problem with GeoServer Migration

2013-05-30 Thread Meichun Li
Hi, We have two servers, one is test server and the other is production server. I use tomcat as application server.   I want to set up geoserver on both server with exactly the same configuration. I searched geoserver documention, it is said that we just need to copy the data directory over and

[Geoserver-users] GeoServer 2.3.1 and SQL server 2012

2013-05-17 Thread Meichun Li
Hi, I’ve seen the updates of GeoServer for SQL server on http://blog.geoserver.org/. But I can’t find any information if it is compatible with SQL server 2012. Any one  got GeoServer Working with SQL Server 2012? I need to make sure it works before we purchase SQL server 2012 license. “A couple o

[Geoserver-users] How to make map load faster?

2013-02-22 Thread Meichun Li
Hi,   I have a map that runs slow. I am trying to find out the problem.     Environment: GeoServer version is 2.2.3, SQL Server 2008, Tomcat 6.0, JDK 6.     The map has one layer using SQL view. The query runs very fast in SQL server 2008 console (less than a second), but it takes about a minute

[Geoserver-users] Problem with Geowebcache veiwparams configuration

2013-02-12 Thread Meichun Li
Hi,   I am using a layer from SQL view and took parameters dynamically. I tried to use GeoWebCache (gwc) to speed up the process of WMS requests.  I tried to configure GeoWebCache with viewparams.   I added  a new in $GEOSERVER/data_dir/gwc/geowebcache.xml.      NC_County_viewparams           

Re: [Geoserver-users] Caching - enable direct integration with GeoServer WMS

2013-02-12 Thread Meichun Li
e gwc-gs.xml.  I reboot Tomcat, the check boxed is checked.   Thanks, Meichun From: Meichun Li To: "geoserver-users@lists.sourceforge.net" Sent: Tuesday, February 12, 2013 8:23 AM Subject: Caching - enable direct integration with GeoServer WMS Hi,     I use GeoServer 2.2.3, I tried to

[Geoserver-users] Caching - enable direct integration with GeoServer WMS

2013-02-12 Thread Meichun Li
Hi,     I use GeoServer 2.2.3, I tried to check the check box "Enable direct integration with GeoServer WMS" on the page "Caching defaults". All the other options are as default. I submit the form, and log out and log in again,  the check box "Enable direct integration with GeoServer WMS" is sti

Re: [Geoserver-users] Passing multiple values to parameters / SQL Server Stored Procedure

2013-01-31 Thread Meichun Li
27516.   Hope this helps.   Thanks! Meichun From: Martin Davis To: Andrea Aime Cc: Meichun Li ; "geoserver-users@lists.sourceforge.net" Sent: Thursday, January 31, 2013 1:34 PM Subject: Re: [Geoserver-users] Passing multiple values to parameters / SQL Server Stored Procedure Yes,

Re: [Geoserver-users] Passing multiple values to parameters / SQL Server Stored Procedure

2013-01-31 Thread Meichun Li
  Even though I can't use SQL Server Stored Procedure in SQL view, I figured out how to use table-valued functions which worked great!  Also,I can pass multi-value parameters to a function.      Thanks! Meichun From: Meichun Li To: "geoserver-users@lists.sourceforge.net"

[Geoserver-users] Passing multiple values to parameters / SQL Server Stored Procedure

2013-01-30 Thread Meichun Li
Hi,   I need to do a  query for a map layer, and pass mulitple values to  parameters.   For example,   Select * from VIEW where LocationID in (1, 3, 4, 5, 11)    The values of  locationID is dynamic, it mabye one ID, two IDs or many IDs.   Is it doable to set up parameters like this?   Also, is it

[Geoserver-users] Label not centered in the circle when zooming in

2013-01-29 Thread Meichun Li
Hi,   I am trying to do a layer of count by zip code. I use a style of circle with the count number as the label which is  palced in the center of the circle. Please see the SLD below. It works fine when the map is loaded, but when I zoom in the map, the label is not centered in the circle anymo

[Geoserver-users] Question about MS SQL Server 2012

2013-01-25 Thread Meichun Li
My application uses GeoServer 2.2.2 and SQL server 2008 for now. But the database might be upgraded to SQL server 2012.   I did some search. It seems that  GeoServer  extension supports SQL Server 2008 only and does not support 2012. Any knows?   Thanks! Maggie

Re: [Geoserver-users] How to access secured WMS in web application

2013-01-17 Thread Meichun Li
Thanks Christian for the link! It's helpful! I figured out how to use OL4JSFProxy to do geoserver WMS authorization with OpenLayers. It worked! Thanks so much! Maggie From: "christian.muel...@nvoe.at" To: Meichun Li Cc: &

Re: [Geoserver-users] How to access secured WMS in web application

2013-01-17 Thread Meichun Li
s";, { LAYERS: 'NC_Map', STYLES: '', format: format }, { singleTile: true, ratio: 1, isBaseLayer: true, yx : {'EPSG:4326' : true} } ); map.addLayers([untiled, tiled]); From: "christian.muel...@nvoe.at

[Geoserver-users] How to access secured WMS in web application

2013-01-15 Thread Meichun Li
Hi,   My web application uses Struts Framework, and the enviroments are JDK 6,Tomcat 6, GeoServer 2.2.2.   I configured GeoServer to secure WMS, a basic authencitation window pops up for WMS request. For example, user name and password are required to input to access http://localhost:8080/geose

Re: [Geoserver-users] [bulk]: Re: Problem with GeoServer Web Archive Installation in Tomcat

2013-01-14 Thread Meichun Li
-XX:PermSize=256m   GeoServer and the exisiting application run normal after the configuration.   Thanks Maggie   From: Stefan Engelhardt (HBT) To: Juan Marín Otero ; Meichun Li Cc: Geoserver-users@lists.sourceforge.net Sent: Monday, January 14, 2013 9:26 AM Subject: RE: [bulk]: Re: [Geoserver

[Geoserver-users] Problem with GeoServer Web Archive Installation in Tomcat

2013-01-14 Thread Meichun Li
Hi,   I installed GeoServer 2.2.2 web archive in Tomcat 6 using JDK 1.6.0_22 on my test server, but tomcat run too slow after the installation.   It worked fine while I installed it in my development local machine, just that Tomcat version is 5.5. The installation was straitforward and I could j