Re: [mapserver-users] Trouble with UNC path to shared drive

2016-09-01 Thread Bistrais, Bob
: Wednesday, August 31, 2016 9:56 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Trouble with UNC path to shared drive Bob, If I remember correctly three slashes on the front should do it: \\\machine_unc_name\share\path\data Matt On Wed, Aug 31, 2016 at 4:06

[mapserver-users] Trouble with UNC path to shared drive

2016-08-31 Thread Bistrais, Bob
I am trying to create a WMS of imagery. The images are on a shared, mapped drive. I know that using Windows mapped drive letters will not work (it's a Windows server with Apache, MS4W 3.0.6). I can't get the service to recognize the location. I get error messages for "Corrupt, empty or

[mapserver-users] How to enable GetFeatureInfo in MS4w 3.0.6 ?

2015-06-09 Thread Bistrais, Bob
I can't seem to find the answer to this one. I have a number of WMS layers which I would like to enable GetFeatureInfo. I am using MS4W 3.0.6. I can't seem to get the GetFeatureInfo to work. Can somebody point me to a reference? ___ mapserver-users

Re: [mapserver-users] How to enable GetFeatureInfo in MS4w 3.0.6 ?

2015-06-09 Thread Bistrais, Bob
Got it! Thanks Jeff! -Original Message- From: Jeff McKenna [mailto:jmcke...@gatewaygeomatics.com] Sent: Tuesday, June 09, 2015 2:26 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] How to enable GetFeatureInfo in MS4w 3.0.6 ? On 2015-06-09 2:37 PM, Bistrais, Bob

Re: [mapserver-users] class expression question

2013-09-05 Thread Bistrais, Bob
Thanks Steve! That works great! Bob From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] Sent: Thursday, September 05, 2013 11:46 AM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: class expression question You can use regexes: CLASSITEM 'road_type' CLASS EXPRESSION /^I

[mapserver-users] class expression question

2013-09-05 Thread Bistrais, Bob
I'd like to classify road data according to road type. This includes Interstate highways, where the road name attribute starts with I-, such as I-95, I-295, etc. So I'd like to create a class where '[roadname]' like 'I-%' - What is the correct syntax to do this?

Re: [mapserver-users] class expression question

2013-09-05 Thread Bistrais, Bob
...@state.mn.us] Sent: Thursday, September 05, 2013 10:45 AM To: Bistrais, Bob; mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] class expression question You can use regexes: CLASSITEM 'road_type' CLASS EXPRESSION /^I-/ ... END or CLASS EXPRESSION

Re: [mapserver-users] Trouble selecting on line layer

2013-08-22 Thread Bistrais, Bob
Problem solved- Didn't have the select_record template set in the line layer. It had nothing to do with the fact it was line features. From: Bistrais, Bob Sent: Thursday, August 22, 2013 9:54 AM To: mapserver-users@lists.osgeo.org Subject: Trouble selecting on line layer I am having some trouble

[mapserver-users] Trouble selecting on line layer

2013-08-22 Thread Bistrais, Bob
I am having some trouble getting the select service to work with a line layer, Mapserver 6.0.2/MapScript 6.1. I put the debug on the mapfile but the only error I sometimes get is no results. I adjusted the search tolerance to a generous 30m. Now I get a popup which says error calling the

Re: [mapserver-users] problem with processquerytemplate and large selection sets

2013-04-23 Thread Bistrais, Bob
=no,menubar=no,status=no,resizable=yes');return false;[SiteID]/a/spanbr/ hr/ From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] Sent: Tuesday, April 23, 2013 12:56 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] problem with processquerytemplate

Re: [mapserver-users] problem with processquerytemplate and large selection sets

2013-04-23 Thread Bistrais, Bob
in a reasonable time (a couple seconds on 1100 records). Where it's bogging down is in a for or a while loop, iterating through the result set. From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] Sent: Tuesday, April 23, 2013 1:04 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE

Re: [mapserver-users] problem with processquerytemplate and large selection sets

2013-04-23 Thread Bistrais, Bob
OK, I hadn't done that. I'll try that later this afternoon and see what turns up. From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] Sent: Tuesday, April 23, 2013 1:51 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] problem with processquerytemplate

[mapserver-users] problem with processquerytemplate and large selection sets

