Re: [Geoserver-users] Maximum memory for GetMap request

2013-04-09 Thread Ravi Pavuluri
Jonathan,

I am not sure if this solves it. Did you check memory limit under WMS settings?

-Ravi.





 From: Jonathan Moules 
To: geoserver-users@lists.sourceforge.net 
Sent: Tuesday, April 9, 2013 12:16 PM
Subject: [Geoserver-users] Maximum memory for GetMap request
 

Hi list,
I'm trying to print a high DPI (600) PDF. Problem is, GeoServer fails, 
providing this exception:

http://wppgeog3:8082/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";> 
   
      Rendering request would use 99250KB, whilst the maximum memory allowed is 
65536KB


My problem is, where is this set?

In my server settings I have:
JAI Maximum Memory494 MB
JAI Memory Threshold75.0

And my GeoServer initialisation has:
JAVA_OPTS="-Xmx1G -Xms128m -XX:MaxPermSize=256m

I can't find 64MB anywhere. Is it possible to change this? The machine in 
question has plenty of spare RAM and only printing requests will be high-DPI / 
high memory use.

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.

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Rest API: Publishing a Shapefile directory as datastore

2013-03-11 Thread Ravi Pavuluri
Hi,

I am trying to publish a shapefile directory as datastore in geoserver (2.2.x) 
and I was going through these pages.

http://docs.geoserver.org/2.1.2/user/restconfig/rest-config-examples/rest-config-examples-curl.html

http://docs.geoserver.org/stable/en/user/rest/examples/curl.html

curl -v -u admin:geoserver -XPUT -H "Content-type: text/plain" -d 
"file:///data/shapefiles/" 
"http://localhost:8080/geoserver/rest/workspaces/acme/datastores/shapefiles/external.shp?configure=all";

When I create the store, the datastore is created and layers are published. But 
when I check the store information, it is showing of type "Shapefile" instead 
of "Directory of spatial files (shapefiles)". I am not sure if this is a bug, 
but wanted to check with the community.

As a work around for now, I am editing the datastore.xml manually as directory 
of shapefiles and reloading the config to see my expected changes.

Thanks,
Ravi.--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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-26 Thread Ravi Pavuluri
Andrea,
Thanks for the input. We will keep this in mind for future considerations and 
the current string manipulation works for now.

Chris,
Thank you for the snippet. I also tried round by looking at this link (using 
datatype as double from geoserver admin interface)
http://docs.geoserver.org/stable/en/user/filter/function_reference.html

I got an error saying function "round" is not found. I think the documentation 
on that page probably needs an update(for float as input datatype).

Thanks again,
Ravi.





 From: Andrea Aime 
To: cmaul  
Cc: geoserver-users@lists.sourceforge.net 
Sent: Friday, October 26, 2012 2:28 AM
Subject: Re: [Geoserver-users] SLD - Decimal Roundup -Labeling
 
On Fri, Oct 26, 2012 at 1:13 AM, cmaul  wrote:
> 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.

They are probably faster, but in the overall timing I would be surprised if
the difference was measurable, let alone visible.

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--
The Windows 8 Center 
In partnership with Sourceforge
Your idea - your app - 30 days. Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/___
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 
To: Ravi Pavuluri  
Cc: Geoserver-users  
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  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.
>
>             
>                
>                  MYFIELD
>                
>                
>                 
>                  
>                  
>                    #.#
>                    MYFIELD
>                  
>                
>            

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


[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.

            
               
                 MYFIELD
               
               
                
                 
                 
                   #.#
                   MYFIELD
                 
                 
            

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] Geoserver 2.2 Server Status/Reload Config problem

2012-10-24 Thread Ravi Pavuluri
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) 
To: Ravi Pavuluri  
Sent: Thursday, October 25, 2012 1:41 AM
Subject: RE: [Geoserver-users] Geoserver 2.2 Server Status/Reload Config problem
 

Nachricht 
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


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

2012-10-24 Thread Ravi Pavuluri
Stefano,

Thank you for your email. I was trying something on the linux machine, so not 
really sure if I broke something at my end. But windows installation is 
untouched.

Thanks,
Ravi.






 From: Stefano Iacovella 
To: Ravi Pavuluri  
Cc: Geoserver-users  
Sent: Wednesday, October 24, 2012 3:52 PM
Subject: Re: [Geoserver-users] Geoserver 2.2 Server Status/Reload Config problem
 

Hi Ravi

Are you getting the error on a plain installation or you  performed any 
customization after installing GeoServer?
I never got an error reloading configuration on Windows 7 or Ubuntu 12.04 with 
Tomcat 7 and GeoServer 2.2

Kind Regards,

Stefano

---
41.95581N 12.52854E


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

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



2012/10/24 Ravi Pavuluri 

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] Geoserver 2.2 Server Status/Reload Config problem

2012-10-24 Thread Ravi Pavuluri
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.org.apache.wicket.WicketRuntimeException: Can't instantiate page using 
constructor public org.geoserver.web.admin.StatusPage() at 
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212)
 at 
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)
 at 
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:298)
 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:707) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) 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:707) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
 at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
 at 
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at 
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at 
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
 at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
 at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
 at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
 at 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
 at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
 at 
org.geoserver.security.filter.GeoServerComp

Re: [Geoserver-users] Geowebcache - Labeling & GetFeatureInfo

2012-10-08 Thread Ravi Pavuluri
Thanks for your reply Arne.

1) We have the default 4X4 meta-tiling enabled and like you mentioned this is 
not a perfect solution.
2) We tried this approach in the past got partial success. Our requirements are 
too concerned with labeling than performance and we went to step 3 and 
currently running into performance issues as expected.


I will retry the option with direct GWC url and if not I will directly use the 
WMS for featureinfo.

Thanks again,
Ravi.




 From: Arne Kepp 
To: Ravi Pavuluri  
Cc: Geoserver-users  
Sent: Monday, October 8, 2012 1:48 AM
Subject: Re: [Geoserver-users] Geowebcache - Labeling & GetFeatureInfo
 

On 10/5/12 22:08 , Ravi Pavuluri wrote:

Hi,
>
>I am trying the latest Geoserver(2.2) and integrated
geowebcache. I am not sure if I am supposed to post it here or
in geowebcache forum. Please let me know.
>
geowebcache-users whould be more specific, but either one is valid.



>I had set the styling to label all features within geoserver sld
and also set the singleTile= true using openlayers to have label
shown all the time. It works as expected with just Geoserver and
openlayers. When I start using GWC, I am not really aware of any
way to force the label the way it was. Any tips are greatly
appreciated. Is duplicating the layer with no symbolization for
data, but just for labels a good idea?
>
Labels are duplicated because WMS requests are stateless, so one request 
doesn't know what has been rendered in the other. When you view a cached. 

