Re: [mapserver-users] Unable to activate cache template in mapcache

2013-05-27 Thread thomas bonfort
Nicolas,
This needs documenting, but you should be able to activate it with

  /home/tppostgis/Bureau/mapcache/tiles/{
tileset}_{grid}/{z}/{x}/{y}.png


--
thomas


On 26 May 2013 16:19, nmoyroud  wrote:

> Hello,
>
> In mapcache when I use a template for my cache, and restart apache2 it
> doesn't work. I get the following message : "disk cache media has no base
> directory or template".
> Here is my mapcache.xml file :
>
>
>
> /home/tppostgis/Bureau/mapcache/tiles/{tileset}_{grid}/{z}/{x}/{y}.png
>
> When I change for  instead of  I have no error in apache2.
> But I really need to work with a template scheme.
> I copied the mapcache.xml from the official doc and these is still the same
> problem ! I bang my head against wall for hours without any success :-)
> Thanks for your help.
>
> Nicolas
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Unable-to-activate-cache-template-in-mapcache-tp5055805.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


Re: [mapserver-users] Unable to activate cache template in mapcache

2013-05-27 Thread nmoyroud
Thanks a lot Thomas it works like a charm now ! You are my savior :-)
I confirm, it really needs to be documented.

Nicolas



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Unable-to-activate-cache-template-in-mapcache-tp5055805p5055885.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] misterious disappearing of black color in cascading wms

2013-05-27 Thread duartecarreira
Hi there.

I'm having this weird problem where in my cascaded wms layer it seems black
is gone...

I tried every combination possible of output formats and transparency and
still can't solve this...

Can anyone take a look? I can post the mapfile.

Thanks.

Image directly from original wms server
 

Image from cascaded mapserver service
 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/misterious-disappearing-of-black-color-in-cascading-wms-tp5056214.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] misterious disappearing of black color in cascading wms

2013-05-27 Thread duartecarreira
feeling a bit silly... just solved it. The culprit was a "OFFSITE 0 0 0" I
had on the cascaded layer...

Removing it solved the problem.





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/misterious-disappearing-of-black-color-in-cascading-wms-tp5056214p5056218.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] MapCache "missing a service" error

2013-05-27 Thread Jackey Cheung
Hi,

I'm trying to deploy a MapCache server. It compiles OK, but I can't tell
whether everything is working fine, since I can't see any output from the
server (command line and HTTP response, etc.)

I've write up a config xml as below:



  
/tmp/mapcache

  

  

  
 image/png
 BLD_BLDG
  


  http://localhost/map/
  
mapcache
  
  30

  

  
fast
  
  PNG

  
test_lands
test_cache

  WGS84


  test web map.
  Powered by MapKing.

PNG
10 10
10
  

  
assemble
bilinear
PNG
4096
  
  
  
  
  
  
  

  report
  /tmp/mapcache/lock
  true
  info
  true



I use spawn-fcgi to start the server:
spawn-fcgi -M 666 -s /var/run/mapcache.sock -n -u nginx -g nginx -U nginx
-G nginx -P /var/run/mapcache.pid -- /usr/local/bin/mapcache

The server seems to be running, since it doesn't return to the command
prompt. When I use browser to open "http://192.168.56.101/mapcache/";, the
first request (the exact first request to the newly started server process)
returns:

tileset "test_tileset" references grid "
  WGS84
", but it is not configured


Then all subsequent requests returns "missing a service" error.

I've tried adding a WGS84 grid to the xml, but that produces duplicate
declaration error. I've also tried using the mapcache.xml from source
package, the same "missing a service" error occurs.

What's wrong?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapCache "missing a service" error

2013-05-27 Thread Stephen Woodbridge

Jackey,

Try changing:

 
   WGS84
 

to:

 WGS84


Remove the white spaces. If that fixes the problem, please write a bug 
on on this.


Thanks,
  -Steve W

On 5/27/2013 10:12 PM, Jackey Cheung wrote:

Hi,

I'm trying to deploy a MapCache server. It compiles OK, but I can't tell
whether everything is working fine, since I can't see any output from
the server (command line and HTTP response, etc.)

I've write up a config xml as below:



   
 /tmp/mapcache
 
   
   
 
   
  image/png
  BLD_BLDG
   
 
 
   http://localhost/map/
   
 mapcache
   
   30
 
   
   
 fast
   
   PNG
   
 test_lands
 test_cache
 
   WGS84
 
 
   test web map.
   Powered by MapKing.
 
 PNG
 10 10
 10
   

   
 assemble
 bilinear
 PNG
 4096
   
   
   
   
   
   
   
   report
   /tmp/mapcache/lock
   true
   info
   true



I use spawn-fcgi to start the server:
spawn-fcgi -M 666 -s /var/run/mapcache.sock -n -u nginx -g nginx -U
nginx -G nginx -P /var/run/mapcache.pid -- /usr/local/bin/mapcache