2013-04-19 Thread Bistrais, Bob
I've run into a problem when running queries with a large number of results (in my test case, over 1000 records, point locations, shape file). After some testing, I found the problem wasn't the query itself- I did a queryByAttributes and it told me the records were selected within a couple

[mapserver-users] How to pass variables to a query template?

2013-04-09 Thread Bistrais, Bob
I have some code which sends query results to a template for display, using the MapServer processquerytemplate method. This works fine, but I'd also like to pass a variable to the template to be output in the result as well. I have been looking at the documentation on templates,

Re: [mapserver-users] How to pass variables to a query template?

2013-04-09 Thread Bistrais, Bob
Thanks Brent, That give me something to go on and a few ideas. From: Brent Fraser [mailto:bfra...@geoanalytic.com] Sent: Tuesday, April 09, 2013 4:16 PM To: Bistrais, Bob Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] How to pass variables to a query template? Bob, Since

[mapserver-users] Duplicate results with processquerytemplate

2013-03-29 Thread Bistrais, Bob
I have a strange problem which sometimes occurs when I query multiple layers. I have an application where a user may click checkboxes to select layers to query. I found that if they select all layers, the query results will appear twice for the first layer. I checked several times, and as

Re: [mapserver-users] Duplicate results with processquerytemplate

2013-03-29 Thread Bistrais, Bob
It's a queryByShape, using a selection from another layer, such as a town polygon. From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] Sent: Friday, March 29, 2013 12:36 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: Duplicate results with processquerytemplate What

Re: [mapserver-users] Duplicate results with processquerytemplate

2013-03-29 Thread Bistrais, Bob
for selection layer 1. But, if you only choose one selection layer, you don't get duplicate results. From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] Sent: Friday, March 29, 2013 12:52 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: Duplicate results

[mapserver-users] Trouble coloring a raster

2013-03-05 Thread Bistrais, Bob
I have a geotiff raster which represents forested lands. I'd like it to display in green. I put in a Style section and specified a color, but try as I might, it always displays in grayscale. It is an 8-bit unsigned TIFF file. Below is the layer specification: LAYER NAME ForestLands

Re: [mapserver-users] Trouble coloring a raster

2013-03-05 Thread Bistrais, Bob
Yes, I had looked at that webpage and thought I was doing it correctly. My TIFF is a single band, 8-bit, with no colormap. Still don't see why it won't display in color. From: Brent Fraser [mailto:bfra...@geoanalytic.com] Sent: Tuesday, March 05, 2013 3:13 PM To: Bistrais, Bob Cc: mapserver

[mapserver-users] queryByShape returns too many results

2013-02-20 Thread Bistrais, Bob
I am working on a spatial query module (actually, modifying an existing GeoMoose module) which uses queryByShape to take a previously selected feature from one layer, and use it to select features from another layer. Both layers are shapefiles, the query layer is of course polygon, the

Re: [mapserver-users] queryByShape returns too many results

2013-02-20 Thread Bistrais, Bob
on feature type. But it would be interesting to know why one way works best for points, the other for lines/polys. From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] Sent: Wednesday, February 20, 2013 4:06 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: queryByShape returns

Re: [mapserver-users] queryByShape returns too many results

2013-02-20 Thread Bistrais, Bob
...@state.mn.us] Sent: Wednesday, February 20, 2013 4:49 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: queryByShape returns too many results It shouldn't matter the shape type. Could it be projection related? Perhaps tolerance related? Steve

Re: [mapserver-users] queryByShape returns too many results

2013-02-20 Thread Bistrais, Bob
: Donald Kerr [mailto:donald.k...@dkerr.co.uk] Sent: Wednesday, February 20, 2013 5:21 PM To: Bistrais, Bob; 'Lime, Steve D (MNIT)'; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] queryByShape returns too many results Bob, I seem to recall having an issue with what's returned from

Re: [mapserver-users] Combined spatial and attribute query

2013-02-12 Thread Bistrais, Bob
Thanks Steve. I'm taking a look at it in the documentation but the usage is a bit vague. Are there any samples showing itemfeaturequery in use? From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] Sent: Friday, February 08, 2013 12:00 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org

Re: [mapserver-users] Combined spatial and attribute query

2013-02-12 Thread Bistrais, Bob
and get the result I'm looking for. Many thanks to everyone for their input, BB From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] Sent: Friday, February 08, 2013 12:00 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: Combined spatial and attribute query Look at mode

