Re: [mapserver-users] WFS Getcapabilities - XML header missing

2008-07-15 Thread Christopher Schmidt
On Tue, Jul 15, 2008 at 01:16:51PM -0400, Kralidis,Tom [Burlington] wrote:
> All XML output from MapServer (AFAIK) writes out an XML declaration (which is 
> required of XML).

Unrelated to the original question, but:

If by 'XML declaration', you mean 'XML prolog', it is not required to be
included in XML. If you do not include one, the encoding typically
defaults to UTF-8, however, which is likely a problem if you have
iso-8859-1 encoded attribute data -- but since I don't think MapServer
has any way of knowing the encoding of your data, including one probably
doesn't help much anyway.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] SSL protocol

2008-07-28 Thread Christopher Schmidt
On Mon, Jul 28, 2008 at 08:56:26AM +0200, Domenico Febbo wrote:
> Hi all,
> I need to use WMS service for private data with secure connection. Is it
> possible to establish secure connection (HTTPS) to connect webGIS client to
> Mapserver. 

Yes. MapServer running under Apache doesn't need any MapServer specific
configuratino for this. You'll just need to look into how to set up SSL
for your Apache installation.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapServer Animation Examples of Pipeline Flow?

2008-08-02 Thread Christopher Schmidt
On Sat, Aug 02, 2008 at 12:06:37PM -0600, Bill Thoen wrote:
> What won't work is rendering the entire map image each time; that would 
> go from eye-catching to mind-numbing pretty fast. So is there a way with 
> MapServer to display a map base, but allow for objects to be "floated" 
> on top in such away that I don't have to re-render the the entire map 
> each time? (like an AJAX tool for mapserver?)

"An AJAX Tool for MapServer" is probably best solved by OpenLayers.

  http://openlayers.org/

The closest thing I can think of to 'flowing' in our examples is:

  http://openlayers.org/dev/examples/rotate-features.html

But I know that others have done things like flight tracking with
OpenLayers as well. 

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Using mapserver with EPSG:900913

2008-08-26 Thread Christopher Schmidt
On Tue, Aug 26, 2008 at 12:32:47PM -0700, nbest wrote:
> 
> 
> Does anyone have some JS that overlays a WMS serving EPSG:900913 images
> through the GMap API?

I've always just done this with TileCache:

http://crschmidt.net/blog/311/using-tilecache-with-google-maps-and-virtual-earth/

Do you really need WMS? It's possible, but I'd have to write some code,
and I'm very lazy :)

> Does anyone have any lat-lon, 900913 x-y coordinate pairs that I could
> use to test in proj?  spatialreference.org can't seem to do it right
> now.  Thanks.

Open any modern OpenLayers page.

Open Firebug. (Or just open
http://openlayers.org/dev/examples/debug.html , which has firebug lite.)

Type the following:

 new OpenLayers.LonLat(-71,42).transform(new
  OpenLayers.Projection("EPSG:4326"), new
  OpenLayers.Projection("EPSG:900913"));

Get result:
lon=-7903683.84523,lat=5160979.443331368

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Using mapserver with EPSG:900913

2008-08-26 Thread Christopher Schmidt
On Tue, Aug 26, 2008 at 05:21:48PM -0600, Richard Greenwood wrote:
> > Type the following:
> >
> >  new OpenLayers.LonLat(-71,42).transform(new
> >  OpenLayers.Projection("EPSG:4326"), new
> >  OpenLayers.Projection("EPSG:900913"));
> 
> I know I'll get slammed for this, but it should be something more like:
> 
> new OpenLayers.LonLat(-71,42).transform(new
> OpenLayers.CS("EPSG:4326"), new
> OpenLayers.CS("EPSG:900913"));
> 
> Because EPSG:4326 is not a Projection, it is a Coordinate System.

I don't mind you saying that, but the user should realize that when you
say "Should Be" you're not not instructing what he should actually be
doing in his current code, since the OpenLayers Library uses
OpenLayers.Projection, not OpenLayers.CS. (It also calls XYs "LonLat"s,
and many other similar mistaken naming choices.)

I'd recommend if you care about this issue, you should bring it up with
the OpenLayers development list, but I wouldn't bother; getting people
to undestand "Projection" is hard enough. (ANd why should it be CS
instead of CRS? or SRS? Or any number of other names that it could be
related to?)

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MAPSERVER-USERS] Key labelcache_map_edge_buffer does not exist (While using TiF files in Raster Layer)

2008-08-27 Thread Christopher Schmidt
On Wed, Aug 27, 2008 at 12:30:14AM -0700, Ritesh Ambastha wrote:
> 
> Hello,
> 
> I am using Tilecache to generate tiles by reading few raster layers from my
> mapfile. I have successfully generated tiles using tilecache and mapserver
> vector layers.  My raster images includes TIF files.

You sound like you're using TileCache with metaTiling. TileCache sets
this property internally when using metaTiling. 

I'm surprised you're seeing this though. The code says:

try:
# if the metadata is already set, don't override.
wms.getMetaData("labelcache_map_edge_buffer")
except mapscript._mapscript.MapServerError:

Perhaps turning debug off as suggested will get rid of this...

I don't know. But this is definitely directly related to TileCache.  

> When I checked my logs, I got these errors/warning:
> 
> 
> getMetaData: Hash table error. Key labelcache_map_edge_buffer does not exist
> msDrawLabelCacheGD(): labelcache_map_edge_buffer = -15
> 
> 
> I have not used labelcache_map_edge_buffer anywhere in the mapfile. I tried
> to keep a negative value to this in the METADATA seciton, but it didn't
> worked. 
> 
> I am using MapServer version 5.0.0.
> 
> Any help will be highly appreciated.
> 
> Thanks, 
> Ritesh Ambastha
> -- 
> View this message in context: 
> http://www.nabble.com/Key-labelcache_map_edge_buffer-does-not-exist-%28While-using-TiF-files-in-Raster-Layer%29-tp19176014p19176014.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

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


Re: [mapserver-users] How to improve raster imagery display ?

2008-09-15 Thread Christopher Schmidt
On Mon, Sep 15, 2008 at 12:28:54PM -0600, Mike Flannigan wrote:
> 
> Good luck with your new assignment. You did a great
> job on TopoZone.
> 
> A question for everybody on the list. When I go to
> the Archives at
> http://lists.osgeo.org/pipermail/mapserver-users/
> and download the GZiped text file, I don't get
> good text even after converting from UNIX to
> DOS format. I get garbage like this:
> ?Ô⢲?|¼?öò¥b!#²E¨ø?­?ÊðÝ(?JùÂüZ`C¸uÍËã« 
> Can anybody suggest a method of obtaining the archives
> in text format for easy searching?

Er, it looks like you didn't use gzip to unpack it yet? "gzipped" is
like "zipped"... You'll need to unzip... (doing that works for me.)

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Using Fast CGI with MapServer to alleviate poor performance

2008-09-18 Thread Christopher Schmidt
On Thu, Sep 18, 2008 at 08:59:51PM +0100, John Westwood wrote:
> Hi Paul and other MapServer Gurus,
> 
> I have discovered a huge speed increase by using OpenLayers.MapServer 
> (native) layers instead of OpenLayers.WMS layers. It is about ten times 
> faster, I do not exaggerate. Why is WMS so slow? I have read that MapServer 
> is a fast WMS server, have I done something wrong for it not to be?
> 
> What do you think could be the problem?
> 
> I will give it some thought tomorrow.

Is it possible the difference is 'projections'?

The Layer.MapServer in OpenLayers does not include any projection
information, so if you have your OpenLayers Map configured in a way that
would (via WMS) cause MapServer to reproject on the fly, it will have
significantly different performance. (There are other side effects if
your projections are actually different, but they might not be noticable
at a first pass.)

I agree with Steve that it probably makes sense to generate:

 * A WMS-served URL
 * A MapServer-served URL
 * Your mapfile configuration

Those three things will probably help point towards the misconfiguration
in your current setup.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Using Fast CGI with MapServer to alleviate poor performance

2008-09-19 Thread Christopher Schmidt
On Fri, Sep 19, 2008 at 03:34:42PM +0100, John Westwood wrote:
> Hi Everybody,
> 
> I am attaching  a cut down version of my html, javascript and map files. On 
> our server the EmbeddedMap.js lives in the OpenLayers directory and is used 
> by gbhgis_openlayers.html.
> 
> The test address http://148.197.8.119/gbhgis_openlayers.html . This is just a 
> test server so please don't tell the whole World about it! :)
> 
> There are four layers, 2 x raster (europe 1940s, WMS and MapServer) and 2 x 
> vector / raster (Digital Chart of the World, WMS and MapServer) .

Okay, so to cut OpenLayers out of the loop:

http://148.197.8.119/cgi-bin/mapserv?map=/data/map-files/gbhgis.map&service=WMS&LAYERS=europe&FORMAT=image%2Fpng&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=epsg%3A3034&BBOX=2097152,2097152,4194304,4194304&WIDTH=256&HEIGHT=256

http://148.197.8.119/cgi-bin/mapserv?map=/data/map-files/gbhgis.map&layers=europe&format=image%2Fpng&mode=map&map_imagetype=png&mapext=2097152+2097152+4194304+4194304&imgext=2097152+2097152+4194304+4194304&map_size=256+256&imgx=128&imgy=128&imgxy=256+256

The former is WMS, the latter is not-WMS.

There is a very obvious speed difference between the two.

The reason the MapServer image has its colors wrong, for the record, is
because it is using 8bit pngs instead of 24 bit pngs. My first
impression was that was the reason for the difference, but
unfortunately, 8bit gifs don't seem to fare any better.

Time for the URLs:

MapServer: real    0m0.660s
WMS: real   0m2.707s

