Re: [mapserver-users] installing mapserver in cygwin - regex.c problem

2014-10-21 Thread Gery
The solution is here:
http://gis.stackexchange.com/questions/118943/installing-mapserver-in-cygwin-regex-c-problem/118969#118969



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/installing-mapserver-in-cygwin-regex-c-problem-tp5168357p5168627.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


Re: [mapserver-users] RE Rendering OSM data with MapServer+MapCache

2014-10-21 Thread Juanma M. R.
Hi Steve,

Thanks for your link. I will check it right now to see if I could learn
something about how to replicate the drawing styles from OSM servers but
using mapserver. The main problem is that the styles I use show less
information than the ones in OSM servers.

I only use basemaps to configure the mapfiles for OSM, but I don't know how
to do it to generate a mapfile that draws OSM servers styled maps.

Regards,

Juan Manuel Moreno Rivera.

Sección de Teledetección y SIG / Remote Sensing  GIS group

Instituto de Desarrollo Regional / Institute for Regional Development

Universidad de Castilla-La Mancha / University of Castilla-La Mancha

Tlf: +34 967599200 (Ext: 2623)
http://www.teledeteccionysig.es/

2014-10-07 18:23 GMT+02:00 steve.tout...@inspq.qc.ca:

 I'm sorry I just saw the link you provided that uses basemap.
 I didn't read it but hopefully you'll find some answers in the link I
 provided



  *Juanma M. R. juanma...@gmail.com
 juanma...@gmail.com@lists.osgeo.org http://lists.osgeo.org*
 Envoyé par : mapserver-users-boun...@lists.osgeo.org

 2014-10-07 12:13
   A
 mapserver-users@lists.osgeo.org mapserver-users@lists.osgeo.org
 cc
   Objet
 [mapserver-users] Rendering OSM data with MapServer+MapCache






 Dear list,

 I have managed to install and configure succesfully a server showing data
 from OSM with the MapServer+MapCache convination. I followed these
 *instructions*
 https://github.com/mapserver/mapserver/wiki/Rendering-OSM-data-on-Ubuntu-12.04
  and
 some hacks that were necessary.

 The issue is that I have migrated from a mapnik+mod_tile server because
 some requirements that it didn't acomplished but the rendering of the map
 with mapnik was the same as the one shown in the OSM server.

 I also managed to configure a mapserver (without cache feature) with a
 .map file styling OSM but it is neither the one from OSM server.

 Does anyone know how to apply this style, the one from OSM server, to this
 data being renderd by MapServer? Does anyone done the migration from the
 OSM server style to mapfile or XML format for MapServer?

 Regards,
 Juan Manuel Moreno Rivera.

 Sección de Teledetección y SIG / Remote Sensing  GIS group

 Instituto de Desarrollo Regional / Institute for Regional Development

 Universidad de Castilla-La Mancha / University of Castilla-La Mancha

 Tlf: +34 967599200 (Ext: 2623)

 *http://www.teledeteccionysig.es/* http://www.teledeteccionysig.es/
 ___
 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] RE Rendering OSM data with MapServer+MapCache

2014-10-21 Thread Juanma M. R.
Hi again,

I think that the link is based on basemaps but I don't know how to modify
the basemaps generate_style.py and Makefile to change maps drawing. It
seems that there is no documentation for customizing basemaps.

I will go on looking for it and maybe I will have to configure my map
adding part of the information with my own rules in the OSM servers style.
However it is extrange nobody has migrated OSM new style to mapserver
mapfile. It would be a good point for mapserver as OSM data server.

Regards,
Juan Manuel Moreno Rivera.

Sección de Teledetección y SIG / Remote Sensing  GIS group

Instituto de Desarrollo Regional / Institute for Regional Development

Universidad de Castilla-La Mancha / University of Castilla-La Mancha

Tlf: +34 967599200 (Ext: 2623)

http://www.teledeteccionysig.es/