[mapserver-users] Combined spatial and attribute query

2013-02-08 Thread Bistrais, Bob
Does anyone have advice on the best or most efficient way to query data, involving both a spatial and an attribute query. I need to query several layers, selecting based on an area, then select from that selection based on an attribute value. It would be OK to query by the attribute first,

Re: [mapserver-users] Combined spatial and attribute query

2013-02-08 Thread Bistrais, Bob
Interesting thought. Bbox won't quite do it- the spatial select would be based on, for instance, a selected county or town, or a user-defined polygon. From: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us] Sent: Friday, February 08, 2013 11:05 AM To: Bistrais, Bob; mapserver-users

[mapserver-users] Getting centroid coords

2013-02-05 Thread Bistrais, Bob
This seemed like a simple one but I am having problems. I am trying to get the X and Y of a centroid, and display it to console. I keep getting errors instead. Here is the code: $centroid=ms_newPointObj(); $oShape=$searchLayer-getShape($oResult); //$oShape is a result from a

Re: [mapserver-users] Getting centroid coords

2013-02-05 Thread Bistrais, Bob
Got it- use the wrong syntax. Instead of: $centroid(x)... Should have used: $centroid-x ... From: Bistrais, Bob Sent: Tuesday, February 05, 2013 3:29 PM To: mapserver-users@lists.osgeo.org Subject: Getting centroid coords This seemed like a simple one but I am having problems. I am trying

[mapserver-users] Direct Connect to ESRI data

2013-01-15 Thread Bistrais, Bob
Some time ago, we phased out our Oracle/SDE storage for our ESRI data. We now have that data stored in a SQL Server Direct Connect environment. In the past, I was able to connect MapServer to SDE. I have not been able to figure out how to do this in the new environment. Can anyone lend a

Re: [mapserver-users] Direct Connect to ESRI data

2013-01-15 Thread Bistrais, Bob
Thanks Mike, We are SDEBINARY, so we'll have to go with that route. From: Smith, Michael ERDC-RDE-CRREL-NH [mailto:michael.sm...@erdc.dren.mil] Sent: Tuesday, January 15, 2013 2:09 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Direct Connect to ESRI data

[mapserver-users] Displaying file GDB rasters

2013-01-11 Thread Bistrais, Bob
I have some data that was provided to me in an ESRI File GDB format, and the data is a raster catalog. I've tried to set up a .map file for this, but haven't been successful. Is it possible to use a file GDB/raster catalog with MapServer? If so, what are the mapfile parameters for this?

[mapserver-users] Editing via Mapserver application?

2013-01-02 Thread Bistrais, Bob
I would like to build a MapServer-based application which includes the ability to edit features, and am posting to see what others have done. Our current stack includes a GeoMoose front end, that is, MapServer/PHP MapScript, and Open Layers. Currently, we have a SQL Server/SDE database, and

[mapserver-users] Problem with ODBC connection

2012-12-04 Thread Bistrais, Bob
I want to read the contents of the dbf from a shapefile. I set up an ODBC connection, and have been successful on a development machine, in that I can read the dbf and get the results I was looking for. However, when I move the application to another server, I get the following error message:

Re: [mapserver-users] Problem with ODBC connection

2012-12-04 Thread Bistrais, Bob
@lists.osgeo.org Subject: Re: [mapserver-users] Problem with ODBC connection On 12/4/2012 12:45 PM, Bistrais, Bob wrote: I want to read the contents of the dbf from a shapefile. I set up an ODBC connection, and have been successful on a development machine, in that I can read the dbf and get the results

Re: [mapserver-users] Problem with attribute query, multiple attributes

2012-11-29 Thread Bistrais, Bob
, November 28, 2012 6:41 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Problem with attribute query, multiple attributes On 12-11-28 5:43 PM, Bistrais, Bob wrote: I am trying to set up an attribute query for a large parcel dataset (about 550,000 polygons). I am having trouble

Re: [mapserver-users] Problem with attribute query, multiple attributes

2012-11-29 Thread Bistrais, Bob
a featureclass in an ESRI File Geodatabase. -Original Message- From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Thursday, November 29, 2012 11:03 AM To: Fawcett, David (MPCA); Bistrais, Bob; Jeff McKenna; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] Problem

Re: [mapserver-users] Problem with attribute query, multiple attributes