These may help someone who knows MapServer investigate more.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Using Fast CGI with MapServer to alleviate poorperformance

2008-09-19 Thread Christopher Schmidt
On Fri, Sep 19, 2008 at 11:49:50AM -0400, Nolte, Tim wrote:
> Just a note about the performance differences between the two outputs. A
> 24bit png is always going to take longer to render than an 8bit.

but as I said in my email, this is unrelated: even a gif (8bit maximum)
is taking approximately the same amount of time to render.

> Obviously there is more detail in the 24bit thus it's going to take
> longer. If you want the same 24bit look with straight MapServer you need
> to make a change to your map file. You currently have set:
> 
>   MIMETYPE "image/png"
> 
> change to
> 
>   MIMETYPE "image/png; mode=24bit"
> 
> This will give you the same 24bit output between straight MapServer and
> WMS. You'll also be able to compare your speeds more accurately.
> 
> - Tim
> 
> 
> Timothy J Nolte - [EMAIL PROTECTED]
> Network Planning Engineer
> 
> iPCS Wireless, Inc.
> 4717 Broadmoor Ave, Suite G
> Kentwood, MI 49512
> 
> Office: 616-656-5163
> PCS:616-706-2438
> Fax:616-554-6484
> Web: www.ipcswirelessinc.com
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Christopher Schmidt
> Sent: Friday, September 19, 2008 11:18 AM
> To: John Westwood
> Cc: mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] Using Fast CGI with MapServer to
> alleviate poorperformance
> 
> On Fri, Sep 19, 2008 at 03:34:42PM +0100, John Westwood wrote:
> > Hi Everybody,
> > 
> > I am attaching  a cut down version of my html, javascript and map
> files. On our server the EmbeddedMap.js lives in the OpenLayers
> directory and is used by gbhgis_openlayers.html.
> > 
> > The test address http://148.197.8.119/gbhgis_openlayers.html . This is
> just a test server so please don't tell the whole World about it! :)
> > 
> > There are four layers, 2 x raster (europe 1940s, WMS and MapServer)
> and 2 x vector / raster (Digital Chart of the World, WMS and MapServer)
> .
> 
> Okay, so to cut OpenLayers out of the loop:
> 
> http://148.197.8.119/cgi-bin/mapserv?map=/data/map-files/gbhgis.map&serv
> ice=WMS&LAYERS=europe&FORMAT=image%2Fpng&VERSION=1.1.1&REQUEST=GetMap&ST
> YLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=epsg%3A3034&BBOX=2
> 097152,2097152,4194304,4194304&WIDTH=256&HEIGHT=256
> 
> http://148.197.8.119/cgi-bin/mapserv?map=/data/map-files/gbhgis.map&laye
> rs=europe&format=image%2Fpng&mode=map&map_imagetype=png&mapext=2097152+2
> 097152+4194304+4194304&imgext=2097152+2097152+4194304+4194304&map_size=2
> 56+256&imgx=128&imgy=128&imgxy=256+256
> 
> The former is WMS, the latter is not-WMS.
> 
> There is a very obvious speed difference between the two.
> 
> The reason the MapServer image has its colors wrong, for the record, is
> because it is using 8bit pngs instead of 24 bit pngs. My first
> impression was that was the reason for the difference, but
> unfortunately, 8bit gifs don't seem to fare any better.
> 
> Time for the URLs:
> 
> MapServer: real0m0.660s
> WMS: real   0m2.707s
> 
> These may help someone who knows MapServer investigate more.
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 

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


Re: [mapserver-users] Draw Polygon on Map

2008-10-29 Thread Christopher Schmidt
On Wed, Oct 29, 2008 at 01:29:23PM +0100, ramses2k wrote:
> Dear List,
> 
> I want to draw a Polygon on a Mapserver map and the save it ito a Postgres 
> Database. Certainly many users have dealt with this issue before, and there 
> are some out of the box solutions like Openlayers which I don't want to 
> include in my project. I want to know if there's a simple Javascript 
> library for drawing polygons (and getting the map-coordinates correctly) or 
> if there are state-of-the-art alternatives.

So, I read your question, and this is what I see:

"I'd like to draw a polygon on my map, but I'd prefer not to use the
library that most people use for doing so. Are there other libraries
that do the same thing?"

You've thrown out the one tool that most people would probably suggest
without explaining why, or why an alternative would be better. Can you
offer some more insight onto why "Not OpenLayers"? That might help
recommend alternatives.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] How to make MapServer WMS super fast?

2008-12-12 Thread Christopher Schmidt
On Fri, Dec 12, 2008 at 05:00:49PM +0200, Rahkonen Jukka wrote:
> Hi,
>  
> Are there any effective tricks for making MapServer to Top-Fuel class?
> We have now a typical ms4w installation on a rather good server platform
> with SCSI drives and 2 four-core processors running on Windows 2003
> server. Our images are tiled, uncompressed geotiffs with overviews,
> vector sample data set is shapefile with shptree index.  I have a
> shortened epsg file and my mapfile is extra short. Bandwith is not the
> limit. We are getting out now about 450 orthoimage pictures per minute
> (size 500 by 500 pixels) and 550 pictures from the vector layer in png24
> image format.  I consider that rather good, but we are required to reach
> 20 images per second, thus 1200 images per minute or 0.05 seconds per
> image.  I wonder if anybody has tuned MapServer that far.

To get much beyond this, I'd simply recommend cached tiles: TileCache
and GeoWebCache are both fine products that cache tiles on the fly.
TileCache supports storing to memcached, and in-memory LRU cache, which
allows you to keep limited resources for caching while serving tiles
quickly.

TileCache users have reported serving > 1200 tiles/second with TileCache
properly configured, so if your data is seldom changing, it's probably
possible to achieve a significant benefit from TileCache.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MAPSERVER-USERS] Serving jpeg tiles - is there a howto?

2008-12-14 Thread Christopher Schmidt
On Sun, Dec 14, 2008 at 02:13:16AM -0800, bibbob wrote:
> 
> Hello,
> 
> Sorry if this question is a bit newbie-ish, but I've searched quite a bit
> for a guide on how to do this and haven't come up with anything yet.
> 
> I have a pile of JPEG images which are tiles of a map.  I'd like to serve
> them as a layer in MapServer (to use them within OpenLayers, but that's
> another story).  Each image has its co-ordinates built into the filename,
> like so:

Note that with something like this, you don't need MapServer at all:
with a little bit of legwork, you can load these into OpenLayers
directly, following the instructions in something like:
http://trac.openlayers.org/wiki/UsingCustomTiles .

For more help on that, feel free to stop by the OpenLayers mailing list.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2008-12-15 Thread Christopher Schmidt
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@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


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


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

2008-12-16 Thread Christopher Schmidt
On Tue, Dec 16, 2008 at 08:53:50AM -0500, Chad Clabaugh wrote:
> 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.

I'm assuming '--make-proj' was a typo, and you meant '--with-proj'.

Is proj installed in /usr? Or is it perhaps installed in /usr/local, and
you need to point there? The docs suggest, for example:

--with-proj=/usr/local

Good Luck, and Best Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Trouble with mode=tile

2009-01-02 Thread Christopher Schmidt
/ ...
> >>>>   var layerId = "myCustomTileLayer";
> >>>>   var tileSource =
> >>>>"http://localhost/cgi-bin/mapserv.exe?map=/src/maps/mapdata/maps/dave1.m 
> >>>>
> >>>>ap&layers=world&mode=tile&tilemode=ve&tile=%4";
> >>>>   var tileSourceSpec = new VETileSourceSpecification(layerId,
> >>>>tileSource);
> >>>>   // ...
> >>>>
> >>>>Here's the last line of my EPSG file (from c:\ms4w\proj\nad\epsg)
> >>>>   # google/virtual earth spherical mercator
> >>>>   <900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 
> >>>>+lon_0=0.0
> >>>>
> >>>>+x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgri...@null +no_defs <>
> >>>>
> >>>>
> >>>>And here's my map file:
> >>>>MAP
> >>>> IMAGETYPE  PNG
> >>>> OUTPUTFORMAT
> >>>>   NAME png
> >>>>   DRIVER "GD/PNG"
> >>>>   MIMETYPE "image/png"
> >>>>   IMAGEMODE RGBA
> >>>>   EXTENSION "png"
> >>>>   TRANSPARENT ON
> >>>> END
> >>>>
> >>>> SHAPEPATH  "/src/maps/mapdata"
> >>>> FONTSET "/src/maps/mapdata/fonts.list"
> >>>> IMAGECOLOR 0 0 0
> >>>>
> >>>>   WEB
> >>>> METADATA
> >>>>   "wms_title"   "WMS Demo Server"
> >>>>   "wms_onlineresource"
> >>>> "http://localhost/cgi-bin/mapserv.exe?map=/src/maps/mapdata/maps/dave1.m 
> >>>>
> >>>>ap&"
> >>>>   "wms_srs" "EPSG:4326 EPSG:900913"
> >>>> END
> >>>>END
> >>>>
> >>>> PROJECTION
> >>>> "init=epsg:900913"
> >>>>   END
> >>>>
> >>>> SYMBOL
> >>>>   name "circle"
> >>>>   type ellipse
> >>>>   filled true
> >>>>   POINTS 1 1 END
> >>>> END
> >>>>
> >>>> SYMBOL
> >>>>   NAME 'dashed1'
> >>>>   TYPE ELLIPSE
> >>>>   POINTS 1 1 END
> >>>>   FILLED true
> >>>>   STYLE 4 4 END
> >>>> END
> >>>>
> >>>> SYMBOL
> >>>>   NAME 'railway'
> >>>>   TYPE cartoline
> >>>>   LINECAP butt
> >>>>   LINEJOIN miter
> >>>>   LINEJOINMAXSIZE 3
> >>>>   STYLE
> >>>> 1 10 1 10
> >>>>   END
> >>>> END
> >>>>
> >>>> LAYER
> >>>>   PROJECTION
> >>>> "init=epsg:4326"
> >>>>   END
> >>>>   NAME world
> >>>>   DATA "world/world_adm0.shp"
> >>>>   STATUS OFF
> >>>>   TYPE LINE
> >>>>   LABELITEM "REGION"
> >>>>   CLASS
> >>>> STYLE
> >>>>   COLOR 255 255 255
> >>>>   OUTLINECOLOR 0 0 0
> >>>> END
> >>>> LABEL
> >>>>   COLOR 0 0 0
> >>>>   OUTLINECOLOR 255 255 255
> >>>>   TYPE TRUETYPE
> >>>>   FONT arial
> >>>>   SIZE 9
> >>>>   ANTIALIAS TRUE
> >>>>   PARTIALS FALSE
> >>>>   MINDISTANCE 250
> >>>>   BUFFER 4
> >>>> END
> >>>>   END
> >>>> END
> >>>>END
> >>>>
> >>>>
> >>>>___
> >>>>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 mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

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