The server seems to be running, since it doesn't return to the command
prompt. When I use browser to open "http://192.168.56.101/mapcache/";,
the first request (the exact first request to the newly started server
process) returns:

tileset "test_tileset" references grid "
   WGS84
 ", but it is not configured


Then all subsequent requests returns "missing a service" error.

I've tried adding a WGS84 grid to the xml, but that produces duplicate declaration error. 
I've also tried using the mapcache.xml from source package, the same "missing a 
service" error occurs.

What's wrong?



___
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] MapCache "missing a service" error

2013-05-27 Thread Jackey Cheung
Hi Stephen,

Thanks for your reply. I've tried but the error still exists.


On Tue, May 28, 2013 at 10:36 AM, Stephen Woodbridge <
wood...@swoodbridge.com> wrote:

> Jackey,
>
> Try changing:
>
>
>  
>WGS84
>  
>
> to:
>
>
>  WGS84
>
> Remove the white spaces. If that fixes the problem, please write a bug on
> on this.
>
> Thanks,
>   -Steve W
>
>
> On 5/27/2013 10:12 PM, Jackey Cheung wrote:
>
>> Hi,
>>
>> I'm trying to deploy a MapCache server. It compiles OK, but I can't tell
>> whether everything is working fine, since I can't see any output from
>> the server (command line and HTTP response, etc.)
>>
>> I've write up a config xml as below:
>>
>> 
>> 
>>
>>  /tmp/mapcache
>>  
>>
>>
>>  
>>
>>   image/png
>>   BLD_BLDG
>>
>>  
>>  
>>http://localhost/map/
>>
>>  mapcache
>>
>>30
>>  
>>
>>
>>  fast
>>
>>PNG
>>
>>  test_lands
>>  test_cache
>>  
>>WGS84
>>  
>>  
>>test web map.
>>Powered by MapKing.
>>  
>>  PNG
>>  10 10
>>  10
>>
>>
>>
>>  assemble
>>  bilinear
>>  PNG
>>  4096
>>
>>
>>
>>
>>
>>
>>
>>report
>>/tmp/mapcache/lock
>>true
>>info
>>true
>> 
>>
>>
>> I use spawn-fcgi to start the server:
>> spawn-fcgi -M 666 -s /var/run/mapcache.sock -n -u nginx -g nginx -U
>> nginx -G nginx -P /var/run/mapcache.pid -- /usr/local/bin/mapcache
>>
>> The server seems to be running, since it doesn't return to the command
>> prompt. When I use browser to open 
>> "http://192.168.56.101/**mapcache/
>> ",
>> the first request (the exact first request to the newly started server
>> process) returns:
>>
>> tileset "test_tileset" references grid "
>>WGS84
>>  ", but it is not configured
>>
>>
>> Then all subsequent requests returns "missing a service" error.
>>
>> I've tried adding a WGS84 grid to the xml, but that produces duplicate
>> declaration error. I've also tried using the mapcache.xml from source
>> package, the same "missing a service" error occurs.
>>
>> What's wrong?
>>
>>
>>
>> __**_
>> 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] Mapcache tileset only shows top level in KML / Google Earth

2013-05-27 Thread John D. Evans

Hello,

I'm making my first mapcache tileset for some satellite image products. 
It sort of works ... but the KML super-overlay doesn't work as expected 
in Google Earth. When I load it, it only displays if I'm zoomed very far 
out (so that the entire globe is the size of a golf ball on my screen): 
if I zoom in, the image disappears.


The KML file is at
 http://lab.gst.com/mapcache/kml/cspp_cloud_phase_...@wgs84.kml
and my mapcache.xml is below. Do you see anything obviously misconfigured?

(I'm using mod_mapcache from the Ubuntu libmapcache 1.0.0-3 package; 
with Apache 2.2 and Mapserver 6.2.1; on 64-bit Ubuntu 12.04. Mapserver 
works fine, and reports no errors that I can see. My client is Google 
Earth 7.0.3. Unfortunately, I don't know where to look for mapcache 
error messages.)


Thanks for taking a look,

  - John D. Evans
GST, Inc / Greenbelt, MD

Below is my mapcache.xml file (actually an excerpt of it:
the real one has more tilesets and sources).


   
  my mapcache service
  woot! this is a service abstract!
   

   
  /tmp
  
   

   
  best
   
   
  fast
   

 
  
 http://localhost/cgi-bin/mapserv?
  
  
 
image/png
iicmocp_daily
/path/to/mapfile.map
 
  
   

   
  
 VIIRS Cloud Phase from NASA GSFC DRL
 Detailed description goes here
  
  CSPP_CloudPhase
  disk
  PNG
  WGS84
  2 2
  3600
  3600
  
   

   PNG_FAST

   
  assemble
  bilinear
  PNG_FAST
  
   

   
   
   
   
   
   

   /tmp
   report
   true


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