2012-11-29 Thread Bistrais, Bob
); Bistrais, Bob; Jeff McKenna; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] Problem with attribute query, multiple attributes Honestly I don't think an index is going to help unless the attribute filter is being passed to OGR processing. I'm not familiar enough with that driver

[mapserver-users] Problem with attribute query, multiple attributes

2012-11-28 Thread Bistrais, Bob
I am trying to set up an attribute query for a large parcel dataset (about 550,000 polygons). I am having trouble with the query exceeding the 30 second limit. I am trying to query on the map_bk_lot and town attributes. I can query on either one separately and get results, but I need to

[mapserver-users] getfeature problem

2012-11-05 Thread Bistrais, Bob
I am trying to work with some feature results, and am getting an error returned on a layer-getFeature. I tried to research other posts about this, seems like there was some issues with WMS or something not quite related to where I am. I'm using MS4W 3.0.4 - MapServer 6.0.2 with PHP MapScript

Re: [mapserver-users] Echo PHP in a query template?

2012-10-09 Thread Bistrais, Bob
, October 07, 2012 1:11 PM To: Brent Fraser; Bistrais, Bob Cc: mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] Echo PHP in a query template? Definitely not something done in MapServer proper. However, I thought with Apache you could do some process chaining/filtering. You might look

[mapserver-users] Echo PHP in a query template?

2012-10-05 Thread Bistrais, Bob
I am customizing a MapServer query template. I'd like to echo back some PHP code in the HTML template. But the process seems to ignore the PHP part. Here's a code example: !-- MapServer Template -- ? $test = php test!; Set PHP variable ? table td align=leftbYour

[mapserver-users] Querying by attributes

2012-09-13 Thread Bistrais, Bob
I'm sorry guys, this should be basic querying and I ought to have figured it out, but I'm stuck. I'm trying to get a basic query of a shapefile-based layer. For testing, I hard-coded some parameters to see if it will work. But try as I might, my searches return 0 results even though I know

Re: [mapserver-users] getProjection error

2012-09-06 Thread Bistrais, Bob
To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] getProjection error On 12-09-04 4:12 PM, Bistrais, Bob wrote: -As I said, other, similar layers are working just fine with the same query code, and I can't see anything wrong with the shapefile. What else should I be checking? Hmm

[mapserver-users] getProjection error

2012-09-04 Thread Bistrais, Bob
I have a map layer that I want to do a simple query-by-point with. Everything look OK and other, similar layers in the project work fine, but when I try to query this particular layer, I get the following error message: Fatal error: Call to a member function getProjection() on a non-object in

[mapserver-users] Probelms with GM in Fast CGI

2012-08-06 Thread Bistrais, Bob
We have been experiencing problems with GeoMoose 2.6 when MapServer is running in Fast CGI mode. This relates to problems I've reported in the past, we finally figured out that it was the Fast CGI. When we have MapServer in Fast CGI mode, my queries and Identify operations have failed, timed

Re: [mapserver-users] How to get layer name in an identify template?

2012-07-06 Thread Bistrais, Bob
: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Friday, July 06, 2012 12:18 AM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: How to get layer name in an identify template? What do your query strings look like? - Steve From: mapserver

Re: [mapserver-users] How to get layer name in an identify template?