Re: [mapserver-users] CGI mapserv.exe - BUFFER

2009-01-08 Thread Christopher Schmidt
On Thu, Jan 08, 2009 at 05:47:09PM -, Donald Kerr wrote:
> I'd appreciate it if someone could give me some clarification please?
> 
> I am using the following url to return an image:
> 
> http://localhost/cgi-bin/mapserv.exe?map=/ms4w/os.map&mode=map&mapsize=500+4
> 00&mapxy=258544+665909&layers=all&buffer=2000
> 
> The documentation states, "BUFFER [distance] - A distance, in the same
> coordinate system as the map file, used in conjunction with MAPXY to create
> an new map extent".
> 
> The coordinate system is in metres so I would expect that the width of the
> image (500px) would be 2000m (2km). That doesn't seem to be the case i.e.
> the returned images is, at a guess, double that.

"Buffer" is usually a 'radius' -- so, you've got 2000M on each side (4k
total, instead of the 2k you expect).

If you imagine picking the center piont, and drawing a $buffer_size
circle around it -- that's your extent.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver.org sample ...

2009-01-13 Thread Christopher Schmidt
On Tue, Jan 13, 2009 at 12:57:24PM -0300, Paul james wrote:
> Thanks Tamas...
> Is It possible to use OpenLayers with mapscript?

In what way? OpenLayers would typically take over many of the roles that
a custom application would -- building your application in Javascript
instead of PHP. Depending on what you are doing with mapScript, it may
be possibl t simply use MapServer as a CGI instead, or it may be
possible to implement what you want such that OpenLayers can ccomplish
it.

> 
> 
> On Tue, Jan 13, 2009 at 12:47 PM, Tamas Szekeres wrote:
> 
> > Paul,
> >
> > This kind of functionality requires some client side scripting like
> > javascript implemented by OpenLayers in this particular case.
> >
> > Best regards,
> >
> > Tamas
> >
> >
> > 2009/1/13 Paul james 
> >
> >>   Hello guys...
> >> Looking at mapserver.org map sample. I´d like to know how can I do
> >> something like that ... Can someone point me the right direction to do 
> >> that?
> >> Is it possible to use mapscript c# to do that?
> >>
> >> Thanks
> >>
> >> ___
> >> 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


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


Re: [mapserver-users] Mapserver.org sample ...

2009-01-13 Thread Christopher Schmidt
On Tue, Jan 13, 2009 at 02:30:39PM -0300, Paul james wrote:
> Thanks !
> Can you point me some quickstart with openlayer + mapserver + tilecache? I´m
> kind lost on it...

I would recommend first reading: 

  http://workshops.opengeo.org/openlayers/intro/doc/en/

Which is an excellent introductin to OpenLayers.

After that, get something working as a WMS, then:

 http://geoserver.org/display/GEOSDOC/TileCache+Tutorial

Is a good TileCache Tutorial.

-- Chris

> I have a custom app using mapscript + postgis... And I´d like to make a
> version using openlayers and tilecache...
> 
> 
> 
> On Tue, Jan 13, 2009 at 2:03 PM, Christopher Schmidt <
> crschm...@metacarta.com> wrote:
> 
> > On Tue, Jan 13, 2009 at 12:57:24PM -0300, Paul james wrote:
> > > Thanks Tamas...
> > > Is It possible to use OpenLayers with mapscript?
> >
> > In what way? OpenLayers would typically take over many of the roles that
> > a custom application would -- building your application in Javascript
> > instead of PHP. Depending on what you are doing with mapScript, it may
> > be possibl t simply use MapServer as a CGI instead, or it may be
> > possible to implement what you want such that OpenLayers can ccomplish
> > it.
> >
> > >
> > >
> > > On Tue, Jan 13, 2009 at 12:47 PM, Tamas Szekeres  > >wrote:
> > >
> > > > Paul,
> > > >
> > > > This kind of functionality requires some client side scripting like
> > > > javascript implemented by OpenLayers in this particular case.
> > > >
> > > > Best regards,
> > > >
> > > > Tamas
> > > >
> > > >
> > > > 2009/1/13 Paul james 
> > > >
> > > >>   Hello guys...
> > > >> Looking at mapserver.org map sample. I´d like to know how can I do
> > > >> something like that ... Can someone point me the right direction to do
> > that?
> > > >> Is it possible to use mapscript c# to do that?
> > > >>
> > > >> Thanks
> > > >>
> > > >> ___________
> > > >> 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
> >
> >
> > --
> > Christopher Schmidt
> > MetaCarta
> >

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


Re: [mapserver-users] Mapserver.org sample ...

2009-01-13 Thread Christopher Schmidt
On Tue, Jan 13, 2009 at 09:23:40PM -0600, Bob Basques wrote:
> All,
> 
> Ok, since there seems to be a push to use OpenLayers as a Client for
> Mapserver, where do I add in a GeoMoose demo?
> 
> (simply stirring the pot. :c)

There are a number of ways that integrating GeoMoose into the MapServer
documentation makes sense.

 1. Extend the MapServer documentation with a section for 'client
development applications' or something similar. This section would
be ideal for describing a number of suppoting applications to
MapServer, such as TileCache, OpenLayers, GeoMose, and a small demo
for each of those wouldn't be inappropriate if it can be done within
a dozen or so lines of HTML in an ReST doc.

 2. Add a general section with descriptions + pointers to other tools. 
This would be a less complete solutin than above, pointing to the
GeoMoose site rather than documenting strongly its use within
MapServer.
 
 3. Work towards getting a MapServer gallery, similar to the existing
OpenLayers Gallery, set up for MapServer/OSGeo. This i a task that
Howard and I have discussed, but no serious work has been done on
yet. This would allow you to share the GeoMoose demonstrations with
more people. (Though I will note that every GeoMoose demo I've gone
to in the past 6 months has been a pain for me, because I have to
accept an expired security certificate... that might be worth
fixing.)

You seem to think that the curent demo on the MapServer homepage is a
demonstration of OpenLayers, which I would disagree with strongly. It's
entirely designed to be a demonstration of MapServer -- there is
practically no UI or features of OpenLayers used, just a set of pretty
Map tiles. If GeoMoose really creates a more compelling demonstration of
*MapServer* functionality -- as opposed to GeoMoose functionality --
that a 'normal' user -- one without GIS experience, for example -- can
appreciate, it might make more sense to have that be the case. Does
GeoMoose use advanced features of MapServer that non-GIS users would be
interested in? I haven't seen that thus far, personally, but would be
glad to be wrong.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver.org sample ...

2009-01-14 Thread Christopher Schmidt
On Wed, Jan 14, 2009 at 09:21:38AM -0600, Bob Basques wrote:
> All,
> 
> The only reason I brought it up at all, was that I was playing around 
> with Openlayers myself this week.
> 
> I pretty much copied the "Demo" from the MapServer website.  Sounds like 
> that was the wrong to go  :c)

Absolutely. The demo on the MapServer site is using a layer that is
generally not needed in any application -- at least not until you're
looking for something that can be deployed without a MapServer 'server'
in the mix.
> Benefits of GeoMoose (Main ones) for the normal user.
> 
>* Fast (because of MapServer tuning.).  Smaller footprint

The dem on the MapServer main site seems pretty fast to me. Much faster
than any non-cached demo I've seen. Are you saying that GeoMoose has
tuned MapServer t such an extent that it is faster to render images than
it is to serve pre-rendered tiles that demonstrate MapServer's rendering
skills?

>* Handles many layers with ease.  The limit is the client hardware,
>  and the control is given to the user as to how many to display.

This is a GeoMoose benefit over other client software, but I don't see
how it makes a better demo of MapServer's rendering capabilities.  

>* The publishing of the data can be distributed, down to the layer
>  level, including the contents of the popups.  Each layer can be
>  managed separately without consequence to the rest of the
>  interface, if it breaks, only that layer is not available.

This is a GeoMoose benefit over other client software, but I don't see
how it makes a better demo of MapServer's rendering capabilities.  

>* More interface user Control, layer fading, on/off, stacking order,
>  popup on/off.

This is a GeoMoose benefit over other client software, but I don't see
how it makes a better demo of MapServer's rendering capabilities.  

>* And it's all a client lib as well, just like Openlayers.  Closer
>  than you think.

This is a GeoMoose benefit over other client software, but I don't see
how it makes a better demo of MapServer's rendering capabilities.  

>* If I had to teach MapServer request strategies, I would use
>  MapServer + GeoMoose + Firebug to do it.  GeoMoose uses the CGI
>  functionality for images, imagemaps, and querying.

