[mapserver-users] Mapserver and MapScript performance issue

2011-09-09 Thread Hawk AA
Hi, First of all, thank you for Mapserver and all of the documentation. It’s really a great product. I’m having some performance issues when querying on a column in MapScript. I use the following code: $oResult = @$oLayerObject-queryByAttributes($strField, $strSearchString,

[mapserver-users] getFeatureInfo html with special characters in datasource

2011-09-09 Thread Jörg Thomsen
hi, I'd like to get a html-feature-info like Niedersachsen 167 I get both, 'Niedersachsen' and '167' from the same table-column of the database and I need the line break between them. When I use 'Niedersachsenbr167' in the Atrributes, mapserver changes the brackets into the html-entities

Re: [mapserver-users] Re: Mapserver unnecessary slow with Spatialite

2011-09-09 Thread Rahkonen Jukka
Even Rouault wrote: 30. August 2011 23:28 I've just added support for spatialite views in GDAL trunk (r23011). Spatial index of the base table is used to speed up spatial queries on the view. On your example, to create the spatial view : ogrinfo berlin.sqlite -sql create view

AW: [mapserver-users] getFeatureInfo html with special characters indatasource

2011-09-09 Thread Arnd Wippermann
Hi, Perhaps you can use [yourFIELD_raw]. It shouldn't encode HTML. http://mapserver.org/mapfile/template.html [attribute name],[attrribute name_esc],[attribute item name_raw] Or you can use javascript in your templates to solve this !-- Mapserver Template -- script var ret =

RE: [mapserver-users] MapScript WMS request

2011-09-09 Thread Fawcett, David (MPCA)
Puneet, As far as I know, OpenLayers still has support for a layer based on MapServer CGI. Because MapServer can also serve up WMS well, this layer type isn't necessarily recommended or as well supported. http://dev.openlayers.org/docs/files/OpenLayers/Layer/MapServer-js.html David.

Re: [mapserver-users] MapScript WMS request

2011-09-09 Thread Mr. Puneet Kishor
On Sep 9, 2011, at 8:39 AM, Fawcett, David (MPCA) wrote: Puneet, As far as I know, OpenLayers still has support for a layer based on MapServer CGI. Because MapServer can also serve up WMS well, this layer type isn't necessarily recommended or as well supported.

[mapserver-users] Use EXTENT to crop an image within a map file

2011-09-09 Thread Enzmann, Alexander R.
Is it possible to only use a subset of an image that is referenced in a mapfile? In the mapfile below there are two FAA sectional charts. There are borders on the charts that I don't want on the final composite image. If the EXTENT actually clipped the image before rendering, I could get what

RE: [mapserver-users] MapScript WMS request

2011-09-09 Thread Fawcett, David (MPCA)
Puneet, Using MapServer CGI and layer.MapServer would not set you up well for other client libraries, so I see your point. It can be viable though. In this app (just an imagemap, not OL), there are no attribute values associated with the spatial data. The classes are generated on-the-fly

Re: [mapserver-users] MapScript WMS request

2011-09-09 Thread Mr. Puneet Kishor
David, On Sep 9, 2011, at 9:47 AM, Fawcett, David (MPCA) wrote: Puneet, Using MapServer CGI and layer.MapServer would not set you up well for other client libraries, so I see your point. It can be viable though. In this app (just an imagemap, not OL), there are no attribute values

RE: [mapserver-users] MapScript WMS request

2011-09-09 Thread Fawcett, David (MPCA)
DNS issue, should be fixed by Monday... ; (' -Original Message- From: Mr. Puneet Kishor [mailto:punk.k...@gmail.com] Sent: Friday, September 09, 2011 10:00 AM To: Fawcett, David (MPCA) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] MapScript WMS request David, On