[mapserver-users] (no subject)

2015-01-10 Thread Ahmet Temiz
hello I just want to test outputformat geojson ? Is there any tool like shp2img to test geojson output ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz Geological Eng. Information

Re: [mapserver-users] Spatial access restriction based on secret in URL, WMS Getcapabilities

2015-01-10 Thread Arne Kepp
If I go with environment variables and 1), how do I get SECRET_CODE into the URLs in the GetCapabilities document ? I'm assuming I need to modify wms_onlineresource ? It would be really cool if .map files automatically substituted $variables in general, beyond what [1] covers. -Arne 1:

Re: [mapserver-users] Spatial access restriction based on secret in URL, WMS Getcapabilities

2015-01-10 Thread Dan Little
If you launder everything through a script (in any of your favorite languages) you can capture the output stream before you send it back to the user. When my Mapserver-fu runs out I tend to go with scripting. On Sat, Jan 10, 2015 at 6:55 AM, Arne Kepp a...@tiledmarble.org wrote: If I go with

[mapserver-users] compiling error core.c in mapcache with cygwin

2015-01-10 Thread Gery .
sorry for bumping this one, but any clue about this core.c issue? Sent from Windows Mail___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Spatial access restriction based on secret in URL, WMS Getcapabilities

2015-01-10 Thread Arne Kepp
Hi, I would like to restrict different users to different geographic regions based on a secret in the URL they are using to access MapServer. I intend to use an inner join on a table with secrets / polygons, and then use the run-time substitution in MapServer to insert the sanitized secret

Re: [mapserver-users] Spatial access restriction based on secret in URL, WMS Getcapabilities

2015-01-10 Thread Dan Little
I'd probably do something with a script and some URL rewriting. For example, a URL like... - http://myserver.whee/path/SECRET_CODE/mapserv?[WMS parameters] Then do the following: 1. Low-buck: Use apache rewrite rules to set an environment variable. Then use the environment variable for my

Re: [mapserver-users] compiling error core.c in mapcache with cygwin

2015-01-10 Thread Gery
sorry for bumping this post, but any clues about this issue with core.c? any ideas how to solve this core.c error message with the cygwin details I previously posted? It'd be great your support on this, thanks in advance. -- View this message in context:

Re: [mapserver-users] compiling error core.c in mapcache with cygwin

2015-01-10 Thread Andy Colson
On 01/10/2015 08:23 AM, Gery wrote: sorry for bumping this post, but any clues about this issue with core.c? any ideas how to solve this core.c error message with the cygwin details I previously posted? It'd be great your support on this, thanks in advance. Sorry, no idea. If you wanted to

Re: [mapserver-users] compiling error core.c in mapcache with cygwin

2015-01-10 Thread Andy Colson
I found a simple c test here: http://dev.ariel-networks.com/apr/apr-tutorial/html/apr-tutorial-16.html links to the test .c here: http://dev.ariel-networks.com/apr/apr-tutorial/sample/thread-sample.c I compiled it with: gcc -Wall $(apr-1-config --cflags --cppflags --includes --link-ld)

Re: [mapserver-users] compiling error core.c in mapcache with cygwin

2015-01-10 Thread thomas bonfort
What apr version are you using? On Jan 3, 2015 10:15 PM, Gery . gameji...@hotmail.com wrote: Hello, When installing mapcache in cygwin, `make` produced: /opt/mapcache/mapcache-rel-1-2-1/lib/core.c: In function ‘mapcache_prefetch_tiles’:

Re: [mapserver-users] compiling error core.c in mapcache with cygwin

2015-01-10 Thread thomas bonfort
From http://mail-archives.apache.org/mod_mbox/apr-dev/201209.mbox/%3c4994179ec7ed6843aab0a30a1639e7f82514361...@dgex2v.dg.deltagroup.com%3E it would seem that threads are not supported by Apr on cygwin. Currently mapcache does not support unthreaded environments so there's nothing you can do