I don't knwo what you mean by this, so I can't comment on it.

> Not that I'm trying to defend GeoMoose.  Just wanted to know how to join 
> in on popularizing MapServer.

GeoMoose has many advantages over other client software, if you are
demonstrating client software. The MapServer homepage should be a quick,
simple, easy to use demonstration of MapServer capabilties -- in this
case, a pretty map. I can see an argument that the MapSerer homepage
should use a static image instead, but I think that is a less effective
demonstration of the pretty rendering. I do not think that changing from
OpenLayers givves a better demonstration of *MapServer*'s rendering
capabilties, and I can't imagine a more effective demo could be created
against static content.

> Also, I think our definitions of RESTful are slightly different.  I 
> would say that GeoMoose is very (VERY)  ReSTfully designed.

ReST is "Restructured Text", the format used by the MapServer
documentation. 

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Invalid SRS Error

2009-01-15 Thread Christopher Schmidt
On Thu, Jan 15, 2009 at 04:26:40PM -0700, Bill Thoen wrote:
> I'm trying to map a shape file of contours as a WMS layer but I'm 
> getting an error, "Invalid SRS given: SRS must be valid  for all 
> requested layers." When I run OGRinfo on the shape file I get:

OGR is not the problem. Your wms_srs string in metadata->web is not set
correctly; it doesn't include whatever SRS is being requested by your
WMS client.

-- Chris

> Geometry: 3D Line String
> Feature Count: 1308
> Extent: (2155250.804139, 1608590.426636) - (2158723.886638, 1612063.531662)
> Layer SRS WKT:
> PROJCS["NAD_1983_StatePlane_Colorado_Central_FIPS_0502_Feet",
>GEOGCS["GCS_North_American_1983",
>DATUM["North_American_Datum_1983",
>SPHEROID["GRS_1980",6378137.0,298.2572221]],
>PRIMEM["Greenwich",0.0],
>UNIT["Degree",0.0174532925199433]],
>PROJECTION["Lambert_Conformal_Conic_2SP"],
>PARAMETER["False_Easting",300.0],
>PARAMETER["False_Northing",100.0],
>PARAMETER["Central_Meridian",-105.5],
>PARAMETER["Standard_Parallel_1",39.75],
>PARAMETER["Standard_Parallel_2",38.45],
>PARAMETER["Latitude_Of_Origin",37.83],
>UNIT["Foot_US",0.30480060960122]]
> Layer: String (254.0)
> Elevation: Real (19.11)
> 
> I'm pretty sure this is EPSG:2232 (Colorado State Plane Central zone 
> feet NAD83) and it's is what I'm specifying in my WMS map file. Does 
> anyone know what's wrong here and how to fix it?
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

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


Re: [mapserver-users] Mapserver WMS client without SERVICE parameter

2009-01-20 Thread Christopher Schmidt
On Tue, Jan 20, 2009 at 05:13:25PM +0100, Ivan Mincik wrote:
> Dear users,
> We want to use Manifold GIS to connect to UMN Mapserver WMS server. Manifold 
> request doesn't contain "SERVICE " parameter. (It should be a bug on the 
> Manifold side.  It was already submitted. No response since now .)

Actually, SERVICE=WMS is not required for GetMap requests. This is a bug
in MapServer that requires it. This was fixed in
http://trac.osgeo.org/mapserver/ticket/2737, fixed in 2737, and released
in 5.2.1 , according to the ticket. 

-- Chris

> If mapserver will receive  request without SERVICE parameter, it will process 
> it as WFS request. We want WMS response. 
> Is there any way how to configure mapserver to return WMS response even if 
> SERVICE parameter is not present  ?
> 
> Thanks 
> Ivan
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

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


Re: [mapserver-users] getFeatureInfo() Only Works on One Layer?

2009-01-27 Thread Christopher Schmidt
On Tue, Jan 27, 2009 at 05:36:12PM -0700, Bill Thoen wrote:
> No, that's not it. I tried both a space and a '+' instead of the comma, 
> but neither worked.

Bill,

As I suggested before, I highly recommend taking the *actual URL*, and
tweaking that, without the interference of OpenLayers in the middle.

If you can share a URL that's not working, especially against a
liveserver, that would probably be helpful to all involved.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Problem with transparency overlays

2009-01-31 Thread Christopher Schmidt
On Sun, Feb 01, 2009 at 12:55:41AM +0800, Tony Frame wrote:
> If you're using IE6 you'll probably need to add 'alpha:true' as a layer 
> option to get the browser to handle transparent png images.
> 
> ie change   {isBaseLayer:false});
> 
> to   {isBaseLayer:false, alpha:true});

Due to performance problems in this mode, using this workaround is not
recommend with OpenLayers.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Virtual Earth Tiling with MapScript

2009-02-05 Thread Christopher Schmidt
On Thu, Feb 05, 2009 at 02:49:20PM -0500, Hugo Estrada wrote:
> Hi, there,
> 
> Is there a simple way of getting Virtual Earth tiles using MapScript?

This is a violation of the terms of use of Virtual Earth.

If you have access to these tiles, the best way to access them would
probably be to write a "WMS MiniDriver" in GDAL, Similar to the
WorldWind and TileService plugins, that could access the VE tiles. The
tiling scheme is relatively simple, and writing this code in GDAL would
allow it to be used as a Layer within MapServer.

I'm not aware of anyone having done this, because most people do not
have legal access to the tiles.

If you simply wish to combine MapServer data with VE data, you might
look into OpenLayers.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Clipping out unprojectable area?

2009-02-09 Thread Christopher Schmidt
On Mon, Feb 09, 2009 at 02:36:37PM -0800, Gregor at HostGIS wrote:
> Hey guys. This picture says the first 1000 words:
> http://maps.hostgis.com/gregor/cg-esri-compare.jpg
> 
> In this case it's a UTM projection for South America, and they're zoomed 
> out inappropriately, so the rest of the world looks ugly.
> 
> The client's request, is whether MapServer has a mechanism for clipping 
> out the area of the requested bbox which would look too gnarly given the 
> projection.
> 
> The application is in PHP and uses PostGIS, so solutions at either of 
> those levels would also be welcome.

Alter your geometry DATA selection to be ST_Union(geom,
bbox_of_projection)?  

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Clipping out unprojectable area?

2009-02-09 Thread Christopher Schmidt
On Mon, Feb 09, 2009 at 04:20:47PM -0800, Gregor at HostGIS wrote:
> >Alter your geometry DATA selection to be ST_Union(geom,
> >bbox_of_projection)?  
> 
> Not sure I get you. I see that union would trim to a square. What would 
> be the effective box of a given projection?

Depends n the projection. The data is stored in the EPSG database, and
exposed in a human readable form on spatialreference.org: if you need to
support any projection, then you'll have to keep a copy of the epsg
database handy for yourself.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Reducing background color with Internet Explorer

2009-02-26 Thread Christopher Schmidt
On Thu, Feb 26, 2009 at 03:38:13PM -0500, Bistrais, Bob wrote:
> I've been putting together maps with numerous layers.  I had been using
> the Offsite command to reduce the background color of those layers, so
> that subsequent layers don't obscure the ones under them.  But I'm still
> having trouble with Internet Explorer.  Maps that look fine in Firefox
> still have layers obscuring each other in IE.  Does anyone have more
> recommendations on how to reduce the layer background?

Presumably you arae using multiple layers in the browser, using
something like OpenLayers? A simple answer is "Don't do that": merge
your layers on the server side. another possible answer is "Use png8/gif
instead of PNG RGBA." 

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Suggestions for OGC SOS clients? OpenLayers?

2009-02-26 Thread Christopher Schmidt
On Thu, Feb 26, 2009 at 01:09:31PM -0800, Emilio Mayorga wrote:
> MapServer can serve data via OGC SOS; I've been reading about this,
> though I haven't tried it yet. What I'd like to ask is for pointers or
> recommendations for open source SOS *clients*, preferably web
> applications but I'd be interested in hearing about desktop clients,
> too.
> 
> I found a presentation from FOSS4G 2008 that talked about the addition
> of an SOS Layer type to OpenLayers:
> http://www.terrestris.de/wiki/doku.php?id=vortraege:2008:foss4g_sensor
> But it doesn't look like the code has made it to the trunk yet.

I am an OpenLayers developer. I have never heard of this work before. So
I can confirm that this work hasn't made it to trunk, but no one has
followed any of the steps of getting it to trunk. Given that, I would 
say that the best bet is to follow up with the developers and encourage
them to approach the OpenLayers community.

Best Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Pyhton mapscript import error

2009-02-28 Thread Christopher Schmidt
On Sat, Feb 28, 2009 at 12:04:10PM +0100, thomas bonfort wrote:
> hi,
> you should get going by adding
> MIMETYPE image/png
> to your agg outputformat bloc, or by explicitely calling your agg
> outputformat by its name in your tilecache requests (ie.
> format=aggpng24)

The former is the correct solution. THe latter won't work with the
MapServer layer that is referenced.

However, the MapServer Python bindings tend to leak like a sieve. If you
ca, I'd recommend using a WMS layer instead, in which case i think
thomas's suggestion would be acceptable as well, though I only ever use
the former method.


-- Chris

> thomas
> 
> On Sat, Feb 28, 2009 at 11:48, gautamvs  wrote:
> >
> > Hi
> > As I checked the Tilecache code Mapserver.py. There is no option for image
> > type format agg, as default is image/png. I tried agg/png that is not
> > working in loadOWSparameters. How can I give AGG image type.
> >
> > Regards
> > Gautam
> >
> > --
> > View this message in context: 
> > http://n2.nabble.com/Pyhton-mapscript-import-error-tp2341344p2400381.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

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


Re: [mapserver-users] Mapserver images doesn't fit well on a tiling scheme???

