Re: [mapserver-users] PIXMAP Symbols png and jpeg not recongnized

2019-10-23 Thread Steve Lime
Any chance there are multiple versions of libpng and libjpeg?

On Wed, Oct 23, 2019 at 1:31 AM Flavio Hendry  wrote:

> Hi Steve
>
> Thanks for the answer ... the issue we see, is that png and jpeg do not
> work as PIXMAP symbols - such as the below throws an error:
>
> SYMBOL
>   NAME "cablecar"
>   TYPE PIXMAP
>   IMAGE 'symbols/cablecar.png'
> END
>
> The error it throws:
> "Image handling error. Failed to draw layer named 'Aerialway Points'."
>
> Using TYPE PIXMAP with gif or TYPE SVG works ...
>
> We have:
> - libpng-dev1.6.34
> - libjpeg-dev 8c
>
>
> --
> Mit freundlichem Gruss / Best regards
> Flavio Hendry
>
> 
> TYDAC Inc.  - http://www.tydac.ch
> Swiss Maps  - http://www.mapplus.ch
> 
>   Mit freundlichen Gruessen / Kind Regards
>  Flavio Hendry, CEO - mailto:fla...@tydac.ch
>  TYDAC AG - http://www.tydac.ch
> Geographic Information Solutions
>    Optingenstrasse 27 -- CH-3013 Bern
> 
>  Tel +41 (0)31 368 0180
> 
> Location: http://www.mapplus.ch/adr/bern/optingenstrasse/27
> 
> ___
> 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] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?

2019-10-23 Thread Mark Volz
Steve,

Thank you for your reply.  I had also thought about configuring the caches at 
the client level as you suggest.  Unfortunately, I do not have control over all 
of the potential clients as some outside users might connect to my services via 
Leaflet, OpenLayers, ArcMap, QGIS, etc.  It sounds like my best option is to 
swap caches as you suggest (the political cache will only have 4 zoom levels), 
and hope outside users either repeat the same process or only use the air photo 
cache.

Thanks!
Sincerely,
Mark Volz

From: Steve Lime 
Sent: Wednesday, October 23, 2019 10:31 AM
To: Mark Volz 
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapcache - Is it possible to have two tilesets 
share a single cache at particular zoom levels?

SWHHS/LYON/LINCOLN COUNTY SECURITY NOTICE:
This email originated from an external sender. Exercise caution before clicking 
on any links or attachments and consider whether you know the sender. For more 
information please contact IT support.

That seems more like a client configuration issue to me. That is, you'd have 
the two caches (air photos and political) but then configure the client to swap 
at different zoom levels. For example, with Leaflet you could simply set 
maxZoom/minZoom map attributes. Here's an example that uses a map (1 tileset) 
at small scales and then transitions to aerial photos w/overlays (2 tilesets) 
as the user zooms in:

   http://maps1.dnr.state.mn.us/test/tiles/switch.html

Presumably you can tell MapCache to only generate tiles over certain zoom 
ranges for each tileset - thus reducing disk space. Perhaps I'm miss 
interpreting your question though. --Steve

On Wed, Oct 23, 2019 at 9:29 AM Mark Volz 
mailto:markv...@co.lyon.mn.us>> wrote:
Hello,

I have two similar tilesets configured in Mapcache.  One of the tilesets 
displays a political map at small scales, then changes to an air photo map as 
the user zooms into the map.  The second tileset displays air photos at every 
zoom level.  It would be useful if these tilesets could share a single cache 
for zoom levels 5-11.  This way we could save a significant amount of space on 
the server.

Example #1:
Political and Air Photo Basemap:

• Zoom level 0-4:  Use the cache from the “political map cache”

• Zoom level 5-11: Use the cache from the “air photo cache”
Air Photo Basemap

• Zoom level 0-11:  Use the cache from the “air photo cache”
Result:

• Any tiles at level 5-11, which will take up the majority of the space 
on the sever will not need to be duplicated between the two tilesets.

Please let me know if it is possible to share caches between different tilesets.

Thanks!

Sincerely,
Mark Volz, GISP
Lyon County GIS Coordinator

___
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] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?

2019-10-23 Thread Steve Lime
That seems more like a client configuration issue to me. That is, you'd
have the two caches (air photos and political) but then configure the
client to swap at different zoom levels. For example, with Leaflet you
could simply set maxZoom/minZoom map attributes. Here's an example that
uses a map (1 tileset) at small scales and then transitions to aerial
photos w/overlays (2 tilesets) as the user zooms in:

   http://maps1.dnr.state.mn.us/test/tiles/switch.html

Presumably you can tell MapCache to only generate tiles over certain zoom
ranges for each tileset - thus reducing disk space. Perhaps I'm miss
interpreting your question though. --Steve

On Wed, Oct 23, 2019 at 9:29 AM Mark Volz  wrote:

> Hello,
>
>
>
> I have two similar tilesets configured in Mapcache.  One of the tilesets
> displays a political map at small scales, then changes to an air photo map
> as the user zooms into the map.  The second tileset displays air photos at
> every zoom level.  It would be useful if these tilesets could share a
> single cache for zoom levels 5-11.  This way we could save a significant
> amount of space on the server.
>
>
>
> Example #1:
>
> Political and Air Photo Basemap:
>
> · Zoom level 0-4:  Use the cache from the “political map cache”
>
> · Zoom level 5-11: Use the cache from the “air photo cache”
>
> Air Photo Basemap
>
> · Zoom level 0-11:  Use the cache from the “air photo cache”
>
> Result:
>
> · Any tiles at level 5-11, which will take up the majority of the
> space on the sever will not need to be duplicated between the two tilesets.
>
>
>
> Please let me know if it is possible to share caches between different
> tilesets.
>
>
>
> Thanks!
>
>
>
> Sincerely,
>
> *Mark Volz, GISP*
>
> *Lyon County GIS Coordinator*
>
>
> ___
> 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

[mapserver-users] Mapcache - Is it possible to have two tilesets share a single cache at particular zoom levels?

2019-10-23 Thread Mark Volz
Hello,

I have two similar tilesets configured in Mapcache.  One of the tilesets 
displays a political map at small scales, then changes to an air photo map as 
the user zooms into the map.  The second tileset displays air photos at every 
zoom level.  It would be useful if these tilesets could share a single cache 
for zoom levels 5-11.  This way we could save a significant amount of space on 
the server.

Example #1:
Political and Air Photo Basemap:

* Zoom level 0-4:  Use the cache from the "political map cache"

* Zoom level 5-11: Use the cache from the "air photo cache"
Air Photo Basemap

* Zoom level 0-11:  Use the cache from the "air photo cache"
Result:

* Any tiles at level 5-11, which will take up the majority of the space 
on the sever will not need to be duplicated between the two tilesets.

Please let me know if it is possible to share caches between different tilesets.

Thanks!

Sincerely,
Mark Volz, GISP
Lyon County GIS Coordinator

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