2014-10-21 14:12 GMT+02:00 Juanma M. R. juanma...@gmail.com:

 Hi Steve,

 Thanks for your link. I will check it right now to see if I could learn
 something about how to replicate the drawing styles from OSM servers but
 using mapserver. The main problem is that the styles I use show less
 information than the ones in OSM servers.

 I only use basemaps to configure the mapfiles for OSM, but I don't know
 how to do it to generate a mapfile that draws OSM servers styled maps.

 Regards,

 Juan Manuel Moreno Rivera.

 Sección de Teledetección y SIG / Remote Sensing  GIS group

 Instituto de Desarrollo Regional / Institute for Regional Development

 Universidad de Castilla-La Mancha / University of Castilla-La Mancha

 Tlf: +34 967599200 (Ext: 2623)
 http://www.teledeteccionysig.es/

 2014-10-07 18:23 GMT+02:00 steve.tout...@inspq.qc.ca:

 I'm sorry I just saw the link you provided that uses basemap.
 I didn't read it but hopefully you'll find some answers in the link I
 provided



  *Juanma M. R. juanma...@gmail.com
 juanma...@gmail.com@lists.osgeo.org http://lists.osgeo.org*
 Envoyé par : mapserver-users-boun...@lists.osgeo.org

 2014-10-07 12:13
   A
 mapserver-users@lists.osgeo.org mapserver-users@lists.osgeo.org
 cc
   Objet
 [mapserver-users] Rendering OSM data with MapServer+MapCache






 Dear list,

 I have managed to install and configure succesfully a server showing data
 from OSM with the MapServer+MapCache convination. I followed these
 *instructions*
 https://github.com/mapserver/mapserver/wiki/Rendering-OSM-data-on-Ubuntu-12.04
  and
 some hacks that were necessary.

 The issue is that I have migrated from a mapnik+mod_tile server because
 some requirements that it didn't acomplished but the rendering of the map
 with mapnik was the same as the one shown in the OSM server.

 I also managed to configure a mapserver (without cache feature) with a
 .map file styling OSM but it is neither the one from OSM server.

 Does anyone know how to apply this style, the one from OSM server, to
 this data being renderd by MapServer? Does anyone done the migration from
 the OSM server style to mapfile or XML format for MapServer?

 Regards,
 Juan Manuel Moreno Rivera.

 Sección de Teledetección y SIG / Remote Sensing  GIS group

 Instituto de Desarrollo Regional / Institute for Regional Development

 Universidad de Castilla-La Mancha / University of Castilla-La Mancha

 Tlf: +34 967599200 (Ext: 2623)

 *http://www.teledeteccionysig.es/* http://www.teledeteccionysig.es/
 ___
 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] Trouble with last dev in the GetFeatureInfo.

2014-10-21 Thread Lime, Steve D (MNIT)
You can certainly do:

  DATA geometry from (select * mytest.layer1 where FOGLIO like '%idtpn%') 
using unique gid srid=25832

and access all attributes. All of the database back-ends, including OGR, 
support a similar syntax where a where clause is embedded in the DATA 
statement.

Steve

-Original Message-
From: Andrea Peri [mailto:aperi2...@gmail.com] 
Sent: Monday, October 20, 2014 2:53 PM
To: Lime, Steve D (MNIT)
Cc: Even Rouault; mapserver-users@lists.osgeo.org; Andrea Peri
Subject: Re: [mapserver-users] Trouble with last dev in the GetFeatureInfo.

Hi Steve,

thx for hint ,

DATA geometry from (select geometry mytest.layer1 where FOGLIO like 
'%idtpn%') using unique gid srid=25832

I dont know this sintax.
It will support the access to all the attributes of the table without need to 
list them ?
I like the old sintax because access all the fields without need to list them 
one by one in the query.

Also I like to know if this alternative sintax is supported from Spatialite (by 
ogr)

We use it with mapserver more often then postgis.

Thx,

Andrea.



