[OpenLayers-Users] Mistake on OpenLayer

2008-04-15 Thread Clemiou
Hi! First, excuse me for my English, I'm french and you'll find many mistakes in this mail. ^^ I'm writing to you because I have a very strange probleme with OpenLayers. I'm using Mapserver for my student placement and then, I want to show the image that I obtain. No problems with that. Now,

[OpenLayers-Users] The code that I forgot ^^

2008-04-15 Thread Clemiou
_ Votre contact a choisi Hotmail, l'e-mail ultra sécurisé. Créez un compte gratuitement ! http://www.windowslive.fr/hotmail/default.asp ___ Users mailing list Users@openlayers.org

[OpenLayers-Users] The code that I forgot ^^

2008-04-15 Thread Clemiou
Excuse but my mail box doesn't like the HTML code :) Sincerely yours Clement function init() { map = new OpenLayers.Map( 'map' ); layer = new OpenLayers.Layer.MapServer( OpenLayers WMS,

Re: [OpenLayers-Users] The code that I forgot ^^

2008-04-15 Thread Zac Spitzer
it's not clear from your sample code if you passing in a lat lon and zoom? if that's missing openlayers doesn't know what to display and you don't get a map installing firebug for firefox is really useful to debug any problem you might be having, as is livehttpheaders z On Tue, Apr 15, 2008 at

Re: [OpenLayers-Users] The code that I forgot ^^