2009-03-03 Thread Christopher Schmidt
On Tue, Mar 03, 2009 at 08:31:05AM -0800, Dan Little wrote:
> There are two steps to a tilecache...
> Step 1: Seeding it.
> Step 2: Querying from it.
> 
> Metatile usefulness is best seen while seeding the tile cache.  If you look 
> at the attached graphic (a rough estimation of a 3x3 meta-tile setup) then 
> you'll see as the tilecache seed iterates through the map, it "oversamples" 
> the map and uses the "center" image to represent the tile ("A").  When moving 
> onto the next tile ("B"), it performs the same over-sampling.  Since the map 
> is then never at the "edge" of the generation you do not see errors with 
> off-map lines and labelling at the edges.

This is incorrect.

Instead, what happens, is that when you request, A, B, or C, the 3x3
grid centered around B is rendered. when you request tile D, E, or F, the
3x3 grid around E is rendered.

In each case, a metaBuffer sized pixel boundary on all sides is created.
So, a 3x3 metaTile is actually 768 (3*256) + 20  (2 * 10) -> 788 pixels
big. This way, things near the edges of tiles are still included, and
you get fewer missed labels becasue the labels that san across the edges
of A and B are included, where they wouldn't have been before.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapscript + openlayers

2009-03-04 Thread Christopher Schmidt
On Thu, Mar 05, 2009 at 10:01:33AM +0545, Binay Raja. Shrestha wrote:
> Dear sir,
> 
> I am using mapserver and C#mapscript. Can I use openlayers javascript
> with c#mapscript.
> 
> If it is possible can u provide me any tutorials or links useful for
> development.

Binay,

Generally speaking, OpenLayers talks to a URL to fetch 'tiles': images
with data. This data can be provided by anything, so, for example, you
can use PHP mapscript to accept image parameters and deliver this data.

However, generally speaking, there isn't need to use MapScript for this
type of application. Instead, you can use the MapServer CGI directly to
serve requests, via WMS or some other mechanism.

Whether you can use OpenLayers with your particular usage of MapScript
depends entirely on how you're using it. Are you building an application
in C# and want to use MapScript? Do you want to integrate OpenLayers in
something that requests a dynamic image generated? Something else? All
these possibilities have different sorts of answers. For a more detailed
response than "Yes, but I don't know if you can", you'd need to share
more details.

Best Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapscript + openlayers

2009-03-04 Thread Christopher Schmidt
On Thu, Mar 05, 2009 at 09:54:38AM +0530, Venkat Rao Tammineni wrote:
> Hi,
> 
> Please refer  url  http://openlayers.org/dev/examples/

Note that none of these examples in any way take advantage of MapScript,
but almost all of them do take advantage of MapServer, and could be
easily integrated into an ASP solution of some sort.

-- Chris

>  
> 
> Thanks
> 
> Venkat.
> 
>  
> 
>  
> 
>  
> 
> From: mapserver-users-boun...@lists.osgeo.org
> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Binay Raja.
> Shrestha
> Sent: Thursday, March 05, 2009 9:47 AM
> To: mapserver-users@lists.osgeo.org
> Subject: [mapserver-users] mapscript + openlayers
> 
>  
> 
> Dear sir,
> 
> I am using mapserver and C#mapscript. Can I use openlayers javascript with
> c#mapscript.
> 
> If it is possible can u provide me any tutorials or links useful for
> development.
> 
>  
> 
> Thank you.
> 

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


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


Re: [mapserver-users] Pink tiles

2009-05-25 Thread Christopher Schmidt
On Mon, May 25, 2009 at 12:15:35PM -0400, Valeria Muñoz wrote:
> hi
> 
>   do you know how can i change the pink tiles to other color and write a
> message?

This is an OpenLayers question. Please redirect your question to the
OpenLayers mailing list.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Importing a Google/Yahoo maps raster layer

2009-06-01 Thread Christopher Schmidt
On Mon, Jun 01, 2009 at 05:06:24PM +0300, Adrian Popa wrote:
> Hello David,
> 
> Unfortunatelly I am tied into a different web presentation layer - 
> MsMap. It has some features (like marking locations at specific 
> coordinates and adding interactive options to them) and I can't abandon it.
> I will look at openlayers, to see if it supports the functionality I need.

I'm assuming "Annotations" are visible marks on the map, and "adding
interactive options to them" means that you can cause something to
happen when you click. The first example that was given -- the
'sundials' example -- has both of these features.

For a more advanced demonstration of OpenLayers technology, you might be
interested in something more like:

  http://recovery-map.org/map/76/toxic-rivers-of-boston/

-- Chris  

> Thank you for your help.
> Adrian Popa
> 
> Fawcett, David wrote:
> >Take a look at OpenLayers.  http://www.openlayers.org
> > 
> >Here is an example of an OpenLayers application that uses Google as 
> >the base layer.  
> >http://www.openlayers.org/dev/examples/sundials-spherical-mercator.html  
> >(When the app first loads, it is using OpenStreetMap data as the base 
> >layer.  Click on the '+' icon on the right side of the map to expand 
> >the layer switcher and you can then switch to a Google layer.)
> > 
> >You can also use Microsoft Virtual Earth data 
> >http://www.openlayers.org/dev/examples/
> > 
> >And using MapServer, you can publish your data as a WMS and pull it in 
> >to the same OpenLayers app.  (You can also connect to MapServer with a 
> >native MapServer CGI call, but the developers are encouraging the use 
> >of a standard WMS call.)
> > 
> >David.
> >
> >-Original Message-
> >*From:* mapserver-users-boun...@lists.osgeo.org
> >[mailto:mapserver-users-boun...@lists.osgeo.org] *On Behalf Of
> >*Adrian Popa
> >*Sent:* Monday, June 01, 2009 4:16 AM
> >*To:* Rahkonen Jukka
> >*Cc:* mapserver-users@lists.osgeo.org
> >*Subject:* Re: [mapserver-users] Importing a Google/Yahoo maps
> >raster layer
> >
> >Hello,
> >
> >Thank you for your clarification. So, I would need the client-side
> >to support google/yahoo layers and mapserver would run to feed
> >just its specific layers.
> >Interesting.
> >
> >Anyway, do you know any other projects that offer (with an open
> >license) access to raster satellite/aerial imagery that can be
> >integrated with mapserver?
> >
> >Regards,
> >Adrian Popa
> >
> >Rahkonen Jukka wrote:
> >>Hi,
> >>
> >>Terms and conditions of these services do not allow cascading
> >>Google/Yahoo maps through Mapserver.  However, it is allowed to let 
> >>the
> >>mapping client to make this integration. One example I found from my
> >>bookmarks is here:
> >>
> >>http://sautter.com/map/?zoom=5&lat=64.45292&lon=30&layers=B000TFFF
> >>
> >>-Jukka Rahkonen
> >>
> >>Adrian Popa wrote:
> >>  
> >>>Hello everybody,
> >>>
> >>>I'm not sure if it's been disscussed on the list already or 
> >>>not, but I wanted to ask if it's possible to integrate 
> >>>mapserver (and starting with which version?) with Google/Yahoo maps.
> >>>I would like to display the raster (satellite) images from 
> >>>google/yahoo as a layer in the map. The thing is - I don't 
> >>>want to store the actual raster data on my server - but to 
> >>>make requests to google/yahoo on the fly.
> >>>
> >>>Thank you,
> >>>Adrian Popa
> >>>
> >>>___
> >>>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


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


Re: [mapserver-users] Importing a Google/Yahoo maps raster layer