2014-10-20 21:20 GMT+02:00 Lime, Steve D (MNIT) steve.l...@state.mn.us:
 Hmmm... This should have still been interpreted as native SQL without adding 
 the FILTERITEM (did that work by the way?). This is an example of a 
 configuration that will change once 7.0 is completely ready.

 Regardless, instead of using a FILTER, it would be simpler to just put the 
 where clause in the DATA statement itself, e.g.:

   DATA geometry from (select geometry mytest.layer1 where FOGLIO like 
 '%idtpn%') using unique gid srid=25832

 Steve

 -Original Message-
 From: mapserver-users-boun...@lists.osgeo.org 
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Andrea 
 Peri
 Sent: Sunday, October 19, 2014 11:11 AM
 To: Even Rouault
 Cc: mapserver-users@lists.osgeo.org
 Subject: Re: [mapserver-users] Trouble with last dev in the GetFeatureInfo.

 Hi Even,

 thx for precious info.

 So is sufficient add the
 FILTERITEM.
 :)

 Thx,

 A.


 2014-10-19 17:37 GMT+02:00 Even Rouault even.roua...@spatialys.com:
 Le dimanche 19 octobre 2014 10:39:19, Andrea Peri a écrit :
 Hi,
 I upgrade to the last dev of mapserver.

 After this, I'm having some troubles when go to do Identify on a 
 layer with a GetFeatureInfo.

 Now I'm havig this error:

 [Sun Oct 19 10:32:25 2014].523176 msEvalExpression(): General error 
 message. Cannot evaluate expression, no item index defined.

 I'm using a postgis to host the layer and this is the setting:

 CONNECTIONTYPE POSTGIS
 CONNECTION host=localhost dbname=test user=test password=test 
 port=5432 DATA geometry from mytest.layer1 using unique gid srid=25832
 FILTER (FOGLIO like '%idtpn%')
 VALIDATION
   'idtpn' '^[a-zA-Z0-9\-_]+$'
   'default_idtpn' '%'
 END

 This setting work for me before, so I guess there is some change to 
 do in mapfile settings, but I don't understand what.

 Any hints ?

 Andrea,

 I believe this is a consequence of
 http://mapserver.org/development/rfc/ms-
 rfc-91.html where FILTER without FILTERITEM is now interpreted as a 
 MapServer expression in all cases, and not a SQL filter for PostGIS 
 connections.

 Although there are following disucssions on that email. See the 
 following thread :
 http://lists.osgeo.org/pipermail/mapserver-dev/2014-September/014228.
 h
 tml

 Even

 --
 Spatialys - Geospatial professional services http://www.spatialys.com



 --
 -
 Andrea Peri
 . . . . . . . . .
 qwerty àèìòù
 -
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



--
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Mapserver wms request throws error when trying to load SLD file

2014-10-21 Thread Bill Hudspeth
Hello,

Thanks Jeff for answering my questions about Mapserv executables and path on 
Ubuntu Linux. I can now view my raster image fine, but I am trying to apply an 
SLD file and get the error:

?xml version='1.0' encoding=ISO-8859-1 standalone=no ?
!DOCTYPE ServiceExceptionReport SYSTEM 
http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd;
ServiceExceptionReport version=1.1.1
ServiceException
msSLDApplySLDURL: WMS server error. Could not open SLD 
http://localhost/var/www/pm25_geoserver/public_html/pm25_sld.xml and save it in 
a temporary file. Please make sure that the sld url is valid and that the 
temporary path is set. The temporary path can be defined for example by setting 
TMPPATH in the map file. Please check the MapServer documentation on temporary 
path settings.
msHTTPExecuteRequests(): HTTP request error. HTTP GET request failed with 
status 403 () for 
http://localhost/var/www/pm25_geoserver/public_html/pm25_sld.xml
/ServiceException
/ServiceExceptionReport


I have set my temp file path in the Web section of the mapfile to:

WEB
  TEMPPATH /tmp/
  IMAGEPATH /tmp/
  IMAGEURL /tmp/
END

and my SLD is:

?xml version=1.0 encoding=UTF-8?
StyledLayerDescriptor version=1.0.0
  xmlns=http://www.opengis.net/sld;
  xmlns:ogc=http://www.opengis.net/ogc;
  xmlns:xlink=http://www.w3.org/1999/xlink;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://www.opengis.net/sld
  http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd;  
  NamedLayer
