[MapServer-users] Reminder: Please add your site (or OGC services) to the MapServer Gallery

2024-05-07 Thread Jeff McKenna via MapServer-users

Hi everyone!

A short reminder to please add your MapServer site or MapServer-run data 
services to the wiki page at 
https://github.com/MapServer/MapServer/wiki/MapServer-Site-Gallery




Thanks for making the MapServer community a vibrant place,

-jeff


--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/












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


[MapServer-users] demo.mapserver.org Services Upgraded

2024-04-15 Thread Jeff McKenna via MapServer-users

Hi all!

A short update that all of the MapServer services (OGC services, 
MapCache, MapServer, etc.) have been upgraded on the demo server: 
https://demo.mapserver.org


Wishing everyone a productive week,

-jeff








--
Jeff McKenna
GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev
co-founder of FOSS4G
http://gatewaygeo.com/






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


Re: [MapServer-users] Mapserver 8 , PHP map script cannot print image

2023-10-26 Thread Jeff McKenna via MapServer-users

Hi Vassilis,

You are missing after the draw() the following:

  //send image to stdout (browser), without saving file locally
  echo $oImage ->getBytes();

I also prefer to set the header right before that getBytes() call.

For a full working example, you can use the quickmap.php file that is 
included in MS4W (see /ms4w/Apache/htdocs/quickmap.php) from 
https://ms4w.com



Hope that helps,

-jeff



--
Jeff McKenna
GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev
co-founder of FOSS4G
http://gatewaygeo.com/




On 2023-10-26 7:25 a.m., Vassilis Chatzigiannakis via MapServer-users wrote:

Dear all,

We are using Mapserver 8.0.1 with PHP and the php_mapscriptng extension.

I am having a hard time outputting the image to the browser.

In the following code snippet, saving to disk works but 
mapscript.imageObj.write does not output the image in the browser.


header('Content-type: image/png');

$oImg=$oMap->draw();

$oImg->save("/tmp/mswms.png");

$oImg->write();

Do you have a working PHP example of 
https://mapserver.org/mapscript/mapscript-api/stub/mapscript.imageObj.html#mapscript.imageObj.write ?


Or is there another way of showing the image in the browser?

Best regards,

Vassilis




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


Re: [MapServer-users] Compiling mapserver with php in user directory

2023-10-18 Thread Jeff McKenna via MapServer-users

Hi Jan,

I understand that you won't listen to my advice here, no problem at all. 
 But I won't repeat myself here :)


Enjoy your afternoon,

-jeff





--
Jeff McKenna
GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev
co-founder of FOSS4G
http://gatewaygeo.com/



On 2023-10-18 1:39 p.m., Jan Hartmann wrote:

I compiled with:

  -DPHP_INCLUDE_DIR=$INSTALLBIN/include/php \
  -DPHP_EXTENSION_DIR=$INSTALLBIN/lib/php/extensions/no-debug-non-zts-20220829

and got lots of error messages about missing .h files (php.h, zend.h 
etc). I bulk copied them all to the directory in the build tree where 
the errors came from, and got a complete build, including 
"php_mapscriptng.so"


So CMAKE is still missing the php include directories. What is de 
correct DEFINE for that?


After I copied php_mapscriptng.so to the correct location and filling in 
php.ini, I got a warning when starting PHP :


