Re: [mapserver-users] securing mapserver layers

2013-08-09 Thread Raffaele Morelli
2013/8/8 Mark Volz markv...@co.lyon.mn.us Hello I would like to set up mapserver so that some map files are open to anyone, some open to only internal users, and other maps are only open to users that enter in a user name and password. Is there a way to set up mapserver / Apache so that I

Re: [mapserver-users] securing mapserver layers

2013-08-09 Thread Raffaele Morelli
2013/8/8 Basques, Bob (CI-StPaul) bob.basq...@ci.stpaul.mn.us Mark, Early on we set up some Apache rules to handle this, but it's based on a naming mechanism in the MAP files. If you look at our public facing MAPfile links, each mapfile name looks something like: mapfile-title_public.map

[mapserver-users] MapServer UTFGrid driver

2013-08-09 Thread Francois Desjarlais
Hi all, My name is Francois and I am a computer engineering student. This summer, as part of the Google Summer of Code program, I worked on a UTFGrid driver for MapServer. It is now functional and available. I also made a patch for OpenLayers so that it supports UTFGrid with a WMS service for

Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread Michael McInnis
I'm pretty sure that END is correctly ending the Symbol Clause. The odd thing about this is I can draw all four layers if I call them separately but when I try to call them through php only numbers 1 and 3 work. All layers were generated the same way inpostgresql/postgis (see sql below). I'm

Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread thomas bonfort
https://github.com/mapserver/mapserver/issues/2922 On 9 August 2013 17:40, Michael McInnis mmcinni...@msn.com wrote: I'm pretty sure that END is correctly ending the Symbol Clause. The odd thing about this is I can draw all four layers if I call them separately but when I try to call them

Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread Michael McInnis
Thomas, Here is my complete map file when all the postgis layers are combined. Like I said, I can call all of these layersif I put just one layer in a .map file but can't get it to work with more than one. Thanks! MAPDEBUG 5CONFIG MS_ERRORFILE /media/D_Drive/www/gis/logs/error_file.log

Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread thomas bonfort
third time's a charm :) LAYER NAME business_rd1 CONNECTIONTYPE POSTGIS CONNECTION host=localhost dbname=Business user=postgres password= port=5432 DATA geom From business_rd1 as rd1 using unique id using srid=4326 PROCESSING CLOSE_CONNECTION=DEFER

Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread Basques, Bob (CI-StPaul)
Thomas, Oh man!! That's a subtle piece of info, any reason the END can't be left in there as a default somehow or at least ignored inside of the STYLE block, I can see this coming back to bite folks over time with the two different formats for SYMBOL/(and sometime END) combos. Bobb

Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread thomas bonfort
You could also have removed the END I pointed out in my first answer. The mapfile parser has a lot of legacy :) On 9 August 2013 18:15, Michael McInnis mmcinni...@msn.com wrote: Nice work Thomas! That's got it.

[mapserver-users] The Case of the Disappearing Roads

2013-08-09 Thread Joseph Marlin
The Case of the Disappearing Roads We create shapefiles with SQL querying world data that's been loaded into a PostgreSQL database. A python script requests tiles from mapserver at different zoom levels, and we generate the entire map like that. Now, at the sixth zoom level, level 3 roads

Re: [mapserver-users] The Case of the Disappearing Roads

2013-08-09 Thread andy
On 8/9/2013 12:03 PM, Joseph Marlin wrote: The Case of the Disappearing Roads We create shapefiles with SQL querying world data that's been loaded into a PostgreSQL database. A python script requests tiles from mapserver at different zoom levels, and we generate the entire map like that.

Re: [mapserver-users] The Case of the Disappearing Roads

2013-08-09 Thread thomas bonfort
Joseph, are the images you are posting a direct result of a getmap request (i.e. with width=1007height=454), or are they a screenshot of a javascript client that is doing tiled requests to mapserver? If those are tiled requests, are your layer/class minscale/maxscale settings set to the exact

Re: [mapserver-users] The Case of the Disappearing Roads

2013-08-09 Thread Joseph Marlin
Thanks Thomas for the idea. I think I understand what you're asking. We pre-render all our tiles though, so while the screenshots are indeed showing a javascript viewer, that viewer is simply loading the prerendered images, retrieved from tilecache. And I have made sure that it isn't TileCache