RE: [mapserver-users] Problems with mapserver wrapper script [SOLVED]

2010-07-02 Thread David Alda Fernandez de Lezea
 
Jukka,

 Another possibility is in one unnecessary = sign. Try  SetEnvIf Request_URI 
 /cgi-bin/wms_dgis.exe 

Tha was the mistake (Aaargh!!! What a silly a thing!!!). I removed = and 
worked perfectly.

Thanks

 
 
Un saludo,
 
··

David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
 
IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)

··
Tlfnos.: 945-00-32-95 Fax: 945-00.32.90
··
email: da...@ikt.esweb: www.ikt.es
··

-Mensaje original-
De: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Enviado el: jueves, 01 de julio de 2010 14:00
Para: David Alda Fernandez de Lezea; mapserver-users@lists.osgeo.org
Asunto: Re: [mapserver-users] Problems with mapserver wrapper script

Hi,

I do not see anything wrong in it. It should work and perhaps give you another 
error as I am getting from Mapserver 5.2.1
msWMSDispatch(): WMS server error. Incomplete WMS request: VERSION parameter 

I would have a try by including the drive letter in the mapfile path and 
restarting Apache, but I fear it does not help. Another possibility is in one 
unnecessary = sign. Try  SetEnvIf Request_URI /cgi-bin/wms_dgis.exe 

-Jukka Rahkonen-


 -Alkuperäinen viesti-
 Lähettäjä: mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta David Alda 
 Fernandez de Lezea
 Lähetetty: 1. heinäkuuta 2010 14:37
 Vastaanottaja: mapserver-users@lists.osgeo.org
 Aihe: [mapserver-users] Problems with mapserver wrapper script
 
 Hi list,
 
 I'm facing a small problem. I've copied mapserv.exe to a new file 
 called wms_dgis.exe, I added to httpd.conf the following line
 
 SetEnvIf Request_URI =/cgi-bin/wms_dgis.exe 
 MS_MAPFILE=/ms4w/Apache/htdocs/MFD/wms_dgis.map
 
 I also changed the onlineresource value of the mapfile to
 
 wms_onlineresource  
 http://192.168.1.65/cgi-bin/wms_dgis.exe?;
 
 When I type in the web browser the url 
 http://192.168.1.65/cgi-bin/wms_dgis.exe?, I get:
 
 No query information to decode. QUERY_STRING is set, but empty. 
 
 So I think I'm on the right way, but when I make a getCapabilities 
 request like:
 
 http://192.168.1.65/cgi-bin/wms_dgis.exe?SERVICE=WMSREQUEST=G
etCapabilities
 
 I get:
 
 loadMap(): Web application error. CGI variable map is not set.
 
 I've looked into Apache's access.log but I don't see anything odd.
 
 MS4W package
 Mapserver 5.6.1
 Win XP
 
 Am I doing something wrong??
  
  
 Un saludo,
  
 ··
 
 
 David Alda Fernández de Lezea
 Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y 
 Biodiversidad
  
 IKT
 Granja Modelo s/n · 01192 · Arkaute (Araba)
 
 ··
 
 Tlfnos.: 945-00-32-95 Fax: 945-00.32.90
 ··
 
 email: da...@ikt.esweb: www.ikt.es
 ··
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Re: mapserver + grib files + explanation and questions

2010-07-02 Thread Muro

Dear Frank,

First of all, thank you very  much for your reply.
Sorry, if I reply only now, it took time to do tests.


LINK:
http://[SERVER]mapserv/jrc?map=/var/www/html/grib-test/mapserver/grib.mapLAYERS=EUD201006_cp-lspFORMAT=image%2FpngMAXEXTENT=left-bottom%3D%28-35%2C29.5%29%20right-top%3D%2845.5%2C75%29TRANSPARENT=trueSERVICE=WMSVERSION=1.1.1REQUEST=GetFeatureInfoSTYLES=EXCEPTIONS=application%2Fvnd.ogc.se_xmlSRS=EPSG%3A4326BBOX=-60.667969%2C8.304688%2C71.167969%2C96.195313X=239Y=225INFO_FORMAT=text%2FhtmlQUERY_LAYERS=EUD201006_cp-lspWIDTH=750HEIGHT=500


