[mapserver-users] msTileSetup(): CGI error. Tile API is not available.

Chad Clabaugh cclabaugh at centwire.com
Tue Dec 16 05:53:50 PST 2008


THANKS!

Ok, it doesn't list it as supported.  But when I try to compile using
 ./configure --make-proj and make, it still doesn't list it. Even though it
seemed to compile correctly and lists PROJ with DUSE.

Thanks again,
Chad

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
Sent: Monday, December 15, 2008 5:46 PM
To: Chad Clabaugh
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] msTileSetup(): CGI error. Tile API is not
available.

On Mon, Dec 15, 2008 at 05:24:39PM -0500, Chad Clabaugh wrote:
> Hello,
> 
>  
> 
> I'm creating my first map server and I'm trying to generate tiles for gmap
> from shapfiles.  I have successfully gotten the mapserver to render the
> shapefiles using the following url:
> 
>  
> 
>
http://000.000.000.000/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverag
> e.map
>
<http://000.000.000.000/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/covera
> ge.map&mode=map> &mode=map
> 
>  
> 
> but when I try to use (only "mode" changes):

In order to use the Tile API, you must have proj support. Is your
MapServer compiled with PROJ support? 

You can check this with:

mapserv -v 

and looking for SUPPORTS=PROJ.

-- Chris

>  
> 
>
http://000.000.000.000/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverag
> e.map
>
<http://000.000.000.000/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/covera
> ge.map&mode=tile> &mode=tile
> 
>  
> 
> I receive the error:
> 
> msTileSetup(): CGI error. Tile API is not available.
> 
>  
> 
> I know that I'll need more url switches (I've simplified for the example),
> however, I cannot find anything online concerning this error.  I've
compiled
> this on SUSE linux, and the map file contains only one simple map and
layer
> section.
> 
> If you need more info, please let me know.
> 
>  
> 
> I am also wondering if I'm going about this the correct way.  I would
> ideally like to generate a tile cache rather than generate per request.
But
> I have not found a tutorial to do such (I'm sure there's one out there).
> 
>  
> 
> Thank you much!
> 
>  
> 
> Chad Clabaugh
> 
> Technical Support, Engineering
> 
> Office: 260.760.6398
> 
> Mobile: 260.466.8861
> 
>  
> 

> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Christopher Schmidt
MetaCarta





More information about the MapServer-users mailing list