Arne,

Any suggestion on this with the provided information?

Thanks,
Ravi.




________________________________
From: Ravi Pavuluri <[email protected]>
To: Arne Kepp <[email protected]>
Cc: [email protected]
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
"<LatLonBoundingBox minx="-94.493" miny="35.343" maxx="-93.892" maxy="35.765"/>
        <BoundingBox SRS="EPSG:900913" minx="-1.051892901E7"  
miny="4210644.283" 
maxx="-1.0452038472E7" maxy="4268301.341"/>"


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

Thanks,
Ravi.






________________________________
From: Arne Kepp <[email protected]>
To: Ravi Pavuluri <[email protected]>
Cc: [email protected]
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 <[email protected]>
>To: ravitheja <[email protected]>
>Cc: [email protected]
>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
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


      
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to