You can do three things:
1) Increase metatiling factors so that it is less likely to occur in
places that you care about. This is the easy fix, but it doesn't
give you a perfect solution.
2) You can fix all the labels by calculating a point for each one
and then putting the labels in a separate layer and render only at
these points. Then create a layer group with both the actual data
and the layer group, and cache this combination. 
3) Or you can display the layer with two SLDs. One for labels
(untiled, not cached) and one for the actual data. This will require
both the server and client to do more work.


>[This may be openlayers question. Please disregard if
inappropriate]
>Openlayers GetFeatureInfo is not working with multiple layers
when I had GWC enabled "Enable direct WMS integration" option
within Geoserver. Is this a known limitation or am I missing
something here?
>
Not sure, I would have expected it to work and forward requests without caching 
them (there are just too many pixels, and the responses can be big). But you 
can also do these requests directly against the WMS, OpenLayers doesn't require 
you to configure it against a visible layer or anything like that.

-Arne --
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geowebcache - Labeling & GetFeatureInfo

2012-10-05 Thread Ravi Pavuluri
Hi,

I am trying the latest Geoserver(2.2) and integrated geowebcache. I am not sure 
if I am supposed to post it here or in geowebcache forum. Please let me know.

I had set the styling to label all features within geoserver sld and also set 
the singleTile= true using openlayers to have label shown all the time. It 
works as expected with just Geoserver and openlayers. When I start using GWC, I 
am not really aware of any way to force the label the way it was. Any tips are 
greatly appreciated. Is duplicating the layer with no symbolization for data, 
but just for labels a good idea?

[This may be openlayers question. Please disregard if inappropriate]
Openlayers GetFeatureInfo is not working with multiple layers when I had GWC 
enabled "Enable direct WMS integration" option within Geoserver. Is this a 
known limitation or am I missing something here?

Your help is greatly appreciated.

Thanks,
Ravi.--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver Rest API : Add Shapfile from Existing Shapefile Datastore

2011-12-14 Thread Ravi Pavuluri
Hi All,


I have a shapefile directory datastore already created with GeoServer 2.0.2 and 
would like to publish one of the shapefiles within this datastore using Rest 
API. As per documentation from this 
page(http://docs.geoserver.org/2.0.x/en/user/extensions/rest/rest-config-examples-curl.html),
 an addition of a shapefile using rest API would end up creating a new 
datastore. I couldnt find information on adding a shapefile without creating a 
new datastore. Any suggestions are greatly appreciated.

Thanks,
Ravi.
--
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Simple WPS Example-Programatically

2011-08-07 Thread Ravi Pavuluri
Thanks for the link Arul. Will look into it.


-Ravi.




From: Arulraj Murugavel (மு. அருள்ராஜ் ) 
To: Ravi Pavuluri 
Cc: Andrea Aime ; Geoserver-users 

Sent: Saturday, August 6, 2011 11:48 PM
Subject: Re: [Geoserver-users] Simple WPS Example-Programatically


Dear Ravi,

We are also using 52N for Bhuvan Geo-processing. You may look in to 
http://bhuvan3.nrsc.gov.in , Geo-Process  section for the same. 

Regards
Arul...


On Sun, Aug 7, 2011 at 1:38 AM, Ravi Pavuluri  wrote:

Thanks a lot Andrea. That was what I was looking for.
>
>
>-Ravi.
>
>
>
>
>
>From: Andrea Aime 
>To: Ravi Pavuluri 
>Cc: Geoserver-users 
>Sent: Saturday, August 6, 2011 6:20 AM
>Subject: Re: [Geoserver-users] Simple WPS Example-Programatically
>
>
>
>On Sat, Aug 6, 2011 at 3:50 AM, Ravi Pavuluri  wrote:
>
>Hi Users,
>>
>>
>>Is there any simple example(or resource) for working on WPS programatically 
>>than through the geoserver admin interface?
>
>
>What do you mean by programmatically? Using a WPS client library?
>I've haven't used any so far, but GeoTools has one, 52N I believe another, and 
>PyWPS seems to ship with a javascript one:
>http://pywps.wald.intevation.org/documentation/pywps-3.2/clients/javascript.html
>
>
>Cheers
>Andrea
> -- 
>---
>Ing. Andrea Aime
>GeoSolutions S.A.S.
>Tech lead
>
>Via Poggio alle Viti 1187
>55054  Massarosa (LU)
>Italy
>
>phone: +39 0584 962313
>fax:      +39 0584 962313
>
>http://www.geo-solutions.it
>http://geo-solutions.blogspot.com/
>http://www.youtube.com/user/GeoSolutionsIT
>http://www.linkedin.com/in/andreaaime
>http://twitter.com/geowolf
>
>---
>
>
>
>--
>BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>The must-attend event for mobile developers. Connect with experts.
>Get tools for creating Super Apps. See the latest technologies.
>Sessions, hands-on labs, demos & much more. Register early & save!
>http://p.sf.net/sfu/rim-blackberry-1
>___
>Geoserver-users mailing list
>Geoserver-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Simple WPS Example-Programatically

2011-08-06 Thread Ravi Pavuluri
Thanks a lot Andrea. That was what I was looking for.

-Ravi.




From: Andrea Aime 
To: Ravi Pavuluri 
Cc: Geoserver-users 
Sent: Saturday, August 6, 2011 6:20 AM
Subject: Re: [Geoserver-users] Simple WPS Example-Programatically


On Sat, Aug 6, 2011 at 3:50 AM, Ravi Pavuluri  wrote:

Hi Users,
>
>
>Is there any simple example(or resource) for working on WPS programatically 
>than through the geoserver admin interface?

What do you mean by programmatically? Using a WPS client library?
I've haven't used any so far, but GeoTools has one, 52N I believe another, and 
PyWPS seems to ship with a javascript one:
http://pywps.wald.intevation.org/documentation/pywps-3.2/clients/javascript.html

Cheers
Andrea
 -- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Simple WPS Example-Programatically

2011-08-05 Thread Ravi Pavuluri
Hi Users,

Is there any simple example(or resource) for working on WPS programatically 
than through the geoserver admin interface?

Thanks,
Ravi.
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMTS

2011-05-06 Thread Ravi Pavuluri
Thanks for the information Chris. Will look into it.

-Ravi.




From: Chris Holmes 
To: Ravi Pavuluri 
Cc: Geoserver-users 
Sent: Thursday, May 5, 2011 9:41 PM
Subject: Re: [Geoserver-users] WMTS


GeoServer by default includes GeoWebCache, and exposes all layers as WMTS 
(among other tile formats).  See for 
example http://suite.opengeo.org/geoserver/gwc/service/wmts?REQUEST=getcapabilities
  Just go to /gwc/service/wmts from your geoserver base directory.

best regards,

Chris


On Thu, May 5, 2011 at 1:11 PM, Ravi Pavuluri  wrote:

Hi,
>
>
>Does GeoServer provide an way to publish WMTS? The online posts from 
>OpenLayers show "consuming" WMTS by making use of GeoWebCache, but I couldn't 
>find a simple example for "publishing" WMTS or any relevant documentation. 
>
>
>
>Any documentation resources are greatly appreciated.
>
>
>
>Thanks,
>Ravi.
>
>--
>WhatsUp Gold - Download Free Network Management Software
>The most intuitive, comprehensive, and cost-effective network
>management toolset available today.  Delivers lowest initial
>acquisition cost and overall TCO of any competing solution.
>http://p.sf.net/sfu/whatsupgold-sd
>___
>Geoserver-users mailing list
>Geoserver-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] WMTS