2012-07-06 Thread Bistrais, Bob
Image:/b nbsp a href=[LINK][LINK]/a/td /tr trtd colspan=2hr/td/tr ...Thanks again Steve! From: mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Bistrais, Bob [bob.bistr

Re: [mapserver-users] Problem querying personal GDB

2012-07-05 Thread Bistrais, Bob
I see this is in the section for using a PostGIS layer. Is that applicable for an ESRI Personal GDB? From: Brent Fraser [mailto:bfra...@geoanalytic.com] Sent: Tuesday, July 03, 2012 6:01 PM To: Bistrais, Bob Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Problem querying

[mapserver-users] How to get layer name in an identify template?

2012-07-05 Thread Bistrais, Bob
I am trying to set up a single template, which will format the results of an identify (query by point). Many of the layers have the same item names, so I'd like to use the same template for those layers. I have this working well, except that I'd like the layer name to appear at the top of

[mapserver-users] Problem querying personal GDB

2012-07-03 Thread Bistrais, Bob
Please excuse me if this is redundant- I've also posted this to the GeoMoose list, and I can't remember what I've posted where on this issue. I am building an application with MapServer 6.0.2, and GeoMoose 2.6 on the front end. One of the layers is contained in an ESRI personal Geodatabase,

[mapserver-users] Problems with query

2012-06-19 Thread Bistrais, Bob
I continue to have problems with querying layers as I migrate to newer software versions. Right now, I am moving an application to MS 6.0.2, MapScript 6.1, PHP 5.3.10. I can display my layers properly. When I try to do a query I get an error. Here is the code:

[mapserver-users] MapServer with Geodatabases

2012-06-06 Thread Bistrais, Bob
This is a just wondering question- Has anyone used MapServer with ESRI Geodatabases as a data source? In particular, I was wondering about file geodatabases? Honestly, I don't have plans to do this myself, but I am preparing a presentation on Open Source web mapping, and I'm sure this question

[mapserver-users] Failed to open map file error

2012-06-04 Thread Bistrais, Bob
I'm trying to migrate an application which now uses MapServer 6.0.2, from 6.0.1. I understand this should be seamless, but I am having problems with a query, the FireBug error says it cannot open the map file. Here are the lines of code triggering the error:

[mapserver-users] RE: legend not visible with maxscaledenom set

2012-05-25 Thread Bistrais, Bob
I'm using GeoMoose, it's a release candidate for version 2.6. I use a Legend section in the Map file to specify the legend parameters. From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Friday, May 25, 2012 2:51 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE

[mapserver-users] RE: legend not visible with maxscaledenom set

2012-05-25 Thread Bistrais, Bob
the layer off, then on again. This is starting to look more like an issue in the GeoMoose software now. From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Friday, May 25, 2012 2:51 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: legend not visible

[mapserver-users] legend not visible with maxscaledenom set

2012-05-24 Thread Bistrais, Bob
This appears to be an old problem, but I am still having trouble with it in MapServer 6.0.2. If I have a layer without a Maxscaledenom set, the layer legend displays properly. But if I set the Maxscaledenom, the legend does not appear in my application. This happens when Maxscaledenom is set

[mapserver-users] How to do a static text label

2012-05-21 Thread Bistrais, Bob
I'm trying to label point features with a static text string, not using an item value. For example, if a feature is in a layer, show the point symbol, and label it A, another layer, label it B. I seem to remember seeing this map file parameter somewhere, but can't find it anywhere. Does

[mapserver-users] RE: How to do a static text label

2012-05-21 Thread Bistrais, Bob
Yes, found it. Thanks! From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Monday, May 21, 2012 11:43 AM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: How to do a static text label See the TEXT class variable. Steve From: mapserver-users-boun

[mapserver-users] Trouble querying PostGIS layer

2012-02-23 Thread Bistrais, Bob
I'm having trouble doing an attribute query on a PostGIS layer. The data in this layer was formerly in shapefile, and the query worked fine with it. But with the PostGIS layer, I get no results. The PHP MapScript query uses a setFilter on the layer, then does a queryByRect, again, with no

[mapserver-users] Trouble connecting to PostGIS

2012-02-13 Thread Bistrais, Bob
First of all, let me state that I am brand new to PostGIS and don't know much about what I'm doing with it. That being said, I am having trouble displaying a PostGIS layer through MapServer. Right now I'm just experimenting with PostGIS and simply trying to get a layer to display. I

RE: [mapserver-users] Trouble connecting to PostGIS

2012-02-13 Thread Bistrais, Bob
to draw layer named 'MAINE'. [Mon Feb 13 16:31:32 2012].687000 msFreeMap(): freeing map at 015258C8. From: Brent Fraser [mailto:bfra...@geoanalytic.com] Sent: Monday, February 13, 2012 4:25 PM To: Bistrais, Bob Cc: mapserver-users@lists.osgeo.org Subject: Re

[mapserver-users] RE: mapserver-users Digest, Vol 49, Issue 34

2012-02-13 Thread Bistrais, Bob
Is this a clue? Looking at the debug, I see the following: find_srid('','Metwp100Poly','the_geom') ) Notice the first parameter is blank. What should be there? -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf

RE: [mapserver-users] RE: mapserver-users Digest, Vol 49, Issue 34

