[mapserver-users] missing symbol file on mapserver.org

2009-01-31 Thread percy

There's a broken link on
http://www.mapserver.org/mapfile/symbology/construction.html

The symbol file which is referenced throughout the document is missing:
http://www.mapmedia.de/dokumente/umn_signaturen_howto/vortrag_demo.zip

Arnulf appears to be on travel, so I thought I'd toss it out here. I 
could use some better polygon fills, and some of those look pretty good!

:-)

Thanks,
Percy

--
David Percy
Geospatial Data Manager
Geology Department
Portland State University
http://gisgeek.pdx.edu
503-725-3373
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] broken link for cartographic symbols

2009-01-31 Thread percy

Oops, I just posted the same error!
:-)

bart...@osgis.nl wrote:

Hi list,

just wanted to report that the link to the example symbolset from
Cartographic Symbol Construction with Mapserver
(http://mapserver.org/mapfile/symbology/construction.html) is broken.

i.e.:
http://www.mapmedia.de/dokumente/umn_signaturen_howto/vortrag_demo.zip

is broken. Would be nice if it could be fixed since this is still very
much useful material.

Best regards,
Bart

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



--
David Percy
Geospatial Data Manager
Geology Department
Portland State University
http://gisgeek.pdx.edu
503-725-3373
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] missing symbol file on mapserver.org

2009-01-31 Thread Lars Lingner
percy schrieb:
 There's a broken link on
 http://www.mapserver.org/mapfile/symbology/construction.html
 
 The symbol file which is referenced throughout the document is missing:
 http://www.mapmedia.de/dokumente/umn_signaturen_howto/vortrag_demo.zip
 

The new URL is
http://www.mapmedia.de/fileadmin/user_upload/dokumente/umn_signaturen_howto/
vortrag_demo.zip

So for other link you have to replace

 http://www.mapmedia.de/dokumente/umn_signaturen_howto/

with

 http://www.mapmedia.de/fileadmin/user_upload/dokumente/umn_signaturen_howto/



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


[mapserver-users] map server wms request

2009-01-31 Thread cemre yilmaz
Hello everybody;

I am trying to learn how WMS working with cmpatible with MapServer. So I set
up MapServer OGC workshop package. But I have a problem when I want to send
WMS Get capabilities request, there is a wndow asking me if I want to save
mapserv.exe or run it. In mapserver documnetation there is written that
problem can be solved by *You could configure your web browser to handle the
application/vnd.ogc.wms_xml MIME type a certain way (i.e.open in Notepad,
etc.). *

*What should I do for configuring my browser? If you know please write me as
soon as possible it is very urgent for me.*

*Thanks Cemre Y. **

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


Re: [mapserver-users] missing symbol file on mapserver.org

2009-01-31 Thread Jeff McKenna

Lars Lingner wrote:


The new URL is
http://www.mapmedia.de/fileadmin/user_upload/dokumente/umn_signaturen_howto/
vortrag_demo.zip

So for other link you have to replace

 http://www.mapmedia.de/dokumente/umn_signaturen_howto/

with

 http://www.mapmedia.de/fileadmin/user_upload/dokumente/umn_signaturen_howto/




Thanks Lars and Percy, I have committed the changes for the links in the 
document.


-jeff



--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/


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


AW: [mapserver-users] map server wms request

2009-01-31 Thread Arnd Wippermann
Hi,
 
there is nothing wrong. Save mapserv.exe and open the file with an ascii editor 
(notepad) by yourself. The contents should be the GetCapabilities document or 
if something failed an error message. The configuration of the browser only 
allows you to open the document immediately without saving the response of your 
request. But the result is the same.
 
Arnd Wippermann

  _  

Von: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag von cemre yilmaz
Gesendet: Samstag, 31. Januar 2009 15:47
An: mapserver-users@lists.osgeo.org
Betreff: [mapserver-users] map server wms request



Hello everybody;


I am trying to learn how WMS working with cmpatible with MapServer. So I set up 
MapServer OGC workshop package. But I have a problem when I want to send WMS 
Get capabilities request, there is a wndow asking me if I want to save 
mapserv.exe or run it. In mapserver documnetation there is written that problem 
can be solved by You could configure your web browser to handle the 
application/vnd.ogc.wms_xml MIME type a certain way (i.e.open in Notepad, 
etc.). 

What should I do for configuring my browser? If you know please write me as 
soon as possible it is very urgent for me.

Thanks Cemre Y. 



___
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 Tony Frame
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});

Regards
Tony

- Original Message - 
From: Alexandre Dube ad...@mapgears.com

To: Rafael chacón rafaelcha...@gmail.com
Cc: mapserver-users@lists.osgeo.org
Sent: Friday, 30 January, 2009 9:31 PM
Subject: Re: [mapserver-users] Problem with transparency overlays



Hi Rafael,

Here's what the doc has to say about the TRANSPARENT option in the MAP 
object :