2009-06-01 Thread Christopher Schmidt
On Mon, Jun 01, 2009 at 05:20:25PM +0300, Adrian Popa wrote:
> Hello Christopher,
> 
> Your example has the elements that I need :) Is this basic functionality 
> included in openlayers by default, or is it an addon?
> Also - will openlayers work with mapserver by default - or through WMS 
> (I don't have experience with WMS)?

Both, but WMS is highly recommended, because using MapServer as CGI is
prone to hide errors due to misconfiguration. (Setting up WMS requires
only adding:

  metadata
web
  wms_srs "EPSG:4326"
end
  end

to your mapfile to work minimally; everything else is optional.)

The recovery map example has a significant amount of code, but it is
using the trunk version of OpenLayers with no additional features. The
UI, some of the popups, the layer addition/removal are all additional
pieces added to that UI, but there are other toolkits (Like GeoExt) that
provide these in open source software as well.

Best Regards,

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


Re: [mapserver-users] tilecache_clean.py cleaning more than expected

2009-06-22 Thread Christopher Schmidt
On Mon, Jun 22, 2009 at 08:30:40AM +, Nelson Correia wrote:
> 
> 
> 
> 
> 
> 
> Hi all,
>  
> I?m trying to keep my disk usage to about 500MB, but apparently 
> tilecache_clean is freeing more space than what I?ve requested:
>  
> # du -s -h /data/TILES
> 782M /data/TILES
>  
> # python /apps/tilecache2.10/tilecache_clean.py -s 500 /data/TILES
> Cache entries found: 13040
> Removed 12644 files.
>  
> # du -s -h /data/TILES
> 73M /data/TILES
>  
> Anyone knows why is this happening?

Please send this message to the tilecache mailing list. 

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver consuming Google Maps

2009-08-25 Thread Christopher Schmidt
On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
> Hi mapserver users
> 
> Does anybody know if there has been done work to let MapServer consume
> Google maps ?
> I know that this is possible in OpenLayers (an example:
> http://openlayers.org/dev/examples/google.html), but with MapServer I can
> only se it the other way around, MapeServer serving maps til a GoogleMaps
> application by WMS.

Doing so would be a violation of the terms of use of Google Maps.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Christopher Schmidt
On Wed, Aug 26, 2009 at 09:04:59AM +0200, Niels-Peter Jensen wrote:
> Yes, it could be a violation of terms, but not if the copyright notice and
> links still is there - or am I wrong on that ?

You are wrong on that.

> At least, thats this is what the Openlayers community thinks.

That is incorrect. OpenLayers uses the Google Maps API -- we do not 
use the tiles directly. We only access the Google Maps data through their
Javascript API, in a browser. 
 
> I think it would be a very nice if that could be accomplished with MapServer
> too.

MapServer can't do the same thing in any practical manner.

-- 
Christohper Schmidt
OpenLayers Core Developer

> Niels-Peter
> 
> 
> -Oprindelig meddelelse-
> Fra: Christopher Schmidt [mailto:crschm...@metacarta.com] 
> Sendt: 25. august 2009 17:14
> Til: Niels-Peter Jensen
> Cc: mapserver-users@lists.osgeo.org
> Emne: Re: [mapserver-users] Mapserver consuming Google Maps
> 
> 
> On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
> > Hi mapserver users
> > 
> > Does anybody know if there has been done work to let MapServer consume 
> > Google maps ? I know that this is possible in OpenLayers (an example:
> > http://openlayers.org/dev/examples/google.html), but with MapServer I can
> > only se it the other way around, MapeServer serving maps til a GoogleMaps
> > application by WMS.
> 
> Doing so would be a violation of the terms of use of Google Maps.
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.409 / Virus Database: 270.13.65/2324 - Release Date: 08/24/09
> 12:55:00
> 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Christopher Schmidt
On Wed, Aug 26, 2009 at 09:20:30AM +0200, Till Adams wrote:
> Niels-Peter,
>
> I really do not see the need for this.
>
> All things, which are fun regarding Mapserver are not possible with  
> GoogleMaps, e.g. reprojection or define your map layout in an easy way.  
> Even if you would write some piece of code, which would enable mapserver  
> getting that google tiles as a datasource you'll have at least a slower  
> service than pure google and - if reprojecting the google stuff - you'll  
> have "unreadable" maps with distorted labels.
>
> So beside the fact Chris already mentioned - I think if you have a  
> client, which is able to show Mapserver services AND google map services  
> together, you're fine, or what is your intention?

Many clients *can't* do this, and it does cause a problem for those clients.
For example, it's difficult for qgis to consume Google Maps tiles, last
I looked, but it can consume a WMS easily, so you can imagine using
MapServer as the integration point. 

Web-based clients aren't the only types of clients that MapServer 
WMSes have, and are the only clients that can consume Google Maps. 

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


Re: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Christopher Schmidt
On Wed, Aug 26, 2009 at 09:47:06AM -0500, Bob Basques wrote:
> All, 
> 
> The newest version of GeoMoose is built on top of OpenLayers, so if the 
> OpenLayer LIB is able to directly access, then GeoMoose can too.  I'm not up 
> on the OpenLayers particulars, but as I understand things, the OpenLayers 
> read options were a big reason for incorporating OpenLayers into GeoMoose. 
> 
> Looks like some GeoMoose Demos need to be put together . . . . 

I guess I don't understand something... I thought GeoMoose was a web-based
client. Most web-based clients should be able to consume Google Maps (as I
said); But non-web based clients (generally) can't. (There are exceptions
to this, even without violating the ToS, but they're the exception, rather
than the rule.)

Is GeoMoose a contradiction to that? Or is it instead just another 
web client that can consume Google Maps without violating the ToS?

Best Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Christopher Schmidt
On Wed, Aug 26, 2009 at 05:13:53PM +0200, Marco Foi (marco.foi) wrote:
> Some time ago a similar issue was raised among UDig users and the conclusion 
> was that:
> IT IS NOT POSSIBLE to consume Google Maps in Desktop clients.

This isn't strictly true. Desktop clients which are capable of embedding
a browser can use the browser, render a scene, take the resulting image,
and display that to the client. There are a number of clients which
do exactly that in OpenStreetMap editors, for example.

However, this is obviousl significantly more complex than just fetching the
tiles, which is the way most people discuss doing it.

Anything is possible, but that doesn't mean it will be easy.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Christopher Schmidt
On Wed, Aug 26, 2009 at 01:25:11PM -0400, Smith, Michael ERDC-CRREL-NH wrote:
> What about using the Google Maps static API and making multiple calls and
> tiling? Is that within the TOS?

The Google Maps static API doesn't let you pass in a bounding box, it lets 
you pas in a 'center and zoom'. The resulting tile will not always be 
centered exactly on that point such that it can be tiled, based on what 
I understand: Requests are still based around a grid, it's just not one 
that's obvious, iiuc.

That said, I have no idea if this is within the Terms of Use.

It also has other side effects; Google logo on each tile, etc. so it's not
a great solution even if it does work, but would probably be better for 
desktop solutions which have a single view that they want to display
data over, as I understand it. 

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapServer 5.2.1 performance

2009-09-02 Thread Christopher Schmidt
On Wed, Sep 02, 2009 at 09:10:54AM -0500, Andy Colson wrote:
>>
>> * I see that most of the layers spent around 0,015 seconds for each. Some 
>> layers spent around 0.25 seconds and I could see that these layers have few 
>> geometries very complex (I try to break these geometries in others simpler)
>
> As I see it, you have two options:
>
> 1) Make an individual request faster (hard to do)
> 2) Reduce the number of requests (easier, and different options)
>
> Do you really need all 120 layers?  For one tile you have to make 120  
> requests.  If it takes 4 tiles to fill out your map, thats 4 * 120 = 480  
>  requests.  If you could combine a few layers you would reduce the  
> number of requests, and improve performance.

Er, I think your'e confused. His *mapfile* has 120 layers -- 40 of which
are 'within range', 80 of which are not, and he's putting those
40 layers into one tile. (This is large, but not excessive; the Boston 
Freemap had something like 60 layers, and was a pretty simple map, all
things considered.)

I could be reading this wrong, but I think you're misunderstanding the
problem.

-- Chris


> Have you tried using multiple urls in OpenLayers?
>
> see:
> http://openlayers.org/dev/examples/multiserver.html
>
> Have you used firebug to watch it load?  It has a nice pretty graph that  
> shows which requests are concurrent, the time for each, etc, etc.
>
> If you can switch any of your layers to load as a single tile that would  
> also cut down the number of requests (from 4 to 1 in the example above).
>
>
> -Andy
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

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


Re: [mapserver-users] Show tiles only in current extent

2009-09-08 Thread Christopher Schmidt
On Tue, Sep 08, 2009 at 05:21:34PM -0500, Steve Lime wrote:
> You're using OpenLayers? If so then that's a question for that mailing list I 
> guess. There are configuration
> options to limit the number of tiles retrieved. I believe it's a 'ratio' 
> parameter passed when instantiating a
> layer and if set to 1 you don't get anything beyond the view port.

ratio: Untiled, set to 1 for untiled image which is the same size as viewport
buffer: Tiled, set to 0 for minimal number of tile loads.

-- Chris

> Steve
> 
> >>> On 9/8/2009 at 12:08 PM, in message 
> >>> <1252429728233-3604671.p...@n2.nabble.com>,
> luciosoto  wrote:
> 
> > Hello everyone, i need your valuable help with this issue I have:
> > 
> > I'm running MapServer 4.8.1 over Apache 2.2.1 in Windows, and also TileCache
> > 2.1 using mod_python, everything is great so far, but i want to improve the
> > performance when displaying the maps by only showing the tiles in the
> > current extent, let me explain: I've noticed that when I zoom in the
> > mapserver in some way (that I'm too stupid to find out) takes the
> > coordinates and starts sending the request to get the tiles one by one, i
> > see that sometimes it downloads up to 70 tiles when looking at the screen no
> > more than 20 would be neccesary to fill the screen, so that is the question,
> > how do i make mapserver to show me just the necessary stuff instead of
> > downloading tiles that are close to the visible area but are not necessary
> > anyway?
> > 
> > Thank a lot.
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

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


Re: [mapserver-users] Reproject local projection to EPSG:4326

2009-09-26 Thread Christopher Schmidt
On Sat, Sep 26, 2009 at 11:50:05AM +0100, Jerry O'Sullivan wrote:
> Hi
> 
> My raw data (vector & raster) is in a local coordinate system. I'm looking
> to overlay this data onto Google Maps using Open Layers and Ka-Map. Is it
> possible to get MapServer to reproject this data on the fly into EPSG:4326?

Yes. And you'll want to use EPSG:900913.

  http://docs.openlayers.org/library/spherical_mercator.html


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


Re: [mapserver-users] Using Open street map tiles via GDAL_WMS

2009-12-01 Thread Christopher Schmidt
On Tue, Dec 01, 2009 at 06:51:58PM +, James Perrins wrote:
> I've been trying to use Open street map tiles via a mapserver WMS
> service displayed in OpenLayers.

Er... why? Why not just load the tiles directly in OpenLayers?

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] javscript controls for Zoom and Pan

2010-01-29 Thread Christopher Schmidt
On Fri, Jan 29, 2010 at 11:02:56AM -0300, Matías Manuel Grandi wrote:
> Hi friends!
> I am just starting with mapserver, it's great!
> I have a site with phpmapscript and posgis databases. I want to change the
> traditional zoom and pan forms controls and add some javascript control for
> this.
> Is there any script "ready to use" to add to my site so my controls look
> nicer?

You might be interested in OpenLayers.

  http://openlayers.org/

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


Re: [mapserver-users] areas of high res

2010-02-02 Thread Christopher Schmidt
On Tue, Feb 02, 2010 at 03:10:40PM -0800, TC Haddad wrote:
> use two different tile indexes and use  MIN- and MAXSCALEDENOM to control
> when they are each used.