2012-02-13 Thread Bistrais, Bob
parameter. -Original Message- From: Brent Fraser [mailto:bfra...@geoanalytic.com] Sent: Monday, February 13, 2012 4:42 PM To: Bistrais, Bob Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] RE: mapserver-users Digest, Vol 49, Issue 34 Maybe. I was just doing a load

RE: [mapserver-users] Trouble connecting to PostGIS

2012-02-13 Thread Bistrais, Bob
@lists.osgeo.org; Bistrais, Bob Subject: Re: [mapserver-users] Trouble connecting to PostGIS Hi Bob, I suggest you try testing with QGIS. Easy to open the native postgis table a mapserver WFS/WMS layer concurrently to ensure it is all working as it should. Also ensure you have configured your

RE: [mapserver-users] Trouble connecting to PostGIS

2012-02-13 Thread Bistrais, Bob
...@pcreso.com] Sent: Monday, February 13, 2012 5:01 PM To: mapserver-users@lists.osgeo.org; Bistrais, Bob Subject: Re: [mapserver-users] Trouble connecting to PostGIS Hi Bob, I suggest you try testing with QGIS. Easy to open the native postgis table a mapserver WFS/WMS layer concurrently to ensure

[mapserver-users] Problem with mapfile path in MS 6.0.1

2012-02-07 Thread Bistrais, Bob
I'm trying to migrate an application from 5.6 to 6.0.1. The basic HTML loads correctly, but it is having trouble finding the path to the mapfile. Here are two lines of code specifying the map path and file: $_SESSION['map_path']=/ms4w_303/apps/mgs/maps/;

[mapserver-users] WMS layer not dislaying only on certain computers

2012-01-27 Thread Bistrais, Bob
I'm not really sure if this is a MapServer issue, but I'm not sure where to start. We have an application which consumes several WMS services. Two of our customers are not able to see one of the services on their desktop computers. They tried IE8, Firefox, and Chrome, but not able to see that

RE: [mapserver-users] shape-draw problem

2012-01-25 Thread Bistrais, Bob
:55 PM, Bistrais, Bob wrote: I'm upgrading an application from Mapserver 5.6 to 6.0.1, PHP MapScript. I'm having a problem with one section of code where it gives a shape-draw command. In MS 5.6, the Shape was derived from a getFeature method, but in MS 6 this had to be changed to a getShape

RE: [mapserver-users] shape-draw problem

2012-01-25 Thread Bistrais, Bob
this: $value = some value; $query = '([MYITEM] = ' . $value . ')'; -In particular, what should be or should not be quoted? -Original Message- From: Bistrais, Bob Sent: Wednesday, January 25, 2012 10:28 AM To: Alan Boudreault; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] shape

[mapserver-users] shape-draw problem

2012-01-20 Thread Bistrais, Bob
I'm upgrading an application from Mapserver 5.6 to 6.0.1, PHP MapScript. I'm having a problem with one section of code where it gives a shape-draw command. In MS 5.6, the Shape was derived from a getFeature method, but in MS 6 this had to be changed to a getShape. The next command is to draw the

[mapserver-users] display legend with WMS-Mapserver service

2012-01-13 Thread Bistrais, Bob
I have a couple map services that I can't get the legends to display on. The services are WMS, but served up as MapServer services ( I am not using the WMS directly, for operational reasons, kind of complicated). Although the legends for these will display if I consume the WMS directly, the

[mapserver-users] failed to open map file - MS 6.0 to 6.0.1

2011-12-28 Thread Bistrais, Bob
I'm trying to upgrade some MapServer applications which were originally written before MS 6.0. These had been migrated to 6.0, now I am trying to upgrade them to 6.0.1. I would have thought nothing needed to be done, but when I try to view these applications, I get the following error message:

[mapserver-users] RE: failed to open map file - MS 6.0 to 6.0.1

2011-12-28 Thread Bistrais, Bob
...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais, Bob Sent: Wednesday, December 28, 2011 9:56 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] failed to open map file - MS 6.0 to 6.0.1 I'm trying to upgrade some MapServer applications which were

RE: [mapserver-users] RE: failed to open map file - MS 6.0 to 6.0.1

2011-12-28 Thread Bistrais, Bob
is in loadSymbol, do you have a reference to a symbol file? is this where the error is coming from? Are you sure you are loading the correct symbol file? -Steve W On 12/28/2011 11:20 AM, Bistrais, Bob wrote: When I try to get the mapfile in cgi mode, a different error appears: loadSymbol(): Unknown

