[mapserver-users] Mapserver tile generation - google maps
Wim Vanbelle
wimvanbelle at gmail.com
Mon Aug 23 22:25:34 PDT 2010
Hi,
Thank you for your time both.
Wouldn't using tilecache imply that I can no longer use dynamic data? My
tiles have to update every minute. Perhaps this is possible with tilecache?
Basically it's only the color value that changes for each object.
An example request that is sent to mapserver:
http://
...maps?map=/.../white.map&layers=%20&mode=tile&tilemode=gmap&tile=264+172+9
MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS
SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE
My mapfile is configured like this:
OUTPUTFORMAT
NAME "AGGPNG"
DRIVER "AGG/PNG"
EXTENSION "png"
MIMETYPE "image/png;mode=24bit;"
IMAGEMODE RGBA
FORMATOPTION "INTERLACE=false"
FORMATOPTION "QUANTIZE_NEW=ON"
FORMATOPTION "QUANTIZE_FORCE=ON"
FORMATOPTION "QUANTIZE_DITHER=ON"
FORMATOPTION "QUANTIZE_COLORS=256"
END
Although I've used GD as well. Not sure how I can check the GD & AGG
versions.
I was in the process of making a new build for mapserver with the lastest
versions of everything though. I'll let you know if that would somehow fix
the problem.
On 24 August 2010 06:45, Stephen Woodbridge <woodbri at swoodbridge.com> wrote:
> If you are using mode=tile, then this is a known limitation on the
> mapserver side. There is a plan for 6.0 to add tilecache support to
> mapserver that would allow you to generate meta tiles and chop the tiles
> into a tilecache which is the way to resolve the artifacts you are seeing.
>
> http://trac.osgeo.org/mapserver/ticket/3513
>
> You can add yourself the CC on this bug if you want to follow it. There is
> also an RFC for the mode=tile which I don't have handy that should give you
> more information on the limitations and feature of that.
>
> Hope this helps,
> -Steve W
>
>
> On 8/24/2010 12:34 AM, Lime, Steve D (DNR) wrote:
>
>> What mapserver version, what graphics driver? Is this using
>> mode=tile?
>>
>> Steve ________________________________________ From:
>> mapserver-users-bounces at lists.osgeo.org
>> [mapserver-users-bounces at lists.osgeo.org] On Behalf Of Wim Vanbelle
>> [wimvanbelle at gmail.com] Sent: Friday, August 20, 2010 6:26 AM To:
>> mapserver-users at lists.osgeo.org Subject: [mapserver-users] Mapserver
>> tile generation - google maps
>>
>> Hi all,
>>
>> I noticed a similar post regarding symbol issues, but there was no
>> solution. My Google maps tiles are currently clipped at the tile
>> itself. This results in rather unwanted behaviour:
>>
>> http://fileshare.myroute.be/exchange/Capture.PNG
>>
>> I'm not 100% sure that this is mapservers' 'issue' , or google maps
>> issue.
>>
>> If anyone would have further tips to spice up the graphics even more,
>> I'd be more than glad to hear them :).
>>
>> Thanks. Wim _______________________________________________
>> mapserver-users mailing list mapserver-users at lists.osgeo.org
>>
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100824/94c41d76/attachment.htm>
More information about the MapServer-users
mailing list