Namepm25_monthly/Name
UserStyle
  TitlePM 2.5/Title
FeatureTypeStyle
  FeatureTypeNameFeature/FeatureTypeName
  Rule
RasterSymbolizer
ColorMap type=ramp
ColorMapEntry color=#00 quantity=0.0 
opacity=0.0/
ColorMapEntry color=#021ca0 quantity=1.0 
opacity=0.5/
ColorMapEntry color=#0432ff quantity=5.0 
opacity=0.5/
ColorMapEntry color=#015efe quantity=10.0 
opacity=0.5/
ColorMapEntry color=#06bfff quantity=15.0 
opacity=0.5/  
ColorMapEntry color=#26fcd7 quantity=20.0 
opacity=0.5/
ColorMapEntry color=#06bfff quantity=25.0 
opacity=0.5/   
ColorMapEntry color=#f2f903 quantity=30.0 
opacity=0.5/
ColorMapEntry color=#ff9d02 quantity=35.0 
opacity=0.5/   
ColorMapEntry color=#ff4005 quantity=40.0 
opacity=0.5/
ColorMapEntry color=#e12000 quantity=45.0 
opacity=0.5/   
ColorMapEntry color=#810d02 quantity=50.0 
opacity=0.5/
  /ColorMap
/RasterSymbolizer
  /Rule
/FeatureTypeStyle
/UserStyle
  /NamedLayer
/StyledLayerDescriptor


Can't see why it is failing...

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


Re: [mapserver-users] Mapserver wms request throws error when trying to load SLD file

2014-10-21 Thread Basques, Bob (CI-StPaul)
It doesn't look like MapServer can find your SLD, does that Link work from a 
browser directly?

Bobb



-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bill Hudspeth
Sent: Tuesday, October 21, 2014 11:30 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Mapserver wms request throws error when trying to 
load SLD file

Hello,

Thanks Jeff for answering my questions about Mapserv executables and path on 
Ubuntu Linux. I can now view my raster image fine, but I am trying to apply an 
SLD file and get the error:

?xml version='1.0' encoding=ISO-8859-1 standalone=no ? !DOCTYPE 
ServiceExceptionReport SYSTEM 
http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd;
ServiceExceptionReport version=1.1.1 ServiceException
msSLDApplySLDURL: WMS server error. Could not open SLD 
http://localhost/var/www/pm25_geoserver/public_html/pm25_sld.xml and save it in 
a temporary file. Please make sure that the sld url is valid and that the 
temporary path is set. The temporary path can be defined for example by setting 
TMPPATH in the map file. Please check the MapServer documentation on temporary 
path settings.
msHTTPExecuteRequests(): HTTP request error. HTTP GET request failed with 
status 403 () for 
http://localhost/var/www/pm25_geoserver/public_html/pm25_sld.xml
/ServiceException
/ServiceExceptionReport


I have set my temp file path in the Web section of the mapfile to:

WEB
  TEMPPATH /tmp/
  IMAGEPATH /tmp/
  IMAGEURL /tmp/
END

and my SLD is:

?xml version=1.0 encoding=UTF-8?
StyledLayerDescriptor version=1.0.0
  xmlns=http://www.opengis.net/sld;
  xmlns:ogc=http://www.opengis.net/ogc;
  xmlns:xlink=http://www.w3.org/1999/xlink;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://www.opengis.net/sld
  http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd;
  NamedLayer
Namepm25_monthly/Name
UserStyle
  TitlePM 2.5/Title
FeatureTypeStyle
  FeatureTypeNameFeature/FeatureTypeName
  Rule