2011-05-05 Thread Ravi Pavuluri
Hi,

Does GeoServer provide an way to publish WMTS? The online posts from OpenLayers 
show "consuming" WMTS by making use of GeoWebCache, but I couldn't find a 
simple example for "publishing" WMTS or any relevant documentation. 


Any documentation resources are greatly appreciated.


Thanks,
Ravi.
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver Migration+ PostGIS(JNDI)

2011-04-21 Thread Ravi Pavuluri
Thanks again Andrea.

I will let the group know if I come across any script or come up with something 
on my own.

Thanks,
Ravi.




From: Andrea Aime 
To: Ravi Pavuluri 
Cc: "geoserver-users@lists.sourceforge.net" 

Sent: Thursday, April 21, 2011 12:09 PM
Subject: Re: [Geoserver-users] Geoserver Migration+ PostGIS(JNDI)


On Thu, Apr 21, 2011 at 6:02 PM, Ravi Pavuluri  wrote:

Andrea,
>
>
>Thank you for your response. Let me put it in a different way.
>
>
>PostGIS Database Server has 45+ databases and tables(imported shapefiles) are 
>stored in default "public" schema. Each database has 8-10 tables. When I 
>create PostGIS connection to a database using GeoServer interface, I limit max 
>connections to that database as 8. 
>
>
>Based on your reply, I think it is where the connection pooling is enabled. Am 
>I correct?
>

Correct. With this setup you have at most 45 * 8 open connections: 360.
 

>
>Looks like JNDI doesn't help with my data organization. 
>
>
>
>I will have to restructure my data to put them in different schemas in the 
>same database. Correct? 
>
>Is there any script(s)/mechanism that help me to re-publish my data to make 
>use of JNDI? 
>

Not aware of any, you might want to search on Google.
 

>
>I check the RAM usage using "Webmin" module where approx 2GB of RAM is given 
>to Java/Tomcat/GeoServer followed by the list of processes(sample provided 
>below). There is a significant amount of styling for each of the layers.
>
>
>
>PID    Owner Size   Command
>
>32426
> pgsql 87580 kB postgres: postgres MyLayer1 127.0.0.1(33444) idle 
>
>
>"Size" is what telling me the RAM usage(Correct me if I am wrong). The 
>connections are made and you can see they become idle very soon after they are 
>made.May be they are sitting in the buffer pool of DB? I do not check the 
>"HTTP Caching" option while publishing the data layers.
>

They are sitting in the pool, that's what the pool is for: keeping connections 
open to avoid
the (significant) overhead involved in closing and opening them.


Cheers
Andrea
 
-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver Migration+ PostGIS(JNDI)

2011-04-21 Thread Ravi Pavuluri
Andrea,

Thank you for your response. Let me put it in a different way.

PostGIS Database Server has 45+ databases and tables(imported shapefiles) are 
stored in default "public" schema. Each database has 8-10 tables. When I create 
PostGIS connection to a database using GeoServer interface, I limit max 
connections to that database as 8. 

Based on your reply, I think it is where the connection pooling is enabled. Am 
I correct?


Looks like JNDI doesn't help with my data organization. 


I will have to restructure my data to put them in different schemas in the same 
database. Correct?

Is there any script(s)/mechanism that help me to re-publish my data to make use 
of JNDI? 


I check the RAM usage using "Webmin" module where approx 2GB of RAM is given to 
Java/Tomcat/GeoServer followed by the list of processes(sample provided below). 
There is a significant amount of styling for each of the layers.


PID    Owner Size   Command

32426
 pgsql 87580 kB postgres: postgres MyLayer1 127.0.0.1(33444) idle 

"Size" is what telling me the RAM usage(Correct me if I am wrong). The 
connections are made and you can see they become idle very soon after they are 
made.May be they are sitting in the buffer pool of DB? I do not check the "HTTP 
Caching" option while publishing the data layers.


Please let me know.

Thanks,
Ravi.






____
From: Andrea Aime 
To: Ravi Pavuluri 
Cc: geoserver-users@lists.sourceforge.net
Sent: Thursday, April 21, 2011 2:45 AM
Subject: Re: [Geoserver-users] Geoserver Migration+ PostGIS(JNDI)

On Thu, Apr 21, 2011 at 12:38 AM, Ravi Pavuluri  wrote:
> Hi All,
>
> We are using 450+ vector layers(45+ databases) in PostGIS database served
> through GeoServer(2.0.2) most of which is WMS. Given the way it is, RAM is
> being used up ~60-100MB per layer(expected traffic is not very high as of
> now).We may hit the RAM limit if traffic becomes higher, since there is no
> queuing mechanism for total PostGIS connections . No such problem with RAM
> was encountered with shapefiles, though they are not recommended in
> production. We have not tried PostGIS (JNDI) but I read it that helps in
> connection pooling.

I don't follow... the PostGIS connection pool has a maximum configurable number
of connections. If you say the max is 20 every request trying to get
the 21th connection
will be queued.
That said, with 45 databases I guess you have a very large number if you sum
the max number of connections. Is it GeoServer or the postgis processes that
are consuming most of the memory?

I'm also puzzled as to how you computed that 60-100MB per layer memory
consumption.
The memory required by WMS is largely dependent on the number of requests going,
their size, and the styling used, it's not something statically depending on the
number of layers.

> 1) What is the best way to have all the databases from the "same" PostGIS
> schema to JNDI connections? Any estimate of how much(time) of an effort that
> would be?

JNDI helps if you have one database with 45 different schemas, if you have 45
phisically separate databases I don't believe you can setup a single connection
pool to talk with them.

> 2) Also, what would be the best way to migrate all of them to a stable
> version of GeoServer 2.1(whenever available)? Does combining JNDI
> connections and GeoServer 2.1 migration save time if we do them together?
>
> Any additional documentation on JNDI connection is appreciated.

We have a tutorial here:
http://docs.geoserver.org/2.0.0/user/tutorials/tomcat-jndi/tomcat-jndi.html

Cheers
Andrea

-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver Migration+ PostGIS(JNDI)

2011-04-20 Thread Ravi Pavuluri
Hi All,

We are using 450+ vector layers(45+ databases) in PostGIS database served 
through GeoServer(2.0.2) most of which is WMS. Given the way it is, RAM is 
being 
used up ~60-100MB per layer(expected traffic is not very high as of now).We may 
hit the RAM limit if traffic becomes higher, since there is no queuing 
mechanism 
for total PostGIS connections . No such problem with RAM was encountered with 
shapefiles, though they are not recommended in production. We have not tried 
PostGIS (JNDI) but I read it that helps in connection pooling. 


