Re: [mapserver-users] How do I make a shapefile polygon thicker within UMN Mapserver

2008-05-08 Thread Jackey Cheung
The good news is, if I recall correctly, starting from MapServer 5.0, the
WIDTH parameter affects the width of the outline of polygon layers.


On Fri, May 9, 2008 at 1:14 AM, Bart van den Eijnden (OSGIS) <
[EMAIL PROTECTED]> wrote:

> See the FAQ under section
>
>
> How do I set line width in my maps?
>
> http://mapserver.gis.umn.edu/docs/faq
>
> Best regards,
> Bart
>
> John Mitchell wrote:
>
>> Hi,
>>
>> How do I make a shapefile polygon thicker within UMN Mapserver?
>>
>> I have listed below the layer that correctly displays the outlines
>> contained within the shapefile, but I can't figure out how to make the
>> polygon outlines thicker.
>>
>>
>> LAYER
>>  # name of layer
>>  NAME stlouisxdrive
>>  GROUP "gv:stlouisxdrive"
>>
>>  PROJECTION
>>   "init=epsg:26915"
>>  END
>># what type of data is this?
>>  TYPE POLYGON
>>DATA "C:/TEMP/64Resolution"
>>
>>  # always returned with interface
>>  STATUS ON
>>
>>CLASS
>>OUTLINECOLOR 255 0 0
>>END
>>  END
>>
>>
>> --
>> John J. Mitchell
>> 
>>
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> [EMAIL PROTECTED]
> http://www.osgis.nl
>
>
> ___
> 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] How do I make a shapefile polygon thicker within UMN Mapserver

2008-05-08 Thread Bart van den Eijnden (OSGIS)

See the FAQ under section


 How do I set line width in my maps?

http://mapserver.gis.umn.edu/docs/faq

Best regards,
Bart

John Mitchell wrote:

Hi,

How do I make a shapefile polygon thicker within UMN Mapserver?

I have listed below the layer that correctly displays the outlines 
contained within the shapefile, but I can't figure out how to make the 
polygon outlines thicker.



LAYER
  # name of layer
  NAME stlouisxdrive
  GROUP "gv:stlouisxdrive"

  PROJECTION
   "init=epsg:26915"
  END
 
  # what type of data is this?

  TYPE POLYGON
 
  DATA "C:/TEMP/64Resolution"


  # always returned with interface
  STATUS ON

CLASS
OUTLINECOLOR 255 0 0
END
 END


--
John J. Mitchell


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



--
Bart van den Eijnden
OSGIS, Open Source GIS
[EMAIL PROTECTED]
http://www.osgis.nl

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


Re: [mapserver-users] How do I make a shapefile polygon thicker within UMN Mapserver

2008-05-08 Thread Dean Gadoury
Oops. Sorry about that. Hit send by accident.

LAYER
  NAME stlouisxdrive
  GROUP "gv:stlouisxdrive"
  PROJECTION
   "init=epsg:26915"
  END

  TYPE LINE

  DATA "C:/TEMP/64Resolution"

  STATUS ON
CLASS
   STYLE
 COLOR 255 0 0
 WIDTH 2
   END
END
 END

If you are using Mapserver 5.x this will work. If you are using an older
version, you will need to use the method another user suggested using the
circle symbol.

Dean

On Thu, May 8, 2008 at 1:23 PM, Dean Gadoury <[EMAIL PROTECTED]> wrote:

> I don't think you can change the thickness of  a polygon's outline. You may
> have to draw the layer twice, once as TYPE POLYGON, then again ad TYPE LINE.
> MapServer actually allows you to draw polygon features as lines. With line
> layers you can change the thickness of features.
>
> Your second layer could be done like this:
>
> LAYER
>   NAME stlouisxdrive
>   GROUP "gv:stlouisxdrive"
>   PROJECTION
>"init=epsg:26915"
>   END
>
>   TYPE LINE
>
>   DATA "C:/TEMP/64Resolution"
>
>   STATUS ON
> CLASS
>   STYLE
> COLOR 255 0 0
> END
>  END
>
> On Thu, May 8, 2008 at 1:09 PM, John Mitchell <[EMAIL PROTECTED]>
> wrote:
>
>> Hi,
>>
>> How do I make a shapefile polygon thicker within UMN Mapserver?
>>
>> I have listed below the layer that correctly displays the outlines
>> contained within the shapefile, but I can't figure out how to make the
>> polygon outlines thicker.
>>
>>
>> LAYER
>>   # name of layer
>>   NAME stlouisxdrive
>>   GROUP "gv:stlouisxdrive"
>>
>>   PROJECTION
>>"init=epsg:26915"
>>   END
>>
>>   # what type of data is this?
>>   TYPE POLYGON
>>
>>   DATA "C:/TEMP/64Resolution"
>>
>>   # always returned with interface
>>   STATUS ON
>>
>> CLASS
>> OUTLINECOLOR 255 0 0
>> END
>>  END
>>
>>
>> --
>> John J. Mitchell
>> ___
>> 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] How do I make a shapefile polygon thicker within UMN Mapserver

2008-05-08 Thread Dean Gadoury
I don't think you can change the thickness of  a polygon's outline. You may
have to draw the layer twice, once as TYPE POLYGON, then again ad TYPE LINE.
MapServer actually allows you to draw polygon features as lines. With line
layers you can change the thickness of features.

Your second layer could be done like this:

LAYER
  NAME stlouisxdrive
  GROUP "gv:stlouisxdrive"
  PROJECTION
   "init=epsg:26915"
  END

  TYPE LINE

  DATA "C:/TEMP/64Resolution"

  STATUS ON
CLASS
  STYLE
COLOR 255 0 0
END
 END

On Thu, May 8, 2008 at 1:09 PM, John Mitchell <[EMAIL PROTECTED]>
wrote:

> Hi,
>
> How do I make a shapefile polygon thicker within UMN Mapserver?
>
> I have listed below the layer that correctly displays the outlines
> contained within the shapefile, but I can't figure out how to make the
> polygon outlines thicker.
>
>
> LAYER
>   # name of layer
>   NAME stlouisxdrive
>   GROUP "gv:stlouisxdrive"
>
>   PROJECTION
>"init=epsg:26915"
>   END
>
>   # what type of data is this?
>   TYPE POLYGON
>
>   DATA "C:/TEMP/64Resolution"
>
>   # always returned with interface
>   STATUS ON
>
> CLASS
> OUTLINECOLOR 255 0 0
> END
>  END
>
>
> --
> John J. Mitchell
> ___
> 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] How do I make a shapefile polygon thicker within UMN Mapserver

2008-05-08 Thread John Mitchell
Hi,

How do I make a shapefile polygon thicker within UMN Mapserver?

I have listed below the layer that correctly displays the outlines contained
within the shapefile, but I can't figure out how to make the polygon
outlines thicker.


LAYER
  # name of layer
  NAME stlouisxdrive
  GROUP "gv:stlouisxdrive"

  PROJECTION
   "init=epsg:26915"
  END

  # what type of data is this?
  TYPE POLYGON

  DATA "C:/TEMP/64Resolution"

  # always returned with interface
  STATUS ON

CLASS
OUTLINECOLOR 255 0 0
END
 END


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