Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

2012-05-24 Thread Rahkonen Jukka
Hi,

I found a sample mapfile and GDAL WMS driver configuration for OpenStreetMap 
tiles. Try what happens if you modify them for ArcGIS Rest.

Mapfile
=

LAYER
NAME "OSM"
STATUS ON
TYPE RASTER
DATA "D:\Websites\OpenStreetMap\OSM.xml"
PROJECTION
  "init=EPSG:900913"
END

END

Gdal-WMS config (OSM.xml)
===




http://tile.openstreetmap.org/${z}/${x}/${y}.png



-20037508.34
20037508.34
20037508.34
-20037508.34
19
1
1
top

EPSG:900913
256
256
3



-Jukka Rahkonen-

Lähettäjä: Rahkonen Jukka
Lähetetty: 24. toukokuuta 2012 18:28
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

Hi,

It might be possible to do through GDAL WMS driver. I do not know what ArcGIS 
MapServer Tiles are but they sound somehow promising.

http://www.gdal.org/frmt_wms.html

-Jukka Rahkonen-

Alan Boudreault wrote:

> I don't think so. MapServer only allows wms cascading using the http/wms
> requests.

Alan

On 12-05-23 09:39 PM, Robert Sanson wrote:
>> Is it possible to have a layer in Mapserver pulling data from a ArcGIS Rest 
>> service?
>
> Thanks,
>
> Robert Sanson
>
>
>
>
> This email and any attachments are confidential and intended solely for the 
> addressee(s). If you are not the intended recipient, please notify us 
> immediately and then delete this email from your system.
>
> This message has been scanned for Malware and Viruses by Websense Hosted 
> Security.
> www.websense.com
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


--
Alan Boudreault
http://www.mapgears.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


Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

2012-05-24 Thread Robert Sanson
Thanks for the heads-up about the JSON. In my case I am wanting to access a 
cached tile service.

>>> "Smith, Michael ERDC-CRREL-NH"  05/25/12 3:40 AM >>>
You can also read the data from arcgis rest services using the gdal
geojson driver. Its been updated to support ESRI json (which is not true
geojson). 

On 5/24/12 8:28 AM, "Rahkonen Jukka"  wrote:

>Hi,
>
>It might be possible to do through GDAL WMS driver. I do not know what
>ArcGIS MapServer Tiles are but they sound somehow promising.
>
>http://www.gdal.org/frmt_wms.html
>
>-Jukka Rahkonen-
>
>Alan Boudreault wrote:
>
>> I don't think so. MapServer only allows wms cascading using the http/wms
>> requests.
>
>Alan
>
>On 12-05-23 09:39 PM, Robert Sanson wrote:
>>> Is it possible to have a layer in Mapserver pulling data from a ArcGIS
>>>Rest service?
>>
>> Thanks,
>>
>> Robert Sanson
>>
>>
>>
>>
>> This email and any attachments are confidential and intended solely for
>>the addressee(s). If you are not the intended recipient, please notify
>>us immediately and then delete this email from your system.
>>
>> This message has been scanned for Malware and Viruses by Websense
>>Hosted Security.
>> www.websense.com
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>--
>Alan Boudreault
>http://www.mapgears.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

___
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] I'll be out of the office till Tuesday May 28th. Any time critical requests should be f

2012-05-24 Thread Steve Lehr

I'll be out of the office till Tuesday May 28th.   Any time critical requests 
should be followed up with the qPublic office at 386-734-1954.

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


[mapserver-users] RE: Compilation error with WFS

2012-05-24 Thread Alberto Najera
Hello all,

I downloaded version 5.6.8 and the configuration and compilation went very
well and I got the WFS support.
It seems to me that versions 6.XX may have a bug while compiling this
feature. How can I report this incident to the developers?



Alberto Najera
 


-Mensaje original-
De: Alberto Najera [mailto:anaj...@bicimapas.com.mx] 
Enviado el: jueves, 24 de mayo de 2012 11:29 a.m.
Para: 'mapserver-users@lists.osgeo.org'
Asunto: Compilation error with WFS

Hello list,

I have compiled mapserver version 6.0.1 in a Centos5 environment and used is
successfully for a couple of months, including the WMS server option. I want
to add WFS server capability, which was not included in the initial
compilation. So I added that feature in the configure call using
"--with-wfs" and when done, the response shows 

WFS Server: -DUSE_WFS_SVR

confirming this feature to be enabled in the build.

I then run "make" and all seems to work well but when testing the supported
features with ./mapserv -v, it shows no support for WFS server.  
 