1) What is the best way to have all the databases from the "same" PostGIS 
schema 
to JNDI connections? Any estimate of how much(time) of an effort that would be?

2) Also, what would be the best way to migrate all of them to a stable version 
of GeoServer 2.1(whenever available)? Does combining JNDI connections and 
GeoServer 2.1 migration save time if we do them together?

Any additional documentation on JNDI connection is appreciated.

Thanks,.
Ravi.
--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WFS Schema Customization

2011-04-20 Thread Ravi Pavuluri
Thanks again for the note Andrea.

-Ravi.





From: Andrea Aime 
To: Ravi Pavuluri 
Cc: Mark Meany (C) ; 
geoserver-users@lists.sourceforge.net
Sent: Wed, April 20, 2011 3:04:41 PM
Subject: Re: [Geoserver-users] WFS Schema Customization

On Wed, Apr 20, 2011 at 6:12 PM, Ravi Pavuluri  wrote:
> Mark,
>
> I came across a similar situation about a month back and it looked like a
> bug. Forgot to file a jira back then. You may go ahead and file one.

As said, it's not really a bug. The schema configuration mechanism was born
just to control the GML schema, in particular to override the type of
some properties.
It works also to hide them, but as far as I know was never really
though out to be
a general schema customization tool (that is, outside of WFS and GML).

Cheers
Andrea

-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---
--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Clip and Ship

2011-03-09 Thread Ravi Pavuluri
Andrea,

Thank you for your suggestion and currently I am not into geoserver 
development. 
I see such a functionality existed for Rasters. I could get similarly closer 
functionality with WFS and filter:intersect or Dwithin using clip coordinates 
from user.But is not a complete clip. Looks like I will have to wait a bit for 
a 
clip functionality WPS(for vectors) from geoserver.

Meanwhile a bad workaround could using database functions and clip it, then 
"gs:import" WPS and then a wfs??

Arul and Roger,

I am more of a user currently and expecting to contribute in development very 
soon. May be you are having some ideas on this functionality?

Thanks,
Ravi.






From: Andrea Aime 
To: Arulraj Murugavel (மு. அருள்ராஜ் ) 
Cc: geoserver users 
Sent: Wed, March 9, 2011 9:35:26 AM
Subject: Re: [Geoserver-users] Clip and Ship


2011/3/9 Arulraj Murugavel (மு. அருள்ராஜ் ) 

Hi All,
>
>
>Its very nice.
>
>
>I am also interested. I am more interested in Raster data.

The crop of raster data against an arbitrary polygon is already available in 
GeoServer 2.1-RC2,
see the CropCoverage process

Cheers
Andrea
-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---



  --
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Clip and Ship

2011-03-08 Thread Ravi Pavuluri
Hi Group,

I am looking at the WPS extension with Geoserver 2.1.RC2 and my final intention 
is to provide "clip and ship" implementation. I was wondering if there was 
"gs:Clip" service existed in the past and no longer now?The documentation lists 
that service as an example.  I could only find "gs:RectangularClip" in the list 
of processes currently. 


I "think" that there could be something done using database functions. Any 
resources on "clip" service from geoserver's wfs perpective?

Thanks,.
Ravi.



  --
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GetFeature schema customization outputformat comparison

2011-03-01 Thread Ravi Pavuluri
Thanks Andrea,

I will provide bug report on my workflow with topp:states.

Thanks,
Ravi.






From: Andrea Aime 
To: Ravi Pavuluri 
Cc: geoserver-users@lists.sourceforge.net
Sent: Mon, February 28, 2011 3:35:54 PM
Subject: Re: [Geoserver-users] GetFeature schema customization outputformat 
comparison


On Mon, Feb 28, 2011 at 7:14 PM, Ravi Pavuluri  wrote:

Hi,
>
>I am using a basic WFS on Geoserver(2.0.2)and wanted to limit the attributes 
>through "schema customization" to be shown in getfeature. I was following the 
>2.0.2 documentation and was not completely able to do that.
>
>As per 
>http://docs.geoserver.org/2.0.2/user/services/wfs/schemamapping.html#schema-customization
>
>"copy schema.xsd $GEOSERVER_DATA_DIR/featureTypes/_myDataset/"
>
>There is no featureTypes folder in geoserver data directory which contains 
>coverages,data,demo,gwc etc folders . Looks like the documentation was 
>outdated 
>for this page.
>
>I looked at 2.1.x user manual 
>http://docs.geoserver.org/stable/en/user/services/wfs/schemamapping.html#schema-customization
>
>"copy schema.xsd  
>$GEOSERVER_DATA_DIR/workspaces///myDataset/"
>
>The above directory structure exists in 2.0.2 and I was succesfully able to 
>limit the attributes in the describefeaturetype call.
>
>But when I tried to use GetFeature for a given typeName with 
>
>1) WFS 1.1.0 and GML2/GML3 outputformat
>Customized list of attributes is populated..
>Logs:No Errors
>
>2) WFS 1.1.0 and shape-zip outputformat
>The entire list of  attributes is populated..
>Logs:No Errors
>
>Is this an expected behavior with different output formats? Any suggestions?
>
>

The system to limit the attributes was really just designed to work for the GML 
based output formats.
That said, the mechanism should actually be working for shapefiles too, so 
there 
might be a bug
at work.

Please report a but report on jira.codehaus.org, if possible providing a ready 
made customization
of the topp:states layer and the request to make it fail so that we can quickly 
reproduce it
when trying to fix it (various developers have time to fix community reported 
issues only in 
their spare time, so having an easy to reproduce issue is key to get a bug 
fixed)

Cheers
Andrea
-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---



  --
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GetFeature schema customization outputformat comparison

2011-02-28 Thread Ravi Pavuluri
Hi,

I am using a basic WFS on Geoserver(2.0.2)and wanted to limit the attributes 
through "schema customization" to be shown in getfeature. I was following the 
2.0.2 documentation and was not completely able to do that.

As per 
http://docs.geoserver.org/2.0.2/user/services/wfs/schemamapping.html#schema-customization

"copy schema.xsd $GEOSERVER_DATA_DIR/featureTypes/_myDataset/"

There is no featureTypes folder in geoserver data directory which contains 
coverages,data,demo,gwc etc folders . Looks like the documentation was outdated 
for this page.

I looked at 2.1.x user manual 
http://docs.geoserver.org/stable/en/user/services/wfs/schemamapping.html#schema-customization

"copy schema.xsd  
$GEOSERVER_DATA_DIR/workspaces///myDataset/"

The above directory structure exists in 2.0.2 and I was succesfully able to 
limit the attributes in the describefeaturetype call.

But when I tried to use GetFeature for a given typeName with 

1) WFS 1.1.0 and GML2/GML3 outputformat
Customized list of attributes is populated..
Logs:No Errors

2) WFS 1.1.0 and shape-zip outputformat
The entire list of  attributes is populated..
Logs:No Errors

Is this an expected behavior with different output formats? Any suggestions?