Or just don't use min/max at all, and just paint over the lower res 
layers with the higher res layers.

-- Chris 

> presumably you already have one tileindex working for the nationwide 500,000
> scale images?
> 
> so make a second one that is a compound index - looks like the above, but
> also includes the footprints of the 250,000 areas (replacing the 500,000
> references in those areas). Switch between the two something like this:
> 
> LAYER
>   NAME "Overview Imagery"
>   STATUS OFF
>   TYPE RASTER
>   TILEINDEX "img_index_500k"
>   TILEITEM "PATH"
>   MINSCALEDENOM 31
> END
> 
> LAYER
>   NAME "Detailed Imagery"
>   STATUS OFF
>   TYPE RASTER
>   TILEINDEX "img_index_250k"
>   TILEITEM "PATH"
>   MAXSCALEDENOM 30
> END
> 
> 
> 
> 
> 
> 
> 
> 
> On Tue, Feb 2, 2010 at 1:34 PM, Wendell Turner  wrote:
> 
> The base layer of my map has full coverage of the US at a
> > scale of 1:500,000.  That works fine.  I have some areas of
> > detail that have tif files at a scale of 1:250,000.  What do
> > I put in the mapfile to say 'use high res if available for
> > this tile, otherwise use the low res one'?
> >
> > Thanks,
> >
> > Wendell
> >
> > ___
> > 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


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


Re: [mapserver-users] areas of high res

2010-02-02 Thread Christopher Schmidt
On Tue, Feb 02, 2010 at 11:34:05PM +, Wendell Turner wrote:
> On Tue, Feb 02, 2010 at 06:23:01PM -0500, Christopher Schmidt wrote:
> > On Tue, Feb 02, 2010 at 03:10:40PM -0800, TC Haddad wrote:
> > > use two different tile indexes and use  MIN- and MAXSCALEDENOM to control
> > > when they are each used.
> 
> Is that done by listing the higher res layer items after the
> lower res itesm in the arguments to gdaltindex?  That appears
> to work, but is it loading tiles twice where the high res
> areas are?

Sure, or making two different layers in the mapfile. And yes,
it is. If you're in an 'edge' though, you'll want to have both
on, right? So when someone gets to the viewable edge they
don't end up with white/empty space? If so, there's not 
any other practical option.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapserver as a tile cache client?

2010-02-05 Thread Christopher Schmidt
On Fri, Feb 05, 2010 at 03:09:05PM +, John Pulles wrote:
> Hi Bart,
> 
> Thanks for mentioning this!
> I'm not getting the examples working though, with mapserver.
> Apart from that, a problem with the arcgis mapcache is that it's tiles are
> named like L01/R/C.png. Do you think the TMS minidriver
> supports formatting of the {x}, {y} and {z}?

It does not.

-- Chris

> Regards,
> John
> 
> 2010/2/4 
> 
> > John,
> >
> > yes it's possible see:
> >
> > http://www.gdal.org/frmt_wms.html
> >
> > Best regards,
> > Bart
> >
> > > Hi,
> > >
> > > We are having a arcgis tile cache layer but also need to have static
> > > images
> > > with a given bounding box, not limited by the tiling scheme, but making
> > it
> > > available as a wms. Is it possible to use mapserver as a tile cache
> > > client,
> > > or can you suggest other solutions?
> > >
> > > Thanks,
> > > John
> > > ___
> > > 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


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


Re: [mapserver-users] Mailing List Migration

2008-02-08 Thread Christopher Schmidt
On Fri, Feb 08, 2008 at 03:39:59PM -0500, Frank Warmerdam wrote:
> The good news is that our archives will no longer be hidden behind a login
> which means they should start turning up in Google.  Also we merged in the
> older archives from before the move to lists.umn.edu.

Hooray! Congrats on completing a useful move like this; I see this as a
great step forward for the project.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] OpenLayers and MapServer Itasca Demo

2008-02-24 Thread Christopher Schmidt
On Sat, Feb 23, 2008 at 03:13:21PM -0600, Jason Allen wrote:
> I just started working with MapServer yesterday and it rocks!
> 
> I've been learning my around with the MapServer 5.x Demo App (Itasca) and
> while it works fine using HTML templates, I can't get it to play nicely with
> OpenLayers.  OpenLayers simply returns blank map tiles.
> 
> The itasca.map file is stock except that I uncommented the projection info:
> PROJECTION
> "init=epsg:26915"
> END
> 
> My OpenLayers setup is very simple as well:

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#Projections

Regards,
-- 
Christopher Schmidt
Web Developer
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Advice for MapServer project

2008-02-26 Thread Christopher Schmidt
On Tue, Feb 26, 2008 at 01:20:28PM -0600, Bob Basques wrote:
> Timothy,
> 
> This is an excellent project for GeoMoose to act as the mapping engine 
> for.  It's precisely the sort of thing that the GeoMoose client 
> framework was designed for.   You can set up GeoMoose fairly quickly for 
> the mapping aspects, and the overlay pieces can be added on with some 
> custom work by yourself via additional services.

What does GeoMoose do better than OpenLayers in this particular case, in
your opinion?

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


GeoMoose vs. OpenLayers for specific project (Was Re: [mapserver-users] Advice for MapServer project)

2008-02-26 Thread Christopher Schmidt
On Tue, Feb 26, 2008 at 04:12:58PM -0600, Bob Basques wrote:
> The setup of the interface as well as the data sources are all 
> abstracted to the point that each individual data custodian, and/or 
> service owner, can implement their respective dataset/service in their 
> own way and update it as frequently, or infrequently as they desire.

I'm not sure I understand this, or several of the other things in this
email. I'd like to understand them. Are you on the webmap-discuss list?
Would you be willing to continue the discussion there?

> Everything in GeoMoose, including the Nav tools, are considered a tool 
> or service of some sort, so it's very easy to add others to the mix.  
> The administration of the data maintenance is also a big difference 
> compared to other pacakages, because once the layer/service  is 
> implemented via GeoMoose, it's up the layer/service providor to keep it 
> maintained into the future.   Since everything is a service of some 
> sort, these services can all be maintained and authenticated in any 
> manner the custodian/owner want to use.
> 
> GeoMoose is aimed at datasets that change fairly often, on the order of 
> hours or minutes, and is intended primarily to access this type of data 
> set.  OpenLayers with it's Tiled interface seems to be intended for 
> displaying datasets that tend to be more static in nature.  Now, either 
> of the two packages can can be used for each others capabilities, but 
> GeoMoose was built from the ground up based on a asset management type 
> of business need with mapping as the visual identifier.
> 
> One last item, is that GeoMoose the interface is initiaqlized from a XML 
> file, a MAPBOOK, so setting up business specific interfaces is very 
> easy.  This XML file is even something that can be automated, so that an 
> online method of setting up a Mapping interface could be built, and is 
> something that is planned for as well.
> 
> Besides, everyone throw OpenLayers out there as an Option, I'm just 
> offering up another.  :c)

Hm, I must have missed that; I didn't see anyone mention OpenLayers as
an option explicitly. Will have to poke at my mail server and see what's
up.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MAPSERVER-USERS] hybrid images in Mapserver

2008-03-02 Thread Christopher Schmidt
On Sun, Mar 02, 2008 at 05:23:21AM -0800, mhungc wrote:
> 
> Hi,
> 
> I want to display hybrid images with mapserver php/Mapscript...for example i
> have shapes files and display  this type of images but i want too display
> sattelite images like google maps
> 
> I can?

Yes. Typically you would have two "layers": One for your vectors, one
for your satellite imagery. You would then turn them both on -- with the
satellite being on the bottom -- and get 'hybrid' imagery.

If you care about them actually being seperate images, you could serve
them up on top of each other in a web interace: see
http://openaerialmap.org/map/?zoom=4&lat=35.85938&lon=-87.53906&layers=BT
for an example in OpenLayers.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MAPSERVER-USERS] Missing required parameter BBOX

2008-03-05 Thread Christopher Schmidt
On Wed, Mar 05, 2008 at 11:31:34AM -0800, cfb wrote:
> 
> Hi again,
> 
> I'm having problems with the projections of my WMS (working with MapServer
> 5.0.2 for Windows). I've changed the SRS of the header's mapfile into EPSG
> 4326 (before it was EPSG 23030), and also the epsg of one layer (which
> reference system I'd already changed to 4326). I'd left the other layer with
> EPSG 23030.
> 
> When I try to GetMap with a client the WMS works but I don't see the image
> (sid), I get this error: 
> "msWMSLoadGetMapParams(): WMS server error. Missing required parameter BBOX"

What is the URL you are using? Does it have a bbox in it?


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


Re: [mapserver-users] tile server

2008-03-25 Thread Christopher Schmidt
On Tue, Mar 25, 2008 at 12:08:13PM +0100, Milo van der Linden wrote:
> Hello All,
> 
> I recovered the post where I found how remote tiles from a WMS-C cache 
> are supported here:
> http://wiki.openaerialmap.org/Using_With_MapServer
> 
> Now, what I want to use this structure for is to get OpenStreetMap maps 
> served as layers in my mapserver. OpenStreetMap uses mapnik to serve the 
> tile layers, they are accessed in the form:
> 
> http://tile.openstreetmap.org/7/63/42.png
> 
> How would an xml file be set up to serve this as a layer?

You can't. OSM uses "Google" style tile indexes, OpenAerialMap has
support for "TMS" style tile indexes. GDAL only supports the latter. So
the answer is "patch GDAL".

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] What's the correct reference to MapServer now for Info linking?