Time to process it: Immediately
PROCESSING BANDS=1,2,3,4,5,6,7,8,9,10
8.7738037e-05,0.00016784668,0.00022125244,0.00029754639,0.00031280518,0.00035095215,0.00035858154,0.00038146973,0.00039672852,0.00039672852


Time to process it: Immediately
PROCESSING BANDS=10,100,1000,3000,4000,5000,6000
2.0862938e-33,2.0862968e-33,0.00086975098,0.016693115,0.010494232,0.00038146973,0.013940811

Time to process it: 20 seconds
PROCESSING BANDS=30,250,251,252,259,280,6135,6136
0.0052089691, 0.009759903, 0.009759903, 0.009759903, 0.0097885132,
0.0078086853, 0.026855469, 0.027008057

Time to process it: Immediately
PROCESSING BANDS=30,250,251,252,253,254,255
3.8710469e-33, 2.7528285e-33, 0.009759903, 0.009759903, 0.009759903,
0.009759903, 0.009759903

Time to process it: Immediately
PROCESSING BANDS=6129,6130,6131,6132,6133,6134,6135,6136
0.025232315,0.02602005,0.026279449,0.026504517,0.026584625,0.026779175,0.026855469,0.027008057

Time to process it: Immediately
PROCESSING BANDS=6130,6131,6132,6133,6134,6135,6136
8.0113099e-34,6.0489029e-34,0.026504517,0.026584625,0.026779175,0.026855469,0.027008057

Time to process it: Immediately
PROCESSING BANDS=6129,6130,6131,6132,6133,6134,6135,6136
0.025232315,0.02602005,0.026279449,0.026504517,0.026584625,0.026779175,0.026855469,0.027008057

Time to process it: It crashed. I have the httpd error basically when I
launch the html page
PROCESSING BANDS=6128,6129,6130,6131,6132,6133,6134,6135,6136
[Fri Jul 02 11:32:57 2010] [error] [client 139.191.16.109] *** glibc
detected *** /usr/sbin/mapserv: corrupted double-linked list: 0x0986b590 ***

Time to process it: It crashed. I have the httpd error basically when I
launch the html page
PROCESSING BANDS=6127,6128,6129,6130,6131,6132,6133,6134,6135,6136
[Fri Jul 02 11:18:19 2010] [error] [client IP] *** glibc detected ***
/usr/sbin/mapserv: corrupted double-linked list: 0x0a10c5a0 ***

Time to process it: It crashed. I have the httpd error basically when I
launch the html page
PROCESSING
BANDS=500,1000,1500,2000,2500,3000,3500,4000,4500,5000,5500,6000
[Fri Jul 02 11:37:09 2010] [error] [client IP] *** glibc detected ***
/usr/sbin/mapserv: corrupted double-linked list: 0x0961e5a0 ***


Grib dump:
Band 6128 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
GRIB_UNIT=[m]
GRIB_COMMENT=Convective precipitation [m]
GRIB_ELEMENT=CP
GRIB_SHORT_NAME=0-SFC
GRIB_REF_TIME=  1277856000 sec UTC
GRIB_VALID_TIME=  1278547200 sec UTC
GRIB_FORECAST_SECONDS=691200 sec
Band 6129 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
GRIB_UNIT=[m]
GRIB_COMMENT=Convective precipitation [m]
GRIB_ELEMENT=CP
GRIB_SHORT_NAME=0-SFC
GRIB_REF_TIME=  1277856000 sec UTC
GRIB_VALID_TIME=  1278568800 sec UTC
GRIB_FORECAST_SECONDS=712800 sec
Band 6130 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
GRIB_UNIT=[m]
GRIB_COMMENT=Convective precipitation [m]
GRIB_ELEMENT=CP
GRIB_SHORT_NAME=0-SFC
GRIB_REF_TIME=  1277856000 sec UTC
GRIB_VALID_TIME=  1278590400 sec UTC
GRIB_FORECAST_SECONDS=734400 sec
Band 6131 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
GRIB_UNIT=[m]
GRIB_COMMENT=Convective precipitation [m]
GRIB_ELEMENT=CP
GRIB_SHORT_NAME=0-SFC
GRIB_REF_TIME=  1277856000 sec UTC
GRIB_VALID_TIME=  1278612000 sec UTC
GRIB_FORECAST_SECONDS=756000 sec
Band 6132 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
GRIB_UNIT=[m]
GRIB_COMMENT=Convective precipitation [m]
GRIB_ELEMENT=CP
GRIB_SHORT_NAME=0-SFC
GRIB_REF_TIME=  1277856000 sec UTC
GRIB_VALID_TIME=  1278633600 sec UTC
GRIB_FORECAST_SECONDS=777600 sec
Band 6133 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
GRIB_UNIT=[m]
GRIB_COMMENT=Convective precipitation [m]
GRIB_ELEMENT=CP
GRIB_SHORT_NAME=0-SFC
GRIB_REF_TIME=  1277856000 sec UTC
GRIB_VALID_TIME=  1278655200 sec UTC
GRIB_FORECAST_SECONDS=799200 sec
Band 6134 Block=161x1 Type=Float64, ColorInterp=Undefined
  Description = 0[-] SFC (Ground or water surface)
  Metadata:
GRIB_UNIT=[m]
   

[mapserver-users] follow-up on OGC compliancy

2010-07-02 Thread Bart van den Eijnden
Hi list,

a follow-up on this e-mail from Daniel Morissette:

http://www.mail-archive.com/mapserver-users@lists.osgeo.org/msg08668.html

Is there still the plan to get the official stamp from OGC on WMS compliancy? 
Any timeline?

Is there still work ongoing for WFS compliancy, or does this need sponsorship 
to actually happen? Also, I assume it is technically viable to have Mapserver 
WFS 1.1 compliant, or are there big / impossible hurdles to be taken?

TIA.

Best regards,
Bart___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] TIme support on mapserver 5.6.3, it's working?

2010-07-02 Thread rai 8

 Could you provide an example URL you are using to test out the WMS-T?  I am
 using WMS-T on 5.6.3 without any known issues.  Please note that if your
 time table gets very large, you may hit this quirk:


I am using URL like:
http://mapserver-tutorial/cgi-bin/mapserv?map=/home/vbox/map_directory/tile_time_2.maplayer=radarlayer=time_idx_pgmode=mapTIME=2004-01-01T10:10:00

It shows an image but always the first -
/home/vbox/Downloads/animacio/sat1.tif , that have the timestamp: 2007-05-11
10:00Z

My table its very little, I was wrong about the version, is the 5.4.2, i'll
try to do the same with the 5.6 but it's very strange that any configuration
that I tried doesn't work.

need to be in the METADATA section of the sat_w layer.

I tried a lot of combinations, also with all the metadata in sat_w like
official tutorial


thanks a lot!




2010/7/1 Alexander Petkov green...@gmail.com

 On Thu, Jul 1, 2010 at 6:27 AM, rai 8 max1...@gmail.com wrote:
  Hello,
 
  I've been working with mapserver to get a map with time support, time
   parameter, I followed the tutorial in documetation
  http://mapserver.org/ogc/wms_time.html and this post
 
 http://osgeo-org.1803224.n2.nabble.com/Accessing-images-using-time-dimension-td1991324.html#a1991324
  and I can't run the mapserver to change the image with a time parameter.
 
  I test several configurations but any works, the last is the same like
 the
  post in the maillist, this is what i've done:
 
  in a postgis database
 
  create table satellite (image_path text, image_time timestamp);
  select AddGeometryColumn('satellite', 'the_geom', 4326, 'POLYGON', 2);
 
  insert into satellite (image_path, image_time, the_geom)
  values ('/home/vbox/Downloads/animacio/sat1.tif', '2007-05-11 10:00Z',
  GeomFromText('POLYGON((-31.82 75.55, -31.82 26.5, 51.31 26.5,51.31 75.55,
  -31.82 75.55))', 4326));
 
  insert into satellite (image_path, image_time, the_geom)
  values ('/home/vbox/Downloads/animacio/sat2.tif', '2007-05-11 11:00Z',
  GeomFromText('POLYGON((-31.82 75.55, -31.82 26.5, 51.31 26.5,51.31 75.55,
  -31.82 75.55))', 4326));
 
 
  and the map file:
 
   LAYER
  NAMEtime_w
  TYPEPOLYGON
  STATUSON
  CONNECTIONTYPE  POSTGIS
  CONNECTIONdbname=tile_index host=127.0.0.1 user=postgres
  password=xx
  DATAthe_geom from satellite using unique oid using srid = 4326
  METADATA
  wms_titletime_index_w
  wms_srsEPSG:4326
  wms_timeextent2007-01-01/2007-12-31
  wms_timedefault   2007-05-11T11:00:00Z
  wms_timeitemimage_time #a column in postgis table of type
  END