Thanks,
Ravi.



  --
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver Security Settings

2011-02-25 Thread Ravi Pavuluri
Hi,

I was going through the security  documentation for geoserver(2.0.2)from the 
following links and few things are not clear.
http://docs.geoserver.org/2.0.2/user/security/sec_roles.html
http://docs.geoserver.org/2.0.2/user/security/sec_service.html
http://docs.geoserver.org/2.0.2/user/security/sec_layer.html

I have 2 workspaces WS1 and WS2. WS1 is all WMS and read-only WFS functionality 
data. WS2 is read/write data.

1) I created a user with name "USER" as a non-admin role "ROLE_USER". How 
should 
I make use of this USER to point to WS1? 


2) How to tell which  user is being used when I am accessing services via 
internet?

3) I couldn't find a way to restrict download of data from WS1 using WFS.  Is 
such a thing possible?

4)Can I configure geoserver to enable WFS-T on WS2 only?

I tried (in data security rules)

*.*.rfor *(All user roles)
WS2.*.w for *(All user roles)

and couldn't figure out what I should provide in service security rules for 
making my requirements work. 

  
I think I am missing subtle information here. Any suggestions?

Thank you for your patience in reading this,
Ravi.



  --
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver WFS data security

2011-02-25 Thread Ravi Pavuluri
Hi,

I am just wondering whether if there is any way to restrict the outputformat 
from not having shape-zip format for a war installer(Version 2.0.2)? Putting in 
a different way, if you enable a WFS on a layer, is there a way you can 
restrict 
the data being downloaded apart being used in your application? By setting a 
layer level "read-only" security, can we restrict the data from being 
downloaded? 


More clearly, comparing to ArcGIS server, "Mapping Service" being enabled is 
just good enough for you to display data on applications and query the 
attributes of features. You need not have to enable WMS,WFS or KML services, 
which means you cannot download the data(correct me if I am wrong).

Thanks,
Ravi.


  --
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] PostGIS DataStore RAM usage:Limit max connections

2011-02-04 Thread Ravi Pavuluri
Justin,

Thank you for your reply and it answers my question. I haven't looked into the 
JNDI datastore option for postgis so far. Looks like that is something which 
will do the trick for me. Meanwhile I am planning on running a crontab to 
remove 
connections sitting idle for a while(though there is some new data connection 
cost involved with this approach).

Thanks,
Ravi.





From: Justin Deoliveira 
To: Ravi Pavuluri 
Cc: geoserver-users@lists.sourceforge.net
Sent: Fri, February 4, 2011 12:21:36 PM
Subject: Re: [Geoserver-users] PostGIS DataStore RAM usage:Limit max connections


Hi Ravi,
Not sure I fully understand the concern. If you have a connection pool in 
geoserver configured with a min of 35 and a max of 100, only more than 35 will 
be used if needed, and additional connections will be used on demand. If your 
load goes up more connections will be used... and they do take a while to be 
released as they sit idle in the pool for some time. But eventually they will 
be 
given back, or reused if your load goes up again in the short term.

As you said I don't think you want to limit the connections on the server side 
or else you won't eb able to handle the higher loads. What you can do is use a 
jndi data source and configure your stores to use it, rather than having each 
data store use its own data source/ connection pool. And then you can configure 
it however you please. And if you need to you can configure the connection pool 
to release idle connections more quickly so that the resource on the server 
side 
is freed up.

-Justin



On Thu, Feb 3, 2011 at 11:28 AM, Ravi Pavuluri  wrote:

Hi,
>
>I am using a PostGIS database which servers 50 stores(in geoserver) and each 
>store contains around 7 layers(indexed). I could expect traffic(minimal) only 
>to 
>particular stores at a give time. I also expect that there wouldn't be more 
>than 
>"5 unique store"  visitors at any point of time(total of 35 active 
>connections).
>
>My concern here is there would be several idle postgis/postgres connections 
>consuming up the RAM for stores just visited once and lying there for ever 
>until 
>I reach 100 connections limit from postgres.
>
>If I limit the max connections in geoserver, I would end up thrashing 
>connections for each layer request within a store. Is it a good idea(in 
>general) 
>to limit the connections in postgres to 30-50 instead of default 100 for my 
>case? I just do not want to blow away my RAM  for idle connections.
>
>I have "Feature type cache size" in geoserver to maximum number of 
>features/layers. 
>
>
>Thanks,
>Ravi.
>
> 
>
>
>--
>Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>Finally, a world-class log management solution at an even better price-free!
>Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>February 28th, so secure your free ArcSight Logger TODAY!
>http://p.sf.net/sfu/arcsight-sfd2d
>___
>Geoserver-users mailing list
>Geoserver-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.



  --
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] PostGIS DataStore RAM usage:Limit max connections

2011-02-03 Thread Ravi Pavuluri
Hi,

I am using a PostGIS database which servers 50 stores(in geoserver) and each 
store contains around 7 layers(indexed). I could expect traffic(minimal) only 
to 
particular stores at a give time. I also expect that there wouldn't be more 
than 
"5 unique store"  visitors at any point of time(total of 35 active connections).

My concern here is there would be several idle postgis/postgres connections 
consuming up the RAM for stores just visited once and lying there for ever 
until 
I reach 100 connections limit from postgres.

If I limit the max connections in geoserver, I would end up thrashing 
connections for each layer request within a store. Is it a good idea(in 
general) 
to limit the connections in postgres to 30-50 instead of default 100 for my 
case? I just do not want to blow away my RAM for idle connections.

I have "Feature type cache size" in geoserver to maximum number of 
features/layers. 


Thanks,
Ravi.


  --
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Control flow module installation

2011-02-03 Thread Ravi Pavuluri
Thanks Andrea for the information,

I will give one more try and hoping that I could make it with my current 
geoserver instance.

-Ravi.





From: Andrea Aime 
To: Ravi Pavuluri 
Cc: geoserver-users@lists.sourceforge.net
Sent: Thu, February 3, 2011 12:12:26 PM
Subject: Re: [Geoserver-users] Control flow module installation

On Thu, Feb 3, 2011 at 5:17 PM, Ravi Pavuluri  wrote:
> Hi,
>
> I was looking at configuring control flow module(which looks very promising)
> and I use geoserver 2.0.2. I downloaded the jar file from
>http://gridlock.opengeo.org/geoserver/2.0.x/ext-2011-01-31/geoserver-2.0.3-SNAPSHOT-control-flow-plugin.zip
>p
> and placed inside web-inf/lib folder of geoserver like any other plugins.
>
> When I restart the geoserver, I do not see the file "controlflow.properties"
> file in the data directory nor any interface additions in geoserver admin
> interface.So, I created the file myself in the data directory with options
> set.
>
> Few questions:
> 1) Is it installed at all? I do not see anything in the logs. Probably
> version mismatch problem?
> 2) Is this the way to install?
> 3) How do I know if it is working?

It is the way to install it, but it's not compatible with 2.0.2 and will likely
lock up your GeoServer pretty soon due to a bug in the dispatcher.

