Re: [mapserver-users] Buffer features?

2011-02-15 Thread Tamas Szekeres
In accordance with the problem mentioned, I recall a resonable enhancement as described in RFC22ahttp://www.mapserver.org/development/rfc/ms-rfc-22a.htmlwhich would provide an option to configure all the stuff in the mapfile (not requiring MapScript) and would make it easier to customize the query

[mapserver-users] mapscript php with agg rendering?

2011-02-15 Thread Michael Schulz
Hi mapservers, I have a question regarding the AGG rendering when creating a map completly from php-mapscript. In the script I (think I) am setting all the required parameters for the map to be rendered with AGG using 24bit: $oMap=ms_newMapObjFromString(MAP END); ...

Re: [mapserver-users] mapscript php with agg rendering?

2011-02-15 Thread Pavel Iacovlev
Use the predefined one: $map-selectOutputFormat('AGGPNG24'); On Tue, Feb 15, 2011 at 1:37 PM, Michael Schulz mandsch...@googlemail.comwrote: Hi mapservers, I have a question regarding the AGG rendering when creating a map completly from php-mapscript. In the script I (think I) am setting

Re: [mapserver-users] mapscript php with agg rendering?

2011-02-15 Thread Michael Schulz
Hi, yeah, unfortunately I tried that one already, but it didn't work either. Although IMAGETYPE aggpng24 now shows up in the saved mapfile, but the rendered output is still definitely GD and not AGG. I found this in trac http://trac.osgeo.org/mapserver/ticket/2813, it's a bit old but that seems

Re: [mapserver-users] mapscript php with agg rendering?

2011-02-15 Thread Pavel Iacovlev
Can you post your .php file ? On Tue, Feb 15, 2011 at 3:56 PM, Michael Schulz mandsch...@googlemail.comwrote: Hi, yeah, unfortunately I tried that one already, but it didn't work either. Although IMAGETYPE aggpng24 now shows up in the saved mapfile, but the rendered output is still

Re: [mapserver-users] WMS SLD Troubles

2011-02-15 Thread Frank Broniewski
Thank you for the information. I will have a look and see what I can find out. I hesitate to compile mapscript by myself, I like my package manager ;-) Frank Am 14.02.2011 11:58, schrieb Eichner, Andreas - SID-NLKM: Hi, it looks like the Python MapScript module is compiled against a

Re: [mapserver-users] mapscript php with agg rendering?

2011-02-15 Thread Michael Schulz
Hi, I am working on a stripped-down version, to rule out other interferences and then to post it... Cheers, Michael 2011/2/15 Pavel Iacovlev iacovlev.pa...@gmail.com: Can you post your .php file ? On Tue, Feb 15, 2011 at 3:56 PM, Michael Schulz mandsch...@googlemail.com wrote: Hi, yeah,

RE: [mapserver-users] Buffer features?

2011-02-15 Thread Lime, Steve D (DNR)
I’d approach RFC 22, especially the transform piece, differently now with the parser changes implemented in 6.0. We now have (with GEOS enabled) an expression syntax available to support things like buffering, convex hull, differences, etc… or combinations thereof. I’d implement layer-level

[mapserver-users] strange raster problem

2011-02-15 Thread Bart van den Eijnden (OSGIS)
Hi list, we have a strange problem with an ArcSDE raster layer. At certain zoom levels the pixels are very coarse. Zooming out one level the pixels are okay, however the colour is not. You can see this in the following images, the first one is zoomed out and everything is okay (except the

Re: [mapserver-users] mapscript php with agg rendering?

2011-02-15 Thread Michael Schulz
Jean-Francois, you saved my day :-) That got it working... I definitely think there is something wrong when trying to create an outputformat with php/mapscript from scratch. I'll try to narrow this down a bit and maybe open the mentioned ticket again. Thanks, Michael 2011/2/15 Jean-François

Re: [mapserver-users] Buffer features?

2011-02-15 Thread Tamas Szekeres
Steve, Did you mean to achieve something like?: LAYER CONNECTIONTYPE TRANSFORM CONNECTION sourcelayer # reference to another layer NAME transformlayer PROCESSING TRANSFORM=(buffer([shape])) TEMPLATE query.html END LAYER CONNECTIONTYPE SHAPE DATA