END
 
LAYER
  NAMEsat_w
  STATUS  ON
  TYPERASTER
  METADATA
  wms_titleSatellite
  wms_timeextent2007-01-01/2007-12-31
  END
  PROJECTION
init=epsg:4326
  END
  TILEINDEX time_w # Layer name containing time index
  TILEITEM  image_path # DB column containing path to image
END
 
 
  anyone finds some error?
 
 
  thanks

 The time-related metadata items:

 wms_timeextent2007-01-01/2007-12-31
wms_timedefault   2007-05-11T11:00:00Z
wms_timeitemimage_time #a column in postgis table of type


 need to be in the METADATA section of the sat_w layer.

 Alex

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] OGC spatial filter BBox

2010-07-02 Thread Yewondwossen Assefa

On 30/06/2010 9:00 AM, Daniel Degasperi wrote:

Hi,
does the spatial filter BBox described in 
http://mapserver.org/ogc/sld.html work?


If I take look at the full_request_6d example, it seems the filter 
will be applied on all the geometries.


I tried to apply a spatial BBox filter also on a set of polygons,
but instead to change the color for the polygon within the given bbox, 
it changed the color of every geometry of my layer.


 I believe in this case that the bboxfilter  in the sld is over 
written by the bbox of the wms request. I have added a trac on it [1] 
and will fix it for the 6.0 release.


best regards,

[1]: http://trac.osgeo.org/mapserver/ticket/3479




Best regards,
Daniel
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




--

Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] follow-up on OGC compliancy

2010-07-02 Thread Yewondwossen Assefa

On 02/07/2010 6:49 AM, Bart van den Eijnden wrote:

Hi list,

a follow-up on this e-mail from Daniel Morissette:

http://www.mail-archive.com/mapserver-users@lists.osgeo.org/msg08668.html

Is there still the plan to get the official stamp from OGC on WMS compliancy? 
Any timeline?

Is there still work ongoing for WFS compliancy, or does this need sponsorship 
to actually happen? Also, I assume it is technically viable to have Mapserver 
WFS 1.1 compliant, or are there big / impossible hurdles to be taken?

   
 There was  some effort put toward wfs 1.1 compliancy tests with 
several elements identified and corrected. Summary of this effort is 
described here [1].
 There is still substantial work to be done to be able to pass the 
majority of the tests (things such addressing  mandatory/non mandatory 
attributes, support of Xpath expressions, support of the Sort operator, 
encoding comes into mind).  I believe there will still be some issues 
with some of the tests that we found were inconsistent (although I have 
not followed the details, note that CITE has done some work to 
upgrade/correct the tests). There will be some effort toward this again 
sometime before the 6.0 release.


[1]: 
http://trac.osgeo.org/mapserver/wiki/MapServerOGCCITEComplianceWFS110Notes


best regards.


TIA.

Best regards,
Bart___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

   



--

Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] How to get full extent of the map?

2010-07-02 Thread Kiran Bandal

Hi,

I am a bit to new MapServer.

I need some assistance on one of my issues as described below.

I am using MapServer 5.6.3. I am creating a Silverlight application that
uses MapServer. I have one Silverlight button on clicking of which I want to
show map in it's full spatial extent. I searched a lot related to this, but
could not find any solution.

Can anybody please guide me how to do this? Hardcoding the extent in the
code-behind is not the an option. Any help would be greatly appreciated.

Thanks,
Kiran. 
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/How-to-get-full-extent-of-the-map-tp5248342p5248342.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] How to get full extent of the map?

2010-07-02 Thread Rahkonen Jukka
Hi,

You can read layer extents with WMS GetCapabities request, perhaps that could 
help you?

-Jukka Rahkonen-

Kiran Bandal wrote:


 Hi,

 I am a bit to new MapServer.

 I need some assistance on one of my issues as described below.

 I am using MapServer 5.6.3. I am creating a Silverlight application that
uses MapServer. I have one Silverlight button on clicking of which I want to
show map in it's full spatial extent. I searched a lot related to this, but
could not find any solution.

 Can anybody please guide me how to do this? Hardcoding the extent in the
code-behind is not the an option. Any help would be greatly appreciated.

 Thanks,
 Kiran. 
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/How-to-get-full-extent-of-the-map-tp5248342p5248342.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users