RE: [mapserver-users] RE: failed to open map file - MS 6.0 to 6.0.1

2011-12-28 Thread Bistrais, Bob
a reference to a symbol file? is this where the error is coming from? Are you sure you are loading the correct symbol file? -Steve W On 12/28/2011 11:20 AM, Bistrais, Bob wrote: When I try to get the mapfile in cgi mode, a different error appears: loadSymbol(): Unknown identifier. Parsing error near

RE: [mapserver-users] RE: failed to open map file - MS 6.0 to 6.0.1

2011-12-28 Thread Bistrais, Bob
Thanks Mike, Looking at that now. Does the same apply to Cartoline? I seem to be having issues with those symbols as well. -Original Message- From: Smith, Michael ERDC-CRREL-NH [mailto:michael.sm...@usace.army.mil] Sent: Wednesday, December 28, 2011 4:08 PM To: Bistrais, Bob; Stephen

RE: [mapserver-users] RE: failed to open map file - MS 6.0 to 6.0.1

2011-12-28 Thread Bistrais, Bob
Thanks Mike. This will be a big help. -Original Message- From: Smith, Michael ERDC-CRREL-NH [mailto:michael.sm...@usace.army.mil] Sent: Wednesday, December 28, 2011 5:02 PM To: Bistrais, Bob; Stephen Woodbridge; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] RE: failed

RE: [mapserver-users] Prnting WMS layers

2011-12-01 Thread Bistrais, Bob
Hi Adam, I doubt it, but I won't rule out anything. But the MapServer (non-WMS) layers display fine, so that's one thing that doesn't make sense. From: Adam Eskreis [mailto:aeskr...@gmail.com] Sent: Wednesday, November 30, 2011 5:23 PM To: Bistrais, Bob

[mapserver-users] Prnting WMS layers

2011-11-30 Thread Bistrais, Bob
Hi all, I've posted this to the GeoMoose list since the problem was occurring in a GeoMoose application, but also would like to see what insights there may be here on the MapServer list. Sorry for any duplication. I have a few WMS layers that I consume in GeoMoose. Some of these are

[mapserver-users] Hide certain symbols from legend

2011-11-17 Thread Bistrais, Bob
Here's one that I thought I remembered seeing somewhere, but can't figure it out. I want to be able to hide certain classes from displaying in the legend. I have a layer that depicts public facilities. I use different colors to show if each facility has a certain service, or does not.

[mapserver-users] RE: Hide certain symbols from legend

2011-11-17 Thread Bistrais, Bob
will match. So, those colored circles won't show up on the map, but will show in the legend. From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Thursday, November 17, 2011 2:56 PM To: Bistrais, Bob; mapserver-users@lists.osgeo.org Subject: RE: Hide

RE: [mapserver-users] Problem with queryByPoint

2011-11-09 Thread Bistrais, Bob
Problem solved (slapping myself on forehead)- I forgot to include a template with the queried layer. From: Bistrais, Bob Sent: Tuesday, November 08, 2011 2:19 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Problem with queryByPoint

[mapserver-users] Possible to use JavaScript code in a MapServer template?

2011-10-31 Thread Bistrais, Bob
Is it possible to write and execute JavaScript within a MapServer template? What I'd like to do, when a ProcessTemplate is called for a certain layer, I would like to check item values. If item values equal a certain value, write something to the output. It would seem possible since a template

[mapserver-users] display of features- more than one attribute

2011-10-17 Thread Bistrais, Bob
This one is rather convoluted. I have a dataset that contains 4 attributes that I want to show. All items are basically 1/0, or yes/no. For each feature, if one item = 1, draw one symbol. Farther down in the map file, for another item, if = 1, draw another symbol on the same feature, and so on.

RE: [mapserver-users] display of features- more than one attribute

2011-10-17 Thread Bistrais, Bob
Never mind- got it under control. Brain cramp. From: Bistrais, Bob Sent: Monday, October 17, 2011 5:59 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] display of features- more than one attribute This one is rather convoluted. I have

[mapserver-users] Need help with Expression

2011-09-30 Thread Bistrais, Bob
I'm trying to create an Expression to select features in a Class, MapServer 6.0.1. I want to do something such as a wildcard or a Like statement, to select records with certain item values. Something similar to this: EXPRESSION ('[RDNAME]' = 'Main%' ) Or perhaps EXPRESSION