After several attempts, I decided to install the recently released Mapserver
version 6.0.3 and try it, using the same call for configure but an error
shows during Make, as follows:

mapwfs11.c.496:error conflicting types for âmsWFSGetCapabilities11â
mapows.h:421: note: previous declaration of âmsWFSGetCapabilities11â was
here
make: *** [mapwfs11.o] Error 1

What does this error mean and how should this be fixed? Am I missing
something to add WFS capability

Thanks

Alberto Najera


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


[mapserver-users] CLASS NAME Runtime substitution Variable

2012-05-24 Thread Steve . Toutant
Hi
My users will have the option to request a new map by changing YEAR. With 
Openlayers I use vendorParams to add new parameters in the getMap request. 
I use the YEAR parameters as a  Runtime substitution Variable for FILTER 
in the mapfile, pretty simple

My problem is for GetLegendGraphics because the class name will have to 
change on each request. I know that it is not possible yet to use Runtime 
substitution Variable on CLASS NAME. Is it because no one request for it 
or it is technically not possible?
The thread below discuss on using CLASS TITLE to do that
http://osgeo-org.1560.n6.nabble.com/runtime-substitution-class-name-td4228412.html

the GetLegendGraphic request look like
...&map.layer[RSS_MPOC].class[classe1_sign]=TITLE+'>= 2.38 <=56'

If I need to use this technique how can I send 
&map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE as a parameter to 
the GetLegendGraphic  request?
thanks
steve

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


[mapserver-users] legend not visible with maxscaledenom set

2012-05-24 Thread Bistrais, Bob
This appears to be an old problem, but I am still having trouble with it
in MapServer 6.0.2.   If I have a layer without a Maxscaledenom set, the
layer legend displays properly.  But if I set the Maxscaledenom, the
legend does not appear in my application.  This happens when
Maxscaledenom is set at the layer level or the class level.

 

I've looked though the archives and have seen this problem since version
5, but don't see a resolution for MS 6.

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


[mapserver-users] RE: Setting Classes for Dynamic Points (Rainfall Data)

2012-05-24 Thread Burgholzer, Robert (DEQ)
Ahhh, here is the solution (not found anywhere on the interwebs tht I could 
discern - hope this helps someone in the future).

In order to get the classindex change to be reflected in the map output, you 
need to use the "set()" method of the shape.  In other words, I change:
   $shape->classIndex = $c;
to 
   $shape->set('classindex', $c);  

Note that I also made the mistake of spelling the object property with a 
capital I, "classIndex" instead of "classindex".  Interestingly enough, when 
doing the direct setting method $shape->classindex = xx, no problems occur, but 
if you call the "set"  method with a property name that does not exist, a fatal 
error will ensue.

Cheers!
r.b.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Burgholzer, 
Robert (DEQ)
Sent: Thursday, May 24, 2012 11:54 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Setting Classes for Dynamic Points (Rainfall Data)

I am working with some dynamic rainfall point data, and trying to display it 
with a graduated color ramp to indicate total rainfall.  The ramp is based on 
the quartiles of the entire data set, hence the need to dynamically assign not 
only the points but also the classIndex.  I have attempted with the following 
code which SUCCEEDS in drawing the points, but FAILS to change their 
classification (they are all the same color).  The gist of my code is to set 
the class of each shape when setting the $shape->classIndex = whatever the 
quartile is (I have 4 classes defined in my ramp - mapfile CLASS excerpt 
follows code).

Any insight would be most helpful.  Thanks!