RasterSymbolizer
ColorMap type=ramp
ColorMapEntry color=#00 quantity=0.0 
opacity=0.0/
ColorMapEntry color=#021ca0 quantity=1.0 
opacity=0.5/
ColorMapEntry color=#0432ff quantity=5.0 
opacity=0.5/
ColorMapEntry color=#015efe quantity=10.0 
opacity=0.5/
ColorMapEntry color=#06bfff quantity=15.0 
opacity=0.5/  
ColorMapEntry color=#26fcd7 quantity=20.0 
opacity=0.5/
ColorMapEntry color=#06bfff quantity=25.0 
opacity=0.5/   
ColorMapEntry color=#f2f903 quantity=30.0 
opacity=0.5/
ColorMapEntry color=#ff9d02 quantity=35.0 
opacity=0.5/   
ColorMapEntry color=#ff4005 quantity=40.0 
opacity=0.5/
ColorMapEntry color=#e12000 quantity=45.0 
opacity=0.5/   
ColorMapEntry color=#810d02 quantity=50.0 
opacity=0.5/
  /ColorMap
/RasterSymbolizer
  /Rule
/FeatureTypeStyle
/UserStyle
  /NamedLayer
/StyledLayerDescriptor


Can't see why it is failing...

Thanks, Bill
___
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] Mapserver wms request throws error when trying to load SLD file

2014-10-21 Thread Bill Hudspeth
That was indeed the problem...I changed the path and it now works..!

thanks

- Original Message -
From: Bob Basques (CI-StPaul) bob.basq...@ci.stpaul.mn.us
To: Bill Hudspeth bhudsp...@edac.unm.edu, mapserver-users@lists.osgeo.org
Sent: Tuesday, October 21, 2014 10:32:21 AM
Subject: RE: [mapserver-users] Mapserver wms request throws error when trying 
toload SLD file

It doesn't look like MapServer can find your SLD, does that Link work from a 
browser directly?

Bobb



-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bill Hudspeth
Sent: Tuesday, October 21, 2014 11:30 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Mapserver wms request throws error when trying to 
load SLD file

Hello,

Thanks Jeff for answering my questions about Mapserv executables and path on 
Ubuntu Linux. I can now view my raster image fine, but I am trying to apply an 
SLD file and get the error:

?xml version='1.0' encoding=ISO-8859-1 standalone=no ? !DOCTYPE 
ServiceExceptionReport SYSTEM 
http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd;
ServiceExceptionReport version=1.1.1 ServiceException
msSLDApplySLDURL: WMS server error. Could not open SLD 
http://localhost/var/www/pm25_geoserver/public_html/pm25_sld.xml and save it in 
a temporary file. Please make sure that the sld url is valid and that the 
temporary path is set. The temporary path can be defined for example by setting 
TMPPATH in the map file. Please check the MapServer documentation on temporary 
path settings.
msHTTPExecuteRequests(): HTTP request error. HTTP GET request failed with 
status 403 () for 
http://localhost/var/www/pm25_geoserver/public_html/pm25_sld.xml
/ServiceException
/ServiceExceptionReport


I have set my temp file path in the Web section of the mapfile to:

WEB
  TEMPPATH /tmp/
  IMAGEPATH /tmp/
  IMAGEURL /tmp/
END

and my SLD is:

?xml version=1.0 encoding=UTF-8?
StyledLayerDescriptor version=1.0.0
  xmlns=http://www.opengis.net/sld;
  xmlns:ogc=http://www.opengis.net/ogc;
  xmlns:xlink=http://www.w3.org/1999/xlink;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://www.opengis.net/sld
  http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd;
  NamedLayer
Namepm25_monthly/Name
UserStyle
  TitlePM 2.5/Title
FeatureTypeStyle
  FeatureTypeNameFeature/FeatureTypeName
  Rule
RasterSymbolizer
ColorMap type=ramp
ColorMapEntry color=#00 quantity=0.0 
opacity=0.0/
ColorMapEntry color=#021ca0 quantity=1.0 
opacity=0.5/
ColorMapEntry color=#0432ff quantity=5.0 
opacity=0.5/
ColorMapEntry color=#015efe quantity=10.0 
opacity=0.5/
ColorMapEntry color=#06bfff quantity=15.0 
opacity=0.5/  
ColorMapEntry color=#26fcd7 quantity=20.0 
opacity=0.5/
ColorMapEntry color=#06bfff quantity=25.0 
opacity=0.5/   
ColorMapEntry color=#f2f903 quantity=30.0 
opacity=0.5/
ColorMapEntry color=#ff9d02 quantity=35.0 
opacity=0.5/   
ColorMapEntry color=#ff4005 quantity=40.0 
opacity=0.5/
ColorMapEntry color=#e12000 quantity=45.0 
opacity=0.5/   
ColorMapEntry color=#810d02 quantity=50.0 
opacity=0.5/
  /ColorMap