Startup: Unable to load dynamic library 'php_mapscriptng.so' (tried: 
/virdir/installbin/lib/php/extensions/no-debug-non-zts-20220829/php_mapscriptng.so (libgeos.so.3.12.0: cannot open shared object file: No such file or directory)


But  it *is* in that location. Any idea?

On 17/10/2023 21:45, Jeff McKenna via MapServer-users wrote:

Hi Jan,

Unfortunately I have much experience tracking down CMake errors now, ha.

Instead of the error log, scroll up and read the output from your 
cmake command (as it does its checks and looks for libraries), I find 
examining that output is crucial (and I personally find the actual 
generated log file is filled of fake/"red-herrings"). Focus instead on 
going line-by-line through that cmake output, as it makes its way down 
to the final "configuring incomplete" message.  (for packaging, this 
is what I do, line-by-line)


For example, if you are trying to enable the GEOS library, I would go 
line-by-line of the output and find where it was looking for GEOS 
initially, and read the messages in that section, to confirm that 
there are no issues when enabling GEOS.  This is crucial.


It takes much time to do this for each library.

In my case, for PHPNG support, my CMake command includes: 
"-DWITH_PHPNG=1 -DPHP_EXTENSION_DIR=/usr/lib/php/20220829"


In your case I am not sure, but, I would start by examining 
line-by-line the CMake output before the words "Configuring 
incomplete" (and totally ignoring the generated 'output' file).


Maybe you can find the PHPNG section in your cmake command output, and 
paste that here for the community to review.


-jeff








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


Re: [MapServer-users] Compiling mapserver with php in user directory

2023-10-17 Thread Jeff McKenna via MapServer-users
Maybe paste all of the output from the cmake command (upto the 
"configuring incomplete" message) at https://pastebin.com/ and paste 
that pastebin link here for the community to examine closely.


-jeff



On 2023-10-17 4:45 p.m., Jeff McKenna via MapServer-users wrote:

Hi Jan,

Unfortunately I have much experience tracking down CMake errors now, ha.

Instead of the error log, scroll up and read the output from your cmake 
command (as it does its checks and looks for libraries), I find 
examining that output is crucial (and I personally find the actual 
generated log file is filled of fake/"red-herrings").  Focus instead on 
going line-by-line through that cmake output, as it makes its way down 
to the final "configuring incomplete" message.  (for packaging, this is 
what I do, line-by-line)


For example, if you are trying to enable the GEOS library, I would go 
line-by-line of the output and find where it was looking for GEOS 
initially, and read the messages in that section, to confirm that there 
are no issues when enabling GEOS.  This is crucial.


It takes much time to do this for each library.

In my case, for PHPNG support, my CMake command includes: 
"-DWITH_PHPNG=1 -DPHP_EXTENSION_DIR=/usr/lib/php/20220829"


In your case I am not sure, but, I would start by examining line-by-line 
the CMake output before the words "Configuring incomplete" (and totally 
ignoring the generated 'output' file).


Maybe you can find the PHPNG section in your cmake command output, and 
paste that here for the community to review.


-jeff






--
Jeff McKenna
GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev
co-founder of FOSS4G
http://gatewaygeo.com/

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


Re: [MapServer-users] Compiling mapserver with php in user directory

2023-10-17 Thread Jeff McKenna via MapServer-users

Hi Jan,

Unfortunately I have much experience tracking down CMake errors now, ha.

Instead of the error log, scroll up and read the output from your cmake 
command (as it does its checks and looks for libraries), I find 
examining that output is crucial (and I personally find the actual 
generated log file is filled of fake/"red-herrings").  Focus instead on 
going line-by-line through that cmake output, as it makes its way down 
to the final "configuring incomplete" message.  (for packaging, this is 
what I do, line-by-line)


For example, if you are trying to enable the GEOS library, I would go 
line-by-line of the output and find where it was looking for GEOS 
initially, and read the messages in that section, to confirm that there 
are no issues when enabling GEOS.  This is crucial.


It takes much time to do this for each library.

In my case, for PHPNG support, my CMake command includes: 
"-DWITH_PHPNG=1 -DPHP_EXTENSION_DIR=/usr/lib/php/20220829"


In your case I am not sure, but, I would start by examining line-by-line 
the CMake output before the words "Configuring incomplete" (and totally 
ignoring the generated 'output' file).


Maybe you can find the PHPNG section in your cmake command output, and 
paste that here for the community to review.


-jeff




--
Jeff McKenna
GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev
co-founder of FOSS4G
http://gatewaygeo.com/




On 2023-10-17 4:24 p.m., Jan Hartmann via MapServer-users wrote:

Hi all,

  I am trying to compile MapServer with all dependencies in a separate 
user-directory. Everything has been compiled with —prefix=$INSTALLBIN.  PHP has 
also been compiled into that directory, but I don't get MapServer to use it. It 
compiles against the system-php, but that is another version than the compiled 
one. I call CMAKE with the following options:

...
 -DGDAL_LIBRARY=$INSTALLBIN/lib/libgdal.so \
 -DGDAL_INCLUDE_DIR=$INSTALLBIN/include \
 ...

I removed the sysem-PHP, and added -DPHP_INCLUDE_DIR=$INSTALLBIN/include/php \, 
but that doesn't work, and I cannot find the PHP-library to add.

CMAKE ends with the message:  "Configuring incomplete, errors occurred!", without giving the precise 
errors. In the error log I get messages of missing "strrstr", "strlcat" and strlcpy".

Can you help me?

Jan Hartmann
Amsterdam
___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users



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


Re: [MapServer-users] symbol minsize/maxsize in mapServer 8

2023-10-11 Thread Jeff McKenna via MapServer-users
I'm sorry for that docs confusion Jörg.  Someone found the pull request 
that I had made, for the 8.0 release, and I was shocked to see all of my 
changes in the docs for that release - it goes to show the effort, 
behind the scenes, not just code changes, for such releases.  -jeff




--
Jeff McKenna
GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev
co-founder of FOSS4G
http://gatewaygeo.com/



On 2023-10-11 12:06 p.m., Jörg Thomsen (WhereGroup) via MapServer-users 
wrote:

Hello,

I am curious about min- an maxsize in MS 8.

I found in the docs:

MAXSIZE [double]
Removed in version 8.0.


And I know don't now how to determine the maxsize of a point Symbol.

maxsize still works, but not as expected. There is no error-message and 
the maxsize auf the point-symbol is set, but when I zoom in more than 
the scale of SYMBOLSCALEDENOM the outline of the symbol ist getting and 
bigger.


Here are two layers I tested with and you can test the WMS with
https://schulung.foss.academy/cgi-bin/mapserv?map=minmaxsize=browse=openlayers=all
(you have to zoom in to see what happens)

    LAYER
   NAME 'point'
   TYPE POINT
   DATA 'pois_p.shp'

   METADATA
     'ows_title' 'Points'
   END

   SYMBOLSCALEDENOM 10
   CLASS
     NAME 'points'
     STYLE
   SYMBOL 'circle'
   SIZE 20
   COLOR 218 247 195
   OUTLINECOLOR 250 250 0
     END
   END
     END

     LAYER
   NAME 'pointmaxsize'
   TYPE POINT
   DATA 'pois_p.shp'

   METADATA
     'ows_title' 'Pointsmaxsize'
   END

   SYMBOLSCALEDENOM 10
   CLASS
     NAME 'points'
     STYLE
   SYMBOL 'circle'
   SIZE 20
   MAXSIZE 30
   COLOR 100 100 250
   OUTLINECOLOR 0 0 250
     END
   END
     END




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


Re: [MapServer-users] Cluster with Oracle Spatial data

2023-10-10 Thread Jeff McKenna via MapServer-users

Hi Ivan,

I believe this should work with any database or OGR connection (I think 
my initial tests, for the docs, were with an OGR/KML connection, but I 
remember testing SpatiaLite later as well for cluster).


(I'll see if I can test this with Oracle, but, it may take me a while to 
setup, so someone else might have to jump in & help you here)


-jeff






--
Jeff McKenna
GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev
co-founder of FOSS4G
http://gatewaygeo.com/




On 2023-10-10 10:50 a.m., Yankov, Ivan via MapServer-users wrote:

Hi,

I have a problem with clustering a point layer (combine multiple 
features into a single feature based on their relative positions)


using a point datasource from an Oracle Spatial Database.

When I test the cluster feature using a point layer in Shape-Format, it 
works exactly as expected.


In this case I use “DATA " D:\geodata\point_layer.shp" “ as my 
datasource and everything works just fine.


But when I change the datasource to “ CONNECTIONTYPE oraclespatial “ and 
then use the same point layer


from the Oracle Spatial Database, then nothing actually happens. I don’t 
even get some kind of an error message.


Does anyone know the reason for this behaviour and how can I get the 
cluster feature to work with an Oracle Spatial datasource?


Thank you in advance!

Best Regards



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


Re: [mapserver-users] PHP Mapscript on Debian 10

2021-06-14 Thread Jeff McKenna via mapserver-users

Hi Sven,

Native PHP MapScript is no longer supported (and will be removed for the 
MapServer 8.0 release).


Instead you must use SWIG MapScript support, so be sure to set 
-DWITH_PHPNG=ON in your cmake command.  SWIG >=4 is recommended for this.


You can then follow 
https://mapserver.org/MIGRATION_GUIDE.html#mapserver-7-2-to-7-4-migration to 
adjust your scripts.


-jeff



--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/




On 2021-06-14 4:05 a.m., Sven Schroeter via mapserver-users wrote:

Hi,

I am trying to get PHP Mapscript to run stably on a Debian 10 machine.
The installation actually worked fine and everything is running, only 
there is an error after each automatic nightly restart of the Apache 
server.
After that PHP continues to run, but the Mapscript module does not work 
anymore.


This is the error message from Apache after the restart at night:

[Mon Jun 14 00:00:04.851967 2021] [mpm_prefork:notice] [pid 24101] 
AH00171: Graceful restart requested, doing restart
[Mon Jun 14 00:00:05.847274 2021] [mpm_prefork:notice] [pid 24101] 
AH00163: Apache/2.4.38 (Debian) configured -- resuming normal operations
[Mon Jun 14 00:00:05.847340 2021] [core:notice] [pid 24101] AH00094: 
Command line: '/usr/sbin/apache2'
[Mon Jun 14 00:00:06.934284 2021] [core:notice] [pid 24101] AH00052: 
child pid 29129 exit signal Segmentation fault (11)


If I restart Apache manually after that everything runs normal again.


I did the following installation of Mapscript and Mapserver:

1. Installation Apache Postgres GDAL:
apt-get -y install apache2 libapache2-mod-php postgresql-11-postgis-2.5 
gdal-bin

postgresql-11-ogr-fdw && apt-get clean

2. PHP components:
apt-get -y install php-pgsql php-gd php-curl php-mbstring php-sqlite3 
php-zip phpsqlite3 php-bcmath php-xml && apt-get clean

a2enmod cgi && systemctl restart apache2

3. Mapserver 7.6x with PHP Mapscript - own compilation with cmake:

sudo apt-get install libfreetype6-dev php-dev libproj-dev libfribidi-dev
libharfbuzz-dev libcairo-dev libgdal-dev libgpg-error-dev 
libcurl4-openssl-dev

libfcgi-dev

wget http://download.osgeo.org/mapserver/mapserver-7.6.3.tar.gz && /
tar xvf mapserver-7.6.3.tar.gz && /
cd mapserver-7.6.3/
sudo apt-get install cmake
mkdir build
cd build

cmake -DCMAKE_INSTALL_PREFIX=/opt \
-DCMAKE_PREFIX_PATH=/usr/local:/opt \
-DWITH_CLIENT_WFS=ON \
-DWITH_CLIENT_WMS=ON \
-DWITH_WCS=ON \
-DWITH_THREAD_SAFETY=ON \
-DWITH_PHP=ON \
-DWITH_KML=ON \
-DWITH_GEOS=ON \
-DWITH_GDAL=ON \
-DWITH_OGR=ON \
-DWITH_PROJ=ON \
-DWITH_CAIRO=ON \
-DWITH_POSTGIS=ON \
-DWITH_CURL=ON \
-DWITH_SOS=ON \
-DWITH_XMLMAPFILE=0 \
-DWITH_FCGI=ON \
-DWITH_LIBXML2=ON \
-DWITH_GIF=ON \
-DWITH_FRIBIDI=0 \
-DWITH_HARFBUZZ=0 \
-DWITH_PROTOBUFC=0 \
-DWITH_PYTHON=OFF \
-DWITH_SVGCAIRO=OFF \
..
make
sudo make install
echo extension=php_mapscript.so>/etc/php/7.3/mods-available/mapscript.ini

phpenmod mapscript
service apache2 restart

after these installation steps I have a perfectly running PHP version 
7.3.27-1~deb10u1 with Mapscript (MapServer version 7.6.3) but as said 
the Mapscript module error after every nightly restart of Apache.

If I restart Apache manually after that everything runs normal again.
I am now quite at a loss...

Thanks for any advice, unfortunately I am not a Debian (Linux) expert.

Sven




After this



Greetings Sven






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


[mapserver-users] TinyOWS 1.2.0 released

2021-06-11 Thread Jeff McKenna via mapserver-users
The MapServer team is pleased to announce the major release of TinyOWS 
1.2.0, in honor of its visionary, Olivier Courtin.


This release contains many fixes and enhancements that have been in the 
main branch, as well as recent improvements.  The goal will to follow a 
consistent release schedule, with a maintenance release in a few months 
from now.


(TinyOWS runs very well with PostreSQL 13 / PostGIS 3.1.1)

Changelog: 
https://mapserver.org/development/changelog/tinyows/changelog-1-2.html#changelog-tinyows-1-2

Download: https://download.osgeo.org/mapserver/tinyows-1.2.0.tar.gz

Thanks, and thoughts for Olivier...

--
The MapServer / TinyOWS Team










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


Re: [mapserver-users] 7.6.3 released - includes important security fix

2021-06-03 Thread Jeff McKenna via mapserver-users
The associated CVE security ID for this is: CVE-2021-32062 
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32062


-jeff


--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/



On 2021-04-30 7:55 p.m., Steve Lime wrote:
The MapServer team is pleased (kinda) to announce the 7.6.3 security and 
maintenance release.


Importantly, this release addresses a flaw, discovered by project 
developers, in MapServer CGI mapfile loading that makes it possible to 
bypass security controls (ticket #6313). This flaw makes it difficult to 
easily limit where MapServer can load a mapfile from and affects 
versions 4.10 and later. This is a critical issue and all users are 
encouraged to update as soon as possible.


What does this mean for you?

 1. If you've not used MS_MAP_PATTERN or MS_MAP_NO_PATH as part of
securing your installation then this doesn't have much impact since
you're not using the controls. That said, this is a critical
configuration step and you should upgrade and make use of those
controls to limit where mapfiles can be accessed.
 2. If you've relied on MS_MAP_PATTERN exclusively, you should upgrade
and be in good shape. However, it's a great time to review and test
MS_MAP_PATTERN.
 3. If you've relied on MS_MAP_NO_PATH primarily (like me), you should
upgrade and set a value for MS_MAP_PATTERN.

We are simultaneously releasing versions 7.0.8, 7.2.3 and 7.4.5 as well. 
Updates to binary distributions will follow ASAP.


For the list of additional changes see the Changelog at 
https://mapserver.org/development/changelog/changelog-7-6.html 
 Or head 
to Download at https://mapserver.org/download.html 
 For those wanting searchable 
offline documentation, the updated PDF is available at 
https://download.osgeo.org/mapserver/docs/MapServer.pdf 



-- The MapServer Team




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


Re: [mapserver-users] CGI variable "map" fails to validate.

2021-06-03 Thread Jeff McKenna via mapserver-users

Hi David,

MS4W also uses PCRE for its regex engine, so Windows users will soon be 
facing these same issues as you (I'll be making this as easy as possible 
for the new Windows users).


So to answer your question: I believe most users aren't yet aware of 
what regex engine they use, and, also I believe that the PCRE regex 
engine is used more frequently in the MapServer community than what is 
believed.  (most automated tests do not use PCRE, for example, even 
though it is so commonly used)


I'm not sure if I have the answer that you need, but I wanted to give a 
perspective from the Windows side.


-jeff


--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/



On 2021-06-03 9:29 a.m., David Pavlíček via mapserver-users wrote:

Hi Steve,
your pattern works like a charm... escaped hyphen was the issue. I 
tested the previous regex with regex101.com  and it 
matches with no problems against most of the available variants except 
PCRE. Which regex engine is suitable for a test against MapServer?


Thank you.

st 2. 6. 2021 v 15:16 odesílatel Steve Lime > napsal:


Hi David: Presumably the Docker image is running the most recent
version of 7.4 which would have that pull request applied. That
said, I don't think it's the culprit here and I have seen some
issues with -'s where the MS_MAP_PATTERN expression compiles fine
but doesn't match as expected. Re-writing the expression to move the
- character can help. Try this:

  
MS_MAP_PATTERN=^\/etc\/mapserver\/([^\.][-_A-Za-z0-9\.]+\/{1})*([-_A-Za-z0-9\.]+\.map)$


--Steve

On Wed, Jun 2, 2021 at 3:07 AM David Pavlíček via mapserver-users
mailto:mapserver-users@lists.osgeo.org>> wrote:

Hello,
I'm using camptocamp/mapserver:7.4 docker image to run mapserver
on our servers and I have recently encountered this error:

[warn] [pid 25] mod_fcgid: stderr: msCGILoadMap(): Web
application error. CGI variable "map" fails to validate.
2098 - 172.17.0.1 - - [02/Jun/2021:04:57:42 +] "GET

/?map=/etc/mapserver/puobod/krpk-puobod-red.map=getcapabilities=WMS"

In fact, any mapfile with hyphens won't work. They fail against
MS_MAP_PATTERN regex or something. This is strange because I
tested this regex and it works fine. Container MS ENV variables
look like this:

MS_ERRORFILE=stderr

MS_MAP_PATTERN=^\/etc\/mapserver\/([^\.][_A-Za-z0-9\-\.]+\/{1})*([_A-Za-z0-9\-\.]+\.map)$
MS_DEBUGLEVEL=0
MS_MAPFILE=/etc/mapserver/mapserver.map

Maybe something related to this PR:
https://github.com/MapServer/MapServer/pull/6314


Any suggestions about that? Renaming project is not an option
because they are referenced in many places outside of our direct
reach (GIS clients, servers, etc)

Thanks, David

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


Re: [mapserver-users] Styling a WFS ? or not ?

2021-05-31 Thread Jeff McKenna via mapserver-users

Hi Mathias,

Styling of WFS services happens on the client-side.  For example, see 
this WFS-client layer example, where you can set any color that you wish 
for this 'continents' layer that is served through a remote WFS service 
: https://www.mapserver.org/ogc/wfs_client.html#example-wfs-layer  You 
can copy/paste that entire layer into your own mapfile (and change the 
COLOR values) and then execute it with a shp2img command, to see what I 
mean.


Hope that helps,

-jeff



--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/



On 2021-05-31 7:20 a.m., mathias cunault via mapserver-users wrote:

Hello,
It seems that styling a WFS is nonsense according to what I found on the 
net (?). And I couldn't do it until now. But in Mapserver doc there is 
an example with a WFS and a style 
https://www.mapserver.org/ogc/wfs_server.html 
.
So I am a bit confused : is there a way to stylize a WFS layer or I 
misunderstand the doc ?

Thanks

--
/--/
/Mathias Cunault/
/référent SIG / Admin Caviar
///Inrap Tours - /148 av. Maginot
37000 TOURS
06 32 05 98 96
_mathias.cuna...@inrap.fr _/
www.inrap.fr 
abonnez-vous à la lettre d'information de l'Inrap : 
http://www.inrap.fr/newsletter.php 


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



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