2008-04-15 Thread Kusum
zoomsize=2zoomdir=1program=%2Fcgi-bin%2Fmapserv.exemap_web_imagepath=D:/ms4w/apps/maplab-2.2/workshop/tmp/map_web_imageurl=../tmp/ add these parameters to layer path -- From: Clemiou [EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 1:30 PM To:

[OpenLayers-Users] Add-on for my mistake

2008-04-15 Thread Clemiou
In addition, if I put the following URL in my browser, I obtain: http://localhost/cgi-bin/mapserv?map=/var/www/html/ms/map_files/france.map mapserv(): Web application error. Traditional BROWSE mode requires a TEMPLATE in the WEB section, but none was provided. . I'm seeing examples on the web

[OpenLayers-Users] Maximum extent shrinks when zooming in

2008-04-15 Thread John Westwood
Hi, I am posting this again because my thread was hijacked the first time. I am using OpenLayers with Tilecache and MapServer. When I zoom into the map the right and top maximum extents of the map shrink. This does not happen with every zoom, it seems to occur every alternate zoom. The left and

[OpenLayers-Users] The latest request (I hope)

2008-04-15 Thread Clemiou
Hi! I'm fighting with my map and OpenLayers and it's very hard ^^. OpenLayers print me a white image and if I put the image URL and clear the end, added by OpenLaysers (for map_ext...), my map is OK. What can I do because my URL is good and it's the programme which added something which give me

[OpenLayers-Users] How can i get the lonlat from feature

2008-04-15 Thread kb
I get the feature from the WKT,now I need get the lonlat info the feature(this feature is a point),and setCenter to this lonlat.But I just a new user of OL,anyone who can tell me which way I can do it.Or who have the other way to setCenter to this feature,please tell me.Thank you very much. --

Re: [OpenLayers-Users] The code that I forgot ^^

2008-04-15 Thread Mike Adair
I just encountered something similar with the latest MS4W. I was getting an error on the image requests: loadForm(): Web application error. Invalid mode. but when I change the MapServer URL from 'localhost' to http://127.0.0.1/cgi-bin/mapserv.exe it worked, not at all sure why. Mike

Re: [OpenLayers-Users] draw a line on a map?

2008-04-15 Thread geoman
There were other issues with my code - I tried to start with an out of date example of pgRouting from http://pgrouting.postlbs.org/wiki/Workshop-DrawRoute Here is a page which details some other changes that are necessary to get this code to work against version 2.5 http://tainavn.blogspot.com/

[OpenLayers-Users] (Openlayers + Mapserver) not able to dispaly Raster image.

2008-04-15 Thread ptang83
I used Mapserver + Openlayers. I can load shp data and display it (The image displayed in openlayer is small). However, somehow I am not able to display any raster map even. I only see a blank rectangular on my web browzer. I can use shp2img utility to generate this image. It just didn't

Re: [OpenLayers-Users] (Openlayers + Mapserver) not able to dispaly Raster image.

2008-04-15 Thread Christopher Schmidt
On Tue, Apr 15, 2008 at 12:48:43PM -0700, [EMAIL PROTECTED] wrote: I used Mapserver + Openlayers. I can load shp data and display it (The image displayed in openlayer is small). However, somehow I am not able to display any raster map even. I only see a blank rectangular on my web browzer. I

Re: [OpenLayers-Users] Maximum extent shrinks when zooming in

2008-04-15 Thread zenzero-2001
I checked the zoomLevels example that comes with OpenLayers and this suffers from the same problem. So I guess that this means it is a bug in OpenLayers. Any idea when it may be fixed? I am using OpenLayers with Tilecache and MapServer. When I zoom into the map the right and top maximum

Re: [OpenLayers-Users] Query Feature by Attribute and Zoom

2008-04-15 Thread Gregory Roby
Thanks to Guillaume and Brad for their suggestions to get me on the right path, I have the feature working as I wanted now. I decided to use GeoDjango because I will be doing some other tasks with it in the future. Getting the transform function in GeoDjango took quite a bit of work (I ended up

[OpenLayers-Users] Openlayers displa.. size of the map very small.

2008-04-15 Thread ptang83
I downloaded a demo which display a nice map through mapserver. The image is like this. http://www.mobilegeographics.com/mapserver/usa1.phtml The image is big and nice. When I changed it to display throught openlayers. The openlayer map only display a blank windows with all controls. If I

Re: [OpenLayers-Users] (Openlayers + Mapserver) not able to dispaly Raster image.

2008-04-15 Thread ptang83
If I use openlayers to display, it looks like this. http://www.imagewoof.com/view_image/2ba4e1329/oplayers-display.bmp If I don't use openlayers then it looks like this. http://www.imagewoof.com/view_image/daacb1312/withoutopenlayers.JPG --- On Tue, 4/15/08, Christopher Schmidt [EMAIL

Re: [OpenLayers-Users] Openlayers displa.. size of the map very small.

2008-04-15 Thread ptang83
If I use openlayers to display, it looks like this. http://www.imagewoof.com/view_image/2ba4e1329/oplayers-display.bmp If I don't use openlayers then it looks like this. http://www.imagewoof.com/view_image/daacb1312/withoutopenlayers.JPG --- On Tue, 4/15/08, [EMAIL PROTECTED] [EMAIL

Re: [OpenLayers-Users] (Openlayers + Mapserver) not able to dispaly Raster image.

2008-04-15 Thread Christopher Schmidt
On Tue, Apr 15, 2008 at 01:29:52PM -0700, [EMAIL PROTECTED] wrote: If I use openlayers to display, it looks like this. http://www.imagewoof.com/view_image/2ba4e1329/oplayers-display.bmp If I don't use openlayers then it looks like this.

Re: [OpenLayers-Users] (Openlayers + Mapserver) not able to dispaly Raster image.

2008-04-15 Thread ptang83
Here is the regular raster image in browser without using openlayers. http://www.imagewoof.com/view_image/6dd5d1350/raster-noOpenlayers.JPG The URL is like this : http://localhost/tmp/48051072_121c_0.png If I use openlayers to load it. It shows a blank page and the URL is like

Re: [OpenLayers-Users] Openlayers displa.. size of the map very small.

2008-04-15 Thread ptang83
If I use openlayers to display, it looks like this. http://www.imagewoof.com/view_image/2ba4e1329/oplayers-display.bmp Image

Re: [OpenLayers-Users] Openlayers displa.. size of the map very small.

2008-04-15 Thread David Fawcett
Take a look at these 5 lines from your map file: EXTENT -800 30 500 150 UNITS METERS PROJECTION proj=latlong lat_1=32 lat_2=44 lat_0=38 lon_0=-100 x_0=0 y_0=0 ellps=GRS80 datum=NAD83 END You are telling MapServer that your image extent is 13

Re: [OpenLayers-Users] Maximum extent shrinks when zooming in

2008-04-15 Thread zenzero-2001
Hi Christopher, That's interesting that's it's not considered a bug. Personally, I would definitely think of it as a bug or possibly an undocumented feature :) I hope you don't think that I was complaining, I think that OpenLayers is great. I think I have found a solution to the problem: Use

Re: [OpenLayers-Users] Maximum extent shrinks when zooming in

2008-04-15 Thread Christopher Schmidt
On Tue, Apr 15, 2008 at 03:00:28PM -0700, zenzero-2001 wrote: Hi Christopher, That's interesting that's it's not considered a bug. Personally, I would definitely think of it as a bug or possibly an undocumented feature :) I hope you don't think that I was complaining, I think that

Re: [OpenLayers-Users] Maximum extent shrinks when zooming in

2008-04-15 Thread zenzero-2001
Hi Christopher, Thank you for your swift reply. You are probably right that it is not a bug, I will have to do some further investigation and report back. I have a bit of deadline at work at the moment, so it will have to wait. Actually I never said that changing maxResolution solved the

Re: [OpenLayers-Users] Openlayers displa.. size of the map very small.

2008-04-15 Thread Christopher Schmidt
On Tue, Apr 15, 2008 at 03:23:08PM -0700, [EMAIL PROTECTED] wrote: I used the same Map file for the following scenario: 1. using mapserver utility shp2img and it generated a 800x500 image (Good size). 2. mapscript + mapserver and it generated a 800x500 image (Good size) 3. openlayer +

[OpenLayers-Users] Node was not found error

2008-04-15 Thread Tara Athan
I would like to thank everyone who has patiently answered my questions. I am learning javascript for the sole purpose of creating OpenLayers maps, so it is often difficult for me to understand documentation that is written assuming the user is a javascript wizard, but I am making progress and