/RasterSymbolizer
  /Rule
/FeatureTypeStyle
/UserStyle
  /NamedLayer
/StyledLayerDescriptor


Can't see why it is failing...

Thanks, Bill
___
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] WMS rendering

2014-10-21 Thread Francesco Palermo

No, I don't get any error message.
I tried to remove UNITS on mapfile but it doesn't change anything. Then 
I tried to remove SIZEUNITS from the layer and the map finally appears!

Thanks to all!
Now I'll try to overlay this map on the Google Maps ;)

Francesco


Il 17/10/2014 11:03, Håvard Tveite ha scritto:

Hi Francesco,

Do you get any error messages?

Your map file looks a bit like the example from the WMS
Server documentation (http://mapserver.org/ogc/wms_server.html),
and that should be a good starting point.

To make it easier to find the source of your problems, I
suggest that you start with the basic example in the
WMS Server documentation and expand it gradually.

Håvard

PS: You are using SIZEUNITS meters in your test layer.  That
means that your SIZE 0.0019 symbols will be very small if
you are not operating close to a 1:1 map scale.


On 2014-10-16 17:04, Francesco Palermo wrote:

Hello,
I'm experimenting the use of Mapserver as WMS and I'm encountering 
some problems on map rendering. I'm using a shapefile as a map source 
and it's a map of points (generated by a csv using ogr2ogr - Could I 
use directly csv with Mapserver? I don't know). I can't get the 
rendering of this map using for example QGIS or this URL in the 
browser (which I hope it's correct):
http://localhost/cgi-bin/mapserv?map=/home/francesco/shared/mapserver/wms.mapSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=SRS=EPSG:4326BBOX=9.2990,43.0105,9.4894,43.0524WIDTH=500HEIGHT=300FORMAT=image/pngLAYERS=test; 



This is the mapfile:
MAP
 NAME test
 STATUS ON
 SIZE 500 300
 IMAGETYPE PNG
 EXTENT 9.2990 43.0105 9.4894 43.0524
 UNITS METERS
 DEBUG 5
 PROJECTION
init=epsg:4269
 END
 WEB
 TEMPLATE template.html
 IMAGEPATH /var/www/html/tmp/
 IMAGEURL /tmp/
 METADATA
 wms_title   WMS Demo Server
 wms_onlineresource http://localhost/cgi-bin/mapserv?;
 wms_srs   EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326
 wms_enable_request *
 END
 END
 #IMAGECOLOR 255 255 255
 TRANSPARENT ON
 SHAPEPATH oilspill/
 OUTPUTFORMAT
   NAME png
   DRIVER AGG/PNG
   MIMETYPE image/png
   IMAGEMODE RGB
   EXTENSION png
   FORMATOPTION GAMMA=0.75
 END
 SYMBOL
   NAME square
   TYPE vector
   POINTS
 0 0
 0 1
 1 1
 1 0
 0 0
   END
   FILLED true
   ANCHORPOINT 0.5 0.5
 END
 LAYER
   NAME test
   TYPE POINT
   STATUS DEFAULT
   DATA timestep24
   DEBUG 5
   SIZEUNITS meters
   PROJECTION
init=epsg:4269
   END
   METADATA
 wms_titletest
   END
   CLASSITEM weight
   CLASS
   STYLE
   COLOR #1014FF
   SYMBOL square
   SIZE 0.0019
   END
   END
 END
END

Any suggestions? Are there any errors in the mapfile? Or am I wrong 
in the procedure?


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






--
Francesco Palermo

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


[mapserver-users] Square Edges Using labelpoly

2014-10-21 Thread Zach Chehayeb
Hi All,

Does anyone know if it possible to create a labelpoly (as in GEOTRANSFORM 
labelpoly) with straight edges instead of curved edges?

Regards,

Zach

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