Re: [mapserver-users] hide .map contents

2009-02-10 Thread Stephen Woodbridge
Greg Luker wrote: Hi Stephen, At 10:37 AM 11/02/2009, you wrote: Just move you map file outside the apache root directory. Thanks for your reply. As far as I know, the .map file is already outside the apache root directory. Attached is the 'View/Source' output - I just noticed error message

Re: [mapserver-users] hide .map contents

2009-02-10 Thread Stephen Woodbridge
Greg Luker wrote: Hi, How can I hide the contents of my .map file? I use CGI MapServer 5.2.0. Currently, a simple View/Source in the browser following a query result displays my entire .map file, including the database (OGRVRTDataSource) password! Just move you map file outside the apache r

[mapserver-users] hide .map contents

2009-02-10 Thread Greg Luker
Hi, How can I hide the contents of my .map file? I use CGI MapServer 5.2.0. Currently, a simple View/Source in the browser following a query result displays my entire .map file, including the database (OGRVRTDataSource) password! Thanks, Greg Luker Australia. __

[mapserver-users] ANN: zigGIS 2.0.2

2009-02-10 Thread Abram Gillespie
The Obtuse Software team is pleased to announce the immediate availability of zigGIS 2.0.2. You'll be happy to know that your PostGIS tables no longer need a "GID" column nor must tables be registered with geometry_columns. In addition, PostgreSQL Views are now natively supported as read-only dat

Re: [mapserver-users] Problems with MapScript and setProjection

2009-02-10 Thread Tim Wood
Pietro, that was exactly what I needed. Thanks. The example below pulls everything together and works under MapServer 5.2.1 (tested under Fedora 10). If someone hits this in the mailing list archive later and is trying to figure out reprojection, start at the end with the comment "reproject (i

[mapserver-users] AW: Configuration of PDF-print: download=true ?

2009-02-10 Thread Schönhammer , Herbert
Sorry, this was the wrong list ! -Ursprüngliche Nachricht- Von: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag von Schönhammer, Herbert Gesendet: Dienstag, 10. Februar 2009 13:01 An: Mapserver-users (mapserver-users@lists.osgeo.org) Be

[mapserver-users] Configuration of PDF-print: download=true ?

2009-02-10 Thread Schönhammer , Herbert
Hi list, in mapbender docu (http://www.mapbender.org/Troubleshooting_printPDF), you can read: "Es empfiehlt sich, in der print_pdf.conf $download auf "true" zu setzen. " Unfortenately there is no explanation in the docu. Why should I set "$download=true". If download is set to "true", the temp

Re: [mapserver-users] Problems with MapScript and setProjection

2009-02-10 Thread Pietro Giannini
Tim, maybe you set a map extent wich don't coincides with the extent of the dataset. If you change the projection of the map you should change the extent according with the new projection. Try reproject the extent of the map: $oMapProjection = ms_newProjectionObj($map->getProjection()); $oNewPro

Re: [mapserver-users] Map File for Open Street Map symbology

2009-02-10 Thread wolfgang
thomas bonfort wrote: > > http://code.google.com/p/mapserver-utils/source/browse/trunk/ > > you'll need the code from the mapserver graphics sandbox (rev 8254 is > preferred as it doesn't have the cairo code in it yet) > > regards, > thomas > Great work, Thomas! Unfortunately, I am having d