2008-04-01 Thread Christopher Schmidt
On Tue, Apr 01, 2008 at 12:23:43PM -0500, Bob Basques wrote:
> All,
>  
> What from below is most correct?
>  
> OSGeo's MapServer
>  
> UofM's MapServer
>  
> OSGeo's, UofM MapServer.
>  
> I'm using the last example right now, but . . . .

I would say that the answer to this is "MapServer", in the same way tha
the answer would similarly be "GDAL/OGR", "OpenLayers", and "KaMap" 
for those projects. (The last is the one in which I'd be most tempted to
refer to it as "DM Solutions' KaMap", but I'd probably avoid it given
the number of non-DM contributors.)  

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Building mapserver on Sparc Solaris 10

2008-04-16 Thread Christopher Schmidt
On Wed, Apr 16, 2008 at 03:25:22PM +0400,   wrote:
>Hello, All!
> I'm trying to make a working instance of UMN-MapServer on Solaris sparc 10
> u4.
> Tha main problem is with GDAL's making.
> Because of using solaris companion DVD products, I have most of essential
> libraries
> in /usr/sfw/ , not in /usr/ local/ 
> I'm using configure with such set of params:
>  
> --with-geotiff=internal --with-tiff=internal --with-png=internal
> --withjpg=internal --without-python --with-curl=/usr/sfw/bin/curl-config

I believe this is because your version of curl is too old.

-- Chris

> In gmake all is going fine, untill.
>  
> libtool: compile:  g++ -g -O2 -Wall
> -I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/port
> -I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/gcore
> -I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/alg
> -I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/ogr
> -I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/ogr/ogrsf_frm
> ts -DOGR_ENABLED
> -I/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/port -c
> gdalhttp.cpp  -fPIC -DPIC -o ../o/.libs/gdalhttp.o
> gdalhttp.cpp: In function `CPLErr CPLHTTPFetchMulti(CPLHTTPRequest*, int,
> const char* const*)':
> gdalhttp.cpp:209: error: `CURLINFO_RESPONSE_CODE' was not declared in this
> scope
> gdalhttp.cpp:209: warning: unused variable 'CURLINFO_RESPONSE_CODE'
> gmake[2]: *** [../o/gdalhttp.o] Error 1
> gmake[2]: Leaving directory
> `/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/frmts/wms'
> gmake[1]: *** [wms-install-obj] Error 2
> gmake[1]: Leaving directory
> `/export/home/admin/mapserver/mapserver-5.0.2/GDAL/gdal-1.5.1/frmts'
> gmake: *** [frmts-target] Error 2
> gmake
>  
>  
> Who can consult me, what to do, to obtain a working copy of mapserver on
> Sparc WITH GDAL?
> Can I build GDAL with "--without-curl" option?
> Without GDAL all is working fine, until sample 1.5 in tutorials :-)))
>  
> Two days ago i had builded Mapserver with GDAL 1.4.0, maked without curl.
> It's really using libgdal.so because if this file is renamed the error "
> lib... is not found." is reporting in web server's logs.
> But 1.5 sample returns:
> msDrawMap(): Image handling error. Failed to draw layer named 'modis'.
> msDrawRasterLayerLow(): General error message. Attempt to render raster
> layer to IMAGEMODE RGB or RGBA but without GDAL available. 24bit output
> requires GDAL.
> 1.6 returns:
> loadProjection(): Projection library error. Projection support is not
> available.
> What I have to do to obtain working instance of mapserver with projections &
> basic raster formats (png,gif,tiff,jpeg)support?
> Sincerely Yours
>  
>  
>  
>  

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


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


Re: [mapserver-users] Detect and stop click on custom div inside map div

2008-04-17 Thread Christopher Schmidt
On Thu, Apr 17, 2008 at 08:38:30AM +0200, Lid Sjur Ringheim wrote:
> Hello all,

You should resend this question to the OpenLayers mailing list. It's not
on topic for the MapServer mailing list.

> Im at the moment experimenting with OpenLayers and trying to create a  
> element on top of the map that should contain a legend of the layers in the 
> map. 
Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WMS cascading

2008-04-17 Thread Christopher Schmidt
On Thu, Apr 17, 2008 at 03:00:57PM +0200, Luca Casagrande wrote:
> On Thursday 17 April 2008 01:19:29 TC Haddad wrote:
> > Luca,
> >
> > you must specify 23033 in the MAP projection definition, and 4326 in
> > both parts of the LAYER /metadata definition. Then Mapserver will know
> > to reproject from one to the other.
> >
> 
> 
> Thanks for your answer, right now I can use the layer inside Qgis.
> Now I have noticed a strange things: if I make a request with
> WIDTH:256 HEIGHT: 256, it draws a white image. With 512x52 all is fine.
> 
> Am I missing some other settings?

If you're using the NASA JPL WMS, I believe that this is an expected
limitation of that WMS server... at least, we've had that problem in
OpenLayers.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Investigating OpenLayers -> MapServer (WMS) -> OGR -> db

2008-04-18 Thread Christopher Schmidt
On Fri, Apr 18, 2008 at 12:31:24PM -0500, P Kishor wrote:
> SELECT wkt_geometry FROM  WHERE 
> 
> That is what I want to investigate. What exactly is OGR/MapServer
> executing? What is the form of "WHERE  BBOX>"? How can I log this level of detail?

You'll likely need to modify OGR to log this level of detail. In
general, this type of logging is done by the 'server' in DB
environments: Since SQLIte doesn't *have* a server, I don't think
there's any way to do this external to OGR, and I don't believe that
it's an existing feature of the OGR sqlite driver.

In any case, MapServer is the wrong list for this: gdal-dev is probably
the right place to go.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapServier and OpenLayers - with PHP?

2008-04-18 Thread Christopher Schmidt
On Fri, Apr 18, 2008 at 02:45:12PM -0500, Richard Marsden wrote:
> This looks simple enough, except for the MapScript URL! Where does it 
> get the map file from?

1. '/wms/vmap0' doesn't use Mapscript, it uses MapServer as a CGI.
2. That path is a minimal CGI: it looks like:

{{{

#!/bin/sh
export MS_MAPFILE=/www/labs/map/vmap0.map
exec /usr/lib/cgi-bin/mapserv

}}}

There's nothing hidden here, it just makes the URL prettier. You can
equally do:

http://localhost/cgi-bin/mapserv?map=/www/labs/map/vmap0.map 

instead.

> How would I get this to work with PHP, considering I can't get  CGI to work?

I would suggest that getting CGI to work is likely to be a better path
than trying to write a WMS request handler in PHP. Perhaps you should
expand on why it doesn't work: you mentioned not being able to restart
Apache: is that something that a web host could help you resolve? Does
your web host allow you to run CGI executables? 

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Investigating OpenLayers -> MapServer (WMS) -> OGR -> db

2008-04-20 Thread Christopher Schmidt
On Sat, Apr 19, 2008 at 09:59:56PM +0100, Rob wrote:
> Or you could turn tracing on at the database side to see what SQL requests
> it receives?  I'm only familiar with oracle, but you could do this in Oracle
> using the 'alter system set sql_trace=true' command and checking the udump
> directoty for logs.
> 

As I said:

"""
In general, this type of logging is done by the 'server' in DB
environments: Since SQLIte doesn't *have* a server, 
"""

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Large scale PDF output on Windows

2008-04-23 Thread Christopher Schmidt
On Wed, Apr 23, 2008 at 01:30:12PM +0200, Kristian Thy wrote:
> I'm trying to generate pdf output from mapserver to be printed in A3
> format at 600 dpi (which is not negotiable). We're currently using the
> 5.0.2 binary from ms4w, which has a limitation of 2048 px square. I have
> calculated I need 9921 by 7015 px output.
> 
> Before I prostrate myself before the altar and make sacrifices to the
> gods of compiling-mapserver-on-windows, can anybody confirm that output
> of this size is indeed possible? The only thing I can find through
> Google is this post from Ed McNierney - four and a half years old:

You don't need to recompile anymore. You can change this in a mapfile
setting. (I don't know what it is, I'm sure that someone else will tell
you: but wanted to make sure you got stopped before you started
compiling.) 

And yes, output of that size is possible. I believe that when I was
talking to pagameba, he was talking about rendering on the order of 50
x 50 256 px tiles -- about 1 by 1 or more. At that point, you
may be limited by memory limits of some kind, depending on your
rendering rules... but someone else can comment on that as well.



> http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0309/msg00417.html
> 
> \\kristian
> -- 
> ... et nemo ex vobis interrogat me: »Quo vadis?«
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

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


Re: [mapserver-users] can mapserver stitch together maps?

2008-05-16 Thread Christopher Schmidt
On Fri, May 16, 2008 at 02:29:02PM -0700, Wendell Turner wrote:
> I'm using gdal utilities to split up a GeoTIFF to make tiles
> of a map, and OpenLayers to display it.  That works fine for
> one map.  I have many maps, and the left edge of one is the
> right edge of the next; also the bottom edge of one is the
> top edge of another, etc.
> 
> Q: does mapserver handle this?  

Yes, via tileindexes.

> Is that what the .xml file defines?  

I'm not aware of any .xml files used in MapServer.

> Is there an example/recipe showing this?

http://mapserver.gis.umn.edu/docs/howto/raster_data/#rasters-and-tile-indexing

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] How to select layers in Getmap

2008-06-04 Thread Christopher Schmidt
On Wed, Jun 04, 2008 at 01:45:42PM +0200, Gabriel Messner wrote:
> Hi all,
> 
> I´ve running a WMS server with Mapserver. When I execute GetMap selecting
> just one or two layers (&LAYERS=layer1,layer2) my WMS servers retreives all
> layers of the GetCapabilities document.
> 
> What i´m doing wrong?.


What is the "STATUS" of the layers in your mapfile? "ON" will let them
be requested -- "DEFAULT" will deliver them always, whether they are
requested or not.

REgards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users