RE: [mapserver-users] Buffer features?

2011-02-15 Thread Lime, Steve D (DNR)
Not quite, I’m thinking of a single layer setup: LAYER DATA myfile.shp # or whatever connection information is necessary TYPE POLYGON STATUS DEFAULT NAME ‘buffered_shapes’ GEOMTRANSFORM (buffer([shape], 500)) # buffer each shape by 500 map units # classes and styles follow

RE: [mapserver-users] Buffer features?

2011-02-15 Thread Bistrais, Bob
Thanks everyone! I'm trying to keep up! From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Tuesday, February 15, 2011 12:22 PM To: Tamas Szekeres Cc: mapserver-users Subject: RE: [mapserver-users] Buffer features? Not quite, I'm thinking

RE: [mapserver-users] Buffer features?

2011-02-15 Thread Lime, Steve D (DNR)
You'd need to use 3 different layers and change your code to create 3 different buffered shapes accordingly. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais, Bob Sent: Tuesday, February 15, 2011 12:30 PM To: Lime, Steve

[mapserver-users] formatting in HTML templates

2011-02-15 Thread David Hildebrand
This may be slightly off the MapServer topic but my problem is related to a MapServer implementation. I am retrieving the date and time from the shapefile DBF of my layer in the following format (yymmddhhmmss). The string represents the UTC time of satellite image acquisition. I want to

[mapserver-users] Help with runtime variable substitution in inline ODBC virtual data sources

2011-02-15 Thread pcreso
Hi, I'm looking to set up a mapfile with an inline ovf data source as described in part 2 of section 5 at http://mapserver.org/input/vector/VirtualSpatialData.html I'm also looking to embed an SQL in the ovf with a where clause, using runtime variable substitution as described at

Re: [mapserver-users] Help with runtime variable substitution in inline ODBC virtual data sources

2011-02-15 Thread Brent Fraser
Brent, I did something similar a while ago. I connected to an aspatial SQL Server instance using an OGR VRT definition pointing to an ODBC datasource: TYPE POINT CONNECTIONTYPE OGR CONNECTION OGRVRTDataSource OGRVRTLayer name='mypoints'

Re: [mapserver-users] Help with runtime variable substitution in inline ODBC virtual data sources

2011-02-15 Thread Jean-François Gigand
Hi Brent, I never worked with virtual data source but have some experience of OGR. The original documentation of the format of OGR virtual data source is here: http://www.gdal.org/ogr/drv_vrt.html To my understanding, the way to specify a WHERE condition is by writing the full ODBC query using

[mapserver-users] Need to replace Google Maps API on webservice - Help!

2011-02-15 Thread Ivan Cardenas
Hello All, If anyone can provide a dedicated effort over the next week, to create a mapserver that can serve opensource or purchased imagery via a Google Maps API or anothe viewer that can take KML feeds, on a standalone, no network system, please let me know right away please. Email or

Re: [mapserver-users] Need to replace Google Maps API on webservice - Help!

2011-02-15 Thread christopher.schmidt
On Feb 15, 2011, at 9:12 PM, ext Ivan Cardenas wrote: Hello All, If anyone can provide a dedicated effort over the next week, to create a mapserver that can serve opensource or purchased imagery via a Google Maps API or anothe viewer that can take KML feeds, on a standalone, no network

[mapserver-users] trouble migrating from ms4w to IIS5.1 - ecw blank image

2011-02-15 Thread christian
I've setup MapServer via MS4W which works fine. I'm trying to migrate MapServer from Apache to IIS 5.1 which is working mostly, however, I can't get a map file including an ECW to work, all I get is a blank page. 1) I'm running Apache on port 85 (and IIS on default port 80), ie:

RE: [mapserver-users] Need to replace Google Maps API on webservice - Help!

2011-02-15 Thread pcreso
If you are displaying purchased data, it is most unlikely the licence for these will let you legally display these via Google Earth. The Google Terms of Service state: 11.1 ... By submitting, posting or displaying the content you give Google a perpetual, irrevocable, worldwide, royalty-free,