If you want to use it you'll also have to take the corresponding GeoServer
nightly build.

As for knowing it's really working, in fact there is no good way, the module
does not use much logging to avoid overhead.
I guess we should add some logging at the moment when the configuration
is reloaded... to know it's at least enabled you can try to specify a negative
queue size, if it's properly loaded it will throw an exception that you will be
able to see in the logs.

Cheers
Andrea

-- 
Ing. Andrea Aime
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax: +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-



  --
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Control flow module installation

2011-02-03 Thread Ravi Pavuluri
Hi,

I was looking at configuring control flow module(which looks very promising) 
and 
I use geoserver 2.0.2. I downloaded the jar file from 

http://gridlock.opengeo.org/geoserver/2.0.x/ext-2011-01-31/geoserver-2.0.3-SNAPSHOT-control-flow-plugin.zip
 
and placed inside web-inf/lib folder of geoserver like any other plugins. 

When I restart the geoserver, I do not see the file "controlflow.properties" 
file in the data directory nor any interface additions in geoserver admin 
interface.So, I created the file myself in the data directory with options set.

Few questions:
1) Is it installed at all? I do not see anything in the logs. Probably version 
mismatch problem?
2) Is this the way to install?
3) How do I know if it is working?

Please help.

Thanks,
Ravi.


  --
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver inbuilt Geowebcache with "Directory of Spatial Files"

2011-01-11 Thread Ravi Pavuluri
Arne,

Any suggestion on this with the provided information?

Thanks,
Ravi.





From: Ravi Pavuluri 
To: Arne Kepp 
Cc: geoserver-users@lists.sourceforge.net
Sent: Thu, January 6, 2011 10:39:12 AM
Subject: Re: [Geoserver-users] Geoserver inbuilt Geowebcache with "Directory of 
Spatial Files"


Arne,

My initial file was in NAD83 projection, re-projected them to "Web Mercator 
Auxiliary Sphere" to avoid mis-alignment to google layers and also to avoid 
on-the-fly projection. Is this unusual way of doing it?

I am sorry that I have missed that question of yours  for featuretype bounds. 
Are you referring to WMS Capabilities? If so I am attaching the part of the 
capabilities document for a layer. A snippet from that says
"
"


Thank you once again for replying back on this despite being sick.

Thanks,
Ravi.






____
From: Arne Kepp 
To: Ravi Pavuluri 
Cc: geoserver-users@lists.sourceforge.net
Sent: Wed, January 5, 2011 6:10:17 PM
Subject: Re: [Geoserver-users] Geoserver inbuilt Geowebcache with "Directory of 
Spatial Files"

I think I know why, though can't be certain since you didn't respond to my 
question about the bounds of the feature type.

Your data is actually stored in EPSG:900913 (a bit unusual), GWC tries to 
automatically provide a gridset for the native bounds, but detects a naming 
collision and thus creates EPSG:900913_MyWorkspace:MyLayer. It's smarter 
about EPSG:4326, but EPSG:900913 just has too many names.

So just ignore that grid set. You don't need it, use the EPSG:900913 one, 
which correspond to Google Maps et al.

-Arne


On 1/4/11 8:28 PM, Ravi Pavuluri wrote: 
Thank you for your tips Arne. Looking more into this and   after adding 
a google base layer to the demo, I found the   following observation.
>
>Here is my sample blank tile URL, when posted in a browser.
>
>"400: Requested horizontal resolution: 152.8740565429689 , best 
>match: 113.62888085937448 exceeds 10% threshold. Perhaps the 
>client 
>is configured with an incorrect set of scales (resolutions), or 
>the 
>DPI setting is off compared to the one in GWC ?"
The log file says the same
>ERROR [geowebcache.GeoWebCacheDispatcher] -Requested   horizontal 
>resolution: 152.8740565429689 , best match:   113.62888085937448 
>exceeds 
>10% threshold. Perhaps the client   is configured with an incorrect 
>set 
>of scales (resolutions),   or the DPI setting is off compared to the 
>one 
>in GWC ?" 
>
>
>The resolutions that are working with WMS layer and google   maps are 
>resolutions: [156543.03390625, 78271.516953125,   39135.7584765625, 
>19567.87923828125, 9783.939619140625,   4891.9698095703125, 
>2445.9849047851562, 1222.9924523925781,   611.4962261962891, 
>305.74811309814453, 152.87405654907226,   76.43702827453613, 
>38.218514137268066, 19.109257068634033,   9.554628534317017, 
>4.777314267158508, 2.388657133579254,   1.194328566789627, 
>0.5971642833948135, 0.29858214169740677,   0.14929107084870338, 
>0.07464553542435169,   0.037322767712175846, 0.018661383856087923, 
>  
>0.009330691928043961, 0.004665345964021981],
>
>
>The default working GWC resolutions are 
>resolutions: [227.25776171874895, 113.62888085937448,   
>56.81444042968724, 28.40722021484362, 14.20361010742181,   
>7.101805053710905, 3.5509025268554524, 1.7754512634277262,   
>0.8877256317138631, 0.44386281585693155, 0.22193140792846577,   
>0.11096570396423289, 0.05548285198211644, 0.02774142599105822,   
>0.01387071299552911, 0.006935356497764555,   0.0034676782488822777, 
>0.0017338391244411389,   8.669195622205694E-4, 4.334597811102847E-4,   
>
>2.1672989055514236E-4, 1.0836494527757118E-4,   5.418247263878559E-5, 
>2.7091236319392795E-5,   1.3545618159696397E-5]
>
>I could clearly see that resolutions of GWC example do not   match to 
>that of Geoserver/Openlayers.Any help here? .
>
>Thanks,
>Ravi.
>
>
>
>
>

