[mapserver-users] Windows Server 2008 R2 CGI

2010-04-17 Thread Richard Greenwood
Does anyone have any tips for setting up mapserv CGI on Windows Server
2008 R2 ? I got it working on Windows Server 2008 and took good notes,
but R2 has me stumped. I seem to be stuck on Handler Mapping - I can't
find it. Any suggestions are appreciated.

Thanks,
Rich

-- 
Richard Greenwood
richard.greenw...@gmail.com
www.greenwoodmap.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] mapserver as a tiling client for an untiled WMS

2010-04-17 Thread DeDuikertjes

Dear List,

In my mapserver maps (served as a WMS) I'd like to add a layer from an 
untiled WMS (not under my control).
Simple enough, but this WMS restricts the returned images to a maximum 
number of pixels, and also restricts the scale (only scales larger than 
a certain scale is allowed). The maps I'd like to make of course exceeds 
the limit of pixels.


The solution seems simple enough: chop up the request in a series off 
requests, and stich the returned images together. So basically this is a 
tiling approach. To complicate things a bit, the service is not 
spherical mercator.


I guess I have to use the GDAL-WMS minidriver and/ or TileCache, but 
I've not a clue to how to proceed. Can anyone please point me to some 
usefull examples or give me a short explanation to work from?


any help again greatly appreciated ...

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


Re: [mapserver-users] Mapserver vs Geoserver

2010-04-17 Thread Andrea Aime

pcr...@pcreso.com ha scritto:

Hi,

There are differences, like (as you note below) if you require WFS-T 
then mapserver will not be of much use. Most differences are due to the 
java vs cgi underlying approaches. The config gui for geoserver is nice, 
but a bit of experience scribbling (or cut'n pasting) mapfiles means the 
gui is not that big a difference (IMHO)


The fundamental difference for me is that every mapserver mapfile 
effectively instantiates a new OGC service provider with its own set of 
layers, geoserver, however, is a single monolithic service providing all 
defined layers in the one URL.


 I want a single server providing lots of custom WMS/WFS services, from 
mostly PostGIS databases, but also raster tilesets, shapefiles, etc... 
Mapserver provides this (at present) far more easily than geoserver - so 
my choice is simple.


Yup, true. GeoServer is starting to have something like that with
namespace filters:
http://geoserver.org/display/GEOS/GSIP+44+-+Virtual+services+with+workspaces
(available only in trunk builds).

Also, last time I looked, Mapserver works more effectively than 
Geoserver with PostGIS. For example, the mapserver pre-processor with 
variable substitution allows me to provide a mapfile with a single 
layer, say querying a table of recorded species locations with 1200 
species, in a single query: " ... where species ='%SPP%' ...". The URL 
querying the service can pass in the value mapserver will use in place 
of SPP when the query is passed to Postgis.


So a single query (layer) in a mapfile provides access to 1200 available 
layers. AFAIK, geoserver cannot provide this sort of functionality & 
flexibility with both embedded SQL queries specifying a layer content & 
runtime variable substitution.


I think you're talking about a combination of available functionality:
http://docs.geoserver.org/stable/en/user/styling/sld-extensions/substitution.html
and soon to be available one:
http://jira.codehaus.org/browse/GEOT-2123
http://jira.codehaus.org/browse/GEOS-3922

But yeah, GeoServer has been quite lacking in this respect for a lot
of time.

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


Re: [mapserver-users] Mapserver vs Geoserver

2010-04-17 Thread Rahkonen Jukka
Hi,

 

Brent Wood Wrote:

 

 

> So a single query (layer) in a mapfile provides access to 1200
available layers. AFAIK, geoserver cannot provide

>  this sort of functionality & flexibility with both embedded SQL
queries specifying a layer content &

>  runtime variable substitution.

 

 

I believe that with OGC services both servers are supporting this kind
of queries in a similar way through OGC SDL and Filter Encoding system.
In addition Geoserver supports user friendly CQL filters.  On the other
hand, Mapserver administrator has better control on what queries are
accepted through variable substitution than Geoserver admin with CQL
filters because Mapserver variables must be specified first and they
must have validation rules. However, I suppose that Mapserver does not
have either a possibility to set rules for filters which are coming
baked in with SLD.

 

-Jukka Rahkonen-

 

 

 

 

 

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