TRANSPARENT [on|off]

   Use FORMATOPTION “TRANSPARENT=ON” in the /OUTPUTFORMAT/
   http://mapserver.org/mapfile/outputformat.html#outputformat
   declaration to specify if the output images should be transparent.

   Deprecated since version 4.6.



So you should use OUTPUTFORMAT, for example like this :


OUTPUTFORMAT
NAME agg
MIMETYPE image/png
DRIVER AGG/PNG
EXTENSION png
IMAGEMODE RGBA
TRANSPARENT ON
FORMATOPTION INTERLACE=OFF
END

(the above example uses the AGG driver)

Then, in your Openlayers layer's definition, use this param :
roads = new OpenLayers.Layer.MapServer( Roads,
http://192.168.1.100/cgi-bin/mapserv?map=us_states.map;,
{layers: 'us_roads', map_imagetype: 'agg'}, {isBaseLayer:false});

The transparent option has no effects on a Layer.MapServer. It would 
have on a Layer.WMS though.


Be sure to look at the OUTPUTFORMAT documentation to pick the right image 
type you want to use.


Hope this helps,

Alexandre

Rafael chacón wrote:
Hi, I'm having some trouble with transparency layers appear/disappear. 
I'm working with MapServer and Openlayers... I want two layers to overlay 
but when I choose to show one the other one hides... Here is some of my 
code Thanks for the help :)


Mapserver File:

MAP
size 800 600
imagetype 'gif'
TRANSPARENT ON
imagecolor 0 0 255
extent -180 -90 180 90
SYMBOLSET symbols
PROJECTION
init=epsg:4269
END

WEB
IMAGEPATH /var/www/apache2-default/gis_tests/tmp/
IMAGEURL /apache2-default/gis_tests/tmp/
TEMPLATE empty.html

metadata
wms_title us_states
wms_srs EPSG:4269
end
end


___

OPenlayers:

layer = new OpenLayers.Layer.MapServer( Estados unidos,
http://192.168.1.100/cgi-bin/mapserv?map=us_states.map;,
{layers: 'us_states', 'format':'image/png'});
roads = new OpenLayers.Layer.MapServer( Roads,
http://192.168.1.100/cgi-bin/mapserv?map=us_states.map;,
{layers: 'us_roads',transparent: 'true', 'format':'image/png'}, 
{isBaseLayer:false});

gps = new OpenLayers.Layer.MapServer( GPS,
http://192.168.1.100/cgi-bin/mapserv?map=us_states.map;,
{layers: 'gps_points', transparent: 'true', 'format':'image/png' }, 
{isBaseLayer:false});


roads.setVisibility(false);
gps.setVisibility(false);


--
Rafael Chacon,

El hombre es la medida de todas las cosas. Protagoras


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




--
Alexandre Dubé
Mapgears
www.mapgears.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


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


[mapserver-users] label FOLLOW and OFFSET

2009-01-31 Thread Tim Norris

Hi all,

I have been playing with the FOLLOW label directive. What I am trying to
achieve is a label that follows the street that is also OFFSET so that
the label does not land on the line for the street, but instead 'above'
it. Below is the LABEL directives that I am using, but note that I have
also tried using the POSITION UC as well as the OFFSET 0 -6, but both
give the same results. Please see the attached JPG image, you can see
that 'M PARDO' is correct but that 'JR JUNIN' is not.

  LABEL
COLOR 0 0 0
OUTLINECOLOR 255 255 255
TYPE TRUETYPE
FONT ArialBold
SIZE 7
ANTIALIAS TRUE
ANGLE FOLLOW
PARTIALS FALSE
MINFEATURESIZE 40
MINDISTANCE 50
OFFSET 0 -6
BUFFER 7
  END

Any ideas as to why this is not working? I took a quick look in
maplabel.c, but could not see anything obvious . . .

thanks
tim

Tim Norris


inline: example.jpg___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] label FOLLOW and OFFSET

2009-01-31 Thread Stephen Woodbridge

Sorry Tim,

OFFSET is not support with ANGLE FOLLOW

-Steve W

Tim Norris wrote:

Hi all,

I have been playing with the FOLLOW label directive. What I am trying to
achieve is a label that follows the street that is also OFFSET so that
the label does not land on the line for the street, but instead 'above'
it. Below is the LABEL directives that I am using, but note that I have
also tried using the POSITION UC as well as the OFFSET 0 -6, but both
give the same results. Please see the attached JPG image, you can see
that 'M PARDO' is correct but that 'JR JUNIN' is not.

  LABEL
COLOR 0 0 0
OUTLINECOLOR 255 255 255
TYPE TRUETYPE
FONT ArialBold
SIZE 7
ANTIALIAS TRUE
ANGLE FOLLOW
PARTIALS FALSE
MINFEATURESIZE 40
MINDISTANCE 50
OFFSET 0 -6
BUFFER 7
  END

Any ideas as to why this is not working? I took a quick look in
maplabel.c, but could not see anything obvious . . .

thanks
tim

Tim Norris








___
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