From: Arne Kepp 
>To: ravitheja 
>Cc: geoserver-users@lists.sourceforge.net
>Sent: Tue,   January 4, 2011 12:01:08 PM
>Subject: Re: [Geoserver-users] Geoserver inbuilt Geowebcache with  
> 
>"Directory of Spatial Files"
>
>Not sure.
>
>Just blank tiles usually means that GeoServer rendered an empty 
>tile. 
>
>Errors on the GWC side usually result in pink tiles (because 
>they're 
>
>text files, not 

Re: [Geoserver-users] Geoserver Production Environment specs

2011-01-07 Thread Ravi Pavuluri
Andrea and Justin,

Thank you for sharing your experiences on production environment. I think 
Andrea's information would provide an high upper limit for my case and Justin's 
information would be a good estimate to start with.

Thanks again,
Ravi.  





From: Andrea Aime 
To: Ravi Pavuluri 
Cc: Justin Deoliveira ; 
geoserver-users@lists.sourceforge.net
Sent: Fri, January 7, 2011 2:40:52 AM
Subject: Re: [Geoserver-users] Geoserver Production Environment specs



On Fri, Jan 7, 2011 at 1:52 AM, Ravi Pavuluri  wrote:

Hi Justin,
>
>Thank you for the information. I read the link you sent and it was a very good 
>one.
>
>I am looking at both WMS(50%) and WFS(50%) in each application in a tomcat 
>environment with maximum simultaneous users about 5-10."For smaller 
>installations that don't typically handle much load we  typically use a vm 
>with 
>1-2 G of RAM giving about half of it to  geoserver."Is this the case you are 
>referring when you have geoserver as a webapp in Tomcat? Tomcat and Geoserver 
>both being java based, consume more RAM  and you would still suggest 2GB of 
>RAM 
>with server optimizations? With the above configurations, is 5-6GB RAM with 
>decent processor considered a safe estimate or an overestimate?
>

During FOSS4G 2010 WMS shootout, with a single server having 8GB of memory, 
GeoServer was allocated 2GB of memory with tops 64 concurrent users. 
Giving it less or more resulted in measurable slowdowns (this includes both 
GeoServer and Tomcat, as they are running inside the same JVM).


Cheers
Andrea
 -
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax: +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-



  --
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl ___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver Production Environment specs

2011-01-06 Thread Ravi Pavuluri
Hi Justin,

Thank you for the information. I read the link you sent and it was a very good 
one.

I am looking at both WMS(50%) and WFS(50%) in each application in a tomcat 
environment with maximum simultaneous users about 5-10."For smaller 
installations that don't typically handle much load we  typically use a vm with 
1-2 G of RAM giving about half of it to  geoserver."Is this the case you are 
referring when you have geoserver as a webapp in Tomcat? Tomcat and Geoserver 
both being java based, consume more RAM  and you would still suggest 2GB of RAM 
with server optimizations? With the above configurations, is 5-6GB RAM with 
decent processor considered a safe estimate or an overestimate?

Thanks,
Ravi,








From: Justin Deoliveira 
To: Ravi Pavuluri 
Cc: geoserver-users@lists.sourceforge.net
Sent: Thu, January 6, 2011 11:07:49 AM
Subject: Re: [Geoserver-users] Geoserver Production Environment specs

Hi Ravi,

It really depends on what you expect the load to be on the server. For instance 
if you only expect the server to be accessed by a handful of users then some 
pretty modest requirements will probably work. For smaller installations that 
don't typically handle much load we typically use a vm with 1-2 G of RAM giving 
about half of it to geoserver. For larger setups obviously the requirement goes 
up.

It also matters what type of traffic you will be doing. For instance if you are 
strictly doing WMS then the more memory the better since for rendering the WMS 
has to continually allocate large chunks of memory for images. Whereas WFS 
operates in a strictly streaming fashion.

There is currently an issue as well in that if you have that many 
layers/feature 
types you will want to change the "feature type cache settings" (global 
settings 
page) to be larger than the number of layers/feature types.

Also it is important to properly configure the server in terms of limits. You 
should find this article interesting:

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

Hope that helps.

-Justin


On Wed, Jan 5, 2011 at 11:02 AM, Ravi Pavuluri  wrote:


> 
> 
>Hi,
>
>What would typically be virtual server specs in terms of RAM  and processor 
>speed you would recommend for production environment to serve several 
>applications?
>
># of Layers served totally from this server ~200 - 250
># of Layers simultaneously accessed in an application ~10
>Data format(vectors only): PostGIS Layers and few shapefiles(max size of each 
>60MB).
># of simultaneous users : Max 5-10.
>
>Also, does one typically serve all the layers from the a BIG server instance 
>or 
>multiple small server instances with small configuration?
>
>I know that this is a very open ended question. Any rough estimate is 
>appreciated.
>
>Thanks,
>Ravi.
>
>
>
>
>
>
> 
>
>  
>  
>
>--
>Learn how Oracle Real Application Clusters (RAC) One Node allows customers
>to consolidate database storage, standardize their database environment, and,
>should the need arise, upgrade to a full multi-node Oracle RAC database
>without downtime or disruption
>http://p.sf.net/sfu/oracle-sfdevnl
>___
>Geoserver-users mailing list
>Geoserver-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.



  --
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver inbuilt Geowebcache with "Directory of Spatial Files"

2011-01-06 Thread Ravi Pavuluri
Arne,

My initial file was in NAD83 projection, re-projected them to "Web Mercator 
Auxiliary Sphere" to avoid mis-alignment to google layers and also to avoid 
on-the-fly projection. Is this unusual way of doing it?

I am sorry that I have missed that question of yours  for featuretype bounds. 
Are you referring to WMS Capabilities? If so I am attaching the part of the 
capabilities document for a layer. A snippet from that says
"
"


Thank you once again for replying back on this despite being sick.

Thanks,
Ravi.







From: Arne Kepp 
To: Ravi Pavuluri 
Cc: geoserver-users@lists.sourceforge.net
Sent: Wed, January 5, 2011 6:10:17 PM
Subject: Re: [Geoserver-users] Geoserver inbuilt Geowebcache with "Directory of 
Spatial Files"

I think I know why, though can't be certain since you didn't respond to my 
question about the bounds of the feature type.

Your data is actually stored in EPSG:900913 (a bit unusual), GWC tries to 
automatically provide a gridset for the native bounds, but detects a naming 
collision and thus creates EPSG:900913_MyWorkspace:MyLayer. It's smarter 
about EPSG:4326, but EPSG:900913 just has too many names.

So just ignore that grid set. You don't need it, use the EPSG:900913 one, 
which correspond to Google Maps et al.

-Arne


On 1/4/11 8:28 PM, Ravi Pavuluri wrote: 
Thank you for your tips Arne. Looking more into this and   after adding 
a google base layer to the demo, I found the   following observation.
>
>Here is my sample blank tile URL, when posted in a browser.
>
>"400: Requested horizontal resolution: 152.8740565429689 , best 
>match: 113.62888085937448 exceeds 10% threshold. Perhaps the 
>client 
>is configured with an incorrect set of scales (resolutions), or 
>the 
>DPI setting is off compared to the one in GWC ?"
The log file says the same
>ERROR [geowebcache.GeoWebCacheDispatcher] -Requested   horizontal 
>resolution: 152.8740565429689 , best match:   113.62888085937448 
>exceeds 
>10% threshold. Perhaps the client   is configured with an incorrect 
>set 
>of scales (resolutions),   or the DPI setting is off compared to the 
>one 
>in GWC ?" 
>
>
>The resolutions that are working with WMS layer and google   maps are 
>resolutions: [156543.03390625, 78271.516953125,   39135.7584765625, 
>19567.87923828125, 9783.939619140625,   4891.9698095703125, 
>2445.9849047851562, 1222.9924523925781,   611.4962261962891, 
>305.74811309814453, 152.87405654907226,   76.43702827453613, 
>38.218514137268066, 19.109257068634033,   9.554628534317017, 
>4.777314267158508, 2.388657133579254,   1.194328566789627, 
>0.5971642833948135, 0.29858214169740677,   0.14929107084870338, 
>0.07464553542435169,   0.037322767712175846, 0.018661383856087923, 
>  
>0.009330691928043961, 0.004665345964021981],
>
>
>The default working GWC resolutions are 
>resolutions: [227.25776171874895, 113.62888085937448,   
>56.81444042968724, 28.40722021484362, 14.20361010742181,   
>7.101805053710905, 3.5509025268554524, 1.7754512634277262,   
>0.8877256317138631, 0.44386281585693155, 0.22193140792846577,   
>0.11096570396423289, 0.05548285198211644, 0.02774142599105822,   
>0.01387071299552911, 0.006935356497764555,   0.0034676782488822777, 
>0.0017338391244411389,   8.669195622205694E-4, 4.334597811102847E-4,   
>
>2.1672989055514236E-4, 1.0836494527757118E-4,   5.418247263878559E-5, 
>2.7091236319392795E-5,   1.3545618159696397E-5]
>
>I could clearly see that resolutions of GWC example do not   match to 
>that of Geoserver/Openlayers.Any help here? .
>
>Thanks,
>Ravi.
>
>
>
>
>

From: Arne Kepp 
>To: ravitheja 
>Cc: geoserver-users@lists.sourceforge.net
>Sent: Tue,   January 4, 2011 12:01:08 PM
>Subject: Re: [Geoserver-users] Geoserver inbuilt Geowebcache with  
> 
>"Directory of Spatial Files"
>
>Not sure.
>
>Just blank tiles usually means that GeoServer rendered an empty 
>tile. 
>
>Errors on the GWC side usually result in pink tiles (because 
>they're 
>
>text files, not image files) that you can right click and read.
>
>What are the Lat/Lon bounds of MyLayer according to GS featuretype 
>config?
>
>I'm coming down hard with the flu, so here are some general tips:
>1) Change the path in a tile URL from geoserverver/gwc/service/wms 
>t

