from:
http://docs.openlayers.org/library/request.html
"""In general, all communication initiated by OpenLayers.Request
methods is restricted to the same origin policy: requests may only be
issued with the same protocol, to the same domain, and through the
same port as the document the code is runni
seems you're requesting the layer in 900913, but that's not listed in
your wms_srs list. what happens if you add 900913 to the list?
On Tue, Jan 20, 2009 at 8:30 AM, David Martinez Morata
wrote:
> I try this but doesn't work.
>
> Thnks
>
>
> 2009/1/20 Christopher Schmidt
>>
>> On Tue, Jan 20, 2
> look at - if any one can work out why the selection box on
> http://webmapping.mgis.psu.edu/geoserver/www/chris/CHS_Health_Atlas_FINAL.html
> doesn't work I'd be really grateful as I can't figure it out.
>
> Ian
looks like you need to start by making Zoom() and UHFZoom() global functions.
they
On Tue, Dec 30, 2008 at 10:16 AM, Bill Thoen wrote:
> I'm working on an OpenLayers application that requires the user to
> create a polygon that is used in a separate server-side calculation so I
> have to turn it into a shape file first. For any one user, I can just
> create a new PostGIS table a
hi, i havent followd this thread, but have you looked at this?
http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
you can't make an AJAX request to a remote server, it looks like
that's what you're doing.
if that's the case, use a proxy. if it's not, then use a relative url.
-bren
or just use:
map.getLayersByName("layername")[0].setVisibility(true)
not sure if that's in 2.6 though.
On Sat, Oct 4, 2008 at 8:40 AM, Nathan Gerber <[EMAIL PROTECTED]> wrote:
> I use the following code to accomplish this exact thing:
>
> layerName = display name of the layer you wish to turn on o
hi, i think the answer is in this thread:
http://www.nabble.com/GetFeatureInfo-on-Single-Click%2C-Zoom-In-on-Double-Click-to19062128.html#a19076587
use OpenLayers.Handler.Click
-brent
On Wed, Aug 20, 2008 at 2:48 PM, David Calle <[EMAIL PROTECTED]> wrote:
> Hi Dear List
>
> I want to disable t
hi, your geoserver map is generating 1 big image, so there are no
rendering issues at the edges of images. that's also why it's faster.
your other map is generating tiles. so you're seeing the edge effects.
you can get rid of hte edge effects, and improve the speed by using
tilecache.
-b
On Fri, M
On Jan 10, 2008 11:49 AM, Erik Uzureau <[EMAIL PROTECTED]> wrote:
> Hi Brent, thanks for this patch... it looks like a good fix. Do you
> think you could turn this into a ticket? I think this is something we
> should have in OpenLayers.
>
> E
>
sure. done.
http://trac.openlayers.org/ticket/1261
-
here's a patch that fixes that. i just checked the code in Layer.py
from tilecache to see what it did.
svn diff TileCache.js
Index: TileCache.js
===
--- TileCache.js(revision 5710)
+++ TileCache.js(working copy)
@@ -10
hi,
that's really a server-side change. in mapserver for example, you'd
set TOLERANCE in your layer.
On Dec 11, 2007 4:38 AM, R. Ortner
<[EMAIL PROTECTED]> wrote:
>
> hi,
>
> is there a way to expand the area of getFeatureInfo.
> If I click on a feature in a scale of e.g. 1:1M i have to click ver
hi, in someplaces you use coord, and in others coords as this messge tells:
coord is not defined
[Break on this error] coords: coords.lon+","+coord.lat,
On Dec 10, 2007 5:51 AM, R. Ortner
<[EMAIL PROTECTED]> wrote:
>
> I tried that, heres my complete funktion:
>
>
> function checkinfo(imgid,url,t
hi, you're never telling the map to draw.
i just went to your site and ran:
map.zoomToMaxExtent()
in firebug. then i get pink tiles. viewing one of them gives this error.
msLoadMap(): Unable to access file. (\home\yancho\public_html\nc\sample.map)
which probably means the webserver doesnt have pe
change this:
map.setBaseLayer(newBaseLayer);
to this:
map.setBaseLayer(window[newBaseLayer]);
you need the variable, not hte string.
On 10/29/07, bradleyspencer <[EMAIL PROTECTED]> wrote:
>
> Chris,
>
> I tried looking at the layerswitcher mouse handling code but that was even
> more confusing
you can add it to your spatial_ref_sys using the statement from
(crshmidt+hobu's) spatialreference.org
http://spatialreference.org/ref/epsg/54004/postgis/
and the 900913
http://spatialreference.org/ref/user/google-projection/postgis/
replacing the 6 with 900913.
On 10/24/07, Raj Singh <[EMAIL PR
to add to the mix:
after tinkering with most major frameworks (not Jx, that looks
interesting) i've settled on jQuery and yahoo's YUI depending on the
project.
jquery just released the UI library so it's still a bit rough, but now
there are _lots_ of developers and users so things get fixed quickly
yer(boxes);
>
>map.zoomToExtent(bounds);
>
> But then I get a yellow box in the middle of the map. I want a box the SAME
> size as the viewport I am looking at. How do I do that?
> Linda Rawson
>
>
>
> On 9/27/07, Brent Pedersen <[EMAIL PROTECTED]> wrot
> var bounds = new OpenLayers.Bounds(-96.0051889, 28.9917903, -95.9925747,
> 28.9812486);
hi, it looks like your ymin and ymax are switched.
-brent
On 9/27/07, Linda Rawson <[EMAIL PROTECTED]> wrote:
> I have the following code:
>
>
>
> http://www.w3.org/1999/xhtml";>
>
>
> #m
On 8/20/07, James McManus <[EMAIL PROTECTED]> wrote:
> Christopher Schmidt wrote:
> > On Mon, Aug 20, 2007 at 07:15:25PM -0400, James McManus wrote:
> >
> >> I am using MS 5.0 beta 4, but have also tried MS 4.10.2 and get the same
> >> error. It looks like mapwms.c is producing the error. The URL t
try
On 8/2/07, Tyler Durden <[EMAIL PROTECTED]> wrote:
> Hi,
> I have list of links:
> Example:
> show
>
> But nothing happens.
>
> setCenter() only applies on init()?
>
> var lon = -8.61057;
> var lat = 41.14452;
> var zoom = 8;
> var bounds = new OpenLayers.Bounds(-11.535, 36.095, -4.535, 43.09
hi,
in mapserver, you'd have to add something to make getfeatureinfo work
('ows_include_items') is that the case in geoserver?
have you checked if the &X , &Y url parameters look like the correct
pixel values.
then what does postgres log for the query from geoserver?
-b
On 7/18/07, Marc Desharnai
hi, on request, i've added an openlayers app we've been working on to
http://trac.openlayers.org/wiki/Gallery
it's up here:
http://firecenter.berkeley.edu/fhsz/
neat stuff:
+ legend-in-layerswitcher -- just stick an tag in the layer name.
+ AJAX'ed geocoding with geopy via a hacked up geoservice
22 matches
Mail list logo