foreach($qresult as $row) {
 $shape = ms_newShapeObj(MS_SHAPE_POINT);
 if ($row['total_precip_in'] > $max_precip) {
$max_precip = $row['total_precip_in'];
 }
 $p = $row['total_precip_in'];
 if ($p < $q25) {
$c = 1;
 } else {
if ($p < $q50) {
   $c = 2;
} else {
   if ($p < $q75) {
  $c = 3;
   } else {
  $c = 4;
   }
}
 }
 $this->logDebug("Adding: " . $row['x'] . "," . $row['y'] . " with 
Precip = $p and Class = $c \n");
 $pt = ms_newPointObj();
 $pt->setXY($row['x'], $row['y'], 0.0);
 $line = ms_newLineObj();
 $line->add( $pt );
 $shape->add($line);
 $shape->classIndex = $c;
 $layer->addFeature( $shape );
 $i++;
  }



  CLASS
  NAME "1st Quartile: 0.0 <= P <= 19.63"
  #EXPRESSION ( [globvalue] <= 19.63 )
  SYMBOL 'circle'
  SIZE 2
  COLOR 202 207 254
  BACKGROUNDCOLOR 202 207 254
  OUTLINECOLOR 202 207 254
   END
   CLASS
  NAME "2nd Quartile: 19.63 < P <= 22.64"
  #EXPRESSION ( [globvalue] > 19.63 and [globvalue] <= 22.64 )
  SYMBOL 'circle'
  SIZE 4
  COLOR 137 148 253
  BACKGROUNDCOLOR 137 148 253
  OUTLINECOLOR 137 148 253
   END
   CLASS
  NAME "3rd Quartile: 22.64 < P <= 25.6"
  #EXPRESSION ( [globvalue] > 22.64 and [globvalue] <= 25.6 )
  SYMBOL 'circle'
  SIZE 6
  COLOR 66 84 252
  BACKGROUNDCOLOR 66 84 252
  OUTLINECOLOR 66 84 252
   END
   CLASS
  NAME "4th Quartile: P > 25.6"
  #EXPRESSION ( [globvalue] > 25.6 )
  SYMBOL 'circle'
  SIZE 8
  COLOR 4 26 236
  BACKGROUNDCOLOR 4 26 236
  OUTLINECOLOR 4 26 236
   END
   CLASS
  NAME "No Data"
  SYMBOL 'circle'
  SIZE 2
  COLOR 96 160 248
  BACKGROUNDCOLOR 96 160 248
  OUTLINECOLOR 96 160 248
   END


___
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] Compilation error with WFS

2012-05-24 Thread Alberto Najera
Hello list,

I have compiled mapserver version 6.0.1 in a Centos5 environment and used is
successfully for a couple of months, including the WMS server option. I want
to add WFS server capability, which was not included in the initial
compilation. So I added that feature in the configure call using
"--with-wfs" and when done, the response shows 

WFS Server: -DUSE_WFS_SVR

confirming this feature to be enabled in the build.

I then run "make" and all seems to work well but when testing the supported
features with ./mapserv -v, it shows no support for WFS server.  
 
After several attempts, I decided to install the recently released Mapserver
version 6.0.3 and try it, using the same call for configure but an error
shows during Make, as follows:

mapwfs11.c.496:error conflicting types for âmsWFSGetCapabilities11â
mapows.h:421: note: previous declaration of âmsWFSGetCapabilities11â was
here
make: *** [mapwfs11.o] Error 1

What does this error mean and how should this be fixed? Am I missing
something to add WFS capability

Thanks

Alberto Najera


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


RE: [mapserver-users] RE: WFS set up

2012-05-24 Thread Alberto Najera
Thanks for the response. I removed the template call in the mapfile to force
the WFS call and check what was going on. It seems to be a compilation
problem so I will start a new thread on the subject.

Greetings

Alberto Najera

De: pcr...@pcreso.com [mailto:pcr...@pcreso.com] 
Enviado el: miércoles, 23 de mayo de 2012 11:54 p.m.
Para: Alberto Najera
CC: mapserver-users@lists.osgeo.org
Asunto: Re: [mapserver-users] RE: WFS set up

Not sure about the compilation problem, I have used prebuilt packages for
years now...

Regarding the error message, see http://mapserver.org/mapfile/web.html 

You still need an HTML template file specified, even if you don't use it.
The file does not need to exist, unless you do use it.

--- On Thu, 5/24/12, Alberto Najera  wrote:

From: Alberto Najera 
Subject: [mapserver-users] RE: WFS set up
To: "'mapserver-users'" 
Date: Thursday, May 24, 2012, 1:07 PM
Hi all

I have checked this all over again and the problem seems to be caused by the
mapserv cgi  build. I have configured it using "--with-wfs" and when done,
the response shows 

WFS Server: -DUSE_WFS_SVR

as expected, confirming this feature to be enabled in the build.

I then run "make" and when testing the supported features with ./mapserv -v,
it shows no support for WFS.  
Also when running the capabilities test, I got this response:

"mapserv(): Web application error. Traditional BROWSE mode requires a
TEMPLATE in the WEB section, but none was provided. msOWSDispatch(): WFS
server error. SERVICE=WFS requested, but WFS support not configured in
MapServer."

Why is this happening?

I am using Mapserver 6.0.1 in a Centos5 environment.   Could this be a bug
in Mapserver or am I missing something here?


Your help is greatly appreciated  