[Geoserver-users] Geoserver Production Environment specs

2011-01-05 Thread Ravi Pavuluri
  Hi,What would typically be virtual server specs in terms of RAM
 and processor speed you would recommend for production environment to serve several applications?# of Layers served totally from this server ~200 - 250# of Layers simultaneously accessed in an application ~10Data format(vectors only): PostGIS Layers and few shapefiles(max size of each 60MB).# of simultaneous users : Max 5-10.Also, does one typically serve all the layers from the a BIG server instance or multiple small server instances with small configuration?I know that this is a very open ended question. Any rough estimate is appreciated.Thanks,Ravi.
  

  --
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver inbuilt Geowebcache with "Directory of Spatial Files"

2011-01-04 Thread Ravi Pavuluri
Thank you for your tips Arne. Looking more into this and after adding a google 
base layer to the demo, I found the following observation.

Here is my sample blank tile URL, when posted in a browser.

"400: Requested horizontal resolution: 152.8740565429689 , best match:  
113.62888085937448 exceeds 10% threshold. Perhaps the client is configured with 
 
an incorrect set of scales (resolutions), or the DPI setting is off compared to 
 
the one in GWC ?"The log file says the same
ERROR [geowebcache.GeoWebCacheDispatcher] -Requested horizontal resolution: 
152.8740565429689 , best match:  113.62888085937448 exceeds 10% threshold. 
Perhaps the client is  configured with  an incorrect set of scales 
(resolutions), or the DPI setting is off  compared to  the one in GWC ?"

The resolutions that are working with WMS layer and google maps are 
resolutions: [156543.03390625, 78271.516953125, 39135.7584765625, 
19567.87923828125, 9783.939619140625, 4891.9698095703125, 2445.9849047851562, 
1222.9924523925781, 611.4962261962891, 305.74811309814453, 152.87405654907226, 
76.43702827453613, 38.218514137268066, 19.109257068634033, 9.554628534317017, 
4.777314267158508, 2.388657133579254, 1.194328566789627, 0.5971642833948135, 
0.29858214169740677, 0.14929107084870338, 0.07464553542435169, 
0.037322767712175846, 0.018661383856087923, 0.009330691928043961, 
0.004665345964021981],


The default working GWC resolutions are 
resolutions: [227.25776171874895, 113.62888085937448, 56.81444042968724, 
28.40722021484362, 14.20361010742181, 7.101805053710905, 3.5509025268554524, 
1.7754512634277262, 0.8877256317138631, 0.44386281585693155, 
0.22193140792846577, 0.11096570396423289, 0.05548285198211644, 
0.02774142599105822, 0.01387071299552911, 0.006935356497764555, 
0.0034676782488822777, 0.0017338391244411389, 8.669195622205694E-4, 
4.334597811102847E-4, 2.1672989055514236E-4, 1.0836494527757118E-4, 
5.418247263878559E-5, 2.7091236319392795E-5, 1.3545618159696397E-5]

I could clearly see that resolutions of GWC example do not match to that of 
Geoserver/Openlayers.Any help here? .

Thanks,
Ravi.






From: Arne Kepp 
To: ravitheja 
Cc: geoserver-users@lists.sourceforge.net
Sent: Tue, January 4, 2011 12:01:08 PM
Subject: Re: [Geoserver-users] Geoserver inbuilt Geowebcache with "Directory of 
Spatial Files"

Not sure.

Just blank tiles usually means that GeoServer rendered an empty tile. 
Errors on the GWC side usually result in pink tiles (because they're 
text files, not image files) that you can right click and read.

What are the Lat/Lon bounds of MyLayer according to GS featuretype config?

I'm coming down hard with the flu, so here are some general tips:
1) Change the path in a tile URL from geoserverver/gwc/service/wms to 
just geoserver/wms  , what does the WMS respond with?
2) Check GeoServer's logfiles for errors?

-Arne



On 1/4/11 4:58 PM, ravitheja wrote:
> Hi,
>
> I am trying to make use of Geowebcache built with in geoserver(2.0.2) for a
> directory of shapefiles. I pointed the cache directory to my custom location
> "without" any custom geowebcache.xml file there.When I use the automatic
> demos, I get 3 options while seeding for each of the layers.
>
> a) EPSG:4326,
> b) EPSG:900913 (URL structure)
>http://MyServer/geoserver/gwc/demo/MyWorkspace:MyLayer?gridSet=EPSG:900913&format=image/png
>g
>
> c) EPSG:900913_MyWorkspace:MyLayer. (URL structure)
>http://MyServer/geoserver/gwc/demo/MyWorkspace:MyLayer?gridSet=EPSG:900913_MyWorkspace:MyLayer&format=image/png
>g
>
> When I preview the layer in the demos page, I could see that a and c work
> well, but b doesn't work(getting blank tiles). I could see that cache gets
> created for a and c in my custom location. Anyone has suggestions as to why
> b doesn't work?
>
>
> My Application:
> I am testing it using geoext and openlayers for overlaying the "entire
> datastore layers" with ESPG:900913 and google maps as base layers. I have
> tried it for a good amount of time and couldn't figure it out. I suspect it
> is something related to case b.
>
> Any help on this is greatly appreciated..
>
> Thanks,
> Ravi.


  --
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users