[mapserver-users] MapServer dynamic map creation - Is thispossible?
Benoît Andrieu
bea at ixsea.com
Mon Sep 28 05:43:44 PDT 2009
----- Original Message -----
From: "Till Adams" <adams at terrestris.de>
To: "Dan Walton" <dgwalton at gmail.com>
Cc: <mapserver-users at lists.osgeo.org>
Sent: Monday, September 28, 2009 2:03 PM
Subject: Re: [mapserver-users] MapServer dynamic map creation - Is thispossible?
> Dan Walton schrieb:
>> I am new to WMS, so bear with my ignorance please.
>> I have a service that processes imagery and outputs large TIFF + World file
>> images (5-40 MB), and some shapefiles. Currently these images have no
>> pyramid or tiling. I would like to further make the images web map friendly
>> and my thought is that WMS and MapServer is the way to go. We will likely be
>> creating dozens or perhaps hundreds of these images per day. This needs to
>> run on Windows alongside or within IIS.
>> So I have a volley of questions for anyone who might have answers. Feel free
>> to skip any:
>>
>> 1. Can MapServer even do this, that is, host several large images and allow
>> new ones to be added on the fly via the api?
> If there is a process, which generates the imags anyway, I think it's the easiest way to let this procedure
> write either a new layer to your mapfile or generate a new mapfile on it's own. This could be requested as WMS or sth. like that.
>
You can also have a Postgis database where you will only put the path to your files.
Then in your map file, you set your layer as a database SQL request.
The size of your files does not really matter as long as you have tiling and overviews.
For example, I have used some 1 Gbyte TIFF files without any problem.
It is also good to have the same projection system in the source images and in the request.
MapServer on the fly reprojection is only "nearest-neighbour" so image quality could be
very bad if CRS are different.
For your shapefiles, you can also put them in a postgis database and make on-the-fly union / intersection ... using your layer
definition.
>> 2. Can each image be a map layer or does each image need its own mapserver
>> instance?
>>
> each image can be a layer on it's own
>
>> 3. Does the OSGeo4W include utilities to tile and pyramid the images or do I
>> have to arrange for that myself?
>>
> Yes, check for Gdal Tools and check also http://www.gdal.org/
>
> Regards, ill
>
>> Thanks,
>> Dan Walton
>> gisfiretools.com
>>
>>
>>
>>
>>
>
>
> --
> ----------------------------------------------------------
> terrestris GmbH & Co. KG
> Irmintrudisstrasse 17
> 53111 Bonn
> Germany
>
> Till Adams
> Geschäftsführung
>
> Tel: +49 (0)228 / 962 899-52
> Fax: +49 (0)228 / 962 899-57
> adams at terrestris.de http://www.terrestris.de
> Amtsgericht Bonn, HRA 6835
> ---------------------------------------------------------
>
> Komplementärin:
>
> terrestris Verwaltungs GmbH
>
> vertreten durch:
> Hinrich Paulsen, Till Adams
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
Benoît Andrieu
bea at ixsea.com
benoit.andrieu at gmail.com
More information about the MapServer-users
mailing list