Alberto Najera

-Mensaje original-
De: Alberto Najera [mailto:anaj...@bicimapas.com.mx] 
Enviado el: martes, 22 de mayo de 2012 12:06 p.m.
Para: 'mapserver-users'
Asunto: WFS set up

Hello

I am setting up a map file for WFS access but I do not get a response when
testing for capabilities, just a 404 error.  Following the guidelines in the
Mapserver documentation, the CGI was compiled using "-with-wfs" and  I am
using this URL to test capabilities:


___
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] I'll be out of the office till Tuesday May 28th. Any time critical requests should be f

2012-05-24 Thread Steve Lehr

I'll be out of the office till Tuesday May 28th.   Any time critical requests 
should be followed up with the qPublic office at 386-734-1954.

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


[mapserver-users] I'll be out of the office till Tuesday May 28th. Any time critical requests should be f

2012-05-24 Thread Steve Lehr

I'll be out of the office till Tuesday May 28th.   Any time critical requests 
should be followed up with the qPublic office at 386-734-1954.

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


[mapserver-users] Setting Classes for Dynamic Points (Rainfall Data)

2012-05-24 Thread Burgholzer, Robert (DEQ)
I am working with some dynamic rainfall point data, and trying to display it 
with a graduated color ramp to indicate total rainfall.  The ramp is based on 
the quartiles of the entire data set, hence the need to dynamically assign not 
only the points but also the classIndex.  I have attempted with the following 
code which SUCCEEDS in drawing the points, but FAILS to change their 
classification (they are all the same color).  The gist of my code is to set 
the class of each shape when setting the $shape->classIndex = whatever the 
quartile is (I have 4 classes defined in my ramp - mapfile CLASS excerpt 
follows code).

Any insight would be most helpful.  Thanks!