RE: [mapserver-users] Need help with Expression

2011-09-30 Thread Bistrais, Bob
of that page would be appreciated. HÃ¥vard On 9/30/2011 3:51 PM, Bistrais, Bob wrote: I'm trying to create an Expression to select features in a Class, MapServer 6.0.1. I want to do something such as a wildcard or a Like statement, to select records with certain item values. Something similar

RE: [mapserver-users] Text outline not working on line features

2011-09-22 Thread Bistrais, Bob
Yes, I think I see a white outline about 1 pixel. Do I have any control over that at all? (width and/or color) -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Wednesday, September 21, 2011 9:18 PM To: Bistrais, Bob Cc: Stephen Woodbridge; mapserver-users

[mapserver-users] Abandoned railroad symbol

2011-09-22 Thread Bistrais, Bob
I've been playing around with the symbology but I'm not getting my spacing right. I'm trying to create a symbol for abandoned railroad track, looks like the standard RR symbol, a line with the crossties, but dashed. Here is my code. Problem is, although I get a dashed line and the crossties,

RE: [mapserver-users] Abandoned railroad symbol

2011-09-22 Thread Bistrais, Bob
: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Thursday, September 22, 2011 11:21 AM To: Bistrais, Bob Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Abandoned railroad symbol SYMBOL NAME tie TYPE TRUETYPE FONT path/to/arial.ttf CHARACTER | END CLASS

RE: [mapserver-users] Abandoned railroad symbol

2011-09-22 Thread Bistrais, Bob
Hmm, that doesn't work too badly at all. We'll see what the critics think, but I like it! From: Bob Basques [mailto:bob.basq...@ci.stpaul.mn.us] Sent: Thursday, September 22, 2011 12:23 PM To: thomas bonfort; Bistrais, Bob Cc: mapserver-users@lists.osgeo.org

[mapserver-users] Text outline not working on line features

2011-09-20 Thread Bistrais, Bob
I'm trying to draw and label road features from a shapefile. I'd like to include an outline of the road name text as a halo. This works fine on polygon and point features, but is not working for me with the line features. Here is the code block: LABEL

RE: [mapserver-users] Text outline not working on line features

2011-09-20 Thread Bistrais, Bob
This is an older version of MapServer, MS4W 2.3.1, MapServer 5.2.1. Using a global file with the outputformat params: OUTPUTFORMAT NAME 'agg/png' DRIVER AGG/PNG IMAGEMODE RGBA FORMATOPTION TRANSPARENT=TRUE END

[mapserver-users] Question on predicates

2011-05-26 Thread Bistrais, Bob
I'm trying to construct a predicate to be used in a query. I need to select based on two items, however, such as where item1 = 'this' and item2 =' that', please excuse my informal SQL :) I don't know how to construct a predicate that way. Is it possible to do this, and what would it look like?

[mapserver-users] Map image not appearing

2011-05-02 Thread Bistrais, Bob
I have an application which doesn't show its map image. I think it's not accessing the tmp directory for the image, in Firebug I get a 404 not found error. I can see the map image in a Windows Explorer, and view the image graphic. I know this must be something simple, but I'm perplexed. Other

[mapserver-users] queryByFeatures not working in 5.6.6?

2011-03-01 Thread Bistrais, Bob
We are upgrading our MapServer installation to 5.6.6, and now are finding a problem with queries that were previously working. I'm tracing the problem to a queryByFeatures operation. We are taking a selected parcel and querying a zoning layer to see what zones are intersected by the parcel.

RE: [mapserver-users] queryByFeatures not working in 5.6.6?

2011-03-01 Thread Bistrais, Bob
! From: Mathieu Kouri [mailto:mko...@dbxgeomatics.com] Sent: Tuesday, March 01, 2011 2:33 PM To: Bistrais, Bob; mapserver-users Subject: RE: [mapserver-users] queryByFeatures not working in 5.6.6? Hi, I would like to mention that we have been also having problem in using

[mapserver-users] QueryByAttribute sometimes not working

2011-02-18 Thread Bistrais, Bob
I'm having a strange problem with a queryByAttributes operation in a MapServer application. Most of the time it works correctly, but sometimes it returns 0 results. It is querying a shapefile, if that gives a clue. My first suspicion was the data wasn't matching the query expression. But

  1   2   >