[mapserver-users] Itemnquery slow in big TAB file; slow on Oracle as well

2011-10-03 Thread Jelmer Baas
Hello List, I have a query to retrieve geometry from a TAB file: mapserv.exe?mode=itemquerymap= query.mapmapext=-7+28+50+70layers=MYLAYERqlayer= MYLAYER qstring=('[IDCOLUMN]' IN '2550643') This is my simplified Layer definition: LAYER NAME MYLAYER

Re: [mapserver-users] Itemnquery slow in big TAB file; slow on Oracle as well

2011-10-03 Thread Bart van den Eijnden
Hi Jelmer, I don't know about MapInfo, but for Oracle you can skip the spatial filter by adding USING NONE to your DATA statement. See: http://mapserver.org/input/vector/oracle.html Best regards, Bart -- Bart van den Eijnden OSGIS - http://osgis.nl On Oct 3, 2011, at 10:46 AM, Jelmer Baas

Re: [mapserver-users] Projection library error. no system list, errno: 2

2011-10-03 Thread Daniel Morissette
What does your PROJECTION block look like? Could it be that you used something like init=EPSG:4326? Linux is case-sensitive and the argument to the init=... param is a filename so you must use a lowercase epsg in the init string, e.g. init=epsg:4326 On 11-10-02 03:59 PM, Richard Greenwood

Re: [mapserver-users] Feature wish: Internal mapfile variables

2011-10-03 Thread Daniel Morissette
I agree that this is a request that comes up often. As usual we'd just need someone to lead the effort. On 11-10-03 12:12 AM, Rahkonen Jukka wrote: Hi, Inspired by the Thomas Bonfort's rendering chain I have been thinking if we could have a native support for using internal mapfile

Re: [mapserver-users] Projection library error. no system list, errno: 2

2011-10-03 Thread Richard Greenwood
Thanks Daniel! That was it and I feel suitably stupid.As always I appreciate your help. Rich On Mon, Oct 3, 2011 at 6:13 AM, Daniel Morissette dmorisse...@mapgears.com wrote: What does your PROJECTION block look like? Could it be that you used something like init=EPSG:4326? Linux is

[mapserver-users] UNION raster layers returns blank image

2011-10-03 Thread Travis Kirstine
Hi All, I have been having some issues using the UNION option in the mapfile. I'm trying to set up a WMS server with several source raster layers and provide them all as a single union layer to the client. I don't want the source layers visible in the GetCapabilities, only the union layer so I

Re: [mapserver-users] UNION raster layers returns blank image

2011-10-03 Thread Tamas Szekeres
Hi, The union layer approach is working only for the vector based layers at the moment. Best regards, Tamas 2011/10/3 Travis Kirstine traviskirst...@gmail.com Hi All, I have been having some issues using the UNION option in the mapfile. I'm trying to set up a WMS server with several

[mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-03 Thread reholl
I'm interested in working on capabilities along these lines. Are there existing RFCs that touch on this? If not, perhaps one should be created. This overlaps some configuration ideas I've been mulling over. From the original comment here about internal vars being handy for /when the same

Re: [mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-03 Thread Stephen Woodbridge
One idea regarding this that you might want to consider is the ability to put all the named parameters in an include file, then be able to include that file via a CGI parameter. So it might look like this: MAP INCLUDE client-params-%client_id%.inc ... END And then you could have

Re: [mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-03 Thread Smith, Michael ERDC-CRREL-NH
There is an RFC to have includes come from non-file connections (databases). It would be another option http://mapserver.org/development/rfc/ms-rfc-74.html Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 10/3/11 2:51 PM, Stephen Woodbridge

Re: [mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-03 Thread Bob Basques
All, Would adding in INCLUDEs from a URL be pushing it too much, as in: INCLUDE http://Myserver.com/cgi-bin/myscript.pl; Could pass in parameters like so . . . INCLUDE http://Myserver.com/cgi-bin/myscript.pl?A=first thingb=second thingc=third thing . . . bobb Smith, Michael

RE: [mapserver-users] PHP mapscript - how to add label style

2011-10-03 Thread Ian Walberg
http://trac.osgeo.org/mapserver/ticket/4038 -Original Message- From: Steve Lime [mailto:sdl...@gmail.com] Sent: Wednesday, September 28, 2011 8:30 PM To: Ian Walberg Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] PHP mapscript - how to add label style I'm guessing

Re: [mapserver-users] UNION raster layers returns blank image

2011-10-03 Thread Tamas Szekeres
The union layer is a vector layer, which provides the union of the set of features from multiple layers. The functionality you mention would probably require to add a new layer type which would have effect on the drawing side of the rendering chain (ie. in mapdraw.c). Not sure if this addition

[mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-03 Thread reholl
I really like the idea of pulling mapfile resources from RDBMS and URL. For the URL, I don't think the communications part poses much of a challenge, as the cURL stuff used in the OWS client can be repackaged. I did that once to make a mapserv CONNECTIONTYPE as a SOAP client. I can certainly

Re: [mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-03 Thread Smith, Michael ERDC-CRREL-NH
With oracle at least, you could pull from a url (via a query) and return data back to MS Mike From: Bob Basques bob.basq...@ci.stpaul.mn.usmailto:bob.basq...@ci.stpaul.mn.us Date: Mon, 3 Oct 2011 14:18:54 -0500 To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org

Re: [mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-03 Thread Stephen Woodbridge
Robert, All good questions! Here are some thoughts on this. 1. we all ready have the CGI parameter substitution, but it does require reading the mapfile to get its validation parameters. 2. we already support includes 3. you would have to read some of the mapfile to get the connection

Re: [mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-03 Thread Bob Basques
All, I did submit a request very similar to the idea of passing in a MAPFILE as a mapserv parameter a few years back. As I recall there was some discussion about the idea, and there were also the same sorts of reservations about it then, especially the KISS part. In very early uses of

Re: [mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-03 Thread Matt McClelland
I am new to mapserver world, so as you read this, remember I have no idea what I am talking about :) I was thinking about this problem last week, my idea was to look at passing a reference to a parsing script, that outputs a mapfile. so instead of this

Re: [mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-03 Thread Stephen Woodbridge
In Theory, you could do this today by writing a simple wrapper script that reads the CGI arguments, calls a script and passes it the output file name like /tmp/mapwrap-$$.map and the arguments. The script would read the template mapfile passed in the arguments do the substitution and write out

Re: [mapserver-users] Re: Feature wish: Internal mapfile variables

2011-10-03 Thread Stephen Woodbridge
Bob, I think one of the developers would need to answer this. But here are some thoughts to consider: This introduces a lot of latency in the response, because you have to make a socket request to another host, which needs to create a process and service the request, and send the results