[mapserver-users] Higher Memory Usage with vsicurl and gdal > 2.2.4

2019-03-29 Thread Peter Schmitt
Hi,

I run MapServer in a Docker container. I noticed its memory utilization
climbed much higher than expected. This seems to happen only under the
following conditions:

* Files are accessed network-based filesystems (I tried both /vsicurl/ and
/vsis3/)
* Using gdal  > 2.2.4 (tested with 2.3.0, 2.3.2 & 2.4.1.  I see the same
behavior with both MapServer-7.0.7 and MapServer-7.2.2.

I had a hard time isolating this to GDAL and could not reproduce with
similar gdal_translate commands.  So I put together a little example to try
and demonstrate the problem.
https://github.com/pedros007/gdal_mapserver_memory

Does anyone have any ideas as to what might be going on? I tried various
cache settings, which do not seem to reduce memory utilization:
https://github.com/pedros007/gdal_mapserver_memory/blob/master/mapfiles/indonesian_redcross.map#L15-L18

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

[mapserver-users] Scaled symbols in Legend

2019-03-29 Thread Basques, Bob (CI-StPaul)
All,

Beena  while since I set up scaled symbols with MapServer.  Is the dummy layer 
approach still the best way to handle statically sizing the symbols of a scaled 
symbol layer in the legend?

Thanks

bobb



"In the end, it's not the years in your life that count. It's the life in your 
years.”
-  Abraham Lincoln


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

Re: [mapserver-users] Optimize Mapcache to work with both Mapserver and ArcGIS clients

2019-03-29 Thread Yves Jacolin
About resolutions in MapServer, here what we have in your mapfile, with
some extra comment:

# RESOLUTION and DEFRESOLUTION default to 96. If you
# change RESOLUTION to some other value, also change
# DEFRESOLUTION. See
# http://mapserver.org/development/rfc/ms-rfc-55.html
RESOLUTION 96
DEFRESOLUTION 96

Y.

Le jeu. 28 mars 2019 à 17:46, Mark Volz  a écrit :

> Hello,
>
>
>
> Are there any tips regarding how to optimize Mapcache to perform well for
> both Mapserver and ArcGIS clients?
>
> *I know Mapserver prefers using a 72 DPI while and ArcGIS uses 96 DPI.
> Will this be an issue?
>
> *Is there a way to force ArcMap to use the same grid as Mapcache so we can
> avoid the need to reassemble images?
>
> *Alternatively can we force MapServer  and MapCache to use a 96 DPI, or
> would this not help speed up performance for ArcGIS Clients?
>
> *Feel  free to send any other optimization tips!
>
>
>
> Thank You!
>
>
>
> Sincerely,
>
> *Mark Volz, GISP*
>
> *Lyon County GIS Coordinator*
>
> 504 Fairgrounds Rd
> 
>
> Marshall, MN 56258
> 
>
> Ph:  (507) 532-8218
>
> Fax: (507) 532-8217
>
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users



-- 
Yves Jacolin
Training and support manager - Team Manager
Camptocamp

Tel (France) : +33 4 58 48 20 43
Tel (Switzerland) : +41 21 619 10 43
Mob. : +33 6 18 75 42 21

email : yves.jaco...@camptocamp.com
http://www.camptocamp.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users