foreach($qresult as $row) {
 $shape = ms_newShapeObj(MS_SHAPE_POINT);
 if ($row['total_precip_in'] > $max_precip) {
$max_precip = $row['total_precip_in'];
 }
 $p = $row['total_precip_in'];
 if ($p < $q25) {
$c = 1;
 } else {
if ($p < $q50) {
   $c = 2;
} else {
   if ($p < $q75) {
  $c = 3;
   } else {
  $c = 4;
   }
}
 }
 $this->logDebug("Adding: " . $row['x'] . "," . $row['y'] . " with 
Precip = $p and Class = $c \n");
 $pt = ms_newPointObj();
 $pt->setXY($row['x'], $row['y'], 0.0);
 $line = ms_newLineObj();
 $line->add( $pt );
 $shape->add($line);
 $shape->classIndex = $c;
 $layer->addFeature( $shape );
 $i++;
  }



  CLASS
  NAME "1st Quartile: 0.0 <= P <= 19.63"
  #EXPRESSION ( [globvalue] <= 19.63 )
  SYMBOL 'circle'
  SIZE 2
  COLOR 202 207 254
  BACKGROUNDCOLOR 202 207 254
  OUTLINECOLOR 202 207 254
   END
   CLASS
  NAME "2nd Quartile: 19.63 < P <= 22.64"
  #EXPRESSION ( [globvalue] > 19.63 and [globvalue] <= 22.64 )
  SYMBOL 'circle'
  SIZE 4
  COLOR 137 148 253
  BACKGROUNDCOLOR 137 148 253
  OUTLINECOLOR 137 148 253
   END
   CLASS
  NAME "3rd Quartile: 22.64 < P <= 25.6"
  #EXPRESSION ( [globvalue] > 22.64 and [globvalue] <= 25.6 )
  SYMBOL 'circle'
  SIZE 6
  COLOR 66 84 252
  BACKGROUNDCOLOR 66 84 252
  OUTLINECOLOR 66 84 252
   END
   CLASS
  NAME "4th Quartile: P > 25.6"
  #EXPRESSION ( [globvalue] > 25.6 )
  SYMBOL 'circle'
  SIZE 8
  COLOR 4 26 236
  BACKGROUNDCOLOR 4 26 236
  OUTLINECOLOR 4 26 236
   END
   CLASS
  NAME "No Data"
  SYMBOL 'circle'
  SIZE 2
  COLOR 96 160 248
  BACKGROUNDCOLOR 96 160 248
  OUTLINECOLOR 96 160 248
   END


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


Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

2012-05-24 Thread Smith, Michael ERDC-CRREL-NH
You can also read the data from arcgis rest services using the gdal
geojson driver. Its been updated to support ESRI json (which is not true
geojson). 

On 5/24/12 8:28 AM, "Rahkonen Jukka"  wrote:

>Hi,
>
>It might be possible to do through GDAL WMS driver. I do not know what
>ArcGIS MapServer Tiles are but they sound somehow promising.
>
>http://www.gdal.org/frmt_wms.html
>
>-Jukka Rahkonen-
>
>Alan Boudreault wrote:
>
>> I don't think so. MapServer only allows wms cascading using the http/wms
>> requests.
>
>Alan
>
>On 12-05-23 09:39 PM, Robert Sanson wrote:
>>> Is it possible to have a layer in Mapserver pulling data from a ArcGIS
>>>Rest service?
>>
>> Thanks,
>>
>> Robert Sanson
>>
>>
>>
>>
>> This email and any attachments are confidential and intended solely for
>>the addressee(s). If you are not the intended recipient, please notify
>>us immediately and then delete this email from your system.
>>
>> This message has been scanned for Malware and Viruses by Websense
>>Hosted Security.
>> www.websense.com
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>--
>Alan Boudreault
>http://www.mapgears.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

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


Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

2012-05-24 Thread Rahkonen Jukka
Hi,

It might be possible to do through GDAL WMS driver. I do not know what ArcGIS 
MapServer Tiles are but they sound somehow promising.

http://www.gdal.org/frmt_wms.html

-Jukka Rahkonen-

Alan Boudreault wrote:

> I don't think so. MapServer only allows wms cascading using the http/wms
> requests.

Alan

On 12-05-23 09:39 PM, Robert Sanson wrote:
>> Is it possible to have a layer in Mapserver pulling data from a ArcGIS Rest 
>> service?
>
> Thanks,
>
> Robert Sanson
>
>
>
>
> This email and any attachments are confidential and intended solely for the 
> addressee(s). If you are not the intended recipient, please notify us 
> immediately and then delete this email from your system.
>
> This message has been scanned for Malware and Viruses by Websense Hosted 
> Security.
> www.websense.com
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


--
Alan Boudreault
http://www.mapgears.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


Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

2012-05-24 Thread Smith, Michael ERDC-CRREL-NH
WMS is different from the REST services (enabled separately). MapServer
can cascade ArcGIS Server WMS services.

Mike

On 5/24/12 7:43 AM, "Alan Boudreault"  wrote:

>I don't think so. MapServer only allows wms cascading using the http/wms
>requests.
>
>Alan
>
>On 12-05-23 09:39 PM, Robert Sanson wrote:
>> Is it possible to have a layer in Mapserver pulling data from a ArcGIS
>>Rest service?
>>
>> Thanks,
>>
>> Robert Sanson
>>
>>
>>
>>
>> This email and any attachments are confidential and intended solely for
>>the addressee(s). If you are not the intended recipient, please notify
>>us immediately and then delete this email from your system.
>>
>> This message has been scanned for Malware and Viruses by Websense
>>Hosted Security.
>> www.websense.com
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>-- 
>Alan Boudreault
>http://www.mapgears.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


Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

2012-05-24 Thread Alan Boudreault
I don't think so. MapServer only allows wms cascading using the http/wms 
requests.


Alan

On 12-05-23 09:39 PM, Robert Sanson wrote:

Is it possible to have a layer in Mapserver pulling data from a ArcGIS Rest 
service?

Thanks,

Robert Sanson




This email and any attachments are confidential and intended solely for the 
addressee(s). If you are not the intended recipient, please notify us 
immediately and then delete this email from your system.

This message has been scanned for Malware and Viruses by Websense Hosted 
Security.
www.websense.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



--
Alan Boudreault
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Re: mapserver-users Digest, Vol 52, Issue 54

2012-05-24 Thread Mustapha AMZIL
Hello, thank you very much in advance for your attention my  question is: I
am currently working with *pmapper* ms4w on Windows 7, the problem is that
does not load any *WMS*, I viewed the other *WMS* layers but not http://*wms
*.jpl.nasa.gov/*wms*.cgi ?,
 only the poster is "loading." I've tried other local *WMS* services that I
 can see fat clients like qgis, but when try to *pmapper* the result is
the same. Any help will be grateful. Sorry for if English is not good I'm
using the *google* translator.

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


Re: [mapserver-users] mapcache_seed and DIM variables - order of folders created

2012-05-24 Thread Helen San Segundo Navazo

Hi,
at the moment I've found where I can control the folders order inside 
the mapcache.xml. The variables order inside the dimension tag define 
the order of the folders creation


 * my definition inside the mapcache.xml now is:


default="15">00,01,02,03,04,05,06,07,08,09,10,

11,12,13,14,15,16,17,18,19,20,

21,22,23,24,25,26,27,28,29,30,

31,32,33,34,35,36,37,38,39,40,

41,42,43,44,45,46,47,48,49,50,

51,52,53,54,55,56,57,58,59
default="00">00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24
default="01">01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31
default="01">01,02,03,04,05,06,07,08,09,10,11,12

2012,2103



 * and I obtain


--Meteosat_params
 |---WGS84
   |---2012 (any, year)
 |---03 (mes, month)
   |---14 (dia, day)
   |---18 (hora, hour)
   |---00 (minut, minute)

I've done some tests and it seems the folders are created in the inverse order as I 
define the variables inside, being carefull with this I can choose 
the order inside the cache folder


_Apart from this I have a question:_

after all the params folders I obtain a estructure like

 |---000
   |---000
 |---XX (x column tile)
   |---000
   |---000
   |---YY (column tile)
   *.png

which is the meaning of those*000*  folders?

Thanks,
Helen



El 23/05/12 14:25, thomas bonfort escribió:

No, it's not possible to do this at the moment. You can contact me
directly if you would like a quote on how much it would cost to have
this implemented.

regards,
thomas

On Wed, May 23, 2012 at 1:58 PM, Helen San Segundo Navazo
  wrote:

hi ,
after some problems installing mapcache now I can use it perfectly.

I'm testing the mapcache_seed using dim variables and it works but when the
folders are created I don't know if it's possible to create it in a
determinate order.

I have a mapfile that accepts runtime substitution variables (date, hour,
minute)

My mapcache.xml has defined the dimensions tag inside the tileset tag with
the 3 variables

if I execute mapcache as:
sudo ./mapcache_seed -c /var/www/mapcache/mapcache.xml -t Meteosat_params -g
WGS84 -z 0,3 -M 2,2  -D "minute=00" -D "hour=14"  -D "date=20120314"
I obtain:

--Meteosat_params
  |---WGS84
|---00 (minute)
  |---14 (hour)
|---20120314 (date)


It would be better for what I need if the folder order could be
date-hour-minute instead of minute-hour-date

I've tried to change the order in the mapcache_seed request but the result
is always the same, anybody knows if it's possible to define the folder's
order.

Thanks in advance,
Helen
___
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] Cut off/missing tiles

2012-05-24 Thread Charlie Allgrove
Hi

 

I have an issue which seems to relate to tile-edge buffering and world-view
zoom levels.

 

There's an example page at http://mapserver.magicsite.co.uk

 

When you first visit the page, all seems normal, until you zoom out 1 level,
at which point the tile which should sit over the west of the US doesn't
display.

>From what I can see, when tile-edge buffering is ON and the tile next tile
wraps around the world, the tile in question is not rendered.

Turn edge-buffering off and that tile is rendered correctly. Unfortunately,
I'm in a position where I can't turn the buffering off.

 

from the mapfile:
WEB

METADATA

"wms_title" ""

"wms_onlineresource" ""

"wms_srs" "EPSG:4326"

"tile_map_edge_buffer" "9" # 9 pixel rendering buffer

"http_max_age" "86400"

END

  END

 

As far as I can tell, everything else is working correctly. 

What I'm not clear on - is this a bug in the edge buffering within the
software, or am I doing something wrong?

 

The server running the example URL is  currently using version 5.7-dev, but
the same issue is also apparent on a production server running v6.0.2

 

Interested to know if anyone else has experienced the same issue?

 

Regards

 

Charlie

 

--

Charlie Allgrove

Senior Developer

 

Connection Services :: Business Mobility for a Wireless World

 

Connection Services Ltd is a company incorporated under the laws of England
and Wales with company number 6520674 whose registered office is at Griffins
Court, 24-32 London Road, Newbury, Berkshire, RG14 1JX. The information in
this e-mail and any attachments is confidential and may be legally
privileged. It is intended solely for the addressee or addressees. If you
are not an intended recipient, please delete the message and any attachments
and notify the sender of misdelivery: any use or disclosure of the contents
of either is unauthorised and may be unlawful. All liability for viruses is
excluded to the fullest extent permitted by law. Any views expressed in this
message are those of the individual sender. In accordance with the
provisions of its Terms of Business the Company does not accept instructions
or the creation of contractual obligations by unconfirmed electronic
transmission.

 

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